/* CSS Reset & Roots */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
}

:root {
    /* Premium Calm Palette */
    --color-primary: #1e40af; /* Deep Royal Blue */
    --color-primary-light: #3b82f6;
    --color-accent: #eab308; /* Warm Gold */
    --color-accent-hover: #facc15;
    --color-success: #1e40af; /* Using primary blue for action buttons */
    --color-danger: #ef4444;
    
    --base-bg: #ffffff; /* Crisp White */
    --base-bg-alt: #fdfbf7; /* Soft Cream */
    --base-text: #1f2937;
    --base-text-muted: #4b5563;
    
    /* Glassmorphism Surfaces */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.05);
    
    /* Shadows - Soft & deep */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);

    /* Radii */
    --radius-full: 9999px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    --radius-3xl: 24px;

    /* Typography Scales */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    
    --transition-smooth: all 0.3s ease;
}

body {
    background-color: var(--base-bg);
    color: var(--base-text);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
    position: relative;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-primary { color: var(--color-primary); }
.text-white { color: #ffffff; }
.text-muted { color: var(--base-text-muted); }
.text-sm { font-size: 0.9rem; }
.text-lg { font-size: 1.1rem; }
.font-bold { font-weight: 700; }
.italic { font-style: italic; }
.mb-0 { margin-bottom: 0 !important; }
.mb-05 { margin-bottom: 0.5rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mb-3 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2rem; }
.p-1 { padding: 1rem; }
.p-2 { padding: 1.5rem; }
.pb-4 { padding-bottom: 4rem; }
.w-100 { width: 100%; }
.max-w-480 { max-width: 480px; margin-left: auto; margin-right: auto; }
.max-w-700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.bg-alt { background-color: var(--base-bg-alt); }
.bg-primary { background-color: var(--color-primary); }
.bg-light-danger { background-color: rgba(239, 68, 68, 0.05); border-left: 3px solid var(--color-danger); }
.bg-white-5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-black-20 { background-color: rgba(0, 0, 0, 0.2); }
.border-white-10 { border: 1px solid rgba(255, 255, 255, 0.1); }
.border-radius { border-radius: 8px; }
.opacity-90 { opacity: 0.9; }

/* ------------------- /*
/* Typography          */
/* ------------------- */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--base-text); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
p { margin-bottom: 1rem; font-size: 1.05rem; }

.highlight-primary { color: var(--color-primary); }
.highlight-accent { color: #f05232; } /* Coral Red/Orange from ref */
.highlight-text { color: var(--color-primary); font-weight: 800; }

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-xl); }

/* ------------------- /*
/* Layout & Spacing    */
/* ------------------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.container-narrow { max-width: 800px; }
.section { padding: 5rem 0; }
.pt-0 { padding-top: 0 !important; }

/* ------------------- /*
/* Top Banner          */
/* ------------------- */
.top-banner {
    background-color: var(--color-danger);
    color: #ffffff;
    padding: 0.5rem 0;
    font-weight: 800;
    font-size: 0.85rem;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
}
.top-banner span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
.pill-tag {
    display: inline-block;
    background-color: rgba(240, 82, 50, 0.1); /* Sublte Coral */
    color: #f05232; /* Coral Accent */
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(240, 82, 50, 0.2);
}

/* ------------------- /*
/* Navigation          */
/* ------------------- */
.navbar {
    padding: 1rem 0;
    background: var(--base-bg);
    border-bottom: 1px solid var(--glass-border);
}
.nav-content { display: flex; justify-content: center; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: #1e3a8a; letter-spacing: -0.5px; }
.nav-logo { height: 40px; width: auto; }

/* ------------------- /*
/* Glassmorphism Card  */
/* ------------------- */
.glass-panel {
    background: var(--base-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    transition: var(--transition-smooth);
}
.glass-panel-hover:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.gold-inset {
    border: 2px solid rgba(234, 179, 8, 0.4);
    background: linear-gradient(135deg, var(--base-bg), rgba(234, 179, 8, 0.05));
}
.border-top-success { border-top: 4px solid #10b981; }
.border-top-danger { border-top: 4px solid var(--color-danger); }

/* ------------------- /*
/* Buttons & Forms     */
/* ------------------- */
.cta-button {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1rem 2rem; font-size: 1.1rem; font-weight: 700;
    text-decoration: none; border-radius: var(--radius-full); text-align: center;
    transition: var(--transition-smooth); cursor: pointer; border: none; width: 100%;
    position: relative; overflow: hidden; height: 55px;
}
.primary-cta { background-color: var(--color-success); color: #ffffff; box-shadow: 0 10px 20px -5px rgba(30, 64, 175, 0.4); }
.primary-cta:hover { transform: translateY(-2px); box-shadow: 0 15px 25px -5px rgba(30, 64, 175, 0.6); }

/* Form Control */
.form-group { margin-bottom: 1rem; }
.form-control {
    width: 100%; padding: 1rem 1.5rem; border-radius: var(--radius-full);
    border: 1px solid #d1d5db; background: #ffffff; color: var(--base-text);
    font-size: 1rem; font-family: var(--font-body); outline: none; transition: var(--transition-smooth);
}
.form-control:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1); }

/* Shimmer */
.shimmer::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg); animation: shimmerSlide 3s infinite cubic-bezier(0.65, 0, 0.35, 1);
}
@keyframes shimmerSlide { 0% { left: -100%; } 30% { left: 200%; } 100% { left: 200%; } }

/* ------------------- /*
/* Hero Section        */
/* ------------------- */
.hero { padding-top: 2rem; }
.pre-headline { font-weight: 600; color: var(--base-text-muted); margin-bottom: 0.5rem; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 1.5rem;
    align-items: center; /* Vertically centers the shorter video against the taller form */
}

.video-container { padding: 0.4rem; background: #f3f4f6; }
.video-16-9-wrapper { overflow: hidden; border-radius: var(--radius-xl); background: #000; box-shadow: inset 0 0 10px rgba(0,0,0,0.5); }
.video-16-9 { position: relative; padding-bottom: 56.25%; height: 0; }
.video-16-9 img, .video-16-9 iframe, .video-16-9 video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }

.pricing-card { display: flex; flex-direction: column; align-items: center; }
.price-value { font-size: 1.1rem; font-weight: 600; }
.strike { text-decoration: line-through; color: var(--base-text-muted); }
.free-text { color: var(--color-danger); font-weight: 800; font-size: 1.3rem; margin-left: 0.5rem; }

/* Countdown */
.countdown { display: flex; justify-content: center; gap: 0.5rem; align-items: center; }
.time-box { display: flex; flex-direction: column; align-items: center; background: rgba(30, 64, 175, 0.05); padding: 0.3rem 0.6rem; border-radius: 6px; min-width: 50px; }
.time-box span:first-child { font-size: 1.2rem; font-weight: 800; color: var(--color-primary); line-height: 1; }
.time-box .label { font-size: 0.65rem; text-transform: uppercase; color: var(--base-text-muted); margin-top: 2px; }
.colon { font-weight: bold; color: var(--base-text-muted); }

/* Secrets List */
.secrets-grid { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 769px) { .secrets-grid.three-col { flex-direction: row; } .secrets-grid.three-col .secret-box { flex: 1; } }
.secret-box { background: var(--base-bg-alt); padding: 1.2rem; border-radius: var(--radius-xl); border: 1px solid var(--glass-border); text-align: left; }
.secret-tag { display: inline-block; background: var(--color-danger); color: #fff; font-size: 0.75rem; font-weight: bold; padding: 0.2rem 0.6rem; border-radius: var(--radius-full); margin-bottom: 0.5rem; text-transform: uppercase; }

/* Tight Info Grid */
.webinar-info-grid-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
.info-box-tight {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.4rem 0.6rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.info-box-tight .icon { font-size: 1.1rem; flex-shrink: 0; }
.info-text { display: flex; flex-direction: column; line-height: 1.1; }
.info-text .label { font-size: 0.65rem; color: var(--base-text-muted); text-transform: uppercase; font-weight: 600; }
.info-text .value { font-size: 0.9rem; font-weight: 800; color: var(--base-text); }

/* ------------------- /*
/* Other Sections      */
/* ------------------- */
.bullet-list { list-style: none; padding-left: 0; }
.bullet-list li { margin-bottom: 0.8rem; }
.bold-list li { font-weight: 600; }

.about-container { display: flex; align-items: center; gap: 4rem; }
.about-image { flex: 1; text-align: center; }
.speaker-img-squirkle { width: 100%; max-width: 400px; margin: 0 auto; border-radius: 20px; box-shadow: var(--shadow-medium); }
.about-text { flex: 1; }

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

.outcomes-list { display: flex; flex-direction: column; gap: 1.2rem; }
.flex-row { display: flex; gap: 1.2rem; align-items: flex-start; }
.emoji-icon { font-size: 2rem; background: rgba(234, 179, 8, 0.1); padding: 1rem; border-radius: 50%; line-height: 1; flex-shrink: 0; }
.outcome-result { font-size: 0.95rem; margin-top: 0.5rem; color: #16a34a; font-weight: 700; }

/* Who Is This For - Pill Layout */
.who-pill-list { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
@media (min-width: 901px) {
    .who-pill-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }
}
.who-pill { background: #fff; border: 1px solid #fbcfe8; border-radius: var(--radius-xl); padding: 1rem 1.5rem; width: 100%; max-width: 600px; text-align: center; font-size: 1.05rem; font-weight: 600; box-shadow: 0 4px 6px rgba(0,0,0,0.02); color: var(--base-text); }
@media (min-width: 901px) {
    .who-pill { max-width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
}

/* Testimonials */
.testimonial-wrapper { position: relative; display: flex; align-items: center; gap: 1rem; max-width: 100%; }
.nav-arrow {
    background: var(--base-bg); border: 1px solid var(--glass-border); color: var(--color-primary);
    width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; cursor: pointer; z-index: 10; box-shadow: var(--shadow-soft); flex-shrink: 0;
}

/* Desktop Arrows */
@media (min-width: 769px) { .nav-arrow.nav-up, .nav-arrow.nav-down { display: none; } }

.testimonial-grid { 
    display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 1.5rem;
    scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
    flex: 1; min-width: 0; width: 100%;
}
.testimonial-grid::-webkit-scrollbar { display: none; }
.testimonial-card { 
    position: relative; padding: 2.5rem 1.5rem 2rem; flex: 0 0 100%; max-width: 100%;
    scroll-snap-align: center; border: 1px solid var(--glass-border);
    border-top: 4px solid var(--color-accent); /* Gold top accent */
    border-radius: var(--radius-2xl); background: var(--base-bg);
    box-shadow: var(--shadow-soft);
}
@media (min-width: 769px) {
    .testimonial-card { flex: 0 0 calc((100% - 2rem) / 3); max-width: calc((100% - 2rem) / 3); }
}
.testimonial-card::before { content: '"'; position: absolute; top: 0.5rem; left: 1.5rem; font-size: 4rem; color: var(--color-accent); opacity: 0.2; font-family: var(--font-heading); line-height: 1; }
.quote { font-size: 1.05rem; font-style: italic; position: relative; z-index: 1; }
.author { font-weight: 700; color: #f05232; text-align: right; margin-top: 1rem; font-size: 0.95rem; }

/* Testimonial Dots */
.testimonial-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #fdf2f8; border: 1px solid #fbcfe8; cursor: pointer; transition: all 0.3s; }
.dot.active { background: var(--color-primary); border-color: var(--color-primary); }

/* FAQ */
.faq-accordion { margin-top: 1rem; }
.faq-item { margin-bottom: 1rem; border: 1px solid var(--glass-border); border-radius: var(--radius-xl); background: var(--base-bg); }
.faq-question { width: 100%; text-align: left; padding: 1.2rem; background: transparent; border: none; font-size: 1.05rem; font-weight: 600; color: var(--base-text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question .icon { font-size: 1.5rem; transition: transform 0.3s ease; }
.faq-question.active .icon { transform: rotate(45deg); color: var(--color-primary); }
.faq-answer { padding: 0 1.2rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; opacity: 0; font-size: 0.95rem; color: var(--base-text-muted); }
.faq-question.active + .faq-answer { padding: 0 1.2rem 1.2rem; max-height: 500px; opacity: 1; }

/* ------------------- /*
/* Sticky Footer CTA   */
/* ------------------- */
.sticky-cta {
    position: fixed; bottom: -100px; left: 0; width: 100%;
    background: #111827; color: #fff; z-index: 1000; padding: 0.8rem 5%;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2); transition: bottom 0.4s ease;
    border-top: 3px solid var(--color-accent);
    padding-bottom: calc(0.8rem + env(safe-area-inset-bottom, 0px));
}
.sticky-cta.visible { bottom: 0; }
.sticky-cta .price-info { display: flex; flex-direction: column; gap: 0.1rem; }
.sticky-cta .price-tag { font-size: 1.1rem; font-weight: 800; }
.sticky-cta .price-tag .strike { font-size: 0.85rem; color: #9ca3af; font-weight: 400; margin-right: 5px; text-decoration: line-through; }
.sticky-cta .price-tag .free { color: #34d399; }
.sticky-cta .timer-text { font-size: 0.75rem; color: #d1d5db; }
.sticky-cta .cta-btn-sm {
    background: var(--color-accent); color: #000; padding: 0.7rem 1.5rem;
    border-radius: var(--radius-full); font-weight: 800; font-size: 0.95rem; border: none; cursor: pointer;
}

/* Exit Intent Popup */
.exit-popup-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.exit-popup-overlay.show { opacity: 1; }
.exit-popup-content {
    background: #fff; width: 90%; max-width: 500px; padding: 2.5rem;
    position: relative; transform: scale(0.9); transition: transform 0.3s ease;
    border: 3px solid #db2777; border-radius: var(--radius-2xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.exit-popup-overlay.show .exit-popup-content { transform: scale(1); }
.close-popup {
    position: absolute; top: 10px; right: 15px; font-size: 2rem;
    background: none; border: none; cursor: pointer; color: var(--base-text-muted);
    line-height: 1; transition: color 0.2s;
}
.close-popup:hover { color: #000; }

/* ------------------- /*
/* Mobile Queries      */
/* ------------------- */
@media (max-width: 900px) {
    .hero-grid { 
        grid-template-columns: 1fr; 
        gap: 1.5rem; 
        display: flex;
        flex-direction: column; /* Video back on top */
        margin-top: 0.8rem;
    }
    .hero-left, .hero-right { width: 100%; }
    .logo { font-size: 1.1rem; }
    .nav-logo { height: 32px; }
    .navbar { padding: 0.6rem 0; }
    .hero { padding-top: 0.2rem; }
    .container { padding: 0 3%; }
    .section { padding: 2.5rem 0; }
    
    .video-container { padding: 0.2rem !important; }
    .registration-wrapper { padding: 1rem !important; }
    .info-box-tight { padding: 0.3rem 0.5rem; border-radius: 8px; }
    .form-group { margin-bottom: 0.6rem; }
    .cta-button { height: 50px; font-size: 1.1rem; }
    
    .pre-headline { font-size: 0.8rem; margin-bottom: 0.2rem; }
    /* Mobile-first stacking: Swap order of video and text if needed, but HTML is already structured for mobile stacking */
    .about-container { flex-direction: column; gap: 2rem; text-align: center; }
    .about-image { order: -1; }
    .who-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
    .section { padding: 3.5rem 0; }
    h1 { font-size: 2.2rem; }
    .container { padding: 0 6%; }
    .webinar-info-grid { grid-template-columns: 1fr; }
    
    .testimonial-wrapper { flex-direction: column; }
    .nav-arrow { display: none !important; }
    .testimonial-grid { flex-direction: row; overflow-x: auto; }
}

@media (max-width: 480px) {
    .section { padding: 2.5rem 0; }
    .hero { padding-top: 1rem; }
    h1 { font-size: 1.9rem; }
    .glass-panel { padding: 1.5rem; }
    .flex-row { flex-direction: column; align-items: center; text-align: center; gap: 0.8rem; }
    
    .sticky-cta { padding: 0.6rem 5%; padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 10px)); }
    .sticky-cta .price-tag { font-size: 1rem; }
    .sticky-cta .cta-btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
}
