/* Course PDP skin (galv course v0.2 - Subash GRE PDP comp, 2026-06-26).
   CSS extracted VERBATIM from the designer comp gre-pdp.html <style> block.
   Design fixes go through the comp, not this file (verbatim doctrine).
   Sections: hero / stats-bar / curriculum(ai-edge) / pricing(plans) /
   testimonials(swiper) / faq / final-cta. Swiper enqueued in course_styles.php.
   PROD HARDENING: self-host Google Fonts + Swiper (flagged). */

        :root {
            --bg-navy: #13217c;
            --primary-blue: #3b5bff;
            --cta-magenta: #cc00cc;
            --accent-blue: #e6ebff;
            --text-white: #fffdfe;
            --text-dark: #333;
            --text-gray: #808080;
            --font-heading: 'Poppins', sans-serif;
            --font-body: 'Inter', sans-serif;
            --container-width: 1280px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: var(--font-body);
            color: var(--text-dark);
            line-height: 1.5;
            background-color: var(--text-white);
            overflow-x: hidden;
        }
        h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; }
        a { color: inherit; text-decoration: none; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; height: auto; }

        .container {
            width: 100%;
            max-width: var(--container-width);
            padding: 0 40px;
            margin: 0 auto;
        }
        @media (max-width: 768px) { .container { padding: 0 20px; } }

        section { display: block; }

        h2.section-title {
            font-size: 36px;
            line-height: 48px;
            color: var(--primary-blue);
            text-align: center;
            margin-bottom: 16px;
        }
        .section-subtitle {
            font-family: var(--font-heading);
            font-size: 20px;
            line-height: 30px;
            font-weight: 500;
            color: var(--text-dark);
            text-align: center;
            max-width: 760px;
            margin: 0 auto 40px;
        }

        .btn {
            display: inline-block;
            padding: 12px 24px;
            border-radius: 10px;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            border: 2px solid transparent;
            font-family: var(--font-body);
            font-size: 18px;
            line-height: 24px;
            transition: all .3s ease;
            text-align: center;
        }
        .btn-magenta, .btn-magenta:visited { background-color: var(--cta-magenta); color: #fffdfe; }
        .btn-magenta:hover { background-color: #a600a6; color: #fffdfe; }
        .btn-blue, .btn-blue:visited { background-color: var(--primary-blue); color: #fffdfe; }
        .btn-blue:hover { background-color: var(--bg-navy); color: #fffdfe; }

        /* §1 HERO */
        .hero {
            background-color: var(--bg-navy);
            color: var(--text-white);
            padding: 80px 0 100px;
            text-align: center;
        }
        .hero-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-white);
            font-family: var(--font-body);
            font-size: 14px;
            line-height: 22px;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            padding: 6px 14px;
            border-radius: 20px;
            margin-bottom: 16px;
        }
        .hero h1 {
            font-size: 42px;
            line-height: 50px;
            color: var(--text-white);
            margin-bottom: 18px;
            max-width: 880px;
            margin-left: auto;
            margin-right: auto;
        }
        .hero-lede {
            font-family: var(--font-heading);
            font-size: 20px;
            line-height: 32px;
            font-weight: 500;
            color: #fffdfe;
            max-width: 880px;
            margin: 0 auto 32px;
        }
        .hero-cta-stack {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .hero-ghost {
            background: transparent;
            border: 2px solid var(--text-white);
            color: var(--text-white);
        }
        .hero-ghost:hover { background: var(--text-white); color: var(--bg-navy); }

        /* §2 STATS BAR - mirrors gre-page-code stats-bar with negative-margin overlap */
        .stats-section { padding: 0; background: var(--accent-blue); display: flow-root; }
        .stats-bar {
            background: var(--text-white);
            border-radius: 20px;
            padding: 30px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin: -60px auto 0;
            max-width: 1062px;
            text-align: center;
            position: relative;
            z-index: 20;
        }
        .stat-item h3 {
            font-family: var(--font-heading);
            font-size: 42px;
            line-height: 1.1;
            color: var(--bg-navy);
            margin-bottom: 6px;
            font-weight: 700;
        }
        .stat-item p {
            font-size: 16px;
            color: var(--text-dark);
            line-height: 24px;
            max-width: 220px;
            margin: 0 auto;
        }
        .stat-item p span { color: var(--cta-magenta); font-weight: 600; }
        @media (max-width: 1024px) {
            .stats-bar { gap: 16px; padding: 24px; }
            .stat-item h3 { font-size: 36px; }
        }
        @media (max-width: 768px) {
            .stats-bar { grid-template-columns: 1fr; gap: 24px; max-width: 460px; padding: 24px; margin-top: -180px; }
            .stat-item h3 { font-size: 34px; }
        }

        /* §3 PLANS - matches gre-page-code pricing design */
        .pricing {
            background-color: var(--bg-navy);
            color: var(--text-white);
            padding: 60px 0;
        }
        .pricing .section-title { color: var(--text-white); }
        .pricing-subheading {
            font-family: var(--font-heading);
            font-size: 20px;
            font-weight: 500;
            line-height: 30px;
            color: var(--text-white);
            text-align: center;
            margin: 0 auto 40px;
            max-width: 844px;
        }
        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            max-width: 1200px;
            margin: 0 auto;
            align-items: stretch;
        }
        .pricing-card-wrapper.pricing-card-wrapper-margin {
            display: block;
            max-width: 600px;
            margin: 0 auto 10px;
        }
        .pricing-featured {
            background: var(--text-white);
            color: var(--text-dark);
            border-radius: 20px;
            padding: 30px;
            position: relative;
            border: 2px solid transparent;
            transition: all .25s ease;
            text-align: center;
        }
        .pricing-featured:hover { border: 2px solid #a0aeff; }
        .pricing-featured .pricing-features-header { text-align: center; border-top: 1px solid #C7D0FF; padding-top: 14px; margin-top: 8px; }
        .featured-features-list {
            display: flex;
            justify-content: center;
            gap: 28px;
            flex-wrap: wrap;
            margin-top: 12px;
        }
        .featured-features-list .price-feature-item { margin-bottom: 0; }
        .whats-included-box {
            background: var(--text-white);
            border-radius: 20px;
            padding: 30px 40px;
            max-width: 844px;
            margin: 40px auto 30px;
            text-align: left;
        }
        .whats-included-box h4 {
            font-size: 18px;
            color: var(--primary-blue);
            font-weight: 600;
            margin-bottom: 8px;
        }
        .whats-included-box > p {
            font-size: 14px;
            color: var(--text-gray);
            margin-bottom: 16px;
        }
        .whats-included-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px 30px;
        }
        .wi-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: var(--text-dark);
            font-weight: 500;
        }
        .wi-item svg { flex-shrink: 0; color: var(--text-gray); }
        .pricing-card-wrapper {
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            display: flex;
        }
        .ribbon {
            position: absolute;
            top: 18px;
            left: -38px;
            background: var(--cta-magenta);
            color: var(--text-white);
            padding: 6px 42px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 1px;
            transform: rotate(-45deg);
            z-index: 10;
            text-transform: uppercase;
            box-shadow: 0 2px 4px rgba(0,0,0,.2);
        }
        .pricing-card {
            background: var(--text-white);
            color: var(--text-dark);
            border-radius: 20px;
            padding: 30px 22px;
            display: flex;
            flex-direction: column;
            width: 100%;
            border: 2px solid transparent;
            transition: all .25s ease;
            text-align: center;
        }
        .pricing-card:hover { border: 2px solid #a0aeff; }
        .popular-flag {
            display: block;
            font-family: var(--font-body);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--cta-magenta);
            margin-bottom: 4px;
        }
        .price-title {
            font-size: 22px;
            font-weight: 600;
            color: var(--primary-blue);
            margin-bottom: 14px;
        }
        .price-section { margin-bottom: 18px; }
        .original-price {
            display: inline-block;
            font-size: 14px;
            color: var(--text-gray);
            position: relative;
            margin-bottom: 4px;
        }
        .original-price::after {
            content: "";
            position: absolute;
            left: 0;
            top: 55%;
            width: 100%;
            height: 1.2px;
            background: var(--text-gray);
            transform: translateY(-50%);
        }
        .gst-label {
            font-size: 12px;
            color: var(--text-gray);
            font-weight: 500;
            margin-left: 2px;
        }
        .price-value {
            font-family: var(--font-heading);
            font-size: 28px;
            font-weight: 700;
            color: var(--text-dark);
            display: flex;
            align-items: baseline;
            justify-content: center;
            gap: 4px;
        }
        .validity-badge {
            display: block;
            background: var(--text-white);
            color: var(--cta-magenta);
            padding: 4px 16px;
            border: 1.5px solid var(--cta-magenta);
            border-radius: 50px;
            font-size: 14px;
            font-weight: 600;
            text-align: center;
            max-width: 180px;
            margin: 0 auto 18px;
        }
        .pricing-cta { margin: 0 auto 18px; }
        .pricing-cta .btn { min-width: 160px; font-size: 16px; padding: 10px 18px; }
        .pricing-features-header {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-dark);
            text-align: left;
            margin: 4px 0 12px;
            padding-top: 14px;
            border-top: 1px solid #C7D0FF;
        }
        .price-features { list-style: none; margin: 0; padding: 0; text-align: left; flex-grow: 1; }
        .price-feature-item {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            margin-bottom: 10px;
            font-size: 14px;
            line-height: 1.4;
            color: var(--text-dark);
        }
        .price-feature-item svg {
            width: 16px;
            height: 16px;
            flex-shrink: 0;
            margin-top: 3px;
            color: var(--text-gray);
        }
        .price-feature-item div { flex: 1; }

        /* §4 CURRICULUM - AI edge first, then content depth */
        .curriculum {
            background-color: var(--accent-blue);
            padding: 60px 0;
        }
        .curriculum-intro {
            font-family: var(--font-heading);
            font-size: 20px;
            line-height: 30px;
            font-weight: 500;
            color: var(--text-dark);
            text-align: center;
            max-width: 760px;
            margin: 0 auto 40px;
        }
        .ai-edge-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            max-width: 1100px;
            margin: 0 auto;
        }
        .ai-edge-card {
            background: var(--text-white);
            border-radius: 20px;
            padding: 30px;
            text-align: left;
            border: 2px solid transparent;
            transition: border-color .25s ease;
        }
        .ai-edge-card:hover { border-color: #a0aeff; }
        .ai-edge-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: var(--primary-blue);
            color: var(--text-white);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px;
        }
        .ai-edge-icon svg { width: 24px; height: 24px; }
        .ai-edge-card h3 {
            font-size: 20px;
            line-height: 28px;
            color: var(--primary-blue);
            margin-bottom: 8px;
        }
        .ai-edge-card p {
            font-size: 16px;
            line-height: 24px;
            color: var(--text-dark);
        }
        @media (max-width: 1024px) {
            .ai-edge-grid { grid-template-columns: 1fr; gap: 18px; max-width: 560px; }
        }
        @media (max-width: 768px) {
            .curriculum { padding: 60px 0 40px; }
            .curriculum-intro { font-size: 16px; line-height: 24px; margin-bottom: 30px; }
            .ai-edge-card { padding: 24px; }
            .ai-edge-card h3 { font-size: 18px; line-height: 26px; }
        }

        /* §5 TESTIMONIALS - process-led, not star-tutor */
        .testimonials {
            background-color: var(--accent-blue);
            padding: 60px 0;
        }
        .testimonials .section-title { color: var(--primary-blue); }
        .testimonials-carousel {
            max-width: 1100px;
            margin: 30px auto 0;
            padding-bottom: 8px;
            overflow: hidden;
            position: relative;
        }
        .testimonials-carousel .swiper-wrapper {
            align-items: stretch;
        }
        .testimonial-card {
            background: var(--text-white);
            border-radius: 20px;
            padding: 30px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            height: auto;
            box-sizing: border-box;
        }
        .testimonials-carousel .swiper-pagination {
            position: static;
            margin-top: 18px;
        }
        .testimonials-carousel .swiper-pagination-bullet {
            background: var(--primary-blue);
            opacity: 0.35;
        }
        .testimonials-carousel .swiper-pagination-bullet-active {
            background: var(--cta-magenta);
            opacity: 1;
        }
        .testimonial-avatar {
            width: 96px;
            height: 96px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 16px;
        }
        .testimonial-name {
            font-family: var(--font-heading);
            font-size: 18px;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 2px;
        }
        .testimonial-country {
            font-size: 14px;
            color: var(--cta-magenta);
            font-weight: 600;
            margin-bottom: 14px;
        }
        .testimonial-score {
            font-family: var(--font-body);
            font-size: 16px;
            line-height: 24px;
            font-weight: 600;
            color: var(--text-dark);
            background: var(--text-white);
            padding: 8px 18px;
            border-radius: 10px;
            border: 2px dashed var(--cta-magenta);
            margin-bottom: 18px;
        }
        .testimonial-score span { color: var(--cta-magenta); }
        .testimonial-quote {
            font-size: 16px;
            line-height: 24px;
            color: var(--text-dark);
            font-style: italic;
        }
        @media (max-width: 1024px) {
            .testimonials-carousel { max-width: 460px; }
        }
        @media (min-width: 1025px) {
            .testimonials-carousel .swiper-pagination { display: none; }
        }
        @media (max-width: 768px) {
            .testimonials { padding: 60px 0; }
        }

        /* §7 FAQ - matches gre-page-code design */
        .faq-section {
            background-color: var(--text-white);
            padding: 60px 0;
        }
        .faq-layout {
            display: grid;
            grid-template-columns: 2fr 3fr;
            gap: 30px;
            align-items: start;
        }
        .faq-image-col img {
            width: 100%;
            max-width: 420px;
            height: auto;
            border-radius: 20px;
            display: block;
        }
        .faq-container {
            max-width: 100%;
            margin: 0;
            padding: 0;
        }
        .faq-title {
            font-family: var(--font-heading);
            font-size: 36px;
            line-height: 1.3;
            font-weight: 600;
            color: var(--primary-blue);
            margin-bottom: 30px;
        }
        .faq-item {
            background: var(--primary-blue);
            margin-bottom: 18px;
            overflow: hidden;
            border-radius: 8px;
        }
        .faq-question {
            padding: 20px 50px 20px 20px;
            font-family: var(--font-body);
            font-size: 18px;
            line-height: 1.5;
            font-weight: 400;
            color: var(--text-white);
            cursor: pointer;
            position: relative;
            transition: all .3s ease;
            user-select: none;
        }
        .faq-question::after {
            content: "\203A";
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%) rotate(0deg);
            font-size: 26px;
            color: var(--text-white);
            font-weight: 400;
            transition: transform .3s ease;
            line-height: 1;
        }
        .faq-question.active::after { transform: translateY(-50%) rotate(90deg); }
        .faq-answer {
            background-color: var(--accent-blue);
            max-height: 0;
            overflow: hidden;
            transition: max-height .4s ease, padding .4s ease;
            padding: 0 20px;
            font-family: var(--font-body);
            font-size: 18px;
            line-height: 1.6;
            font-weight: 400;
            color: var(--primary-blue);
        }
        .faq-answer.active { max-height: 800px; padding: 20px; }

        /* §8 FINAL CTA - navy banner + magenta primary + ghost secondary */
        .final-cta {
            background-color: var(--bg-navy);
            padding: 60px 0;
            text-align: center;
            color: var(--text-white);
        }
        .final-cta h2 {
            font-family: var(--font-heading);
            font-size: 32px;
            line-height: 42px;
            font-weight: 600;
            color: var(--text-white);
            max-width: 760px;
            margin: 0 auto 14px;
        }
        .final-cta p {
            font-family: var(--font-heading);
            font-size: 18px;
            line-height: 28px;
            color: #fffdfe;
            max-width: 640px;
            margin: 0 auto 28px;
        }
        .final-cta-stack {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }
        @media (max-width: 768px) {
            .final-cta { padding: 50px 0; }
            .final-cta h2 { font-size: 24px; line-height: 32px; }
            .final-cta p { font-size: 16px; line-height: 24px; }
            .final-cta-stack { flex-direction: column; align-items: stretch; }
            .final-cta-stack .btn { width: 100%; }
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
        }
        @media (max-width: 1024px) {
            .hero h1 { font-size: 40px; line-height: 52px; }
            .hero-lede { font-size: 18px; line-height: 28px; }
            h2.section-title { font-size: 30px; line-height: 40px; }
        }
        @media (max-width: 768px) {
            .hero { padding: 50px 0 220px; }
            .hero-eyebrow { max-width: 280px; line-height: 22px; text-align: center; }
            .hero h1 { font-size: 30px; line-height: 40px; }
            .hero-lede { font-size: 16px; line-height: 24px; }
            .hero-cta-stack { flex-direction: column; align-items: stretch; }
            .hero-cta-stack .btn { width: 100%; }
            h2.section-title { font-size: 24px; line-height: 32px; }
            .section-subtitle { font-size: 16px; line-height: 24px; margin-bottom: 30px; }
            .pricing { padding: 50px 0; }
            .pricing-subheading { font-size: 16px; line-height: 24px; }
            .pricing-grid { grid-template-columns: 1fr; gap: 16px; max-width: 420px; }
            .pricing-card { padding: 28px 20px; }
            .pricing-featured { padding: 24px 20px; }
            .whats-included-box { padding: 22px 18px; }
            .whats-included-grid { grid-template-columns: 1fr; }
            .faq-section { padding: 50px 0; }
            .faq-layout { grid-template-columns: 1fr; }
            .faq-image-col { display: none; }
            .faq-title { font-size: 22px; margin-bottom: 20px; }
            .faq-question { font-size: 16px; padding: 18px 46px 18px 18px; }
            .faq-answer { font-size: 16px; }
            .faq-answer.active { padding: 18px; }
        }
    

/* ============================================================================
   Sibling-PDP additions (TOEFL / IELTS / SAT) - NOT in the GRE comp. The shared
   engine emits these classes when a sibling exam ships its own pricing layout:
   .pricing-plans-grid = SAT's 3-up featured-card plan grid; .price-tagline = SAT
   plan-card tagline under the title. Lifted VERBATIM from sat-page-code.html, marked
   here as sanctioned additions (design still lives in the designer comp).
   ============================================================================ */
.pricing-plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; align-items: stretch; }
.price-tagline { font-family: var(--font-body); font-size: 14px; line-height: 20px; color: var(--text-gray); margin-bottom: 16px; }
/* Sibling featured cards ARE the plan card -> their feature list stacks vertically (TOEFL/IELTS/
   SAT), unlike GRE's horizontal 2-item summary card. Engine adds --stacked when no standard grid. */
.featured-features-list--stacked { display: block; text-align: left; gap: 0; }
.featured-features-list--stacked .price-feature-item { margin-bottom: 10px; }
@media (max-width: 1024px) {
    .pricing-plans-grid { grid-template-columns: 1fr; max-width: 460px; gap: 18px; }
}
@media (max-width: 768px) {
    .pricing-plans-grid { max-width: 420px; }
}

/* ============================================================================
   Bricks integration reset (galv course v0.2) - same recipe as exam-hub.css,
   scoped to course singulars (container id 'pdprt'). Body bg matches the comp
   --text-white (#fffdfe); fonts match the comp (Inter body / Poppins headings).
   ============================================================================ */
body.single-course #brx-content.brxe-container,
body.single-course .brxe-container.brxe-pdprt,
body.single-course .brxe-text {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
    gap: 0 !important;
    align-items: stretch !important;
}
body.single-course #brx-content.brxe-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
body.single-course {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #333;
    background-color: #fffdfe;
}
body.single-course h1,
body.single-course h2,
body.single-course h3,
body.single-course h4,
body.single-course h5,
body.single-course h6 {
    font-family: 'Poppins', system-ui, sans-serif;
}

/* Sanctioned addition (galv course v0.2, NOT in Subash's comp): geo-hydrate hides the
   .exam-pricing__was price span when a currency has no strikethrough value. Hide the whole
   .original-price wrapper in that case so its sibling GST label never orphans (the GST
   label is a sibling, not a child, because geo-hydrate replaces __was/__now textContent). */
.original-price:has(.exam-pricing__was[hidden]) { display: none; }


/* ===== Contact-form section — Subash SAT PDP comp (2026-07-15) =====================
   Rendered by [galv_course_form] (self-hiding; only the SAT PDP opts in). The comp's
   .form-placeholder styles are intentionally NOT ported — we render the real
   [galv_form id="callback"], not a placeholder. */
.contact-form { background-color: var(--bg-navy); padding: 60px 0; }
.contact-form-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form-left { display: flex; align-items: center; justify-content: center; }
.contact-form-left img { width: 100%; height: auto; border-radius: 20px; }
.contact-form-right { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 1024px) { .contact-form-wrapper { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .contact-form { padding: 40px 0; } }
