/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --color-primary: #0B132B;       /* Deep Slate Navy */
    --color-primary-light: #1C2541; /* Slightly lighter navy for hero/footer cards */
    --color-secondary: #00A896;     /* Learning Platform Teal */
    --color-accent: #FF6B35;        /* Action Orange */
    --color-accent-hover: #E8561F;  /* Darker Action Orange */
    --color-accent-soft: #FFF2ED;   /* Soft orange background for alerts */
    
    /* Neutral Palette */
    --color-bg-light: #F8FAFC;      /* Clean background */
    --color-bg-white: #FFFFFF;      /* Card/white background */
    --color-text-main: #1E293B;     /* Slate 800 - high contrast readability */
    --color-text-muted: #64748B;    /* Slate 500 - descriptions */
    --color-border: #E2E8F0;        /* Slate 200 - subtle dividers */
    
    /* Layout & Styling Tokens */
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --box-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --box-shadow-md: 0 10px 15px -3px rgba(11, 19, 43, 0.08), 0 4px 6px -2px rgba(11, 19, 43, 0.04);
    --box-shadow-lg: 0 20px 25px -5px rgba(11, 19, 43, 0.12), 0 10px 10px -5px rgba(11, 19, 43, 0.06);
    --box-shadow-accent: 0 10px 20px -5px rgba(255, 107, 53, 0.4);
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   GLOBAL RESETS
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ==========================================================================
   LAYOUT & CONTAINER
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 32px;
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

section {
    padding: 80px 0;
}

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

.align-center {
    align-items: center;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-headings);
    color: var(--color-primary);
    line-height: 1.25;
}

h1 {
    font-size: 2.25rem;
    font-weight: 800;
}

h2 {
    font-size: 1.85rem;
    font-weight: 700;
}

h3 {
    font-size: 1.35rem;
    font-weight: 600;
}

p {
    color: var(--color-text-muted);
}

.highlight {
    background: linear-gradient(120deg, var(--color-accent) 0%, #FFA87D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* =style cards */
.card {
    background: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition-smooth);
}

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-headings);
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-block {
    display: flex;
    width: 100%;
    padding: 14px 24px;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg-white);
    box-shadow: var(--box-shadow-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -5px rgba(255, 107, 53, 0.5);
}

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

.btn-secondary:hover {
    background-color: #008f80;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

/* Pulse animation for high-converting action buttons */
.btn-pulse {
    position: relative;
}

.btn-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(255, 107, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */
.header {
    background-color: rgba(11, 19, 43, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
}

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

.logo {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-bg-white);
}

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

.nav {
    display: none;
    gap: 32px;
}

.nav-link {
    color: #CBD5E1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-accent);
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
    background-color: var(--color-primary);
    background-image: radial-gradient(circle at 10% 20%, rgba(28, 37, 65, 0.5) 0%, rgba(11, 19, 43, 0.9) 90%);
    color: var(--color-bg-white);
    padding: 100px 0 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(0, 168, 150, 0.15);
    filter: blur(80px);
    top: -50px;
    right: -50px;
    z-index: 1;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
}

.badge {
    display: inline-block;
    background-color: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: var(--color-accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.hero-title {
    color: var(--color-bg-white);
    font-size: 2.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #94A3B8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatars {
    display: flex;
}

.avatar-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    border: 2px solid var(--color-primary);
    margin-left: -8px;
}

.avatar-dot:first-child {
    margin-left: 0;
    background-color: #38BDF8;
}

.avatar-dot:nth-child(2) {
    background-color: #F472B6;
}

.avatar-dot:nth-child(3) {
    background-color: #FB7185;
}

.trust-text {
    font-size: 0.85rem;
    color: #94A3B8;
    font-weight: 500;
}

/* Hero Video Mockup */
.hero-video-container {
    width: 100%;
    max-width: 680px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--color-primary-light);
}

.video-mock {
    position: relative;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.video-mock:hover .video-thumbnail {
    transform: scale(1.02);
    opacity: 0.8;
}

.video-overlay {
    position: absolute;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    pointer-events: none;
    text-align: center;
    padding: 24px;
}

.play-button-outer {
    width: 72px;
    height: 72px;
    background-color: rgba(255, 107, 53, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.6);
    transition: var(--transition-smooth);
}

.video-mock:hover .play-button-outer {
    background-color: var(--color-accent-hover);
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.8);
}

.play-button {
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid var(--color-bg-white);
    margin-left: 6px;
}

.video-label {
    color: var(--color-bg-white);
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.video-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (min-width: 992px) {
    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .hero-content {
        text-align: left;
        flex: 1;
        max-width: 540px;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        margin-left: 0;
    }
    .hero-cta-group {
        align-items: flex-start;
    }
    .hero-video-container {
        flex: 1;
        max-width: 560px;
    }
}

/* ==========================================================================
   2. VALUE PROPOSITION SECTION
   ========================================================================== */
.value-section {
    background-color: var(--color-bg-light);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 56px auto;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
}

.engine-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.engine-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: var(--border-radius-sm);
    z-index: 10;
}

.engine-image-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: var(--color-primary-light);
}

.engine-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.engine-card:hover .engine-image {
    transform: scale(1.05);
}

.card-body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.accent-icon {
    color: var(--color-secondary);
    margin-right: 8px;
}

.card-title {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   3. OUR METHOD SECTION
   ========================================================================== */
.method-section {
    background-color: var(--color-bg-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.method-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto 80px auto;
}

.method-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.method-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.step-num {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    opacity: 0.8;
}

.step-content h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.step-content p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Testimonials Sub-section */
.testimonials-container {
    border-top: 1px dashed var(--color-border);
    padding-top: 80px;
}

.testimonials-header {
    font-size: 1.85rem;
    margin-bottom: 48px;
}

.testimonial-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: #FFB020;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.testimonial-quote {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--color-text-main);
    margin-bottom: 24px;
    position: relative;
}

.testimonial-quote::before {
    content: '“';
    font-size: 4rem;
    color: rgba(255, 107, 53, 0.1);
    position: absolute;
    top: -30px;
    left: -15px;
    line-height: 1;
}

.student-info {
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
}

.student-name {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.95rem;
}

.student-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   4. PLANS & PRICING
   ========================================================================== */
.pricing-section {
    background-color: var(--color-bg-light);
}

.pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 880px;
    margin: 0 auto;
    align-items: center;
}

.pricing-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    padding: 40px 32px;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: var(--box-shadow-md);
}

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

.pricing-card.highlighted {
    border: 2px solid var(--color-accent);
    box-shadow: 0 20px 40px -10px rgba(11, 19, 43, 0.15);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-accent);
    color: var(--color-bg-white);
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 6px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.plan-name {
    font-family: var(--font-headings);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
    text-align: center;
}

.price-container {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 8px;
}

.currency {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-primary);
    align-self: flex-start;
}

.price-value {
    font-family: var(--font-headings);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.price-saving {
    text-align: center;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.plan-desc {
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 32px;
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
    flex: 1;
}

.plan-features li {
    font-size: 0.95rem;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-check {
    color: var(--color-secondary);
    margin-top: 4px;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .pricing-grid {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
    }
    .pricing-card {
        flex: 1;
    }
}

/* ==========================================================================
   5. AUTHORITY AND TRUST (ABOUT)
   ========================================================================== */
.authority-section {
    background-color: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border);
}

.authority-image-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    background-color: var(--color-primary-light);
    aspect-ratio: 1;
}

.authority-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.authority-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.authority-text {
    font-size: 1rem;
    line-height: 1.7;
}

/* Social Proof Message Bubbles */
.professional-validation {
    margin-top: 24px;
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
}

.validation-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-container {
    background-color: #F1F5F9;
    padding: 24px;
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-bubble {
    padding: 12px 18px;
    border-radius: 18px;
    max-width: 85%;
    box-shadow: var(--box-shadow-sm);
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-bubble.received {
    background-color: var(--color-bg-white);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid var(--color-border);
}

.chat-sender {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
    font-size: 0.75rem;
}

.chat-text {
    color: var(--color-text-main);
}

/* ==========================================================================
   6. FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-section {
    background-color: var(--color-bg-light);
}

.faq-container {
    max-width: 800px;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 48px;
}

.accordion-item {
    background: var(--color-bg-white);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 20px 24px;
    font-family: var(--font-headings);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: left;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.accordion-header:hover {
    color: var(--color-accent);
}

.accordion-icon {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
    color: var(--color-text-muted);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.accordion-body {
    padding: 0 24px 20px 24px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    border-top: 1px solid transparent;
}

.accordion-item.active .accordion-collapse {
    max-height: 1000px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

/* ==========================================================================
   FINAL CTA & FOOTER
   ========================================================================== */
.final-cta {
    background-color: var(--color-primary);
    background-image: radial-gradient(circle at 50% 50%, rgba(28, 37, 65, 0.8) 0%, rgba(11, 19, 43, 1) 100%);
    color: var(--color-bg-white);
    text-align: center;
    padding: 100px 0;
}

.cta-title {
    color: var(--color-bg-white);
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: #94A3B8;
    max-width: 640px;
    margin: 0 auto 40px auto;
}

.footer-section {
    background-color: #060a18;
    color: #64748b;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    font-family: var(--font-headings);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-bg-white);
}

.footer-copy {
    font-size: 0.85rem;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-accent);
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer-copy {
        order: 2;
    }
    .footer-links {
        order: 3;
    }
}
