/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0F766E;
    --primary-light: #14B8A6;
    --primary-dark: #0D5E58;
    --accent: #F59E0B;
    --accent-hover: #FCD34D;
    --white: #ffffff;
    --gray-50: #F0FDFA;
    --gray-100: #edf2f7;
    --gray-200: #e2e8f0;
    --gray-500: #64748B;
    --gray-600: #64748B;
    --gray-700: #1E293B;
    --gray-800: #1E293B;
    --gray-900: #0D5E58;
    --danger: #e53e3e;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 12px;
    --radius-sm: 8px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Logo === */
.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: var(--accent-hover);
}

/* === Hero Section === */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    padding: 60px 0 80px;
    text-align: center;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,144C672,139,768,181,864,197.3C960,213,1056,203,1152,176C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 800;
    margin: 30px 0 20px;
    line-height: 1.2;
}

.hero .highlight {
    color: var(--accent);
}

.hero .subtitle {
    color: var(--gray-200);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* === CTA Buttons === */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
}

.btn-icon {
    font-size: 1.2rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.15rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--gray-800);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--gray-800);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--white);
}

.btn-block {
    width: 100%;
}

/* === Features Section === */
.features {
    padding: 80px 0;
    background: var(--gray-50);
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* === Modal === */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gray-500);
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--gray-800);
}

.modal h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.modal-subtitle {
    color: var(--gray-600);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* === Form === */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group .time-label {
    margin-top: 12px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
    color: var(--gray-800);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group input::placeholder {
    color: var(--gray-500);
}

/* === Success Message === */
.success-message {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

.success-message h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.success-message p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

/* === Watch Page === */
.watch-page {
    background: var(--gray-900);
}

.watch-header {
    background: var(--primary);
    padding: 15px 0;
}

.watch-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.watch-badge {
    background: var(--accent);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* === Countdown === */
.countdown-section {
    padding: 60px 0;
    text-align: center;
}

.countdown-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 50px 30px;
    max-width: 600px;
    margin: 0 auto;
}

.countdown-box h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.countdown-unit {
    text-align: center;
}

.countdown-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-separator {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-500);
    padding-bottom: 20px;
}

.countdown-info {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.countdown-info strong {
    color: var(--white);
}

/* === Video Section === */
.video-section {
    padding: 40px 0 20px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* === CTA Section (Watch Page) === */
.cta-section {
    padding: 30px 0 60px;
}

.cta-during {
    text-align: center;
    padding: 20px;
}

.cta-during p {
    color: var(--gray-500);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.cta-after-box {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    border-radius: var(--radius);
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.cta-after-box h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-after-box > p {
    color: var(--gray-200);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-note {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-top: 20px;
}

.cta-note a {
    color: var(--accent);
}

/* === Footer === */
.footer {
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid var(--gray-200);
}

.footer p {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.watch-page .footer {
    border-top-color: rgba(255,255,255,0.1);
}

/* === Responsive === */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        padding: 16px 32px;
        font-size: 1rem;
        width: 100%;
        max-width: 320px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features {
        padding: 50px 0;
    }

    .features h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .modal {
        padding: 30px 25px;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .cta-after-box {
        padding: 35px 25px;
    }

    .cta-after-box h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero .subtitle {
        font-size: 0.9rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }
}
