/* ============================================================
   Hayat-ı İslam — Ezan Vakti & Dijital Tesbih Landing Page
   Design System & Components — Yeşil / Altın Tema
   ============================================================ */

:root {
    /* Colors — Islamic green & gold palette */
    --clr-primary: #065F46;
    --clr-primary-light: #10B981;
    --clr-primary-dark: #064E3B;
    --clr-accent: #D97706;
    --clr-accent-light: #F59E0B;
    --clr-bg: #FAFDF9;
    --clr-surface: #FFFFFF;
    --clr-surface-alt: #F0FDF4;
    --clr-text: #1A2E1A;
    --clr-text-muted: #5F7A5F;
    --clr-border: #DCE8DC;
    --clr-green: #10B981;
    --clr-emerald: #059669;
    --clr-gold: #D97706;
    --clr-amber: #F59E0B;
    --clr-rose: #E11D48;
    --clr-teal: #0D9488;

    /* Typography */
    --ff-heading: 'Outfit', sans-serif;
    --ff-body: 'Inter', sans-serif;
    --fs-hero: clamp(2.4rem, 5vw, 3.75rem);
    --fs-h2: clamp(1.75rem, 3.5vw, 2.75rem);
    --fs-h3: 1.25rem;
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-section: clamp(4rem, 8vw, 7rem);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .05);
    --shadow-md: 0 4px 16px rgba(6, 95, 70, .08);
    --shadow-lg: 0 8px 32px rgba(6, 95, 70, .12);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, .04);

    /* Transitions */
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --dur-fast: 200ms;
    --dur-normal: 350ms;
    --dur-slow: 500ms;

    /* Layout */
    --container-max: 1200px;
    --header-h: 72px;
}

/* ---- Dark Theme ---- */
[data-theme="dark"] {
    --clr-bg: #0F1A0F;
    --clr-surface: #141F14;
    --clr-surface-alt: #121B12;
    --clr-text: #E8F0E8;
    --clr-text-muted: #9DB09D;
    --clr-border: #1E2E1E;
    --clr-primary: #10B981;
    --clr-primary-light: #34D399;
    --clr-primary-dark: #059669;
}

/* Header — seamless in dark mode */
[data-theme="dark"] .header {
    background: transparent;
}

[data-theme="dark"] .header.scrolled {
    background: #0F1A0F;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .05);
}

[data-theme="dark"] .header__logo-text,
[data-theme="dark"] .footer__brand .header__logo-text {
    color: #E8F0E8;
}

[data-theme="dark"] .header__nav-link {
    color: #9DB09D;
}

[data-theme="dark"] .header__nav-link:hover,
[data-theme="dark"] .header__nav-link.active {
    color: #34D399;
}

[data-theme="dark"] .header__nav-link.active::after {
    background: #34D399;
}

[data-theme="dark"] .btn--outline {
    border-color: #1E2E1E;
    color: #E8F0E8;
}

[data-theme="dark"] .btn--outline:hover {
    border-color: #34D399;
    color: #34D399;
    background: rgba(16, 185, 129, .08);
}

[data-theme="dark"] .lang-switcher__btn {
    background: rgba(20, 31, 20, .6);
    border-color: #1E2E1E;
    color: #E8F0E8;
}

[data-theme="dark"] .lang-switcher__dropdown {
    background: #141F14;
    border-color: #1E2E1E;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
}

[data-theme="dark"] .lang-switcher__option:hover {
    background: #121B12;
}

[data-theme="dark"] .lang-switcher__option {
    color: #E8F0E8;
}

[data-theme="dark"] .header__burger span {
    background: #E8F0E8;
}


[data-theme="dark"] .gradient-text {
    background: linear-gradient(135deg, #10B981, #34D399, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .section-tag {
    background: rgba(16, 185, 129, .12);
    color: #34D399;
}

[data-theme="dark"] .footer {
    background: #0A120A;
}

[data-theme="dark"] .store-btn {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .12);
    color: #E8F0E8;
}

[data-theme="dark"] .store-btn:hover {
    background: rgba(255, 255, 255, .1);
}

/* CTA section — dark mode override */
[data-theme="dark"] .final-cta {
    background: linear-gradient(135deg, #0F1A0F 0%, #141F14 50%, #0F1A0F 100%);
}

[data-theme="dark"] .final-cta::before,
[data-theme="dark"] .final-cta::after {
    opacity: 0.3;
}

[data-theme="dark"] .newsletter-form {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .1);
}

[data-theme="dark"] .newsletter-form__btn {
    background: var(--clr-primary);
    color: #fff;
}

[data-theme="dark"] .hero__bg-glow {
    background: radial-gradient(circle, rgba(16, 185, 129, .15) 0%, rgba(6, 95, 70, .08) 40%, transparent 70%);
}

[data-theme="dark"] .testimonial-card__stars {
    color: #F59E0B;
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--clr-border);
    background: transparent;
    color: var(--clr-text-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--dur-fast);
    position: relative;
}

.theme-toggle:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}

.theme-toggle__sun,
.theme-toggle__moon {
    position: absolute;
    transition: opacity var(--dur-normal), transform var(--dur-normal) var(--ease-out);
}

.theme-toggle__moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle__sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle__moon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--ff-body);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: 1.7;
    color: var(--clr-text);
    background-color: var(--clr-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--ff-heading);
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

/* ---- Lightbox ---- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, .85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    animation: lightboxFadeIn .25s ease;
}

.lightbox.is-active {
    display: flex;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    animation: lightboxZoomIn .3s ease;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2.5rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    opacity: .8;
    transition: opacity .2s;
    z-index: 10000;
}

.lightbox__close:hover {
    opacity: 1;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes lightboxZoomIn {
    from {
        transform: scale(.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ---- Gradient Text ---- */
.gradient-text {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light), var(--clr-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--ff-heading);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-small);
    border-radius: var(--radius-full);
    padding: 0.65rem 1.5rem;
    transition: all var(--dur-normal) var(--ease-out);
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
    color: #fff;
    box-shadow: 0 4px 14px rgba(6, 95, 70, .3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 95, 70, .4);
}

.btn--outline {
    border: 2px solid var(--clr-border);
    color: var(--clr-text);
    background: transparent;
}

.btn--outline:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
    background: rgba(6, 95, 70, .04);
}

.btn--lg {
    padding: 0.85rem 2rem;
    font-size: var(--fs-body);
}

/* ---- Section Common ---- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-family: var(--ff-heading);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-small);
    color: var(--clr-primary);
    background: rgba(6, 95, 70, .07);
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    letter-spacing: 0.02em;
}

.section-title {
    font-size: var(--fs-h2);
    font-weight: var(--fw-extrabold);
    margin-bottom: var(--space-md);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--clr-text-muted);
    line-height: 1.7;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 1000;
    transition: background var(--dur-normal), box-shadow var(--dur-normal), backdrop-filter var(--dur-normal);
}

.header.scrolled {
    background: rgba(250, 253, 249, .88);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 1px 8px rgba(0, 0, 0, .06);
}

.header__inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: var(--space-lg);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
    margin-left: auto;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.header__logo-text {
    font-family: var(--ff-heading);
    font-weight: var(--fw-bold);
    font-size: 1.35rem;
    color: var(--clr-text);
}

.header__nav {
    margin-left: auto;
}

.header__nav-list {
    display: flex;
    gap: var(--space-lg);
}

.header__nav-link {
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    color: var(--clr-text-muted);
    padding: 0.25rem 0;
    position: relative;
    transition: color var(--dur-fast);
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-primary);
    border-radius: 2px;
    transition: width var(--dur-normal) var(--ease-out);
}

.header__nav-link:hover {
    color: var(--clr-primary);
}

.header__nav-link:hover::after {
    width: 100%;
}

.header__nav-link.active {
    color: var(--clr-primary);
    font-weight: var(--fw-semibold);
}

.header__nav-link.active::after {
    width: 100%;
    background: var(--clr-primary);
}

.header__cta {
    flex-shrink: 0;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    flex-shrink: 0;
}

.lang-switcher__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--clr-border);
    background: transparent;
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    color: var(--clr-text);
    cursor: pointer;
    transition: all var(--dur-fast);
}

.lang-switcher__btn:hover {
    border-color: var(--clr-primary);
}

.lang-switcher__flag {
    font-size: 1.1rem;
    line-height: 1;
}

.lang-switcher__code {
    font-weight: var(--fw-semibold);
    font-size: 0.8rem;
    letter-spacing: 0.03em;
}

.lang-switcher__chevron {
    transition: transform var(--dur-normal) var(--ease-out);
    color: var(--clr-text-muted);
}

.lang-switcher.open .lang-switcher__chevron {
    transform: rotate(180deg);
}

.lang-switcher__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--dur-normal) var(--ease-out);
    z-index: 1002;
}

.lang-switcher.open .lang-switcher__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher__option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    color: var(--clr-text);
    cursor: pointer;
    transition: background var(--dur-fast);
    text-align: left;
}

.lang-switcher__option:hover {
    background: var(--clr-surface-alt);
}

.lang-switcher__check {
    margin-left: auto;
    color: var(--clr-accent);
    opacity: 0;
    transition: opacity var(--dur-fast);
}

.lang-switcher__option.active .lang-switcher__check {
    opacity: 1;
}

/* Burger */
.header__burger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--clr-border);
    background: transparent;
    z-index: 1001;
    cursor: pointer;
    transition: all var(--dur-fast);
}

.header__burger:hover {
    border-color: var(--clr-primary);
}

.header__burger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--clr-text);
    border-radius: 4px;
    transition: all var(--dur-normal) var(--ease-out);
}

.header__burger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    padding: calc(var(--header-h) + var(--space-3xl)) 0 var(--space-section);
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero__bg-glow {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(16, 185, 129, .1) 0%, rgba(6, 95, 70, .05) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulseGlow 6s ease-in-out infinite;
}

.hero__bg-glow--2 {
    top: auto;
    bottom: -20%;
    right: auto;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(217, 119, 6, .06) 0%, transparent 60%);
    animation-delay: 3s;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: .7;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero__title {
    font-size: var(--fs-hero);
    font-weight: var(--fw-extrabold);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.hero__desc {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    margin-bottom: var(--space-xl);
    max-width: 520px;
    line-height: 1.8;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.hero__stats {
    display: flex;
    gap: var(--space-2xl);
}

.hero__stat {
    display: flex;
    flex-direction: column;
}

.hero__stat strong {
    font-family: var(--ff-heading);
    font-size: 1.5rem;
    font-weight: var(--fw-extrabold);
    color: var(--clr-primary);
}

.hero__stat span {
    font-size: var(--fs-small);
    color: var(--clr-text-muted);
}

/* Hero Phone */
.hero__visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero__phone-wrapper {
    position: relative;
    animation: float 5s ease-in-out infinite;
}

.hero__phone-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(6, 95, 70, .08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero__phone-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(6, 95, 70, .2));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-16px);
    }
}

/* ============================================================
   TRUST
   ============================================================ */
.trust {
    padding: var(--space-section) 0;
    background: var(--clr-surface);
}

.trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.trust__card {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border);
    background: var(--clr-surface);
    transition: transform var(--dur-normal) var(--ease-out), box-shadow var(--dur-normal) var(--ease-out);
}

.trust__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.trust__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(6, 95, 70, .07);
    color: var(--clr-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.trust__icon svg {
    width: 26px;
    height: 26px;
}

.trust__icon--gold {
    background: rgba(217, 119, 6, .08);
    color: var(--clr-gold);
}

.trust__icon--emerald {
    background: rgba(5, 150, 105, .08);
    color: var(--clr-emerald);
}

.trust__icon--teal {
    background: rgba(13, 148, 136, .08);
    color: var(--clr-teal);
}

.trust__title {
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-xs);
}

.trust__desc {
    font-size: var(--fs-small);
    color: var(--clr-text-muted);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
    padding: var(--space-section) 0;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: transform var(--dur-normal) var(--ease-out), box-shadow var(--dur-normal) var(--ease-out);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(6, 95, 70, .07);
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.feature-card__icon svg {
    width: 24px;
    height: 24px;
}

.feature-card__icon--gold {
    background: rgba(217, 119, 6, .08);
    color: var(--clr-gold);
}

.feature-card__icon--teal {
    background: rgba(13, 148, 136, .08);
    color: var(--clr-teal);
}

.feature-card__icon--emerald {
    background: rgba(5, 150, 105, .08);
    color: var(--clr-emerald);
}

.feature-card__icon--rose {
    background: rgba(225, 29, 72, .06);
    color: var(--clr-rose);
}

.feature-card__icon--amber {
    background: rgba(245, 158, 11, .08);
    color: var(--clr-amber);
}

.feature-card__title {
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-xs);
}

.feature-card__desc {
    font-size: var(--fs-small);
    color: var(--clr-text-muted);
    line-height: 1.7;
}

/* ============================================================
   SCREENS
   ============================================================ */
.screens {
    padding: var(--space-section) 0;
    background: var(--clr-surface);
    overflow: hidden;
}

.screens__showcase {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--space-lg);
}

.screens__showcase::-webkit-scrollbar {
    display: none;
}

.screens__track {
    display: flex;
    gap: var(--space-2xl);
    padding: 0 var(--space-xl);
    width: max-content;
}

.screen-item {
    flex-shrink: 0;
    text-align: center;
}

.screen-item__phone {
    width: 260px;
    transition: transform var(--dur-normal) var(--ease-out);
    cursor: zoom-in;
}

.screen-item:hover .screen-item__phone {
    transform: scale(1.03);
}

.screen-item__phone img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.screen-item__label {
    margin-top: var(--space-md);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-small);
    color: var(--clr-text-muted);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
    padding: var(--space-section) 0;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 0 var(--space-lg);
}

.step__number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
    color: #fff;
    font-family: var(--ff-heading);
    font-weight: var(--fw-extrabold);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    box-shadow: 0 6px 20px rgba(6, 95, 70, .25);
    position: relative;
    z-index: 2;
}

.step__title {
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-xs);
}

.step__desc {
    font-size: var(--fs-small);
    color: var(--clr-text-muted);
    max-width: 220px;
}

.step__connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-primary-light), var(--clr-border));
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: -100px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    padding: var(--space-section) 0;
    background: var(--clr-surface);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: transform var(--dur-normal) var(--ease-out), box-shadow var(--dur-normal) var(--ease-out);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-card__stars {
    color: var(--clr-amber);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.testimonial-card__text {
    font-size: var(--fs-body);
    line-height: 1.8;
    color: var(--clr-text);
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
    color: #fff;
    font-family: var(--ff-heading);
    font-weight: var(--fw-bold);
    font-size: var(--fs-small);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-card__avatar--emerald {
    background: linear-gradient(135deg, #059669, #34D399);
}

.testimonial-card__avatar--gold {
    background: linear-gradient(135deg, #D97706, #FBBF24);
}

.testimonial-card__name {
    display: block;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-small);
}

.testimonial-card__role {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
    padding: var(--space-section) 0;
}

.faq__list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow var(--dur-normal);
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    cursor: pointer;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-body);
    list-style: none;
    user-select: none;
    transition: color var(--dur-fast);
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__question:hover {
    color: var(--clr-primary);
}

.faq-item__chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--dur-normal) var(--ease-out);
    color: var(--clr-text-muted);
}

.faq-item[open] .faq-item__chevron {
    transform: rotate(180deg);
    color: var(--clr-primary);
}

.faq-item__answer {
    padding: 0 var(--space-xl) var(--space-lg);
    color: var(--clr-text-muted);
    line-height: 1.8;
    font-size: var(--fs-small);
    animation: fadeDown var(--dur-normal) var(--ease-out);
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
    padding: var(--space-section) 0;
    background: linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary), var(--clr-primary-light));
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, .06) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.final-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(217, 119, 6, .12) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.final-cta__inner {
    position: relative;
    z-index: 1;
}

.final-cta__title {
    font-size: var(--fs-h2);
    font-weight: var(--fw-extrabold);
    margin-bottom: var(--space-lg);
}

.final-cta__desc {
    font-size: 1.1rem;
    opacity: .88;
    max-width: 520px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
}

.final-cta__buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

/* Store buttons */
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.5rem;
    color: #fff;
    transition: all var(--dur-normal) var(--ease-out);
    backdrop-filter: blur(4px);
}

.store-btn:hover {
    background: rgba(255, 255, 255, .2);
    transform: translateY(-2px);
}

.store-btn svg {
    flex-shrink: 0;
}

.store-btn small {
    display: block;
    font-size: 0.7rem;
    opacity: .7;
    text-align: left;
}

.store-btn strong {
    display: block;
    font-size: 1rem;
    font-weight: var(--fw-semibold);
    text-align: left;
}

.store-btn--coming-soon {
    opacity: .5;
    cursor: default;
    pointer-events: none;
}

/* Newsletter */
.final-cta__newsletter {
    max-width: 460px;
    margin: 0 auto;
}

.final-cta__newsletter-label {
    font-size: var(--fs-small);
    opacity: .75;
    margin-bottom: var(--space-md);
}

.newsletter-form {
    display: flex;
    gap: 0;
    border-radius: var(--radius-full);
    overflow: hidden;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(4px);
}

.newsletter-form__input {
    flex: 1;
    border: none;
    background: none;
    padding: 0.75rem 1.25rem;
    color: #fff;
    font-size: var(--fs-small);
    font-family: var(--ff-body);
    outline: none;
    min-width: 0;
}

.newsletter-form__input::placeholder {
    color: rgba(255, 255, 255, .5);
}

.newsletter-form__btn {
    border-radius: var(--radius-full);
    background: #fff;
    color: var(--clr-primary);
    font-size: var(--fs-small);
    padding: 0.75rem 1.5rem;
    box-shadow: none;
}

.newsletter-form__btn:hover {
    background: #F0FDF4;
    transform: none;
}

.newsletter-form__feedback {
    font-size: var(--fs-small);
    margin-top: var(--space-sm);
    min-height: 1.4em;
}

.newsletter-form__feedback.success {
    color: #A7F3D0;
}

.newsletter-form__feedback.error {
    color: #FCA5A5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #0F1F0F;
    color: #A3B8A3;
    padding: var(--space-3xl) 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer__brand .header__logo-text {
    color: #fff;
}

.footer__tagline {
    margin-top: var(--space-md);
    font-size: var(--fs-small);
    line-height: 1.7;
    max-width: 280px;
    color: #7A947A;
}

.footer__heading {
    color: #fff;
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__links a {
    font-size: var(--fs-small);
    color: #7A947A;
    transition: color var(--dur-fast);
}

.footer__links a:hover {
    color: #fff;
}

.footer__social-icons {
    display: flex;
    gap: var(--space-md);
}

.footer__social-icons a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--dur-fast), transform var(--dur-fast);
}

.footer__social-icons a:hover {
    background: var(--clr-primary);
    transform: translateY(-2px);
}

.footer__social-icons svg {
    width: 18px;
    height: 18px;
}

.footer__bottom {
    padding: var(--space-lg) 0;
    text-align: center;
    font-size: 0.8rem;
    color: #4A644A;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal--right {
    transform: translateX(40px);
}

.reveal.visible {
    opacity: 1;
    transform: translate(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }

    .hero__phone-img {
        max-width: 300px;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials__grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 480px;
        margin: 0 auto;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
        --fs-hero: clamp(1.8rem, 7vw, 2.5rem);
        --fs-h2: clamp(1.5rem, 5vw, 2rem);
        --space-section: clamp(3rem, 8vw, 5rem);
    }

    .header__inner {
        gap: var(--space-sm);
        justify-content: space-between;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        height: 100dvh;
        background: var(--clr-surface);
        box-shadow: -8px 0 32px rgba(0, 0, 0, .12);
        padding: calc(var(--header-h) + var(--space-2xl)) var(--space-xl) var(--space-xl);
        transform: translateX(100%);
        transition: transform var(--dur-normal) var(--ease-out);
        z-index: 999;
    }

    .header__nav.open {
        transform: translateX(0);
    }

    .header__nav-list {
        flex-direction: column;
        gap: var(--space-md);
    }

    .header__nav-link {
        font-size: 1.05rem;
        padding: var(--space-sm) 0;
        border-bottom: 1px solid var(--clr-border);
    }

    .header__nav-link::after {
        display: none;
    }

    .header__nav-link.active {
        color: var(--clr-primary);
        border-bottom-color: var(--clr-primary);
    }

    .header__cta {
        display: none;
    }

    .header__logo-text {
        font-size: 1.1rem;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }

    .theme-toggle__sun,
    .theme-toggle__moon {
        width: 18px;
        height: 18px;
    }

    .lang-switcher__code {
        display: none;
    }

    .lang-switcher__btn {
        padding: 5px 8px;
    }

    .lang-switcher__chevron {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    /* ---- Hero Mobile ---- */
    .hero {
        min-height: auto;
        padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-2xl);
        text-align: center;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .hero__visual {
        order: -1;
    }

    .hero__phone-wrapper {
        position: relative;
        display: inline-block;
    }

    .hero__phone-wrapper::before {
        content: '';
        position: absolute;
        inset: -30px;
        background: radial-gradient(circle, rgba(16, 185, 129, .15) 0%, rgba(6, 95, 70, .06) 50%, transparent 70%);
        border-radius: 50%;
        z-index: -1;
        animation: pulseGlow 5s ease-in-out infinite;
    }

    .hero__phone-img {
        max-width: 240px;
        box-shadow: 0 20px 60px rgba(6, 95, 70, .2), 0 0 0 1px rgba(6, 95, 70, .06);
    }

    .hero__title {
        font-size: var(--fs-hero);
        line-height: 1.15;
    }

    .hero__desc {
        font-size: 0.95rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 400px;
    }

    .hero__actions {
        justify-content: center;
        gap: var(--space-sm);
    }

    .hero__actions .btn {
        flex: 1;
        min-width: 0;
    }

    .hero__stats {
        justify-content: center;
        gap: var(--space-md);
        background: var(--clr-surface);
        border: 1px solid var(--clr-border);
        border-radius: var(--radius-lg);
        padding: var(--space-lg);
        box-shadow: var(--shadow-sm);
    }

    .hero__stat {
        flex: 1;
        align-items: center;
    }

    .hero__stat strong {
        font-size: 1.35rem;
    }

    .hero__stat span {
        font-size: 0.75rem;
        text-align: center;
    }

    /* ---- Trust Mobile ---- */
    .trust__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .trust__card {
        padding: var(--space-lg) var(--space-md);
        border-radius: var(--radius-md);
    }

    .trust__icon {
        width: 48px;
        height: 48px;
        margin-bottom: var(--space-md);
    }

    .trust__icon svg {
        width: 22px;
        height: 22px;
    }

    .trust__title {
        font-size: 1rem;
    }

    .trust__desc {
        font-size: 0.8rem;
    }

    /* ---- Features Mobile ---- */
    .features__grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .feature-card {
        padding: var(--space-lg);
        display: flex;
        gap: var(--space-md);
        align-items: flex-start;
        border-radius: var(--radius-md);
    }

    .feature-card__icon {
        margin-bottom: 0;
        flex-shrink: 0;
        width: 48px;
        height: 48px;
    }

    .feature-card__icon svg {
        width: 22px;
        height: 22px;
    }

    .feature-card__title {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .feature-card__desc {
        font-size: 0.85rem;
    }

    /* ---- Screens Mobile ---- */
    .screen-item__phone {
        width: 300px;
    }

    /* ---- Steps Mobile ---- */
    .steps {
        flex-direction: column;
        gap: var(--space-md);
    }

    .step {
        flex-direction: row;
        text-align: left;
        gap: var(--space-md);
        padding: var(--space-md);
        background: var(--clr-surface);
        border: 1px solid var(--clr-border);
        border-radius: var(--radius-md);
    }

    .step__number {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .step__connector {
        display: none;
    }

    /* ---- Testimonials Mobile ---- */
    .testimonials__grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .testimonials__grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: none;
    }

    .testimonial-card {
        padding: var(--space-lg);
    }

    /* ---- FAQ Mobile ---- */
    .faq-item__question {
        padding: var(--space-md);
        font-size: 0.95rem;
    }

    .faq-item__answer {
        padding: 0 var(--space-md) var(--space-md);
    }

    /* ---- Final CTA Mobile ---- */
    .final-cta__inner {
        padding: var(--space-2xl) var(--space-lg);
        border-radius: var(--radius-lg);
    }

    .final-cta__title {
        font-size: 1.5rem;
    }

    .final-cta__desc {
        font-size: 0.95rem;
        margin-bottom: var(--space-xl);
        padding: 0 10px;
    }

    .final-cta__buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
        border-radius: var(--radius-md);
    }

    .newsletter-form__input {
        padding: 0.85rem 1rem;
    }

    .newsletter-form__btn {
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

    /* ---- Footer Mobile ---- */
    .footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }

    .footer__tagline {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .footer__brand .header__logo {
        justify-content: center;
    }

    .footer__social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .trust__grid {
        grid-template-columns: 1fr;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__stats {
        flex-direction: row;
    }
}

/* Overlay for mobile nav */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-normal);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}