:root {
    --bg-light: #f8fafc;
    --bg-panel: #ffffff;
    --bg-secondary: #eef2ff;
    --accent-primary: #2563eb; 
    --accent-secondary: #1d4ed8;
    --accent-glow: rgba(37, 99, 235, 0.4);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border-color: #e2e8f0;
    --danger: #ef4444;
    --success: #10b981;
    --whatsapp: #25D366;
    --highlight: #f59e0b; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    width: 100%;
    overflow-x: hidden;
}

h1, h2, h3, h4, .badge, .step-badge, .timer-countdown, .highlight-blue, .highlight-bold {
    font-family: 'Outfit', sans-serif;
}

/* View Management */
.view {
    display: none;
    width: 100%;
    animation: fadeIn 0.4s ease-out forwards;
}

.view.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------
   VIEW 1: NEW CENTERED LAYOUT
   ------------------------------------- */
.centered-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top center, #ffffff 0%, var(--bg-secondary) 100%);
    position: relative;
    padding-bottom: 6rem;
    overflow-x: hidden;
}

/* Header */
.top-header {
    width: 100%;
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 10;
}

.brand-logo {
    height: 32px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.webinar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(37,99,235,0.05);
}

.webinar-badge svg {
    width: 18px;
    height: 18px;
    fill: var(--accent-primary);
}

/* Hero Section */
.hero-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem 0;
    z-index: 10;
    position: relative;
}

.hero-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    line-height: 1;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    letter-spacing: -1px;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.hero-subtitle .highlight-underline {
    color: #ff6a00;
    position: relative;
    font-weight: 700;
}
.hero-subtitle .highlight-underline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10 Q 50 20 100 5" stroke="%23ff6a00" stroke-width="2" fill="none"/></svg>') no-repeat center/contain;
}

/* Hero Visual (Person + Floating Cards) */
.hero-visual-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: -1.5rem auto 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 180px;
    z-index: 5;
}

.bg-mesh {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#d1d5db 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: -1;
    border-radius: 50%;
    mask-image: radial-gradient(circle, black 40%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 70%);
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(219, 234, 254, 0.6) 35%, rgba(59, 130, 246, 0) 70%);
    z-index: 1;
    border-radius: 50%;
    pointer-events: none;
}

.hero-person {
    max-width: 260px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 5;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

.floating-thumb {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 10px 20px rgba(0,0,0,0.1), inset 0 1px 1px rgba(255,255,255,0.8);
    border: 3px solid rgba(255,255,255,0.95);
    z-index: 3;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #000;
}
.floating-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}
.floating-thumb .play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.5);
}
.floating-thumb .play-icon-overlay svg {
    width: 16px;
    height: 16px;
    fill: white;
    margin-left: 2px;
}

.thumb-tl { top: 15%; left: calc(50% - 220px); width: 110px; height: 62px; --rot: -5deg; transform: rotate(var(--rot)); animation: float-subtle 4s ease-in-out infinite; }
.thumb-tr { top: 20%; right: calc(50% - 240px); width: 125px; height: 70px; --rot: 5deg; transform: rotate(var(--rot)); animation: float-subtle 5s ease-in-out infinite 0.5s; }
.thumb-bl { bottom: 25%; left: calc(50% - 210px); width: 105px; height: 58px; --rot: 8deg; transform: rotate(var(--rot)); animation: float-subtle 4.5s ease-in-out infinite 1s; }
.thumb-br { bottom: 20%; right: calc(50% - 200px); width: 98px; height: 54px; --rot: -8deg; transform: rotate(var(--rot)); animation: float-subtle 5.5s ease-in-out infinite 0.2s; }

@keyframes float-subtle {
    0% { transform: translateY(0px) rotate(var(--rot)); }
    50% { transform: translateY(-8px) rotate(calc(var(--rot) + 2deg)); }
    100% { transform: translateY(0px) rotate(var(--rot)); }
}

.floating-thumb:hover { transform: scale(1.05) translateY(-5px) rotate(var(--rot)); z-index: 4; animation-play-state: paused; }

.hero-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 0 1rem;
}

/* Main Call to Action Card */
.main-cta-card {
    background: white;
    max-width: 900px;
    margin: 0 auto 2rem;
    padding: 1rem 1.5rem;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon-wrapper {
    width: 32px;
    height: 32px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.feature-icon-wrapper svg {
    width: 16px;
    height: 16px;
}

.feature-col h3 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    position: relative;
    padding-bottom: 0.25rem;
}

.feature-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--accent-primary);
}

.feature-col p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.watch-replay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    background: linear-gradient(90deg, #ff8c00 0%, #ff5e00 100%);
    color: white;
    border: none;
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px -5px rgba(255, 94, 0, 0.4);
    font-family: 'Outfit', sans-serif;
}

.watch-replay-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(255, 94, 0, 0.6);
}

.watch-replay-btn .btn-play-icon {
    background: white;
    color: #ff5e00;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.watch-replay-btn .btn-play-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    margin-left: 2px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.trust-badge-item svg {
    color: var(--accent-primary);
}

/* Why Section */
.why-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}
.section-divider::before, .section-divider::after {
    content: '';
    height: 1px;
    width: 60px;
    background: var(--border-color);
}
.section-divider h2 {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 700;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--accent-primary);
    background: white;
}
.why-icon.blue-bg {
    background: var(--bg-secondary);
}
.why-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.why-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Student Results Section */
.results-section {
    max-width: 900px;
    margin: 0 auto 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.results-badge {
    background: var(--bg-secondary);
    color: var(--accent-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: -15px; /* Overlap the phone frame */
    z-index: 2;
    border: 2px solid white;
}
.phone-mockup {
    width: 260px;
    height: 480px;
    background: black;
    border-radius: 24px;
    border: 8px solid #1f2937;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    display: flex;
    justify-content: center;
    align-items: center;
}
.phone-mockup video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}
.phone-mockup .play-overlay {
    position: absolute;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.5);
    z-index: 10;
    cursor: pointer;
    transition: transform 0.2s;
}
.phone-mockup .play-overlay:hover {
    transform: scale(1.1);
}
.phone-mockup .play-overlay svg {
    fill: white;
    width: 20px;
    height: 20px;
    margin-left: 3px;
}
.phone-mockup p {
    position: absolute;
    bottom: 20px;
    width: 80%;
    text-align: center;
    color: white;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}
.drawn-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-200px);
    bottom: 20px;
    width: 80px;
    color: var(--accent-primary);
}

.drawn-arrow-right {
    position: absolute;
    left: 50%;
    transform: translateX(130px);
    top: 50%;
    width: 200px;
    color: var(--accent-primary);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.drawn-arrow-right svg {
    width: 80px;
    height: 80px;
    margin-bottom: 0.5rem;
}

.drawn-arrow-right .arrow-text {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-secondary);
    text-align: left;
}

/* Bottom Sticky CTA */
.bottom-cta-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}
.bottom-cta-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}
.bottom-cta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}
.cta-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.fire-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ff5e00 0%, #ff8c00 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}
.fire-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}
.cta-left h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.cta-left p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.cta-right {
    flex: 1;
    max-width: 300px;
}
.bottom-badges {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.b-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.b-badge-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--accent-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-primary);
}
.b-badge-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Responsive Handling */
@media(max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    .feature-col h3 { font-size: 0.85rem; }
    .feature-col p { font-size: 0.7rem; line-height: 1.2; }
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .why-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .bottom-cta-top {
        flex-direction: column;
        text-align: center;
    }
    .cta-left {
        flex-direction: column;
    }
    .bottom-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-visual-container {
        margin-top: 0;
    }
    .thumb-tl { width: 85px; height: 48px; left: calc(50% - 180px); top: 10%; }
    .thumb-tr { width: 95px; height: 53px; right: calc(50% - 190px); top: 15%; }
    .thumb-bl { width: 80px; height: 45px; left: calc(50% - 170px); bottom: 15%; }
    .thumb-br { width: 75px; height: 42px; right: calc(50% - 165px); bottom: 12%; }
    .drawn-arrow, .drawn-arrow-right {
        display: none;
    }
}

/* -------------------------------------
   VIEW 2: VIDEO PLAYER PAGE
   ------------------------------------- */
.player-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.header-bar {
    text-align: center;
}

.header-bar h2 {
    font-size: 2rem;
    font-weight: 800;
}

.video-card {
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

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

.video-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-btn {
    background: rgba(0,0,0,0.6);
    border: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.main-play-btn {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.main-play-btn:hover {
    transform: scale(1.1);
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.main-play-btn.hidden {
    display: none;
}

.player-controls {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
}

.control-btn:hover {
    background: rgba(0,0,0,0.8);
    border-color: white;
}

/* Offer Section */
.offer-section {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    border: 2px solid var(--accent-primary);
    position: relative;
    overflow: hidden;
}

.offer-section.hidden {
    display: none;
}

.offer-header {
    text-align: center;
    margin-bottom: 3rem;
}

.offer-header h3 {
    font-size: 2.5rem;
    color: var(--text-primary);
    font-weight: 900;
}

.offer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media(min-width: 900px) {
    .offer-content {
        grid-template-columns: 1.5fr 1fr;
    }
}

.price-banner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #e0e7ff 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.original-price {
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.price-banner .highlight {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent-primary);
}

.price-label {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 700;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

@media(max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .player-container {
        padding: 1.5rem 1rem;
    }
    
    .video-card {
        padding: 0;
        border: none;
        box-shadow: none;
        border-radius: 8px;
    }
    
    .video-wrapper {
        border-radius: 8px;
    }
}

.copyable-upi:hover {
    background: #f1f5f9;
    border-radius: 8px;
}
.copyable-upi:active {
    background: #e2e8f0;
}
.step-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card.active-step {
    border-color: var(--success);
    background: #f0fdf4;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.1);
}

.step-badge {
    background: var(--bg-panel);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.step-card.active-step .step-badge {
    background: var(--success);
    color: white;
    border-color: var(--success);
}

.step-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 800;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.payment-area {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--bg-panel);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.qr-code {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    padding: 0.5rem;
    background: white;
    border: 1px solid var(--border-color);
}

.upi-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #111827;
    background: white;
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 8px;
    width: 100%;
    justify-content: center;
}

.upi-id {
    font-weight: 800;
    font-size: 1.1rem;
}

.upi-name {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--whatsapp);
    color: white;
    text-decoration: none;
    padding: 1.25rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.wa-btn:hover {
    transform: translateY(-2px);
}

.assets-btn {
    width: 100%;
    text-align: center;
    padding: 1.25rem;
}
