/* ===== Hero Section ===== */
.hero {
    padding-top: 140px;
    padding-bottom: var(--space-16);
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, #FEF3D8 0%, transparent 70%),
        linear-gradient(180deg, #FFF4DA 0%, #FED7AA 60%, #FBBF24 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Atmospheric sun-flare: a soft glowing orb at top center */
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background:
        radial-gradient(circle at center,
            rgba(255, 251, 235, 0.85) 0%,
            rgba(253, 230, 138, 0.55) 25%,
            rgba(251, 191, 36, 0.20) 50%,
            transparent 75%);
    pointer-events: none;
    z-index: 0;
    animation: sun-pulse 12s ease-in-out infinite;
    filter: blur(8px);
}

@keyframes sun-pulse {
    0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
    50%      { opacity: 1;    transform: translateX(-50%) scale(1.05); }
}

.bg-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    will-change: transform;
}

.blob-1 {
    top: 15%;
    left: -10%;
    width: 460px;
    height: 460px;
    background: #FB923C;             /* warm orange glow */
    opacity: 0.45;
    animation: blob-drift 20s ease-in-out infinite;
}

.blob-2 {
    top: 35%;
    right: -8%;
    width: 400px;
    height: 400px;
    background: #FBBF24;             /* honey glow */
    opacity: 0.40;
    animation: blob-drift 25s ease-in-out infinite reverse;
}

.blob-3 {
    bottom: -10%;
    left: 30%;
    width: 540px;
    height: 540px;
    background: #F97316;             /* deep orange glow */
    opacity: 0.30;
    animation: blob-drift 30s ease-in-out infinite;
}

@keyframes blob-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.05); }
    66% { transform: translate(-30px, 40px) scale(0.95); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: center;
    gap: var(--space-8);
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(217, 119, 6, 0.30);
    border-radius: var(--radius-pill);
    color: var(--color-amber-deep);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: var(--space-6);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-coral);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-honey-light);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.25;
    margin-bottom: var(--space-5);
}

.hero-headline .word {
    display: inline-block;
    margin-right: 0.25em;
    opacity: 0;
    transform: translateY(20px);
}

.hero-headline.animate .word {
    animation: word-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-headline.animate .word:nth-child(1) { animation-delay: 0.0s; }
.hero-headline.animate .word:nth-child(2) { animation-delay: 0.1s; }
.hero-headline.animate .word:nth-child(3) { animation-delay: 0.2s; }
.hero-headline.animate .word:nth-child(4) { animation-delay: 0.3s; }
.hero-headline.animate .word:nth-child(5) { animation-delay: 0.4s; }

@keyframes word-in {
    to { opacity: 1; transform: translateY(0); }
}

.hero-headline .highlight {
    background: linear-gradient(135deg, var(--color-honey) 0%, var(--color-coral) 50%, var(--color-coral-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Add a subtle glow to lift the headline */
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.25));
}

.hero-subheadline {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-text-body);
    max-width: 580px;
    margin-bottom: var(--space-8);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.hero-trust .avatars {
    display: flex;
}

.hero-trust .avatars img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid var(--color-bg);
    margin-left: -10px;
}

.hero-trust .avatars img:first-child {
    margin-left: 0;
}

.hero-trust .stars {
    color: var(--color-gold);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.trust-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 700;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* === Floating 2D Scene === */
.hero-scene {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.hero-float-item {
    position: absolute;
    opacity: 0;
    top: 50%;
    left: 50%;
    width: 95%;
    transform: translate(-50%, -50%) scale(0) rotate(-12deg);
    will-change: transform, opacity;
}

.hero-float-item.visible {
    opacity: 1;
    animation: hero-icon-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes hero-icon-pop {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(-12deg);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}

.hero-float-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.15));
}

/* All elements same size, centered and overlapping */
.hero-float--man {
    width: 95%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    z-index: 2;
    animation: none;
}
.hero-float--man .hero-float-img {
    filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.18));
}

/* YouTube icon */
.hero-float--yt { z-index: 3; }

/* PDF icon */
.hero-float--pdf { z-index: 4; }

/* Text/Article icon */
.hero-float--text { z-index: 5; }

.hero-float-item.floating {
    animation: float-gentle var(--float-duration, 6s) ease-in-out infinite;
    animation-delay: var(--float-delay, 0s);
}


.hero-float--yt.floating     { --float-duration: 7s;   --float-delay: 0.8s; }
.hero-float--pdf.floating    { --float-duration: 8s;   --float-delay: 1.6s; }
.hero-float--text.floating   { --float-duration: 7.5s; --float-delay: 0.4s; }

/* Float keyframes use translate from center */
@keyframes float-gentle {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    25%      { transform: translate(calc(-50% + 6px), calc(-50% - 10px)) rotate(1.5deg); }
    50%      { transform: translate(calc(-50% - 4px), calc(-50% + 8px)) rotate(-1deg); }
    75%      { transform: translate(calc(-50% + 5px), calc(-50% - 5px)) rotate(0.5deg); }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

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

    .hero-subheadline {
        margin-inline: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-headline .word {
        display: inline-block;
    }
}

/* ===== Social Proof Bar ===== */
.social-proof {
    padding-block: var(--space-10);
    background: var(--color-white);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.stats-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    flex: 1;
    min-width: 160px;
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-coral);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-weight: 700;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(15, 23, 42, 0.1);
}

/* ===== How It Works ===== */
.how-it-works {
    background: var(--color-bg-light);
}

.steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: var(--space-4);
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-8) var(--space-5);
    box-shadow: var(--shadow-card);
    text-align: center;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-elevated);
}

.step-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.accent-1 { background: var(--color-purple); }
.accent-2 { background: var(--color-teal); }
.accent-3 { background: var(--color-coral); }

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    margin-bottom: var(--space-4);
    background: var(--color-bg);
}

.accent-1 ~ .step-icon { color: var(--color-purple); background: rgba(155, 89, 182, 0.08); }
.accent-2 ~ .step-icon { color: var(--color-teal); background: rgba(78, 205, 196, 0.08); }
.accent-3 ~ .step-icon { color: var(--color-coral); background: rgba(249, 115, 22, 0.08); }

.step-number {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 3rem;
    color: rgba(15, 23, 42, 0.08);
    line-height: 1;
    margin-bottom: var(--space-3);
}

.step-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: var(--space-3);
}

.step-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.step-connector {
    display: flex;
    align-items: center;
    color: var(--color-coral);
    opacity: 0.4;
    min-width: 60px;
}

.step-connector svg {
    width: 100%;
    height: 20px;
}

@media (max-width: 900px) {
    .steps {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    .step-connector {
        display: none;
    }
}

/* ===== Features Section ===== */
.features {
    background: var(--color-bg);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-12);
    margin-bottom: var(--space-20);
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent);
    font-weight: 800;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.feature-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.feature-desc {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--space-5);
}

.feature-list {
    margin-bottom: var(--space-2);
}

.feature-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--color-text);
    font-weight: 600;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-coral);
    font-weight: 900;
    font-size: 1.25rem;
}

.format-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.format-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: color-mix(in srgb, var(--color) 12%, transparent);
    color: var(--color);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9375rem;
    border: 2px solid color-mix(in srgb, var(--color) 20%, transparent);
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-mockup {
    --accent: var(--color-coral);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-elevated);
    width: 100%;
    max-width: 380px;
    border: 2px solid color-mix(in srgb, var(--accent) 20%, transparent);
}

.mockup-screen {
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    min-height: 240px;
}

.ai-prompt-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: var(--space-4);
}

.ai-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-purple), var(--color-deep-purple));
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
}

.ai-prompt-text {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-text);
    margin-bottom: var(--space-3);
}

.ai-prompt-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: var(--space-4);
}

.meta-pill {
    padding: 0.25rem 0.75rem;
    background: var(--color-bg);
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.generate-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--color-purple), var(--color-deep-purple));
    color: var(--color-white);
    border-radius: var(--radius-pill);
    font-weight: 800;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.generate-btn:hover {
    transform: translateY(-1px);
}

.ai-result {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-line {
    height: 8px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-purple) 40%, transparent), transparent);
    border-radius: 4px;
    animation: shimmer 1.5s ease-in-out infinite;
}

.result-line.short {
    width: 60%;
}

@keyframes shimmer {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.gamify-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.g-stat {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.g-stat-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.g-stat-num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--color-text);
    line-height: 1;
}

.g-stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.lang-flags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 2rem;
}

.lang-flags span {
    transition: transform var(--transition-base);
}

.lang-flags span:hover {
    transform: scale(1.2) rotate(8deg);
}

/* ===== All Languages Expandable Panel ===== */
.all-languages-wrapper {
    text-align: center;
    margin-top: var(--space-8);
}

.show-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--color-white);
    border: 2px solid rgba(15, 23, 42, 0.12);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1rem;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.show-all-btn:hover {
    border-color: var(--color-coral);
    color: var(--color-coral);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.15);
    transform: translateY(-2px);
}

.show-all-btn svg {
    transition: transform 0.3s ease;
}

.show-all-btn.expanded svg {
    transform: rotate(180deg);
}

.all-languages-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.4s ease;
    opacity: 0;
    margin-top: 0;
}

.all-languages-panel.open {
    max-height: 2000px;
    opacity: 1;
    margin-top: var(--space-6);
}

/* Search Input */
.lang-search-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto var(--space-6);
}

.lang-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-light);
    pointer-events: none;
}

.lang-search-input {
    width: 100%;
    padding: 0.875rem 1.25rem 0.875rem 3rem;
    background: var(--color-white);
    border: 2px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    outline: none;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.lang-search-input::placeholder {
    color: var(--color-text-light);
    font-weight: 600;
}

.lang-search-input:focus {
    border-color: var(--color-coral);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.12);
}

/* All Languages Grid */
.all-languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 0.75rem;
}

.all-lang-chip {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1rem;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-base);
    cursor: default;
    border: 1px solid transparent;
}

.all-lang-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(249, 115, 22, 0.2);
}

.all-lang-chip.hidden {
    display: none;
}

.all-lang-chip .chip-flag {
    font-size: 1.25rem;
    flex-shrink: 0;
    line-height: 1;
}

.all-lang-chip .chip-name {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Language count */
.lang-count {
    margin-top: var(--space-4);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-light);
}

/* No results message */
.lang-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-8) var(--space-4);
    color: var(--color-text-light);
    font-weight: 700;
    font-size: 1.125rem;
}

@media (max-width: 900px) {
    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .feature-row.reverse {
        direction: ltr;
    }
}

/* ===== Demo Video / Showcase ===== */
.showcase {
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-dark-2) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.20) 0%, transparent 70%);
    pointer-events: none;
}

.video-wrapper {
    max-width: 460px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    background: #000;
    position: relative;
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

.video-unmute-btn {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-pill);
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
    z-index: 10;
    border: none;
}

.video-unmute-btn:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: translateX(-50%) scale(1.05);
}

.video-unmute-btn.muted {
    background: rgba(0, 0, 0, 0.7);
}

.video-unmute-btn.unmuted {
    background: rgba(78, 205, 196, 0.8);
}

.video-unmute-btn:not(.muted):not(.unmuted) {
    background: rgba(155, 89, 182, 0.8);
    animation: pulse-replay 2s ease-in-out infinite;
}

@keyframes pulse-replay {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

/* ===== Languages Section ===== */
.languages {
    background: var(--color-bg-light);
    position: relative;
    overflow: hidden;
}

.languages::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-5);
    position: relative;
    z-index: 2;
}

.lang-card {
    --flag-color: var(--color-coral);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    cursor: pointer;
    border-top: 3px solid var(--flag-color);
}

.lang-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-elevated);
}

.lang-flag {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-4);
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--color-white);
    transition: transform var(--transition-base);
}

.lang-card:hover .lang-flag {
    transform: scale(1.1) rotate(5deg);
}

.lang-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lang-card h4 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

.lang-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.lang-cta {
    text-align: center;
    margin-top: var(--space-10);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.lang-cta span {
    font-weight: 700;
    color: var(--color-text);
}

.text-link {
    font-weight: 800;
    color: var(--color-coral);
    transition: gap var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.text-link:hover {
    gap: 0.5rem;
}

/* ===== Pricing Section ===== */
.pricing {
    background: var(--color-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card:last-child {
    grid-column: 2;
}

.pricing-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.pricing-card.popular {
    background: linear-gradient(180deg, var(--color-white) 0%, rgba(249, 115, 22, 0.04) 100%);
    border: 2px solid var(--color-coral);
    transform: scale(1.04);
    box-shadow: var(--shadow-cta);
}

.pricing-card.popular:hover {
    transform: scale(1.04) translateY(-6px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-coral);
    color: var(--color-white);
    padding: 0.375rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: var(--shadow-cta);
}

.pricing-name {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: var(--space-3);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: var(--space-3);
}

.price-amount {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 3rem;
    color: var(--color-coral);
    line-height: 1;
}

.pricing-card.popular .price-amount {
    background: linear-gradient(135deg, var(--color-coral), var(--color-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.price-period {
    color: var(--color-text-muted);
    font-weight: 700;
}

.pricing-desc {
    margin-bottom: var(--space-5);
    font-weight: 600;
}

.pricing-features {
    margin-bottom: var(--space-6);
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 0.5rem 0;
    color: var(--color-text);
    font-weight: 600;
}

.pricing-features li svg {
    color: var(--color-coral);
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

.pricing-note {
    text-align: center;
    margin-top: var(--space-4);
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-style: italic;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-6px);
    }
}

/* ===== Testimonials ===== */
.testimonials {
    background: var(--color-bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-5);
}

.testimonial {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.testimonial-stars {
    color: var(--color-gold);
    font-size: 1.125rem;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.testimonial-quote {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: var(--space-5);
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-coral);
}

.author-name {
    font-weight: 800;
    color: var(--color-text);
}

.author-flag {
    margin-left: 0.25rem;
}

.author-role {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

/* ===== Final CTA ===== */
.final-cta {
    /* Sunset gradient: deep amber → orange → coral — full golden-hour palette */
    background:
        radial-gradient(ellipse 60% 80% at 50% 30%, #FBBF24 0%, transparent 60%),
        linear-gradient(135deg, #B45309 0%, #EA580C 35%, #F97316 70%, #FBBF24 100%);
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    text-align: center;
}

.cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cta-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.cta-blob.blob-1 {
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #FFEDD5;
    opacity: 0.45;
    animation: blob-drift 18s ease-in-out infinite;
}

.cta-blob.blob-2 {
    bottom: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: #F59E0B;
    opacity: 0.50;
    animation: blob-drift 22s ease-in-out infinite reverse;
}

/* Sun-flare inside final CTA */
.final-cta::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle at center,
        rgba(254, 243, 199, 0.65) 0%,
        rgba(253, 230, 138, 0.30) 35%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(6px);
    animation: sun-pulse 10s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-white);
    margin-bottom: var(--space-4);
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(120, 53, 15, 0.30);
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 251, 235, 0.95);
    margin-bottom: var(--space-8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.cta-note {
    font-size: 0.9375rem;
    color: rgba(255, 251, 235, 0.85);
    font-weight: 600;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    padding-block: var(--space-12) var(--space-6);
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-10);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer-logo img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--color-white);
}

.footer-tagline {
    color: var(--color-text-light);
    max-width: 280px;
    font-weight: 600;
}

.footer-links h5 {
    font-family: var(--font-body);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: var(--space-4);
    font-size: 0.9375rem;
    letter-spacing: 0.05em;
}

.footer-links a {
    display: block;
    color: var(--color-text-light);
    padding: 0.375rem 0;
    font-weight: 600;
    transition: color var(--transition-base), padding-left var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-coral);
    padding-left: 4px;
}

.social-icons {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-3);
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-base), transform var(--transition-fast);
    padding: 0;
}

.social-icons a:hover {
    background: var(--color-coral);
    color: var(--color-white);
    padding: 0;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-5);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: var(--space-3);
    font-size: 0.875rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
