/* KASSIVO — Premium POS Landing Page */
/* Theme: Luxury-tech with warm light mode */

/* ========== DARK THEME (default) ========== */
:root,
[data-theme="dark"] {
    --bg-0: #13161c;
    --bg-1: #191c24;
    --bg-2: #21252e;
    --bg-3: #2a2f3a;
    --bg-card: #1c1f28;
    --bg-hover: #262a34;
    --tx-0: #e8e5de;
    --tx-1: #b3b0a8;
    --tx-2: #7d7a72;
    --accent: #56C8D8;
    --accent-dim: #0e8c96;
    --accent-glow: rgba(86,200,216,.10);
    --accent-glow-strong: rgba(86,200,216,.18);
    --green: #4ade80;
    --red: #e05252;
    --border: rgba(255,255,255,.06);
    --border-strong: rgba(255,255,255,.12);
    --shadow-card: 0 4px 24px rgba(0,0,0,.25);
    --shadow-elevated: 0 16px 48px rgba(0,0,0,.35);
    --nav-bg: rgba(19,22,28,.88);
}

/* ========== LIGHT THEME ========== */
[data-theme="light"] {
    --bg-0: #f0ece6;
    --bg-1: #e8e4dd;
    --bg-2: #ddd9d2;
    --bg-3: #d2cec7;
    --bg-card: #f7f5f1;
    --bg-hover: #edeae4;
    --tx-0: #1c1a17;
    --tx-1: #4a4740;
    --tx-2: #7a776f;
    --accent: #0e8c96;
    --accent-dim: #0a6e76;
    --accent-glow: rgba(14,140,150,.08);
    --accent-glow-strong: rgba(14,140,150,.14);
    --green: #16a34a;
    --red: #dc2626;
    --border: rgba(0,0,0,.07);
    --border-strong: rgba(0,0,0,.12);
    --shadow-card: 0 2px 12px rgba(0,0,0,.06);
    --shadow-elevated: 0 8px 32px rgba(0,0,0,.1);
    --nav-bg: rgba(240,236,230,.92);
}

/* ========== BASE ========== */
:root {
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --ease: cubic-bezier(.22,1,.36,1);
    --font-heading: 'Sora', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* Arabic font override */
[dir="rtl"] {
    --font-heading: 'IBM Plex Sans Arabic', 'Sora', system-ui, sans-serif;
    --font-body: 'IBM Plex Sans Arabic', 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-body);
    background: var(--bg-0);
    color: var(--tx-0);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background .3s var(--ease), color .3s var(--ease);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.sec { padding: 100px 0; }

/* ========== NAV ========== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-bar {
    max-width: 1200px; margin: 0 auto; padding: 0 28px;
    height: 64px; display: flex; align-items: center; gap: 24px;
}
.nav-brand {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-heading); font-weight: 700;
    font-size: 17px; letter-spacing: -.02em; color: var(--tx-0); flex-shrink: 0;
}
.brand-icon { width: 28px; height: 28px; flex-shrink: 0; }
.nav-menu { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav-item {
    padding: 7px 14px; font-size: 13.5px; font-weight: 500;
    color: var(--tx-1); border-radius: var(--r-sm); transition: color .2s, background .2s;
}
.nav-item:hover { color: var(--tx-0); background: var(--bg-2); }
.nav-end { display: flex; align-items: center; gap: 10px; margin-inline-start: 8px; }

/* Language Switcher */
.lang-switcher { display: flex; align-items: center; gap: 2px; }
.lang-btn {
    padding: 5px 10px; font-size: 12px; font-weight: 600;
    font-family: var(--font-heading); color: var(--tx-2);
    border-radius: var(--r-sm); transition: all .2s;
    letter-spacing: .02em;
}
.lang-btn:hover { color: var(--tx-0); background: var(--bg-2); }
.lang-btn.active { color: var(--accent); background: var(--accent-glow); }

/* Theme Toggle */
.theme-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; background: none; border: 1px solid var(--border);
    border-radius: var(--r-sm); cursor: pointer; color: var(--tx-1);
    transition: color .2s, border-color .2s, background .2s;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--border-strong); background: var(--bg-2); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-ico { display: none; }
[data-theme="dark"] .theme-ico--sun { display: flex; }
[data-theme="light"] .theme-ico--moon { display: flex; }

.nav-cta {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px; font-family: var(--font-heading);
    font-size: 13px; font-weight: 600; color: #13161c;
    background: var(--accent); border-radius: var(--r-sm); transition: opacity .2s;
}
[data-theme="light"] .nav-cta { color: #fff; }
.nav-cta svg { width: 14px; height: 14px; }
.nav-cta:hover { opacity: .85; }
.nav-burger {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 36px; height: 36px; background: none; border: none; cursor: pointer; margin-inline-start: auto;
}
.nav-burger span {
    display: block; height: 2px; background: var(--tx-0); border-radius: 2px;
    transition: transform .25s var(--ease), opacity .2s;
}
.nav-burger.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger.open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; font-family: var(--font-heading);
    font-weight: 600; font-size: 14px; border-radius: var(--r-md);
    transition: all .25s var(--ease); cursor: pointer; border: none; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; overflow: visible; }
.btn--fill { background: var(--accent); color: #13161c; }
[data-theme="light"] .btn--fill { color: #fff; }
.btn--fill:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(86,200,216,.25); }
.btn--border { background: transparent; color: var(--tx-0); box-shadow: inset 0 0 0 1.5px var(--border-strong); }
.btn--border:hover { background: var(--bg-2); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2); }
[data-theme="light"] .btn--border:hover { box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.2); }

/* ========== HERO ========== */
.hero { padding: 140px 0 80px; position: relative; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 25% 0%, rgba(86,200,216,.06) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(86,200,216,.04) 0%, transparent 70%);
    pointer-events: none;
}
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.sys-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 12px; color: var(--accent);
    padding: 6px 14px; background: var(--accent-glow);
    border: 1px solid rgba(86,200,216,.15); border-radius: 40px; margin-bottom: 28px;
}
.sys-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.hero-h1 {
    font-family: var(--font-heading); font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--tx-0); margin-bottom: 22px;
}
.accent { color: var(--accent); }
.hero-p { font-size: 16px; color: var(--tx-1); line-height: 1.7; max-width: 440px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.monitor {
    border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--border-strong); background: var(--bg-1);
    box-shadow: var(--shadow-elevated);
    transition: background .3s, border-color .3s;
}
.monitor-top {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px; border-bottom: 1px solid var(--border);
    background: var(--bg-2); font-family: var(--font-mono); font-size: 11px; color: var(--tx-2);
    transition: background .3s;
}
.dots { display: flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--bg-3); }
.monitor-label { flex: 1; text-align: center; }
.monitor-status {
    display: flex; align-items: center; gap: 5px;
    font-size: 10px; color: var(--accent); text-transform: uppercase; letter-spacing: .1em;
}
.live-dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
.monitor-img img { display: block; width: 100%; }
.phone-float {
    position: absolute; bottom: -24px; inset-inline-start: -36px; width: 120px;
    border-radius: 12px; overflow: hidden;
    border: 2px solid var(--border-strong); background: var(--bg-1);
    box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
[dir="ltr"] .phone-float { transform: rotate(-3deg); }
[dir="rtl"] .phone-float { transform: rotate(3deg); }
.phone-float img { width: 100%; }
.stats-bar {
    display: flex; justify-content: space-between; margin-top: 72px;
    padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    transition: border-color .3s;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-val {
    font-family: var(--font-heading); font-size: 28px; font-weight: 700;
    color: var(--tx-0); letter-spacing: -.02em;
}
.stat-key { font-size: 12px; color: var(--tx-2); text-transform: uppercase; letter-spacing: .06em; }

/* ========== DIVIDERS ========== */
.divider { border-top: 1px solid var(--border); padding: 12px 0; transition: border-color .3s; }
.div-label {
    font-family: var(--font-mono); font-size: 10px; font-weight: 500;
    color: var(--tx-2); letter-spacing: .14em; text-transform: uppercase;
}

/* ========== SECTION HEADINGS ========== */
.sec-head { margin-bottom: 56px; max-width: 560px; }
.sec-head--wide { max-width: 720px; }
.sec-num { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; margin-bottom: 14px; }
.sec-title {
    font-family: var(--font-heading); font-size: clamp(28px, 3vw, 40px);
    font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--tx-0); margin-bottom: 12px;
}
.sec-sub { font-size: 16px; color: var(--tx-1); line-height: 1.6; }

/* ========== STORY SECTION ========== */
.story-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.story-p { font-size: 16px; color: var(--tx-1); line-height: 1.8; margin-bottom: 20px; }
.story-p--lead { font-size: 18px; color: var(--tx-0); font-weight: 500; line-height: 1.7; }
.story-highlight {
    display: flex; align-items: center; gap: 12px;
    padding: 20px 24px; background: var(--accent-glow);
    border: 1px solid rgba(86,200,216,.15); border-radius: var(--r-md);
    font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--accent);
    margin-top: 8px;
}
.story-highlight-icon svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ========== BENEFIT ROWS (Phone Scanner, Privacy) ========== */
.benefit-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.benefit-row--flip .benefit-info { order: 2; }
.benefit-title {
    font-family: var(--font-heading); font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--tx-0); margin-bottom: 20px;
}
.benefit-desc { font-size: 16px; color: var(--tx-1); line-height: 1.7; margin-bottom: 16px; }

/* Phone Mockup Visual */
.benefit-visual { display: flex; justify-content: center; align-items: center; }
.phone-mockup {
    display: flex; align-items: center; gap: 32px; padding: 40px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--r-lg); box-shadow: var(--shadow-card);
    transition: background .3s, border-color .3s;
}
.phone-screen {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 24px 20px; background: var(--bg-2); border: 1px solid var(--border-strong);
    border-radius: 16px; min-width: 100px; transition: background .3s;
}
.phone-screen svg { width: 36px; height: 36px; color: var(--accent); }
.phone-label { font-size: 11px; color: var(--tx-2); font-family: var(--font-mono); text-align: center; }
.wifi-waves {
    display: flex; flex-direction: column; gap: 4px; align-items: center;
}
.wifi-waves span {
    display: block; height: 2px; border-radius: 2px; background: var(--accent);
    animation: wifiPulse 2s infinite;
}
.wifi-waves span:nth-child(1) { width: 12px; animation-delay: 0s; }
.wifi-waves span:nth-child(2) { width: 20px; animation-delay: .3s; }
.wifi-waves span:nth-child(3) { width: 28px; animation-delay: .6s; }
@keyframes wifiPulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.pc-mockup {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 24px 20px; background: var(--bg-2); border: 1px solid var(--border-strong);
    border-radius: 12px; min-width: 100px; transition: background .3s;
}
.pc-mockup svg { width: 36px; height: 36px; color: var(--accent); }
.pc-mockup span { font-size: 11px; color: var(--tx-2); font-family: var(--font-mono); }

/* Privacy Visual */
.privacy-visual {
    display: flex; flex-direction: column; align-items: center; gap: 24px;
    padding: 48px 40px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--r-lg); box-shadow: var(--shadow-card);
    transition: background .3s, border-color .3s;
}
.shield-icon svg { width: 64px; height: 64px; color: var(--accent); }
.export-formats { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.format-tag {
    padding: 6px 16px; font-family: var(--font-mono); font-size: 12px; font-weight: 500;
    color: var(--accent); background: var(--accent-glow); border: 1px solid rgba(86,200,216,.15);
    border-radius: var(--r-sm); letter-spacing: .04em;
}
.lock-label {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 12px; color: var(--tx-2);
}
.lock-label svg { width: 16px; height: 16px; color: var(--accent); }

/* ========== FEATURE GRID ========== */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
    padding: 28px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--r-md);
    transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s;
}
.feat:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feat-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.feat-tag {
    font-family: var(--font-mono); font-size: 10px; color: var(--accent);
    letter-spacing: .08em; text-transform: uppercase;
    background: var(--accent-glow); padding: 4px 10px; border-radius: 4px; border: 1px solid rgba(86,200,216,.12);
}
.feat-ico { color: var(--tx-2); }
.feat-ico svg { width: 20px; height: 20px; }
.feat-name { font-family: var(--font-heading); font-size: 18px; font-weight: 600; color: var(--tx-0); margin-bottom: 8px; }
.feat-desc { font-size: 14px; color: var(--tx-1); line-height: 1.6; }

/* ========== INTERFACE PAIRS ========== */
.pair { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; margin-bottom: 80px; }
.pair:last-child { margin-bottom: 0; }
.pair--flip { grid-template-columns: 1.3fr 1fr; }
.pair--flip .pair-info { order: 2; }
.pair-num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: .12em; display: block; margin-bottom: 10px; }
.pair-name { font-family: var(--font-heading); font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--tx-0); margin-bottom: 14px; }
.pair-desc { font-size: 15px; color: var(--tx-1); line-height: 1.7; margin-bottom: 22px; }
.checks { display: flex; flex-direction: column; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--tx-1); }
.checks svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.pair-frame {
    border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--border-strong); background: var(--bg-1);
    transition: background .3s, border-color .3s;
}
.frame-top {
    padding: 10px 16px; border-bottom: 1px solid var(--border);
    background: var(--bg-2); font-family: var(--font-mono); font-size: 11px; color: var(--tx-2);
    transition: background .3s;
}
.pair-frame img { display: block; width: 100%; }

/* ========== MODULE REGISTRY ========== */
.reg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reg-group {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px;
    transition: background .3s, border-color .3s;
}
.reg-label {
    display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 500;
    color: var(--tx-2); text-transform: uppercase; letter-spacing: .1em;
    padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border);
}
.reg-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.reg-ico { color: var(--accent-dim); }
.reg-ico svg { width: 16px; height: 16px; }
.reg-name { font-size: 13.5px; color: var(--tx-1); }

/* ========== STEPS ========== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
    padding: 28px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--r-md); position: relative;
    transition: background .3s, border-color .3s;
}
.step-n {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; font-family: var(--font-heading);
    font-size: 15px; font-weight: 700; color: var(--accent);
    background: var(--accent-glow); border-radius: 50%; margin-bottom: 18px;
}
.step-title { font-family: var(--font-heading); font-size: 16px; font-weight: 600; color: var(--tx-0); margin-bottom: 8px; }
.step-desc { font-size: 13.5px; color: var(--tx-1); line-height: 1.6; margin-bottom: 14px; }
.step-hint { font-family: var(--font-mono); font-size: 11px; color: var(--tx-2); }

/* ========== PRICING ========== */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; }
.plan {
    padding: 36px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--r-lg); position: relative;
    transition: background .3s, border-color .3s;
}
.plan--main { border-color: var(--accent); background: linear-gradient(160deg, var(--accent-glow-strong) 0%, var(--bg-card) 50%); }
.plan-badge {
    position: absolute; top: -10px; inset-inline-end: 24px;
    font-family: var(--font-mono); font-size: 10px; font-weight: 500;
    color: #13161c; background: var(--accent);
    padding: 4px 12px; border-radius: 4px; text-transform: uppercase; letter-spacing: .08em;
}
[data-theme="light"] .plan-badge { color: #fff; }
.plan-tier {
    display: block; font-family: var(--font-mono); font-size: 12px; color: var(--tx-2);
    text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px;
}
.plan-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.plan-price {
    display: block; font-family: var(--font-heading); font-size: 42px; font-weight: 700;
    color: var(--tx-0); letter-spacing: -.03em;
}
.plan-price-row .plan-price { display: inline; margin-bottom: 0; }
.plan-original {
    font-family: var(--font-heading); font-size: 22px; font-weight: 500;
    color: var(--tx-2); text-decoration: line-through;
    text-decoration-color: var(--red); text-decoration-thickness: 2px;
}
.plan-save {
    display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    color: var(--green); background: rgba(74,222,128,.1);
    padding: 3px 10px; border-radius: 4px; margin-bottom: 8px;
}
[data-theme="light"] .plan-save { color: var(--green); background: rgba(22,163,74,.08); }
.plan-cycle { display: block; font-size: 13px; color: var(--tx-2); margin-bottom: 14px; }
.plan-note { font-size: 14px; color: var(--tx-1); line-height: 1.5; margin-bottom: 22px; }
.plan-feats { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.plan-feats li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--tx-1); }
.plan-feats svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.footnote { margin-top: 36px; font-size: 14px; color: var(--tx-2); }
.footnote a { color: var(--accent); border-bottom: 1px solid var(--accent-dim); }
.footnote a:hover { opacity: .8; }

/* ========== TESTIMONIALS ========== */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.quote {
    padding: 28px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md);
    transition: background .3s, border-color .3s;
}
.quote-txt { font-size: 15px; color: var(--tx-0); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.quote-av {
    width: 36px; height: 36px; background: var(--bg-3); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--accent); flex-shrink: 0;
    transition: background .3s;
}
.quote-name { display: block; font-style: normal; font-weight: 600; font-size: 14px; color: var(--tx-0); }
.quote-role { font-size: 12px; color: var(--tx-2); }

/* ========== DOWNLOAD ========== */
.dl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.dl-card {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 24px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--r-md);
    margin-bottom: 12px; transition: border-color .2s, transform .2s, background .3s;
}
.dl-card:last-child { margin-bottom: 0; }
.dl-card:hover { border-color: var(--accent); }
[dir="ltr"] .dl-card:hover { transform: translateX(4px); }
[dir="rtl"] .dl-card:hover { transform: translateX(-4px); }
.dl-ico { color: var(--accent); }
.dl-ico svg { width: 24px; height: 24px; }
.dl-info strong { display: block; font-family: var(--font-heading); font-size: 15px; color: var(--tx-0); }
.dl-info span { font-size: 12px; color: var(--tx-2); }
.dl-arrow { margin-inline-start: auto; color: var(--tx-2); transition: color .2s, transform .2s; }
.dl-card:hover .dl-arrow { color: var(--accent); }
[dir="ltr"] .dl-card:hover .dl-arrow { transform: translateX(3px); }
[dir="rtl"] .dl-card:hover .dl-arrow { transform: translateX(-3px) scaleX(-1); }
.dl-arrow svg { width: 16px; height: 16px; }

/* RTL: flip arrow icons in download cards */
[dir="rtl"] .dl-arrow svg { transform: scaleX(-1); }
[dir="rtl"] .nav-cta svg { transform: scaleX(-1); }

/* ========== FAQ ========== */
.faq-list { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; padding: 22px 0; background: none; border: none; cursor: pointer;
    font-family: var(--font-heading); font-size: 16px; font-weight: 600;
    color: var(--tx-0); text-align: start; transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-plus {
    font-family: var(--font-mono); font-size: 20px; color: var(--tx-2);
    transition: transform .3s var(--ease), color .2s; flex-shrink: 0; margin-inline-start: 16px;
}
.faq-item.open .faq-plus { transform: rotate(45deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding-bottom: 22px; font-size: 14px; color: var(--tx-1); line-height: 1.7; }

/* ========== CTA END ========== */
.cta-end { padding: 100px 0; }
.cta-box {
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
    padding: 48px 56px;
    background: linear-gradient(135deg, var(--accent-glow-strong) 0%, var(--bg-card) 60%);
    border: 1px solid var(--border-strong); border-radius: var(--r-lg);
    transition: background .3s, border-color .3s;
}
.cta-h { font-family: var(--font-heading); font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--tx-0); margin-bottom: 8px; }
.cta-p { font-size: 15px; color: var(--tx-1); }
.cta-btns { display: flex; gap: 12px; flex-shrink: 0; }

/* ========== FOOTER ========== */
.footer { padding: 64px 0 28px; border-top: 1px solid var(--border); background: var(--bg-1); transition: background .3s, border-color .3s; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand {
    font-family: var(--font-heading); font-weight: 700; font-size: 17px;
    color: var(--tx-0); display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.footer-brand svg { width: 22px; height: 22px; flex-shrink: 0; }
.footer-desc { font-size: 13px; color: var(--tx-2); line-height: 1.6; max-width: 260px; }
.footer-col h5 {
    font-family: var(--font-mono); font-size: 11px; font-weight: 500;
    color: var(--tx-2); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px;
}
.footer-col a { display: block; font-size: 13.5px; color: var(--tx-1); padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 24px; border-top: 1px solid var(--border); font-size: 12px; color: var(--tx-2);
    transition: border-color .3s;
}
.footer-status { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; }
.footer-status i { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }

/* ========== REVEAL ANIMATIONS ========== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
    .hero-layout { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { max-width: 540px; }
    .story-grid { grid-template-columns: 1fr; gap: 24px; }
    .benefit-row, .benefit-row--flip { grid-template-columns: 1fr; gap: 40px; }
    .benefit-row--flip .benefit-info { order: 0; }
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .pair, .pair--flip { grid-template-columns: 1fr; }
    .pair--flip .pair-info { order: 0; }
    .reg { grid-template-columns: repeat(2, 1fr); }
    .dl-row { grid-template-columns: 1fr; }
    .cta-box { flex-direction: column; text-align: center; padding: 36px; }
    .cta-btns { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .wrap { padding: 0 18px; }
    .sec { padding: 72px 0; }
    .nav-menu, .nav-end { display: none; }
    .nav-burger { display: flex; }
    .nav-menu.open {
        display: flex; flex-direction: column; position: absolute;
        top: 64px; inset-inline-start: 0; inset-inline-end: 0;
        background: var(--bg-1); border-bottom: 1px solid var(--border);
        padding: 16px 28px; gap: 0;
    }
    .nav-menu.open .nav-item { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); }

    /* Show lang/theme in mobile menu */
    .nav-menu.open ~ .nav-end {
        display: flex; position: absolute;
        top: calc(64px); inset-inline-start: 0; inset-inline-end: 0;
        background: var(--bg-1); padding: 12px 28px;
        border-bottom: 1px solid var(--border);
        z-index: 99;
    }

    .hero { padding: 110px 0 60px; }
    .hero-h1 { font-size: 32px; }
    .hero-btns { flex-direction: column; }
    .stats-bar { flex-wrap: wrap; gap: 20px; justify-content: center; }
    .stat { min-width: 120px; }
    .feat-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .plans { grid-template-columns: 1fr; }
    .quotes { grid-template-columns: 1fr; }
    .reg { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .cta-btns { flex-direction: column; width: 100%; }
    .cta-btns .btn { justify-content: center; }
    .phone-mockup { gap: 18px; padding: 24px; flex-wrap: wrap; justify-content: center; }
}
