/* ============================================================
 * homepage-polish.css
 * Luxury hi-end polish layer for the DADWORK homepage.
 * Load order on the homepage (see partials/home/head.php):
 *   ebook.css (shared base + landing styles) → index.css (homepage)
 *   → navbar.css → THIS FILE (last, so it can override).
 * Overrides only what needs polishing — never tears down the existing design.
 *
 * Goals:
 *   1. Consistent, breathable section rhythm at every viewport.
 *   2. Bullet-proof text/background contrast in every section.
 *   3. Container width tuned for luxury hi-end (≤ 1280px).
 *   4. Fluid spacing via clamp() — no hard cliffs between mobile,
 *      tablet, desktop.
 *   5. Refined section dividers and section-title spacing.
 *
 * Specificity is kept low. We rely on load order, not !important,
 * unless an inline upstream !important forces our hand.
 * ============================================================ */

:root {
    /* Fluid section vertical padding — scales 56px → 120px smoothly. */
    --section-py-fluid: clamp(56px, 9vw, 120px);
    /* Inner content rhythm */
    --section-title-mb: clamp(28px, 4vw, 48px);
    --section-gap-cards: clamp(20px, 2.5vw, 32px);
    /* Content wrapper for the homepage */
    --content-max: 1280px;
    /* Refined gutter — generous on small screens, tight on large */
    --content-px: clamp(20px, 4vw, 56px);
    /* Soft hairline divider color */
    --hairline: rgba(15, 23, 42, 0.06);
    --hairline-on-dark: rgba(255, 255, 255, 0.08);
}

/* ----------------------------------------------------------
 * 1. CONTAINER — Tighten max width for luxury restraint.
 * ---------------------------------------------------------- */
body .container {
    max-width: var(--content-max);
    padding-left: var(--content-px);
    padding-right: var(--content-px);
}

/* ----------------------------------------------------------
 * 2. UNIFIED SECTION SPACING
 *    Apply fluid vertical padding to every top-level homepage
 *    section. Anything that previously hard-coded 60px / 80px
 *    is brought into the same rhythm.
 * ---------------------------------------------------------- */
.hero,
.origin-story-section,
.painpoint-section,
.why-choose-section,
.credibility-section,
.kas-framework-section,
.instructor-section,
.transformation-showcase,
.inside-course,
.course-timeline,
.market-cta-bridge,
.courses-navy,
.free-courses-section,
.member-exclusive-section,
.blog-section,
.faq,
.trust-badges,
.stats-counter-section {
    padding-top: var(--section-py-fluid);
    padding-bottom: var(--section-py-fluid);
}

/* Hero gets a touch more top padding to clear the fixed navbar
 * gracefully on every device. */
.hero {
    padding-top: clamp(96px, 14vh, 180px);
    padding-bottom: clamp(56px, 9vw, 120px);
}

/* `.inside-course` had no padding and only a flat bg — give it
 * the same rhythm as its siblings. */
.inside-course {
    background: var(--bg-soft, #F0F4F8);
}

.free-courses-section {
    background: linear-gradient(135deg, #475569 0%, #94A3B8 50%, #475569 100%) !important;
    position: relative;
    overflow: hidden;
}

.free-courses-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.03) 30%,
        rgba(255, 255, 255, 0.12) 45%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.12) 55%,
        rgba(255, 255, 255, 0.03) 70%,
        transparent 80%
    );
    filter: blur(2px);
    animation: silverSweep 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes silverSweep {
    0% { left: -150%; opacity: 0.5; }
    50% { left: 150%; opacity: 1; }
    100% { left: 150%; opacity: 0.5; }
}

.free-courses-section .section-title p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.free-courses-section .container {
    position: relative;
    z-index: 2; /* Content above shimmer */
}

/* ----------------------------------------------------------
 * 3. SECTION TITLE RHYTHM
 *    Make every section-title block breathe the same amount,
 *    regardless of viewport.
 * ---------------------------------------------------------- */
.section-title {
    margin-bottom: var(--section-title-mb);
}

.section-title h2 {
    font-size: clamp(1.75rem, 3vw + 0.75rem, 2.75rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
}

.section-title p {
    font-size: clamp(1rem, 0.5vw + 0.9rem, 1.15rem);
    line-height: 1.7;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Body paragraph baseline across the page — slightly tighter than
 * the heroic 1.8 default so dense sections don't feel airy-loose. */
body {
    line-height: 1.7;
}

/* ----------------------------------------------------------
 * 4. CONTRAST RESCUE — DARK BACKGROUNDS
 *    Force readable text in every dark / navy / gradient-dark
 *    section. We target the section + common text-bearing
 *    descendants without disturbing card content (cards still
 *    have white backgrounds and dark text).
 * ---------------------------------------------------------- */
.courses-navy,
.credibility-section,
.member-exclusive-section,
.free-courses-section {
    color: #E2E8F0;
}

/* Direct prose children of a dark section — paragraphs that sit
 * on the dark canvas (NOT inside a white card). */
.courses-navy > .container > p,
.courses-navy .section-title p,
.credibility-section .section-title p,
.member-exclusive-section .section-title p {
    color: rgba(226, 232, 240, 0.92);
}

/* Headings on dark → pure white for max impact. */
.courses-navy .section-title h2,
.credibility-section .section-title h2,
.member-exclusive-section .section-title h2,
.free-courses-section .section-title h2 {
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

/* `<span>` accent inside headings on dark background — gold reads
 * better than the default primary blue against navy. */
.courses-navy .section-title h2 span,
.credibility-section .section-title h2 span,
.member-exclusive-section .section-title h2 span {
    background: linear-gradient(135deg, #F4C46B 0%, #C8962E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* `<span>` accent inside the painpoint heading sits on a LIGHT (white) bg.
   Without its own colour it inherits text-fill-color:transparent from the
   gradient h2 → the word (esp. Thai vowels) vanishes into the background.
   Give it its own readable orange gradient. */
.painpoint-section .section-title h2 span {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #EA580C; /* solid fallback if background-clip:text is unsupported */
}

/* FAQ heading sits on a white bg. The gradient-clip h2 renders thin Thai
   vowel/tone marks (e.g. the ี + ่ stacked on "ที่") faintly. Force a SOLID
   dark colour here so every glyph stays crisp. */
.faq .section-title h2 {
    background: none;
    -webkit-text-fill-color: #1E293B;
    color: #1E293B;
}

/* Credibility numbers/labels — guarantee visibility. */
.credibility-section .credibility-number {
    color: #FFFFFF;
}

.credibility-section .credibility-label {
    color: rgba(255, 255, 255, 0.72);
}

/* Hero Button Contrast Fix */
.hero .btn-secondary {
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: transparent !important;
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #FFFFFF !important;
    transform: translateY(-3px) scale(1.02);
}

/* ----------------------------------------------------------
 * 5. CONTRAST RESCUE — LIGHT BACKGROUNDS
 *    On `--bg-soft` (#F0F4F8) some `var(--text-light)` paragraphs
 *    can drop below WCAG AA. Bump them slightly.
 * ---------------------------------------------------------- */
.painpoint-section .painpoint-card p,
.why-choose-section .why-card p,
.kas-framework-section p,
.instructor-section p,
.transformation-showcase p,
.inside-course p,
.course-timeline p {
    color: #475569; /* slate-600 — passes AA on white & --bg-soft */
}

/* Badge Contrast Fix for Light Sections */
section:not(.hero):not(.courses-navy):not(.credibility-section):not(.member-exclusive-section):not(.free-courses-section) .badge {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1E40AF !important;
    border-color: rgba(30, 64, 175, 0.15) !important;
}

/* ----------------------------------------------------------
 * 6. SECTION DIVIDERS
 *    When two adjacent sections share the same background,
 *    add a hairline to suggest the transition without a hard line.
 * ---------------------------------------------------------- */
.painpoint-section + .why-choose-section,
.why-choose-section + .kas-framework-section,
.transformation-showcase + .course-timeline,
.course-timeline + .market-cta-bridge,
.free-courses-section + .blog-section {
    border-top: 1px solid var(--hairline);
}

/* ----------------------------------------------------------
 * 7. CARD POLISH — subtle elevation + crisp focus ring.
 * ---------------------------------------------------------- */
.modern-course-card,
.painpoint-card,
.why-card,
.kb-card-featured,
.kb-card-compact,
.kas-pillar {
    transition:
        transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        border-color 0.3s ease;
}

.modern-course-card:hover,
.painpoint-card:hover,
.why-card:hover,
.kb-card-featured:hover,
.kb-card-compact:hover,
.kas-pillar:hover {
    transform: translateY(-6px);
    box-shadow:
        0 28px 48px -16px rgba(11, 29, 51, 0.18),
        0 8px 16px -8px rgba(11, 29, 51, 0.08);
}

/* Accessible focus ring for keyboard users on every interactive card/button. */
a:focus-visible,
button:focus-visible,
.modern-course-card:focus-visible,
.painpoint-card:focus-visible,
.why-card:focus-visible {
    outline: 2px solid #C8962E;
    outline-offset: 3px;
    border-radius: 12px;
}

/* ----------------------------------------------------------
 * 8. RESPONSIVE TIGHTENING
 *    Critical breakpoints — ensure grids collapse gracefully.
 * ---------------------------------------------------------- */

/* ≤ 1024px — tablet portrait & small laptop */
@media (max-width: 1024px) {
    .painpoint-grid,
    .why-choose-grid,
    .credibility-grid,
    .stats-grid-counter {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
}

/* ≤ 768px — mobile landscape & up */
@media (max-width: 768px) {
    :root {
        --section-py-fluid: clamp(48px, 11vw, 80px);
        --section-title-mb: 28px;
    }

    .section-title h2 {
        font-size: clamp(1.5rem, 5vw + 0.5rem, 2rem);
    }

    /* Two-up grids stay two-up here — looks better than single column. */
    .painpoint-grid,
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .credibility-grid,
    .stats-grid-counter {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 28px !important;
    }

    /* Inside-course is a 2-col grid by default → stack on mobile. */
    .inside-container {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
}

/* ≤ 480px — small phones */
@media (max-width: 480px) {
    :root {
        --section-py-fluid: 48px;
        --content-px: 18px;
    }

    .painpoint-grid,
    .why-choose-grid,
    .credibility-grid,
    .stats-grid-counter {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding-top: clamp(80px, 18vh, 120px);
    }
}

/* ----------------------------------------------------------
 * 9. TYPOGRAPHY DETAILS — anti-aliasing, ligatures, balance.
 * ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance; /* keeps headings from orphaning a single word */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    text-wrap: pretty; /* avoids ragged short last lines on supporting browsers */
}

/* Selection color — tiny detail, big premium feel. */
::selection {
    background: rgba(200, 150, 46, 0.25);
    color: var(--secondary, #0B1D33);
}

/* ----------------------------------------------------------
 * 10. CTA & PRIMARY BUTTON SHEEN
 *     Subtle gloss sweep on hover — premium without being loud.
 * ---------------------------------------------------------- */
.btn,
.btn-cta,
.btn-primary,
.btn-signin,
.course-price-link {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn::before,
.btn-cta::before,
.btn-primary::before,
.course-price-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 70%
    );
    transform: translateX(-110%);
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    z-index: 1;
}

.btn:hover::before,
.btn-cta:hover::before,
.btn-primary:hover::before,
.course-price-link:hover::before {
    transform: translateX(110%);
}

/* Make sure button content sits above the sheen */
.btn > *,
.btn-cta > *,
.btn-primary > *,
.course-price-link > * {
    position: relative;
    z-index: 2;
}

/* ----------------------------------------------------------
 * 11. FOOTER & TRUST BAR — tighter rhythm
 * ---------------------------------------------------------- */
.trust-badges {
    padding-top: clamp(32px, 5vw, 64px);
    padding-bottom: clamp(32px, 5vw, 64px);
    border-top: 1px solid var(--hairline);
    background: #FAFBFC;
}

/* ----------------------------------------------------------
 * 12. KILL HORIZONTAL OVERFLOW (safety net)
 * ---------------------------------------------------------- */
html, body {
    overflow-x: hidden;
}

/* ----------------------------------------------------------
 * 12b. MANIFESTO / Founder Note section
 *      Long-form, reading-optimised typography on a quiet
 *      cream background so it slows readers down (intentional
 *      "feel" break between hero and the courses grid).
 * ---------------------------------------------------------- */
.manifesto-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF7F2 60%, #F5F1EA 100%);
    position: relative;
    overflow: hidden;
}
.manifesto-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 22%, rgba(200, 150, 46, 0.06) 0%, transparent 38%),
        radial-gradient(circle at 92% 80%, rgba(30, 64, 175, 0.05) 0%, transparent 42%);
    pointer-events: none;
}
.manifesto-container { position: relative; z-index: 1; }

.manifesto-head {
    text-align: center;
    margin-bottom: 56px;
}
.manifesto-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #C8962E;
    margin-bottom: 14px;
    padding: 6px 14px;
    background: rgba(200, 150, 46, 0.08);
    border-radius: 100px;
    border: 1px solid rgba(200, 150, 46, 0.22);
}
.manifesto-title {
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: #0B1D33;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}
.manifesto-grid--solo {
    grid-template-columns: 1fr;
    max-width: 760px;
}

.manifesto-image {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow:
        0 30px 60px rgba(11, 29, 51, 0.18),
        0 8px 18px rgba(11, 29, 51, 0.10);
    aspect-ratio: 4 / 5;
    background: #f8fafc;
    /* Sticky so the image stays beside the text on long reads. */
    position: sticky;
    top: 100px;
}
.manifesto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}
.manifesto-image-glow {
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(200, 150, 46, 0.20), transparent 60%);
    pointer-events: none;
    mix-blend-mode: overlay;
}

.manifesto-body {
    font-family: 'Sarabun', 'Prompt', sans-serif;
    color: #1E293B;
    font-size: clamp(0.98rem, 1.1vw, 1.08rem);
    line-height: 1.95;
    letter-spacing: 0.005em;
}
.manifesto-body p {
    margin: 0 0 1.4em;
    text-align: justify;
    text-justify: inter-character;
}
.manifesto-body p.manifesto-lead {
    font-size: 1.05em;
    color: #0B1D33;
    font-weight: 500;
}
.manifesto-body strong { color: #0B1D33; font-weight: 700; }
.manifesto-body em { color: #C8962E; font-style: normal; font-weight: 600; }

.manifesto-quote {
    margin: 2.2em 0 1.6em;
    padding: 22px 26px 22px 36px;
    background: linear-gradient(135deg, rgba(200, 150, 46, 0.06), rgba(200, 150, 46, 0.02));
    border-left: 4px solid #C8962E;
    border-radius: 12px;
    position: relative;
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-size: clamp(1.08rem, 1.4vw, 1.25rem);
    line-height: 1.55;
    font-weight: 600;
    color: #0B1D33;
    letter-spacing: -0.01em;
}
.manifesto-quote-mark {
    position: absolute;
    top: -8px;
    left: 14px;
    font-size: 3.2rem;
    color: rgba(200, 150, 46, 0.35);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    font-style: italic;
}
.manifesto-quote-text { display: block; }

.manifesto-signature {
    margin-top: 1.4em;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #475569;
}

/* Tablet / mobile: stack image on top, smaller padding */
@media (max-width: 900px) {
    .manifesto-section { padding: 60px 0; }
    .manifesto-head { margin-bottom: 36px; }
    .manifesto-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 640px;
    }
    .manifesto-image {
        position: static;
        max-width: 360px;
        margin: 0 auto;
        aspect-ratio: 1 / 1;
    }
    .manifesto-body { font-size: 0.98rem; line-height: 1.85; }
    .manifesto-body p { text-align: left; }
    .manifesto-quote { padding: 18px 18px 18px 28px; font-size: 1.05rem; }
    .manifesto-quote-mark { font-size: 2.6rem; }
}

@media (max-width: 480px) {
    .manifesto-section { padding: 44px 0; }
    .manifesto-eyebrow { font-size: 0.7rem; letter-spacing: 0.22em; }
    .manifesto-title { font-size: 1.45rem; }
}

/* ----------------------------------------------------------
 * 12c. WHY DADWORK — Brand philosophy section
 *      Dark "command center" vibe (navy + cyan grid + gold accent)
 *      that contrasts with the cream Manifesto above it, signalling
 *      a "shift gear" from personal story to philosophy.
 * ---------------------------------------------------------- */
.why-dadwork-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0 110px;
    background: linear-gradient(180deg, #060B1C 0%, #0B1530 55%, #0F1B3D 100%);
    color: #E2E8F0;
    isolation: isolate;
}
.why-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 35%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 0%, transparent 78%);
    pointer-events: none;
    z-index: 0;
}
.why-bg-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}
.why-bg-glow-1 {
    top: -120px;
    left: -120px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.55) 0%, transparent 60%);
}
.why-bg-glow-2 {
    bottom: -180px;
    right: -160px;
    background: radial-gradient(circle, rgba(200, 150, 46, 0.45) 0%, transparent 65%);
}
.why-container {
    position: relative;
    z-index: 1;
    max-width: 880px;
}

.why-head {
    text-align: center;
    margin-bottom: 40px;
}
.why-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #7DD3FC;
    margin-bottom: 18px;
    padding: 6px 16px 6px 12px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 100px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.why-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38BDF8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
    animation: whyDotPulse 2.2s ease-in-out infinite;
}
@keyframes whyDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.85); }
}
.why-title {
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.3;
    letter-spacing: -0.015em;
    margin: 0;
    text-wrap: balance;
}

.why-body {
    font-family: 'Sarabun', 'Prompt', sans-serif;
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    line-height: 1.9;
    color: rgba(226, 232, 240, 0.85);
    max-width: 760px;
    margin: 0 auto;
}
.why-body p {
    margin: 0 0 1.3em;
    text-align: center;
}
.why-body p.why-lead {
    font-size: 1.06em;
    color: #F8FAFC;
    font-weight: 500;
}
.why-body strong { color: #FCD34D; font-weight: 700; }
.why-body em { color: #7DD3FC; font-style: normal; font-weight: 600; }

.why-tagline {
    margin: 36px auto 0;
    max-width: 700px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 28px;
    background: linear-gradient(135deg, rgba(200, 150, 46, 0.10) 0%, rgba(56, 189, 248, 0.06) 100%);
    border: 1px solid rgba(200, 150, 46, 0.30);
    border-radius: 16px;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.why-tagline-icon {
    font-size: 1.7rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(200, 150, 46, 0.6));
}
.why-tagline-text {
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.6;
    color: #FEF3C7;
    font-weight: 600;
    letter-spacing: 0.005em;
}

@media (max-width: 900px) {
    .why-dadwork-section { padding: 72px 0 80px; }
    .why-head { margin-bottom: 28px; }
    .why-body p { text-align: left; }
    .why-tagline { flex-direction: column; text-align: center; gap: 12px; padding: 20px; }
    .why-bg-glow { width: 340px; height: 340px; filter: blur(90px); }
}
@media (max-width: 480px) {
    .why-dadwork-section { padding: 54px 0 60px; }
    .why-eyebrow { font-size: 0.7rem; letter-spacing: 0.24em; padding: 5px 12px 5px 10px; }
    .why-title { font-size: 1.4rem; }
    .why-bg-grid { background-size: 36px 36px; }
}

/* ----------------------------------------------------------
 * 12d. TEACHING PILLARS — 3-pillar "approach" section
 *      Light off-white background with cyan accents. Sits
 *      after the dark Why DADWORK to create rhythm.
 * ---------------------------------------------------------- */
.pillars-section {
    padding: 90px 0 100px;
    background: linear-gradient(180deg, #F0F5FA 0%, #E8F0F8 100%);
    position: relative;
    overflow: hidden;
}
.pillars-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(56, 189, 248, 0.10) 0%, transparent 40%),
        radial-gradient(circle at 88% 78%, rgba(99, 102, 241, 0.08) 0%, transparent 45%);
    pointer-events: none;
}
.pillars-container { position: relative; z-index: 1; }

.pillars-head {
    text-align: center;
    margin-bottom: 56px;
}
.pillars-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #0369A1;
    padding: 6px 14px;
    background: rgba(56, 189, 248, 0.10);
    border-radius: 100px;
    border: 1px solid rgba(56, 189, 248, 0.28);
    margin-bottom: 14px;
}
.pillars-title {
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    font-weight: 800;
    color: #0B1D33;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin: 0;
    text-wrap: balance;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.pillar-card {
    position: relative;
    padding: 40px 28px 32px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFE 100%);
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 22px;
    box-shadow:
        0 14px 36px rgba(15, 23, 42, 0.06),
        0 4px 10px rgba(15, 23, 42, 0.04);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.3s;
    overflow: hidden;
    text-align: center;
}
.pillar-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #38BDF8 0%, #818CF8 50%, #C8962E 100%);
    opacity: 0.35;
    transition: opacity 0.4s;
}
.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 26px 56px rgba(56, 189, 248, 0.14),
        0 8px 20px rgba(200, 150, 46, 0.08);
    border-color: rgba(200, 150, 46, 0.32);
}
.pillar-card:hover::before { opacity: 1; }

/* Number badge — top-right corner, italic, subtle */
.pillar-num {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1rem;
    font-weight: 800;
    color: rgba(56, 189, 248, 0.30);
    margin: 0;
    letter-spacing: -0.02em;
    transition: color 0.3s;
}
.pillar-card:hover .pillar-num { color: rgba(200, 150, 46, 0.70); }

/* Icon — large gradient circle, the visual hero of the card */
.pillar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin: 0 auto 22px;
    font-size: 2.4rem;
    line-height: 1;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(129, 140, 248, 0.10) 50%, rgba(200, 150, 46, 0.10) 100%);
    border-radius: 50%;
    border: 1px solid rgba(56, 189, 248, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 8px 22px rgba(56, 189, 248, 0.12);
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.45s, border-color 0.45s;
}
.pillar-card:hover .pillar-icon {
    transform: scale(1.08) translateY(-2px);
    border-color: rgba(200, 150, 46, 0.45);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 14px 30px rgba(56, 189, 248, 0.16),
        0 6px 14px rgba(200, 150, 46, 0.12);
}

.pillar-title {
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0B1D33;
    line-height: 1.4;
    margin: 0 0 12px;
    letter-spacing: -0.005em;
}
.pillar-body {
    font-family: 'Sarabun', 'Prompt', sans-serif;
    font-size: 0.93rem;
    line-height: 1.75;
    color: #475569;
    margin: 0;
}

.pillars-closing {
    margin: 50px auto 0;
    max-width: none;
    text-align: center;
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-size: clamp(0.85rem, 1.05vw, 1rem);
    line-height: 1.55;
    color: #1E293B;
    font-style: italic;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: -0.005em;
}
@media (max-width: 1100px) {
    .pillars-closing {
        white-space: normal;
        font-size: 1rem;
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.7;
    }
}
.pillars-closing-mark {
    color: #C8962E;
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    font-weight: 900;
    line-height: 0;
    vertical-align: -0.2em;
    margin: 0 4px;
}

@media (max-width: 900px) {
    .pillars-section { padding: 64px 0 72px; }
    .pillars-head { margin-bottom: 36px; }
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        justify-items: center;
    }
    .pillar-card { padding: 32px 22px 26px; width: 100%; max-width: 460px; margin: 0 auto; }
    .pillar-num { font-size: 0.92rem; top: 14px; right: 18px; }
    .pillar-icon { width: 72px; height: 72px; font-size: 2.1rem; }
    .pillars-closing { margin-top: 36px; }
}

/* ----------------------------------------------------------
 * 12e. OUTCOMES — "What you get" 8-item grid
 *      Premium cream + gold tone. Positioned right before
 *      courses to reinforce value perception.
 * ---------------------------------------------------------- */
.outcomes-section {
    position: relative;
    padding: 100px 0 110px;
    background: linear-gradient(180deg, #FAF6EE 0%, #F4EBD8 60%, #EFE2C7 100%);
    overflow: hidden;
    isolation: isolate;
}
.outcomes-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 18%, rgba(200, 150, 46, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 92% 82%, rgba(200, 150, 46, 0.14) 0%, transparent 38%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.outcomes-container { position: relative; z-index: 1; }

.outcomes-head {
    text-align: center;
    margin-bottom: 56px;
}
.outcomes-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    color: #8B6914;
    padding: 6px 14px;
    background: rgba(200, 150, 46, 0.14);
    border-radius: 100px;
    border: 1px solid rgba(200, 150, 46, 0.36);
    margin-bottom: 14px;
}
.outcomes-title {
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #1F2937;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin: 0;
    text-wrap: balance;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1180px;
    margin: 0 auto;
}

.outcome-card {
    padding: 30px 22px 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(200, 150, 46, 0.20);
    border-radius: 18px;
    box-shadow:
        0 10px 24px rgba(120, 90, 30, 0.06),
        0 3px 8px rgba(120, 90, 30, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.outcome-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 36px rgba(120, 90, 30, 0.12),
        0 6px 14px rgba(120, 90, 30, 0.06);
    border-color: rgba(200, 150, 46, 0.40);
}
.outcome-icon {
    font-size: 1.9rem;
    line-height: 1;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(200, 150, 46, 0.18) 0%, rgba(200, 150, 46, 0.06) 100%);
    border-radius: 50%;
    border: 1px solid rgba(200, 150, 46, 0.32);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 4px 10px rgba(200, 150, 46, 0.10);
    transition: transform 0.35s ease, border-color 0.35s;
}
.outcome-card:hover .outcome-icon {
    transform: scale(1.06);
    border-color: rgba(200, 150, 46, 0.6);
}
.outcome-title {
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0B1D33;
    line-height: 1.4;
    margin: 0 0 8px;
    letter-spacing: -0.005em;
    text-align: center;
}
.outcome-body {
    font-family: 'Sarabun', 'Prompt', sans-serif;
    font-size: 0.86rem;
    line-height: 1.7;
    color: #57534E;
    margin: 0;
    text-align: center;
}

.outcomes-cta-wrap {
    text-align: center;
    margin-top: 50px;
}
.outcomes-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #C8962E 0%, #B07F26 100%);
    color: #FFFFFF;
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    border-radius: 100px;
    box-shadow:
        0 14px 30px rgba(200, 150, 46, 0.34),
        0 4px 10px rgba(200, 150, 46, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.30);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.outcomes-cta:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 38px rgba(200, 150, 46, 0.42),
        0 6px 14px rgba(200, 150, 46, 0.22);
}
.outcomes-cta-arrow {
    transition: transform 0.3s ease;
}
.outcomes-cta:hover .outcomes-cta-arrow {
    transform: translateX(4px);
}

@media (max-width: 1100px) {
    .outcomes-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 840px) {
    .outcomes-section { padding: 70px 0 80px; }
    .outcomes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }
    .outcome-card { padding: 22px 18px 18px; }
}
@media (max-width: 480px) {
    .outcomes-section { padding: 56px 0 64px; }
    .outcomes-head { margin-bottom: 32px; }
    .outcomes-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
        justify-items: center;
    }
    .outcome-card { width: 100%; max-width: 380px; margin: 0 auto; }
    .outcomes-cta { padding: 14px 26px; font-size: 0.98rem; }
}

/* ----------------------------------------------------------
 * 12e2. COURSES INTRO — unified header + 3 tab-style quicknav
 *       cards that scroll to each courses section.
 * ---------------------------------------------------------- */
.courses-intro-section {
    padding: 80px 0 50px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    position: relative;
}
.courses-intro-head {
    text-align: center;
    margin-bottom: 40px;
}
.courses-intro-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #0369A1;
    padding: 6px 16px 6px 12px;
    background: rgba(56, 189, 248, 0.10);
    border: 1px solid rgba(56, 189, 248, 0.30);
    border-radius: 100px;
    margin-bottom: 14px;
}
.courses-intro-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38BDF8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.85);
    animation: coursesDotPulse 2.4s ease-in-out infinite;
}
@keyframes coursesDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.45; transform: scale(0.8); }
}
.courses-intro-title {
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 800;
    color: #0B1D33;
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    text-wrap: balance;
}
.courses-intro-sub {
    font-family: 'Sarabun', 'Prompt', sans-serif;
    font-size: clamp(0.92rem, 1.05vw, 1.04rem);
    line-height: 1.7;
    color: #475569;
    max-width: 720px;
    margin: 0 auto;
}

.courses-quicknav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
}

.courses-qn-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 26px 24px 22px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFE 100%);
    border: 1px solid rgba(30, 64, 175, 0.10);
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    box-shadow:
        0 10px 26px rgba(15, 23, 42, 0.06),
        0 3px 8px rgba(15, 23, 42, 0.03);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.3s;
    overflow: hidden;
}
/* Top accent bar — variant color per card */
.courses-qn-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    opacity: 0.40;
    transition: opacity 0.4s;
}
.courses-qn-card--paid::before      { background: linear-gradient(90deg, #C8962E, #E0B349); }
.courses-qn-card--free::before      { background: linear-gradient(90deg, #38BDF8, #818CF8); }
.courses-qn-card--exclusive::before { background: linear-gradient(90deg, #C026D3, #818CF8); }

.courses-qn-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 22px 48px rgba(15, 23, 42, 0.12),
        0 8px 18px rgba(15, 23, 42, 0.06);
    border-color: rgba(200, 150, 46, 0.30);
}
.courses-qn-card:hover::before { opacity: 1; }
.courses-qn-card:hover .qn-arrow {
    transform: translateY(4px);
    opacity: 1;
}

/* Number badge */
.qn-num {
    position: absolute;
    top: 14px;
    right: 16px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.9rem;
    font-weight: 800;
    color: rgba(30, 64, 175, 0.22);
    letter-spacing: -0.02em;
}
.qn-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 6px;
    filter: drop-shadow(0 6px 12px rgba(200, 150, 46, 0.18));
}
.qn-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C8962E;
    margin-bottom: 2px;
}
.qn-title {
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0B1D33;
    line-height: 1.35;
    letter-spacing: -0.005em;
}
.qn-desc {
    font-family: 'Sarabun', 'Prompt', sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #57534E;
    margin-top: 4px;
}
.qn-arrow {
    position: absolute;
    bottom: 16px;
    right: 18px;
    font-size: 1.1rem;
    color: #C8962E;
    opacity: 0.55;
    font-weight: 800;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 900px) {
    .courses-intro-section { padding: 56px 0 36px; }
    .courses-quicknav {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: 480px;
    }
    .courses-qn-card { padding: 22px 22px 20px; }
}

/* ----------------------------------------------------------
 * 12g. REVIEWS SHOWCASE — Success Stories grid (dynamic from DB)
 *      Premium testimonial cards with photo · star rating · quote
 *      Featured card spans 2 columns and stands out.
 * ---------------------------------------------------------- */
.reviews-showcase-section {
    padding: 90px 0 100px;
    background: linear-gradient(180deg, #FAF7F2 0%, #FFFFFF 60%, #F5F1EA 100%);
    position: relative;
    overflow: hidden;
}
.reviews-bg-glow {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.40;
    pointer-events: none;
    z-index: 0;
}
.reviews-bg-glow-1 {
    top: -120px;
    right: -100px;
    background: radial-gradient(circle, rgba(200, 150, 46, 0.20) 0%, transparent 60%);
}
.reviews-bg-glow-2 {
    bottom: -160px;
    left: -120px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.14) 0%, transparent 65%);
}
.reviews-showcase-section .container { position: relative; z-index: 1; }

.reviews-head {
    text-align: center;
    margin-bottom: 56px;
}
.reviews-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #8B6914;
    padding: 6px 16px 6px 12px;
    background: rgba(200, 150, 46, 0.12);
    border: 1px solid rgba(200, 150, 46, 0.32);
    border-radius: 100px;
    margin-bottom: 16px;
}
.reviews-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #C8962E;
    box-shadow: 0 0 10px rgba(200, 150, 46, 0.85);
    animation: reviewsDotPulse 2.4s ease-in-out infinite;
}
@keyframes reviewsDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.45; transform: scale(0.8); }
}
.reviews-title {
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #0B1D33;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    text-wrap: balance;
}
.reviews-sub {
    font-family: 'Sarabun', 'Prompt', sans-serif;
    font-size: clamp(0.95rem, 1.1vw, 1.08rem);
    line-height: 1.7;
    color: #475569;
    max-width: 660px;
    margin: 0 auto;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1240px;
    margin: 0 auto;
}

.review-card {
    position: relative;
    padding: 28px 26px 24px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FCFAF5 100%);
    border: 1px solid rgba(200, 150, 46, 0.18);
    border-radius: 20px;
    box-shadow:
        0 12px 32px rgba(120, 90, 30, 0.08),
        0 3px 10px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 22px;
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    line-height: 1;
    color: rgba(200, 150, 46, 0.10);
    font-style: italic;
    font-weight: 900;
    pointer-events: none;
}
.review-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 22px 50px rgba(120, 90, 30, 0.14),
        0 8px 20px rgba(15, 23, 42, 0.06);
    border-color: rgba(200, 150, 46, 0.40);
}

/* Featured card — slightly larger, gold-tinted */
.review-card--featured {
    background: linear-gradient(180deg, #FFFBEB 0%, #FEF3C7 100%);
    border: 1.5px solid rgba(200, 150, 46, 0.50);
    box-shadow:
        0 16px 40px rgba(200, 150, 46, 0.16),
        0 5px 14px rgba(120, 90, 30, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.review-card--featured::before {
    color: rgba(200, 150, 46, 0.22);
}
.review-featured-badge {
    position: absolute;
    top: 14px;
    right: 16px;
    background: linear-gradient(135deg, #C8962E, #B07F26);
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    border-radius: 100px;
    box-shadow: 0 4px 10px rgba(200, 150, 46, 0.30);
}

.review-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.review-star {
    color: #E5E7EB;
    font-size: 1.05rem;
    line-height: 1;
}
.review-star.is-filled {
    color: #F59E0B;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.35);
}

.review-quote {
    font-family: 'Sarabun', 'Prompt', sans-serif;
    font-size: 0.94rem;
    line-height: 1.75;
    color: #1E293B;
    margin: 0 0 22px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(200, 150, 46, 0.15);
}
.review-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(200, 150, 46, 0.4);
    box-shadow: 0 4px 10px rgba(200, 150, 46, 0.18);
}
.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.review-avatar-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #C8962E 0%, #B07F26 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
}
.review-author {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
    min-width: 0;
}
.review-author strong {
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-size: 0.96rem;
    font-weight: 700;
    color: #0B1D33;
}
.review-author span {
    font-size: 0.78rem;
    color: #64748B;
    margin-top: 1px;
}
.review-author .review-course {
    color: #8B6914;
    font-weight: 600;
    font-size: 0.76rem;
    margin-top: 3px;
}

@media (max-width: 1100px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 820px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 640px) {
    .reviews-showcase-section { padding: 64px 0 72px; }
    .reviews-head { margin-bottom: 36px; }
    .reviews-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
        gap: 16px;
    }
    .review-card { padding: 24px 22px 20px; }
}

/* ----------------------------------------------------------
 * 12h. FOUNDER'S PROMISE — combined thank-you + 30-day guarantee
 *      Warm cream bg + gold accents + rotating circular seal badge
 * ---------------------------------------------------------- */
.founder-promise-section {
    padding: 100px 0 110px;
    background: linear-gradient(180deg, #FAF7F2 0%, #F5F1EA 60%, #EFE2C7 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.promise-bg-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.40;
    pointer-events: none;
    z-index: 0;
}
.promise-bg-glow-1 {
    top: -140px;
    left: -120px;
    background: radial-gradient(circle, rgba(200, 150, 46, 0.32) 0%, transparent 60%);
}
.promise-bg-glow-2 {
    bottom: -180px;
    right: -140px;
    background: radial-gradient(circle, rgba(200, 150, 46, 0.22) 0%, transparent 65%);
}
.promise-container { position: relative; z-index: 1; max-width: 1080px; }

.promise-head {
    text-align: center;
    margin-bottom: 44px;
}
.promise-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    color: #8B6914;
    padding: 7px 18px;
    background: rgba(200, 150, 46, 0.14);
    border: 1px solid rgba(200, 150, 46, 0.40);
    border-radius: 100px;
    margin-bottom: 16px;
}
.promise-eyebrow-icon {
    font-size: 1rem;
    line-height: 1;
}
.promise-title {
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    font-weight: 800;
    color: #0B1D33;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin: 0;
    text-wrap: balance;
}

/* ── Main card: 2-column with badge on right ─────────────────── */
.promise-card {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 56px;
    align-items: center;
    padding: 50px 56px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 100%);
    border: 1px solid rgba(200, 150, 46, 0.32);
    border-radius: 24px;
    box-shadow:
        0 24px 60px rgba(120, 90, 30, 0.14),
        0 8px 20px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.promise-body {
    font-family: 'Sarabun', 'Prompt', sans-serif;
    color: #1E293B;
    line-height: 1.85;
}
.promise-intro {
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    margin: 0 0 22px;
    color: #334155;
}
.promise-lead-in {
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-size: clamp(1.05rem, 1.25vw, 1.18rem);
    font-weight: 700;
    color: #0B1D33;
    margin: 0 0 18px;
}

.promise-conditions {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.promise-conditions li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: clamp(0.95rem, 1.08vw, 1.06rem);
    color: #1E293B;
    line-height: 1.6;
}
.promise-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.30);
    margin-top: 2px;
}
.promise-check svg { width: 14px; height: 14px; }

.promise-outcome {
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-size: clamp(0.82rem, 0.95vw, 0.95rem);
    line-height: 1.55;
    color: #0B1D33;
    margin: 0 0 18px;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(200, 150, 46, 0.12) 0%, rgba(200, 150, 46, 0.06) 100%);
    border-left: 4px solid #C8962E;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    letter-spacing: -0.005em;
    overflow: hidden;
}
.promise-outcome strong {
    color: #B07F26;
    font-weight: 800;
}
.promise-arrow {
    color: #C8962E;
    font-weight: 800;
    flex-shrink: 0;
    font-size: 1.3em;
    line-height: 1.2;
}

.promise-closing {
    font-style: italic;
    font-size: clamp(0.95rem, 1.08vw, 1.05rem);
    color: #475569;
    margin: 0 0 28px;
    line-height: 1.7;
}

.promise-signature {
    padding-top: 22px;
    border-top: 1px dashed rgba(200, 150, 46, 0.40);
}
.promise-sig-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #C8962E, transparent);
    margin-bottom: 14px;
    border-radius: 2px;
}
.promise-sig-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.promise-sig-photo {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(200, 150, 46, 0.55);
    box-shadow:
        0 6px 14px rgba(200, 150, 46, 0.22),
        inset 0 0 0 2px rgba(255, 255, 255, 0.6);
}
.promise-sig-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}
.promise-sig-text { min-width: 0; }
.promise-sig-name {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.3rem;
    font-weight: 800;
    color: #0B1D33;
    line-height: 1.2;
    margin-bottom: 3px;
}
.promise-sig-sub {
    font-size: 0.86rem;
    color: #64748B;
    line-height: 1.5;
}

/* ── 30-Day Badge — circular seal with rotating perimeter text ─ */
.promise-badge-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
}
.promise-badge-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(200, 150, 46, 0.55);
    box-shadow:
        0 12px 28px rgba(200, 150, 46, 0.28),
        0 4px 10px rgba(15, 23, 42, 0.10),
        inset 0 0 0 2px rgba(255, 255, 255, 0.75);
    background: #FFF;
}
.promise-badge-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}
.promise-badge {
    position: relative;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.50) 0%, transparent 50%),
        linear-gradient(135deg, #E0B349 0%, #C8962E 45%, #9C7223 100%);
    box-shadow:
        0 20px 50px rgba(200, 150, 46, 0.40),
        0 6px 16px rgba(120, 90, 30, 0.30),
        inset 0 2px 0 rgba(255, 255, 255, 0.45),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15),
        inset 0 0 0 6px rgba(255, 255, 255, 0.15),
        inset 0 0 0 8px rgba(200, 150, 46, 0.50);
}
.promise-badge-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: promiseBadgeSpin 28s linear infinite;
}
@keyframes promiseBadgeSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.promise-badge-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
.promise-badge-top {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.20em;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.92);
}
.promise-badge-days {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 4.6rem;
    font-weight: 900;
    line-height: 0.95;
    color: #FFFFFF;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.30);
}
.promise-badge-bottom {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.36em;
    margin-top: -4px;
    color: rgba(255, 255, 255, 0.92);
}
.promise-badge-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    margin-top: 14px;
    padding: 4px 12px;
    background: rgba(11, 29, 51, 0.30);
    border-radius: 100px;
    color: #FEF3C7;
}

/* ── CTA below card ───────────────────────────────────────── */
.promise-cta-wrap {
    text-align: center;
    margin-top: 44px;
}
.promise-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #E0B349 0%, #C8962E 50%, #9C7223 100%);
    color: #FFFFFF;
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-weight: 700;
    font-size: 1.06rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    border-radius: 100px;
    border: 1px solid rgba(255, 247, 230, 0.25);
    box-shadow:
        0 16px 38px rgba(200, 150, 46, 0.40),
        0 5px 12px rgba(120, 90, 30, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.30);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.promise-cta:hover {
    transform: translateY(-3px);
    color: #FFFFFF;
    box-shadow:
        0 22px 48px rgba(200, 150, 46, 0.50),
        0 8px 16px rgba(120, 90, 30, 0.24);
}
.promise-cta-arrow {
    font-weight: 800;
    transition: transform 0.3s ease;
}
.promise-cta:hover .promise-cta-arrow {
    transform: translateX(5px);
}

@media (max-width: 960px) {
    .promise-card {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 40px 32px;
        text-align: center;
    }
    .promise-conditions li { text-align: left; }
    .promise-signature { text-align: left; }
    .promise-sig-row { justify-content: flex-start; }
    .promise-outcome {
        text-align: left;
        white-space: normal;
        font-size: 1rem;
        line-height: 1.65;
        align-items: flex-start;
    }
    .promise-badge-photo { width: 96px; height: 96px; }
}
@media (max-width: 600px) {
    .founder-promise-section { padding: 70px 0 80px; }
    .promise-card { padding: 32px 22px; }
    .promise-badge { width: 200px; height: 200px; }
    .promise-badge-days { font-size: 3.8rem; }
    .promise-badge-top, .promise-badge-bottom { font-size: 0.82rem; }
    .promise-badge-photo { width: 84px; height: 84px; }
    .promise-sig-photo { width: 56px; height: 56px; }
}

/* ----------------------------------------------------------
 * 12f. FLOATING CTA — gold pill bottom-right.
 *      Appears after scrolling past hero · hides near courses
 *      and footer · subtle entrance + hover.
 * ---------------------------------------------------------- */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: var(--z-floating);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px 13px 18px;
    background: linear-gradient(135deg, #E0B349 0%, #C8962E 45%, #9C7223 100%);
    color: #FFFFFF;
    font-family: 'Prompt', 'Sarabun', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.005em;
    text-decoration: none;
    border-radius: 100px;
    border: 1px solid rgba(255, 247, 230, 0.25);
    box-shadow:
        0 14px 32px rgba(200, 150, 46, 0.40),
        0 4px 10px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.30);
    opacity: 0;
    transform: translateY(28px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.floating-cta--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.floating-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 22px 44px rgba(200, 150, 46, 0.52),
        0 6px 14px rgba(15, 23, 42, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.40);
    color: #FFFFFF;
}
.floating-cta-icon {
    font-size: 1.15rem;
    line-height: 1;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.45));
}
.floating-cta-arrow {
    font-weight: 800;
    transition: transform 0.3s ease;
    margin-left: 2px;
}
.floating-cta:hover .floating-cta-arrow {
    transform: translateX(4px);
}

@media (max-width: 600px) {
    .floating-cta {
        bottom: 14px;
        right: 14px;
        padding: 11px 18px 11px 14px;
        font-size: 0.86rem;
        gap: 8px;
    }
    .floating-cta-icon { font-size: 1rem; }
}

@media print {
    .floating-cta { display: none !important; }
}

/* ----------------------------------------------------------
 * 13. PRINT — bonus, in case anyone prints the page.
 * ---------------------------------------------------------- */
@media print {
    .hero-mesh-bg,
    .mesh-ball,
    .silver-shimmer { display: none !important; }
    section { page-break-inside: avoid; padding: 24px 0 !important; }
}

/* ═══════════════════════════════════════════════════════════
   14. EDUCATION GOAL — "เป้าหมายไม่ใช่ใช้ AI เก่ง · แต่คือคิดเป็น"
        Quote-driven manifesto section, dark + gold accents.
        Sits between Hero and content_trust.
   ═══════════════════════════════════════════════════════════ */
.edugoal-section {
    position: relative;
    padding: 90px 0 100px;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(200, 150, 46, 0.10) 0%, transparent 45%),
        radial-gradient(ellipse at 90% 100%, rgba(37, 99, 235, 0.18) 0%, transparent 50%),
        linear-gradient(180deg, #0B1426 0%, #0F1E3D 60%, #0B1426 100%);
    overflow: hidden;
    color: #F8FAFC;
}
.edugoal-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 75%);
}
.edugoal-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.55;
}
.edugoal-glow-1 {
    top: -120px; left: -120px;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(200, 150, 46, 0.40) 0%, transparent 60%);
}
.edugoal-glow-2 {
    bottom: -140px; right: -120px;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, transparent 60%);
}
.edugoal-container {
    position: relative;
    z-index: 2;
    max-width: 1320px;          /* widened so lines A & B can stay on one row at desktop */
    text-align: center;
}
.edugoal-eyebrow-wrap { margin-bottom: 28px; }
.edugoal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: linear-gradient(180deg, #FCD34D 0%, #F59E0B 100%);
    color: #422006;
    font-family: 'Sarabun', 'Prompt', sans-serif;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.4px;
    border-radius: 6px;
    box-shadow:
        0 8px 22px rgba(245, 158, 11, 0.32),
        0 2px 6px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
    transform: rotate(-0.6deg);
}
.edugoal-eyebrow-icon { font-size: 1.15rem; line-height: 1; color: #78350F; }
.edugoal-quote {
    margin: 0 auto;
    padding: 0;
    border: none;
    font-family: 'Sarabun', 'Prompt', sans-serif;
    font-weight: 700;
    color: #F8FAFC;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 1280px;          /* wide enough to hold lines A & B on one row at desktop */
    overflow-x: clip;           /* safety: clip any tiny overflow on ultra-narrow viewports (<320px) */
}
.edugoal-quote-line { display: block; margin: 0 auto; }

/* ─── 3-tier visual hierarchy for the quote block ─────────────────────
   A (intro)        → small / muted, sets up the message
   B (punchline)    → biggest / brightest, carries the trinity + emphasis
   C (detail)       → smaller / muted, supporting paragraph (wraps freely)
   All three use clamp(min, vw-based, max) so they scale smoothly with
   viewport instead of needing breakpoint-by-breakpoint overrides. */

/* Lines A & B — one-line guarantee across all viewports.
   Font scales linearly with viewport via calc(), so the text always fits.
   The divisor is tuned to the visible char count (after quote stripping):
     • A ~67 chars × 0.9em average → divisor 62
     • B ~52 chars × 0.9em average → divisor 48
   Clamp min is intentionally tiny (~0.42rem) so the line still fits on
   sub-380px viewports; clamp max caps growth on ultra-wide monitors. */
.edugoal-quote-line--a {
    font-size: clamp(0.42rem, calc((100vw - 32px) / 62), 1.3rem);
    white-space: nowrap;
    color: rgba(248, 250, 252, 0.82);
    font-weight: 600;
    line-height: 1.5;
    max-width: none;
}
.edugoal-quote-line--b {
    font-size: clamp(0.52rem, calc((100vw - 32px) / 48), 1.75rem);
    white-space: nowrap;
    color: #F8FAFC;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.1px;
    max-width: none;
}
.edugoal-quote-line--c {
    /* Detail tier — long supporting sentence. Narrower max-width so wraps
       land in ~2 readable lines instead of one ultra-wide row. */
    font-size: clamp(0.95rem, 1.45vw, 1.2rem);
    color: rgba(226, 232, 240, 0.78);
    font-weight: 500;
    line-height: 1.7;
    max-width: 880px;
    margin-top: 4px;
}
.eg-ai-mark {
    background: linear-gradient(180deg, #FCD34D 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-shadow: 0 0 24px rgba(252, 211, 77, 0.25);
}
.eg-highlight-word {
    color: #FCD34D;
    font-weight: 800;
    position: relative;
    padding: 0 4px;
}
.eg-highlight-word::before,
.eg-highlight-word::after {
    content: "\201C";
    color: rgba(252, 211, 77, 0.65);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin: 0 1px;
}
.eg-highlight-word::after { content: "\201D"; }
/* ── Sub-tagline: trinity "คิดเป็น · ทำเป็น · แก้ปัญหาเป็น" ── */
.edugoal-subtagline {
    margin-top: 36px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 28px;
    background:
        linear-gradient(180deg, rgba(252, 211, 77, 0.06) 0%, rgba(252, 211, 77, 0.02) 100%);
    border: 1px solid rgba(252, 211, 77, 0.22);
    border-radius: 100px;
    box-shadow: 0 6px 22px rgba(252, 211, 77, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.edugoal-subtagline-part {
    font-family: 'Sarabun', 'Prompt', sans-serif;
    font-size: clamp(0.95rem, 1.6vw, 1.18rem);
    font-weight: 800;
    color: #FCD34D;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, #FCD34D 0%, #E0B349 50%, #FCD34D 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.edugoal-subtagline-sep {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(252, 211, 77, 0.55);
    box-shadow: 0 0 8px rgba(252, 211, 77, 0.40);
    flex-shrink: 0;
}

.edugoal-pillars {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 26px 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.edugoal-pillar {
    display: flex;
    align-items: flex-start;          /* changed from center — sub text now wraps multi-line */
    gap: 14px;
    text-align: left;
    padding: 6px 4px;
    transition: transform 0.25s ease;
}
.edugoal-pillar:hover { transform: translateY(-3px); }
.edugoal-pillar-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
    color: #FCD34D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-top: 2px;                   /* nudge down to align with title baseline */
    box-shadow:
        0 6px 14px rgba(37, 99, 235, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
}
.edugoal-pillar-text { min-width: 0; }
.edugoal-pillar-title {
    font-family: 'Sarabun', 'Prompt', sans-serif;
    font-weight: 800;
    font-size: 1.02rem;
    color: #F8FAFC;
    line-height: 1.25;
    margin-bottom: 5px;
}
.edugoal-pillar-sub {
    font-size: 0.82rem;
    color: rgba(226, 232, 240, 0.78);
    line-height: 1.55;                 /* tighter+roomier for 2-line wraps */
}
@media (max-width: 820px) {
    .edugoal-section { padding: 70px 0 80px; }
    .edugoal-pillars {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px 18px;
    }
    .edugoal-pillar { gap: 12px; }
    .edugoal-pillar-icon { width: 42px; height: 42px; font-size: 1.25rem; }
}
@media (max-width: 480px) {
    .edugoal-section { padding: 56px 0 64px; }
    .edugoal-eyebrow { font-size: 0.82rem; padding: 8px 16px; }
    .edugoal-quote { gap: 10px; }
}

/* ═══════════════════════════════════════════════════════════
   15. SPOTLIGHT REVIEWS — Section A (after-courses)
        Theatrical 1-at-a-time carousel. Big photo · big quote.
        Inspired by MasterClass / Apple — staged, deliberate.
   ═══════════════════════════════════════════════════════════ */
.sp-section {
    position: relative;
    padding: 90px 0 100px;
    background:
        radial-gradient(ellipse at top left, rgba(200, 150, 46, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #FFFFFF 0%, #FCFAF5 100%);
    overflow: hidden;
}
.sp-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    opacity: 0.5;
}
.sp-glow-1 { top: -100px; left: -120px;   width: 360px; height: 360px; background: radial-gradient(circle, rgba(200, 150, 46, 0.30), transparent 60%); }
.sp-glow-2 { bottom: -120px; right: -120px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(37, 99, 235, 0.25), transparent 60%); }
.sp-container { position: relative; z-index: 2; max-width: 1100px; }
.sp-eyebrow { text-align: center; color: #C8962E; font-weight: 800; font-size: 0.85rem; letter-spacing: 3px; margin-bottom: 12px; }
.sp-title {
    font-family: 'Playfair Display', serif;
    font-style: italic; font-weight: 900;
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center; color: #0B1426;
    line-height: 1.2; margin-bottom: 50px;
}
.sp-title em {
    background: linear-gradient(135deg, #C8962E, #E0B349, #C8962E);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; font-style: italic;
}
.sp-stage { display: grid; grid-template-columns: 360px 1fr; gap: 60px; align-items: center; min-height: 380px; }
.sp-photo-wrap {
    position: relative; aspect-ratio: 4/5;
    border-radius: 26px; overflow: hidden;
    box-shadow: 0 30px 60px rgba(11, 29, 51, 0.20), 0 8px 18px rgba(11, 29, 51, 0.10);
}
.sp-photo {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transform: scale(1.08);
    transition: opacity 0.8s ease, transform 8s ease;
    pointer-events: none;
    -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.sp-photo.is-active { opacity: 1; transform: scale(1); }
.sp-photo-frame-glow {
    position: absolute; inset: -2px; border-radius: 26px;
    background: linear-gradient(135deg, rgba(200, 150, 46, 0.28), transparent 60%);
    mix-blend-mode: overlay; pointer-events: none;
}
.sp-photo-badge {
    position: absolute; bottom: 16px; left: 16px;
    background: rgba(11, 20, 38, 0.85);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    color: #FCD34D; padding: 6px 12px; border-radius: 100px;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.4px; z-index: 2;
}
.sp-body { position: relative; }
.sp-quote-mark { font-family: 'Playfair Display', serif; font-size: 5rem; color: #C8962E; line-height: 0.4; margin-bottom: -10px; opacity: 0.5; }
.sp-stars { display: flex; gap: 4px; margin-bottom: 16px; font-size: 1.1rem; }
.sp-stars span { color: #F59E0B; filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.30)); }
.sp-quote { position: relative; min-height: 180px; }
.sp-quote-text {
    position: absolute; inset: 0;
    font-family: 'Sarabun', 'Prompt', sans-serif;
    font-size: 1.18rem; font-weight: 500; color: #1E293B; line-height: 1.7;
    opacity: 0; transform: translateY(8px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    pointer-events: none;
}
.sp-quote-text.is-active { opacity: 1; transform: translateY(0); }
.sp-author { margin-top: 24px; min-height: 50px; position: relative; }
.sp-author-card { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s ease 0.1s; pointer-events: none; }
.sp-author-card.is-active { opacity: 1; }
.sp-author-name { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 900; font-size: 1.35rem; color: #0B1426; }
.sp-author-role { font-size: 0.9rem; color: #64748B; margin-top: 2px; }
.sp-course {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 10px;
    background: rgba(200, 150, 46, 0.10); color: #92400E;
    padding: 5px 11px; border-radius: 6px; font-size: 0.78rem; font-weight: 700;
}
.sp-thumbs { margin-top: 36px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.sp-thumb {
    width: 52px; height: 52px; padding: 0;
    border: 2px solid transparent; background: #E2E8F0;
    border-radius: 50%; overflow: hidden; cursor: pointer;
    opacity: 0.55; flex-shrink: 0;
    transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-thumb:hover { opacity: 0.85; transform: translateY(-2px); }
.sp-thumb.is-active { opacity: 1; border-color: #C8962E; transform: translateY(-4px); box-shadow: 0 8px 20px rgba(200, 150, 46, 0.40); }
.sp-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.sp-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: #CBD5E1; cursor: pointer; transition: background 0.3s ease, width 0.3s ease; }
.sp-dot.is-active { background: #C8962E; width: 26px; border-radius: 100px; }
@media (max-width: 820px) {
    .sp-stage { grid-template-columns: 1fr; gap: 32px; }
    .sp-photo-wrap { max-width: 280px; margin: 0 auto; }
    .sp-quote-text { font-size: 1.05rem; }
}

/* ═══════════════════════════════════════════════════════════
   16. MARQUEE REVIEWS — Section B (near footer)
        Ambient social proof. Two rows scroll opposite directions,
        hover-to-pause. Inspired by Vercel / ShadCN.
   ═══════════════════════════════════════════════════════════ */
.mq-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(180deg, #0B1426 0%, #0F1E3D 100%);
    color: #F8FAFC; overflow: hidden;
}
/* Edge-fade gradients removed — were for horizontal marquee scroll, no longer needed */
.mq-eyebrow { text-align: center; color: #FCD34D; font-weight: 800; font-size: 0.85rem; letter-spacing: 3px; margin-bottom: 12px; }
.mq-title {
    font-family: 'Sarabun', 'Prompt', sans-serif;
    font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.4rem);
    text-align: center; color: #F8FAFC; line-height: 1.3;
    margin-bottom: 50px;
}
.mq-title em {
    background: linear-gradient(135deg, #FCD34D, #E0B349, #FCD34D);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; font-style: normal; font-weight: 900;
}
/* 4-card grid (replaces marquee scroll). One card swaps at a time with a fade. */
.mq-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.mq-card {
    padding: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}
/* Fade-swap state — applied when a card is being replaced. Children opacity
   fades to 0, then JS swaps content, then class is removed → fades back in. */
.mq-card-inner {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.mq-card.is-swapping .mq-card-inner {
    opacity: 0;
    transform: translateY(8px);
}
.mq-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.07); border-color: rgba(252, 211, 77, 0.30); }
@media (max-width: 1024px) {
    .mq-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .mq-grid { grid-template-columns: 1fr; }
}
.mq-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mq-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid rgba(252, 211, 77, 0.30); }
.mq-avatar img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; pointer-events: none;
}
.mq-meta { flex: 1; min-width: 0; }
.mq-name {
    font-weight: 800; font-size: 0.92rem; color: #F8FAFC;
    line-height: 1.2; margin-bottom: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mq-role {
    font-size: 0.74rem; color: rgba(226, 232, 240, 0.55);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mq-stars { color: #FCD34D; font-size: 0.78rem; letter-spacing: 1px; margin-bottom: 10px; }
.mq-quote {
    font-size: 0.88rem; color: rgba(226, 232, 240, 0.85); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.mq-course {
    display: inline-block; margin-top: 12px;
    background: rgba(252, 211, 77, 0.12); color: #FCD34D;
    padding: 3px 9px; border-radius: 6px; font-size: 0.7rem; font-weight: 700;
}
.mq-footer-note { text-align: center; margin-top: 36px; }
.mq-pause-hint {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255, 255, 255, 0.06); color: rgba(226, 232, 240, 0.65);
    padding: 6px 14px; border-radius: 100px;
    font-size: 0.78rem; font-weight: 600;
}
@media (max-width: 820px) {
    .mq-card { padding: 18px; }
    .mq-quote { font-size: 0.84rem; -webkit-line-clamp: 5; }
}

/* Spotlight reviews — scoped overrides for the top instance only.
   `.mq-section` is shared with the bottom marquee (#reviews-more). The top
   spotlight sits between hero (#0F172A) and edugoal (#0B1426 → #0F1E3D),
   both dark navy, so the default gradient blends into one continuous band.
   Lift only the top section onto a lighter slate + golden hairlines to read
   as its own block. Bottom marquee keeps the original styling. */
#reviews-spotlight.mq-section {
    background: linear-gradient(180deg, #3E4D6B 0%, #34425E 55%, #2A364F 100%);
    border-top: 1px solid rgba(252, 211, 77, 0.22);
    border-bottom: 1px solid rgba(252, 211, 77, 0.14);
}
#reviews-spotlight.mq-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(720px, 80%);
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(252, 211, 77, 0.55) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}
/* Cards on the lighter slate need a touch more contrast to stay elevated */
#reviews-spotlight .mq-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.10);
}
#reviews-spotlight .mq-card:hover {
    background: rgba(255, 255, 255, 0.10);
}
/* Golden pill CTA under the grid — links visitors to the review-writing flow */
.mq-cta-review {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    background: linear-gradient(135deg, #FCD34D 0%, #E0B349 50%, #C8962E 100%);
    color: #1E1B0F;
    font-family: 'Sarabun', 'Prompt', sans-serif;
    font-weight: 800;
    font-size: 0.98rem;
    letter-spacing: 0.2px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow:
        0 8px 22px rgba(252, 211, 77, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.mq-cta-review:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 30px rgba(252, 211, 77, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
    filter: brightness(1.05);
    color: #1E1B0F;
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════
   17. PROMISE STATEMENT — light-themed manifesto sibling of edugoal
        Sits between marquee reviews and footer as a calm "founder voice"
        close. Mirrors edugoal structure but flips dark→light for contrast.
   ═══════════════════════════════════════════════════════════ */
.pmst-section {
    position: relative;
    padding: 100px 0 110px;
    background:
        radial-gradient(ellipse at 25% 0%, rgba(200, 150, 46, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 100%, rgba(200, 150, 46, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #FFFBF0 0%, #FFFFFF 50%, #FCFAF5 100%);
    overflow: hidden;
}
.pmst-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    opacity: 0.55;
}
.pmst-orb-1 { top: -120px; left: -100px;  width: 380px; height: 380px; background: radial-gradient(circle, rgba(252, 211, 77, 0.55), transparent 60%); }
.pmst-orb-2 { bottom: -140px; right: -120px; width: 440px; height: 440px; background: radial-gradient(circle, rgba(200, 150, 46, 0.35), transparent 60%); }
.pmst-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(122, 60, 0, 0.08) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 75%);
}
.pmst-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
}

.pmst-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    color: #FCD34D;
    font-family: 'Sarabun', 'Prompt', sans-serif;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.4px;
    border-radius: 6px;
    box-shadow:
        0 8px 22px rgba(15, 23, 42, 0.30),
        0 2px 6px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
    transform: rotate(-0.6deg);
    margin-bottom: 32px;
}
.pmst-eyebrow-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    line-height: 1;
    color: #FCD34D;
}

.pmst-quote {
    margin: 0 auto;
    padding: 0;
    border: none;
    font-family: 'Sarabun', 'Prompt', sans-serif;
    color: #0B1426;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 820px;
}
.pmst-quote-line { display: block; }
.pmst-quote-line--a {
    font-size: clamp(1.5rem, 3.8vw, 2.15rem);
    font-weight: 800;
    color: #0B1426;
}
.pmst-quote-line--b {
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    font-weight: 500;
    color: #334155;
    line-height: 1.55;
}
/* "การลงมือทำจริง" → gold gradient highlight with curly quote brackets */
.pmst-mark {
    position: relative;
    padding: 0 4px;
    font-weight: 900;
    background: linear-gradient(135deg, #C8962E, #E0B349, #C8962E);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.pmst-mark::before,
.pmst-mark::after {
    content: "\201C";
    color: rgba(200, 150, 46, 0.75);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin: 0 1px;
    -webkit-text-fill-color: rgba(200, 150, 46, 0.75);
}
.pmst-mark::after { content: "\201D"; }
.pmst-ai {
    background: linear-gradient(135deg, #C8962E, #E0B349);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.pmst-signature {
    margin-top: 36px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 900;
    font-size: 1.2rem;
    color: #C8962E;
    letter-spacing: 0.5px;
    position: relative;
}
.pmst-signature::before {
    content: '';
    display: block;
    width: 56px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C8962E, transparent);
    margin: 0 auto 14px;
}

@media (max-width: 820px) {
    .pmst-section { padding: 70px 0 80px; }
    .pmst-eyebrow { font-size: 0.82rem; padding: 8px 18px; margin-bottom: 24px; }
    .pmst-quote { gap: 10px; }
}
@keyframes heroDotFill {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

@keyframes htaIn{ from{opacity:0;transform:translate(var(--hta-fx,0),var(--hta-fy,0))} to{opacity:1;transform:none} }
@keyframes htaBlur{ from{opacity:0;filter:blur(14px);transform:translateY(12px)} to{opacity:1;filter:blur(0);transform:none} }
@keyframes htaShine{ 0%{opacity:0;transform:translateX(-120%)} 25%{opacity:1} 100%{opacity:0;transform:translateX(220%)} }
