/* ============================================
   LaLa GLOBAL LANGUAGE - カンボジア語 LP
   Design inspired by Khmer culture & Angkor Wat
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    /* Cambodian flag & culture colors */
    --cambodia-red: #C6191B;
    --cambodia-red-dark: #9B1315;
    --cambodia-blue: #032EA1;
    --cambodia-blue-dark: #021E6B;
    --cambodia-blue-light: #1A4FBF;

    /* Angkor gold / Saffron tones (Buddhism) */
    --gold: #D4A843;
    --gold-light: #E8C972;
    --gold-dark: #A17D1A;
    --saffron: #F5A623;

    /* Neutrals */
    --cream: #FFF8ED;
    --cream-dark: #F5ECD7;
    --white: #FFFFFF;
    --dark: #1A1410;
    --dark-warm: #2C2218;
    --text-dark: #2C2218;
    --text-mid: #5A4E42;
    --text-light: #8C7E70;

    /* Typography */
    --font-jp: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    --font-khmer: 'Noto Serif Khmer', serif;
    --font-display: 'Playfair Display', serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-jp);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 2.0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.sp-only {
    display: none;
}

/* ---------- Section Titles ---------- */
.section-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-dark);
    line-height: 1.5;
}

.section-title-light {
    color: var(--white);
}

.section-khmer {
    text-align: center;
    font-family: var(--font-khmer);
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.section-khmer-light {
    color: var(--gold-light);
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, var(--dark) 0%, var(--cambodia-blue-dark) 100%);
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, var(--cambodia-red), var(--gold), var(--cambodia-blue)) 1;
    transition: background 0.3s ease;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 45px;
    width: auto;
}

.header-cta {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--cambodia-red) 0%, var(--cambodia-red-dark) 100%);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 25, 27, 0.4);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: linear-gradient(160deg, var(--dark) 0%, var(--cambodia-blue-dark) 40%, var(--dark-warm) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L35 20 L50 20 L38 30 L42 45 L30 35 L18 45 L22 30 L10 20 L25 20 Z' fill='none' stroke='%23D4A843' stroke-width='0.5' opacity='0.06'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(198, 25, 27, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(212, 168, 67, 0.15);
    border: 1px solid rgba(212, 168, 67, 0.4);
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title-accent {
    color: var(--gold);
    font-size: 2.6rem;
    display: inline-block;
    position: relative;
}

.hero-title-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--cambodia-red), var(--gold), var(--cambodia-blue));
    border-radius: 2px;
}

.hero-khmer {
    font-family: var(--font-khmer);
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 20px;
    font-style: italic;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 8px rgba(212, 168, 67, 0.3);
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 2.0;
    margin-bottom: 36px;
}

.hero-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Floating decorations (Angkor-inspired) */
.hero-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(212, 168, 67, 0.12);
}

.fc-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -80px;
    animation: float 20s ease-in-out infinite;
}

.fc-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: -60px;
    animation: float 15s ease-in-out infinite reverse;
}

.fc-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 10%;
    border-color: rgba(198, 25, 27, 0.08);
    animation: float 18s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ---------- CTA Buttons ---------- */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-jp);
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    line-height: 1.4;
}

.cta-primary {
    background: linear-gradient(135deg, var(--cambodia-red) 0%, var(--cambodia-red-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(198, 25, 27, 0.3);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(198, 25, 27, 0.4);
}

.cta-narrow {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(212, 168, 67, 0.3);
}

.cta-narrow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 168, 67, 0.4);
}

.cta-action {
    background: linear-gradient(135deg, var(--gold) 0%, var(--saffron) 100%);
    color: var(--dark);
    font-size: 1.15rem;
    padding: 20px 48px;
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.4);
}

.cta-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(212, 168, 67, 0.5);
}

.cta-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(4px);
}

/* ---------- PROBLEM ---------- */
.problem {
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.problem-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: 12px;
    border-left: 4px solid var(--cambodia-red);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-3px);
}

.problem-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.problem-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cambodia-red);
    margin-bottom: 10px;
    line-height: 1.5;
}

.problem-text {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.9;
}

/* ---------- AFFINITY ---------- */
.affinity {
    background: linear-gradient(135deg, var(--dark) 0%, var(--cambodia-blue-dark) 50%, var(--dark-warm) 100%);
    color: var(--white);
    text-align: center;
}

.affinity-content {
    max-width: 750px;
    margin: 0 auto;
}

.affinity-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 20px;
}

.affinity-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.affinity-khmer {
    font-family: var(--font-khmer);
    font-size: 1.1rem;
    color: var(--gold-light);
    font-style: italic;
    margin-bottom: 32px;
}

.affinity-text {
    font-size: 1rem;
    line-height: 2.2;
    color: rgba(255, 255, 255, 0.88);
    text-align: left;
}

.affinity-text strong {
    color: var(--gold-light);
    font-weight: 700;
}

/* ---------- SOLUTION ---------- */
.solution {
    background: var(--white);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.solution-card {
    background: linear-gradient(135deg, var(--dark) 0%, var(--cambodia-blue-dark) 100%);
    color: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    border-top: 4px solid;
    border-image: linear-gradient(90deg, var(--cambodia-red), var(--gold), var(--cambodia-blue)) 1;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.solution-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.5;
    margin-bottom: 4px;
}

.solution-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}

.solution-heading {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.6;
}

.solution-text {
    font-size: 0.95rem;
    line-height: 2.0;
    color: rgba(255, 255, 255, 0.82);
}

/* ---------- BENEFIT ---------- */
.benefit {
    background: var(--cream);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.benefit-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: 12px;
    text-align: center;
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-3px);
}

.benefit-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 14px;
}

.benefit-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.benefit-text {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.9;
    text-align: left;
}

/* ---------- EVIDENCE ---------- */
.evidence {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-warm) 100%);
    color: var(--white);
}

.stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto 64px;
    padding: 48px;
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.08) 0%, rgba(198, 25, 27, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(212, 168, 67, 0.15);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(212, 168, 67, 0.2);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--cream);
    padding: 32px;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
    position: relative;
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.25;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 2.0;
    font-style: italic;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* ---------- CONTENTS / PRICING ---------- */
.contents {
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.lesson-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px 48px;
    margin-bottom: 48px;
}

.lesson-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.check-icon {
    color: var(--cambodia-red);
    font-size: 1.2rem;
    font-weight: 700;
}

.pricing-table {
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pricing-table thead th {
    background: linear-gradient(135deg, var(--dark) 0%, var(--cambodia-blue-dark) 100%);
    color: var(--white);
    padding: 18px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, var(--cambodia-red), var(--gold), var(--cambodia-blue)) 1;
}

.pricing-table tbody td {
    padding: 20px 24px;
    text-align: center;
    font-size: 0.95rem;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-highlight td {
    background: rgba(212, 168, 67, 0.08) !important;
}

.popular-badge {
    display: inline-block;
    padding: 3px 10px;
    background: var(--cambodia-red);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
    margin-right: 8px;
    vertical-align: middle;
}

.pricing-table small {
    color: var(--text-light);
    font-size: 0.8rem;
}

.pricing-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 20px;
}

/* ---------- OFFER ---------- */
.offer {
    background: linear-gradient(135deg, var(--cambodia-red) 0%, var(--cambodia-red-dark) 100%);
    color: var(--white);
    text-align: center;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.offer-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 32px;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-3px);
}

.offer-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.offer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.offer-text {
    font-size: 0.95rem;
    line-height: 2.0;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

/* ---------- NARROW ---------- */
.narrow {
    background: linear-gradient(135deg, var(--dark) 0%, var(--cambodia-blue-dark) 100%);
    color: var(--white);
    text-align: center;
    border-top: 4px solid;
    border-image: linear-gradient(90deg, var(--cambodia-red), var(--gold), var(--cambodia-blue)) 1;
}

.narrow-content {
    max-width: 650px;
    margin: 0 auto;
}

.narrow-badge {
    display: inline-block;
    padding: 8px 24px;
    background: var(--cambodia-red);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.narrow-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.narrow-khmer {
    font-family: var(--font-khmer);
    font-size: 1.1rem;
    color: var(--gold-light);
    font-style: italic;
    margin-bottom: 28px;
}

.narrow-price {
    margin-bottom: 24px;
}

.narrow-price-amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
}

.narrow-price-unit {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.narrow-desc {
    font-size: 1rem;
    line-height: 2.0;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}

.narrow-features {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-bottom: 36px;
}

.narrow-features li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding-left: 20px;
}

.narrow-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq {
    background: var(--white);
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    font-family: var(--font-jp);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    text-align: left;
    gap: 16px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--cambodia-red);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gold);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 30px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 2.0;
    padding-left: 0;
}

/* ---------- ACTION ---------- */
.action {
    background:
        radial-gradient(ellipse at 30% 50%, rgba(198, 25, 27, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(212, 168, 67, 0.1) 0%, transparent 60%),
        linear-gradient(135deg, var(--cambodia-blue) 0%, var(--cambodia-blue-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 120px 24px;
}

.action-content {
    max-width: 700px;
    margin: 0 auto;
}

.action-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 12px;
}

.action-khmer {
    font-family: var(--font-khmer);
    font-size: 1.2rem;
    color: var(--gold-light);
    font-style: italic;
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(212, 168, 67, 0.3);
}

.action-text {
    font-size: 1rem;
    line-height: 2.0;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}

.action-points {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-bottom: 40px;
}

.action-point {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--dark);
    color: var(--white);
    border-top: 3px solid;
    border-image: linear-gradient(90deg, var(--cambodia-red), var(--gold), var(--cambodia-blue)) 1;
    padding: 48px 24px 32px;
    text-align: center;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

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

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- Khmer ornamental border (top) ---------- */
.hero::before {
    content: '៚ ៙ ៚ ៙ ៚ ៙ ៚ ៙ ៚ ៙ ៚ ៙ ៚ ៙ ៚ ៙ ៚ ៙ ៚';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: var(--font-khmer);
    font-size: 1.2rem;
    color: var(--gold);
    opacity: 0.15;
    letter-spacing: 0.5em;
    z-index: 2;
    overflow: hidden;
    white-space: nowrap;
    animation: scrollOrnament 25s linear infinite;
}

@keyframes scrollOrnament {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- Animations (scroll-triggered) ---------- */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="500"] { transition-delay: 0.5s; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }

    .section {
        padding: 70px 0;
    }

    .hero {
        min-height: auto;
        padding: 130px 20px 70px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-title-accent {
        font-size: 1.8rem;
    }

    .hero-khmer {
        font-size: 1.2rem;
    }

    .hero-sub {
        font-size: 0.92rem;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 36px;
    }

    .cta-button {
        padding: 16px 32px;
        font-size: 0.95rem;
    }

    .cta-action {
        padding: 18px 36px;
        font-size: 1rem;
    }

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

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

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

    .stats-row {
        flex-direction: column;
        gap: 24px;
        padding: 32px 24px;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

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

    .lesson-features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .pricing-table {
        margin: 0 -12px;
    }

    .pricing-table thead th,
    .pricing-table tbody td {
        padding: 14px 12px;
        font-size: 0.85rem;
    }

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

    .narrow-title {
        font-size: 1.5rem;
    }

    .narrow-price-amount {
        font-size: 2.4rem;
    }

    .action {
        padding: 80px 20px;
    }

    .action-title {
        font-size: 1.5rem;
    }

    .action-points {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .header-cta {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .affinity-title {
        font-size: 1.4rem;
    }

    .narrow-features {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.3rem;
    }

    .hero-title-accent {
        font-size: 1.5rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 14px;
    }

    .section-title {
        font-size: 1.25rem;
    }
}
