/* ================================================================
   Wevelink — Landing Page
   ================================================================ */

/* --- Variables ------------------------------------------------- */
:root {
    /* Text — light on dark */
    --ink:          #EFEFEF;
    --ink-mid:      rgba(239,239,239,0.58);
    --ink-muted:    rgba(239,239,239,0.32);

    /* Brand greens */
    --green:        #2ECC71;
    --green-dark:   #27AE60;
    --green-deep:   #071A0E;
    --green-mid:    #0F2E18;
    --green-pale:   rgba(46,204,113,0.09);

    /* Dark backgrounds */
    --bg:           #0D0D0D;   /* page base */
    --surface:      #161616;   /* card surface */
    --surface-2:    #1E1E1E;   /* hover / deeper card */
    --section-alt:  #121212;   /* alternating section bg */

    --white:        #FFFFFF;
    --off-white:    #F8FFF9;   /* kept for store-btn etc */
    --border:       rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.05);

    --font-en:   'Inter', sans-serif;
    --font-ar:   'Tajawal', sans-serif;

    --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out:  cubic-bezier(0, 0, 0.2, 1);
    --spring:    cubic-bezier(0.34, 1.56, 0.64, 1);

    --r-sm:  10px;
    --r-md:  18px;
    --r-lg:  28px;
    --r-xl:  40px;
}

/* --- Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-en);
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
/* New official Saudi Riyal symbol (custom font, U+00EA remapped) */
.sar-symbol { font-family: 'SaudiRiyalSymbol', sans-serif !important; font-weight: bold; line-height: 1; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: none; }

/* --- Language -------------------------------------------------- */
[data-lang="ar"] {
    font-family: var(--font-ar);
    direction: rtl;
}
[data-lang="en"] .lang-ar { display: none !important; }
[data-lang="ar"] .lang-en { display: none !important; }

/* Arabic font-size bumps for readability */
[data-lang="ar"] .hero-title    { font-size: clamp(1.35rem, 2.2vw, 2.2rem); line-height: 1.2; }
[data-lang="ar"] .section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }

/* --- Custom Cursor -------------------------------------------- */
.cursor {
    width: 12px;
    height: 12px;
    background: var(--green);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.12s var(--ease), width 0.25s var(--spring), height 0.25s var(--spring), opacity 0.2s;
    mix-blend-mode: exclusion;
    will-change: transform;
}
.cursor.grow {
    width: 44px;
    height: 44px;
    opacity: 0.6;
}
@media (hover: none) { .cursor { display: none; } }

/* --- Utility --------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================================================
   PRELOADER — Signal Lock
   ================================================================ */

/* SVG ring circumference: 2π × 60 ≈ 376.99 */
:root { --pre-circ: 376.99; }

#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #050D08;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
                transform 0.7s cubic-bezier(0.4,0,0.2,1),
                visibility 0.7s;
}
#preloader.pre-done {
    opacity: 0;
    transform: scale(1.06);
    visibility: hidden;
    pointer-events: none;
}

/* ── Ambient glow blobs ──────────────────────────────────────── */
.pre-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
}
.pre-glow-a {
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(46,204,113,0.13), transparent 65%);
    top: -160px; right: -120px;
    animation: preGlowDrift 9s ease-in-out infinite;
}
.pre-glow-b {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(46,204,113,0.07), transparent 65%);
    bottom: -80px; left: -80px;
    animation: preGlowDrift 11s ease-in-out infinite reverse 1.5s;
}
@keyframes preGlowDrift {
    0%,100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(30px,-20px) scale(1.06); }
    66%      { transform: translate(-15px,25px) scale(0.96); }
}

/* ── Grain overlay ───────────────────────────────────────────── */
#preloader::before {
    content: '';
    position: absolute;
    inset: -50%;
    width: 200%; height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    animation: grainShift 8s steps(10) infinite;
}

/* ── Center content ──────────────────────────────────────────── */
.pre-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    z-index: 1;
}

/* ── SVG ring wrapper ────────────────────────────────────────── */
.pre-ring-wrap {
    position: relative;
    width: 140px; height: 140px;
    display: flex; align-items: center; justify-content: center;
}
.pre-svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    transform: rotate(-90deg); /* start drawing from top */
    overflow: visible;
}

/* Track ring — faint guide circle */
.pre-track-ring {
    stroke: rgba(46,204,113,0.1);
    stroke-width: 1.5;
    fill: none;
}

/* Animated fill ring — draws clockwise */
.pre-fill-ring {
    stroke: var(--green);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: var(--pre-circ);
    stroke-dashoffset: var(--pre-circ);
    filter: drop-shadow(0 0 6px rgba(46,204,113,0.7));
    animation: preRingDraw 1.2s 0.15s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes preRingDraw {
    to { stroke-dashoffset: 0; }
}

/* Pulse ring — expands and fades after fill completes */
.pre-pulse-ring {
    stroke: rgba(46,204,113,0.35);
    stroke-width: 1;
    fill: none;
    opacity: 0;
    animation: preRingPulse 0.7s 1.3s ease-out forwards;
}
@keyframes preRingPulse {
    0%   { opacity: 0.5; r: 60px; stroke-width: 1.5; }
    100% { opacity: 0;   r: 80px; stroke-width: 0; }
}

/* ── W mark ──────────────────────────────────────────────────── */
.pre-mark {
    width: 56px; height: 56px;
    background: linear-gradient(145deg, var(--green) 0%, #27AE60 100%);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.08) inset,
        0 8px 32px rgba(46,204,113,0.3),
        0 0 60px rgba(46,204,113,0.15);
    z-index: 1;
    opacity: 0;
    animation: preMarkIn 0.5s 0.3s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.pre-mark span {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    font-family: var(--font-en);
    line-height: 1;
    letter-spacing: -0.03em;
}
@keyframes preMarkIn {
    from { opacity: 0; transform: scale(0.6) rotate(-8deg); }
    to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* ── Brand text ──────────────────────────────────────────────── */
.pre-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0;
    animation: preFadeUp 0.65s 0.9s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
}
.pre-brand-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    font-family: var(--font-en);
}
.pre-brand-tag {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ── Progress bar ────────────────────────────────────────────── */
.pre-bar {
    width: 180px;
    height: 1.5px;
    background: rgba(255,255,255,0.07);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: preFadeIn 0.4s 1.0s forwards;
}
.pre-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, transparent, var(--green), #6ee5a0, var(--green));
    background-size: 200% 100%;
    border-radius: 2px;
    animation:
        preBarGrow 1.4s 1.1s cubic-bezier(0.4,0,0.2,1) forwards,
        preBarShimmer 1.2s 1.1s linear infinite;
}
@keyframes preBarGrow    { to { width: 100%; } }
@keyframes preBarShimmer { to { background-position: -200% 0; } }

/* ── Shared keyframes ────────────────────────────────────────── */
@keyframes preFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes preFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes grainShift {
    0%,100% { transform: translate(0,0); }
    10%      { transform: translate(-2%,-3%); }
    20%      { transform: translate(3%,1%); }
    30%      { transform: translate(-1%,4%); }
    40%      { transform: translate(2%,-2%); }
    50%      { transform: translate(-3%,2%); }
    60%      { transform: translate(1%,-1%); }
    70%      { transform: translate(-2%,3%); }
    80%      { transform: translate(3%,-2%); }
    90%      { transform: translate(-1%,1%); }
}

/* ── Light mode ──────────────────────────────────────────────── */
[data-theme="light"] #preloader {
    background: #F2FAF5;
}
[data-theme="light"] .pre-glow-a {
    background: radial-gradient(circle, rgba(39,174,96,0.18), transparent 65%);
}
[data-theme="light"] .pre-glow-b {
    background: radial-gradient(circle, rgba(39,174,96,0.1), transparent 65%);
}
[data-theme="light"] #preloader::before { opacity: 0.015; }
[data-theme="light"] .pre-track-ring   { stroke: rgba(39,174,96,0.14); }
[data-theme="light"] .pre-fill-ring    { stroke: #27AE60; filter: drop-shadow(0 0 6px rgba(39,174,96,0.5)); }
[data-theme="light"] .pre-pulse-ring   { stroke: rgba(39,174,96,0.4); }
[data-theme="light"] .pre-mark         { background: linear-gradient(145deg, #27AE60, #1E8449); box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset, 0 8px 32px rgba(39,174,96,0.25), 0 0 60px rgba(39,174,96,0.1); }
[data-theme="light"] .pre-brand-name   { color: #0F1A12; }
[data-theme="light"] .pre-brand-tag    { color: rgba(15,26,18,0.35); }
[data-theme="light"] .pre-bar          { background: rgba(0,0,0,0.07); }
[data-theme="light"] .pre-bar-fill     { background: linear-gradient(90deg, transparent, #27AE60, #6ee5a0, #27AE60); background-size: 200% 100%; }

/* ================================================================
   NAVBAR — Hero-integrated, floats to pill on scroll
   ================================================================ */
.navbar {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    z-index: 200;
    display: flex;
    justify-content: center;
    pointer-events: none;
    padding: 0 clamp(16px, 4vw, 40px);
    transition: padding 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* ── Default: transparent, hero-integrated ───────────────── */
.nav-pill {
    pointer-events: all;
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    padding: 24px 0;
    max-width: 1200px;
    width: 100%;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition:
        background 0.4s cubic-bezier(0.25,0.46,0.45,0.94),
        border-color 0.4s cubic-bezier(0.25,0.46,0.45,0.94),
        border-radius 0.45s cubic-bezier(0.25,0.46,0.45,0.94),
        padding 0.4s cubic-bezier(0.25,0.46,0.45,0.94),
        box-shadow 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* ── Scrolled: floating pill ─────────────────────────────── */
.navbar.scrolled {
    padding: 12px clamp(12px, 3vw, 24px);
}
.navbar.scrolled .nav-pill {
    background: rgba(7, 26, 14, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-color: rgba(46, 204, 113, 0.22);
    border-radius: 16px;
    padding: 10px 10px 10px 20px;
    width: 100%;
    box-shadow:
        0 8px 40px rgba(0,0,0,0.45),
        0 0 0 0.5px rgba(46,204,113,0.1) inset;
}
[data-lang="ar"] .navbar.scrolled .nav-pill { padding: 10px 20px 10px 10px; }

/* ── Logo ────────────────────────────────────────────────── */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1rem;
    color: var(--white);
    white-space: nowrap;
    transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo-mark {
    width: 30px; height: 30px;
    background: var(--green);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.88rem; font-weight: 900; color: var(--white);
    font-family: var(--font-en);
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(46,204,113,0.35);
}

/* ── Divider ─────────────────────────────────────────────── */
.nav-divider {
    width: 1px; height: 22px;
    background: rgba(255,255,255,0.18);
    margin: 0 6px;
    flex-shrink: 0;
}

/* ── Links ───────────────────────────────────────────────── */
.nav-links {
    display: flex;
    gap: 2px;
    flex: 1;
}
.nav-links a {
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(255,255,255,0.72);
    padding: 6px 12px;
    border-radius: 10px;
    transition: all 0.2s;
    white-space: nowrap;
}
.nav-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* ── Actions ─────────────────────────────────────────────── */
.nav-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }

.lang-toggle {
    background: none;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 10px;
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    font-family: inherit;
    transition: all 0.2s;
    white-space: nowrap;
}
.lang-toggle:hover {
    color: var(--white);
    border-color: var(--green);
    background: rgba(46,204,113,0.1);
}

.theme-toggle {
    background: none;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 10px;
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    font-family: inherit;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.theme-toggle:hover {
    color: var(--white);
    border-color: var(--green);
    background: rgba(46,204,113,0.1);
}

.nav-btn {
    background: var(--green);
    color: var(--white);
    border-radius: 10px;
    padding: 9px 20px;
    font-size: 0.84rem;
    font-weight: 700;
    border: none;
    font-family: inherit;
    transition: all 0.2s var(--ease);
    display: inline-flex; align-items: center; gap: 6px;
    white-space: nowrap;
    box-shadow: 0 3px 14px rgba(46,204,113,0.32);
}
.nav-btn:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(46,204,113,0.4);
}
.nav-btn-store {
    background: transparent;
    color: var(--green);
    border: 1px solid rgba(46,204,113,0.4);
    box-shadow: none;
}
.nav-btn-store:hover {
    background: rgba(46,204,113,0.08);
    border-color: var(--green);
    color: var(--green);
    box-shadow: none;
    transform: translateY(-1px);
}

/* ── Light mode ──────────────────────────────────────────── */
[data-theme="light"] .nav-logo { color: #0F1A12; }
[data-theme="light"] .nav-links a { color: rgba(15,26,18,0.7); }
[data-theme="light"] .nav-links a:hover { color: #0F1A12; background: rgba(15,26,18,0.07); }
[data-theme="light"] .nav-divider { background: rgba(15,26,18,0.14); }
[data-theme="light"] .lang-toggle,
[data-theme="light"] .theme-toggle {
    border-color: rgba(15,26,18,0.22);
    color: rgba(15,26,18,0.65);
}
[data-theme="light"] .lang-toggle:hover,
[data-theme="light"] .theme-toggle:hover {
    color: #0F1A12;
    border-color: var(--green-dark);
    background: rgba(46,204,113,0.08);
}
[data-theme="light"] .navbar.scrolled .nav-pill {
    background: rgba(248, 255, 251, 0.94);
    border-color: rgba(46, 204, 113, 0.18);
    box-shadow: 0 4px 32px rgba(0,0,0,0.08), 0 0 0 0.5px rgba(46,204,113,0.07) inset;
}
[data-theme="light"] .nav-btn-store {
    color: var(--green-dark);
    border-color: rgba(39,174,96,0.35);
}
[data-theme="light"] .nav-btn-store:hover {
    background: rgba(39,174,96,0.07);
    border-color: var(--green-dark);
    color: var(--green-dark);
}
[data-theme="light"] .nav-btn-store:hover { transform: translateY(-1px); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-divider { display: none; }
}
@media (max-width: 480px) {
    .nav-pill { padding: 18px 0; }
    .navbar.scrolled .nav-pill { padding: 8px 8px 8px 14px; }
    [data-lang="ar"] .navbar.scrolled .nav-pill { padding: 8px 14px 8px 8px; }
    .lang-toggle, .theme-toggle { padding: 6px 9px; font-size: 0.76rem; }
    .nav-btn { padding: 7px 13px; font-size: 0.78rem; }
    .nav-btn svg { display: none; }
    .nav-btn-store svg { display: block; }
    .nav-btn-store .lang-en,
    .nav-btn-store .lang-ar { display: none !important; }
    .nav-btn-store { padding: 7px 10px; }
}
@media (max-width: 375px) {
    .nav-pill { padding: 14px 0; }
    .navbar.scrolled .nav-pill { width: 100%; }
    .theme-toggle { padding: 6px 8px; font-size: 0; width: 30px; justify-content: center; }
    .theme-toggle::before { content: '☀'; font-size: 0.8rem; }
    [data-theme="light"] .theme-toggle::before { content: '🌙'; }
    .nav-btn-store { display: none; }
}

/* ================================================================
   HERO — Install Once, Travel Forever
   ================================================================ */

/* ── Section base ─────────────────────────────────────────── */
/* Shell provides the section-alt color in the corner gaps left by the hero's border-radius */
.hero-shell {
    background: var(--section-alt);
}

.hero {
    min-height: 62svh;
    background: #020c05;
    background-image:
        radial-gradient(ellipse 130% 90% at 50% 0%, rgba(46,204,113,0.24) 0%, transparent 52%),
        radial-gradient(ellipse 55% 55% at 10% 100%, rgba(46,204,113,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 55% 55% at 90% 8%, rgba(46,204,113,0.07) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 0 0 96px 96px;
}

/* ── Signal rings ─────────────────────────────────────────── */
.hero-signal {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.h-ring {
    position: absolute;
    top: 50%; left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(46, 204, 113, 0.11);
    animation: hRingExpand 5.5s ease-out infinite;
}
.h-ring-1 { width: 280px; height: 280px; margin-top: -140px; margin-left: -140px; animation-delay: 0s; }
.h-ring-2 { width: 500px; height: 500px; margin-top: -250px; margin-left: -250px; animation-delay: 1.37s; }
.h-ring-3 { width: 740px; height: 740px; margin-top: -370px; margin-left: -370px; animation-delay: 2.75s; }
.h-ring-4 { width: 980px; height: 980px; margin-top: -490px; margin-left: -490px; animation-delay: 4.12s; }
[data-theme="light"] .h-ring { border-color: rgba(46, 204, 113, 0.09); }
@keyframes hRingExpand {
    0%   { opacity: 0;    transform: scale(0.86); }
    10%  { opacity: 0.55; }
    100% { opacity: 0;    transform: scale(1.1); }
}

/* ── Dot grid ─────────────────────────────────────────────── */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(46,204,113,0.18) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 36%, black 8%, transparent 76%);
    mask-image: radial-gradient(ellipse 78% 68% at 50% 36%, black 8%, transparent 76%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}
[data-theme="light"] .hero-grid { opacity: 0.16; }

/* ── Bottom vignette ──────────────────────────────────────── */
.hero::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 46%;
    background: linear-gradient(to top, rgba(2,12,5,0.97), transparent);
    z-index: 1;
    pointer-events: none;
}

/* ── Grain ────────────────────────────────────────────────── */
.hero-grain {
    position: absolute;
    inset: -50%;
    width: 200%; height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 1;
    animation: grainShift 8s steps(10) infinite;
}

/* ── Content wrapper ──────────────────────────────────────── */
.hero-wrap {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(88px, 11vh, 108px) clamp(20px, 5vw, 60px) 40px;
}

/* ── Badge ────────────────────────────────────────────────── */
.h-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(46,204,113,0.09);
    border: 1px solid rgba(46,204,113,0.24);
    border-radius: 999px;
    padding: 6px 18px 6px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.62);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 26px;
    opacity: 0;
    animation: hRise 0.7s 0.05s ease-out forwards;
}
[data-lang="ar"] .h-badge { letter-spacing: 0.02em; }
.h-badge-dot {
    width: 7px; height: 7px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--green);
    animation: hPulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes hPulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.3; transform: scale(0.6); }
}

/* ── Headline ─────────────────────────────────────────────── */
.h-title {
    font-family: 'Inter', 'Tajawal', sans-serif;
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.h-title .lang-en,
.h-title .lang-ar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
[data-lang="ar"] .h-title { letter-spacing: -0.02em; line-height: 1.05; }
[data-lang="ar"] .h-tl    { padding-bottom: 0.3em; }
.h-tl {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
}
.h-tw {
    display: inline-block;
    color: #FFFFFF;
    opacity: 0;
    transform: translateY(70px);
    filter: blur(14px);
    animation: hWordIn 0.8s ease-out forwards;
}
.h-tl-1 .h-tw:nth-child(1) { animation-delay: 0.2s; }
.h-tl-1 .h-tw:nth-child(2) { animation-delay: 0.35s; }
.h-tl-2 .h-tw:nth-child(1) { animation-delay: 0.52s; }
.h-tl-2 .h-tw:nth-child(2) { animation-delay: 0.67s; }
.h-tw-muted { color: rgba(255,255,255,0.25) !important; }
.h-tw-green { color: var(--green) !important; text-shadow: 0 0 90px rgba(46,204,113,0.5); }
.h-dot      { color: var(--green); }
@keyframes hWordIn {
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ── Subtitle ─────────────────────────────────────────────── */
.h-sub {
    font-size: clamp(0.85rem, 1.2vw, 0.96rem);
    line-height: 1.68;
    color: rgba(255,255,255,0.44);
    max-width: 480px;
    margin-bottom: 28px;
    opacity: 0;
    animation: hRise 0.9s 0.84s ease-out forwards;
}
[data-lang="ar"] .h-sub { font-family: var(--font-ar); }

/* ── Store buttons (for hero if used) ─────────────────────── */
.h-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    opacity: 0;
    animation: hRise 0.9s 0.98s ease-out forwards;
}
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    background: var(--white);
    color: #0D0D0D;
    border-radius: var(--r-md);
    padding: 13px 22px;
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    flex-shrink: 0;
    white-space: nowrap;
}
.store-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.store-btn svg { flex-shrink: 0; }
.store-btn-info { display: flex; flex-direction: column; gap: 1px; }
.store-btn-info small {
    font-size: 0.62rem;
    font-weight: 400;
    color: rgba(0,0,0,0.38);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}
.store-btn-info strong { font-size: 0.9rem; line-height: 1.2; }
.h-ghost-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.6);
    border-radius: var(--r-md);
    padding: 13px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.25s ease;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    white-space: nowrap;
}
.h-ghost-btn:hover { border-color: var(--green); color: var(--green); background: rgba(46,204,113,0.05); }

/* ── Benefit cards ────────────────────────────────────────── */
.h-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 620px;
    margin-bottom: 30px;
    opacity: 0;
    animation: hRise 0.9s 1.15s ease-out forwards;
}
.h-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 20px;
    padding: 22px 14px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.28s, border-color 0.28s, transform 0.28s var(--spring), box-shadow 0.28s;
}
.h-card:hover {
    background: rgba(46,204,113,0.07);
    border-color: rgba(46,204,113,0.26);
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(46,204,113,0.1);
}
.h-card-icon {
    width: 42px; height: 42px;
    background: rgba(46,204,113,0.11);
    border: 1px solid rgba(46,204,113,0.22);
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    margin-bottom: 2px;
    transition: background 0.28s, border-color 0.28s;
}
.h-card:hover .h-card-icon {
    background: rgba(46,204,113,0.16);
    border-color: rgba(46,204,113,0.35);
}
.h-card-num {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.03em;
}
.h-card-lbl {
    font-size: 0.64rem;
    color: rgba(255,255,255,0.36);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 600;
    line-height: 1.4;
}
[data-lang="ar"] .h-card-lbl { letter-spacing: 0.02em; font-family: var(--font-ar); }

/* ── Stats ────────────────────────────────────────────────── */
.h-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    max-width: 560px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 22px;
    overflow: hidden;
    opacity: 0;
    animation: hRise 0.9s 1.32s ease-out forwards;
}
.h-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 18px 10px;
    border-inline-end: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    transition: background 0.2s;
}
.h-stat:last-of-type { border-inline-end: none; }
.h-stat:hover { background: rgba(46,204,113,0.05); }
.h-stat > div { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.h-stat-sep { display: none; }
.h-stat-icon { font-size: 1rem; margin-bottom: 4px; line-height: 1; }
.h-stat-num {
    font-size: 1.08rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.02em;
}
.h-stat-lbl {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes hRise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Light mode ───────────────────────────────────────────── */
[data-theme="light"] .hero {
    background: #eef8f1;
    background-image:
        radial-gradient(ellipse 130% 90% at 50% 0%, rgba(46,204,113,0.22) 0%, transparent 52%),
        radial-gradient(ellipse 55% 55% at 10% 100%, rgba(46,204,113,0.09) 0%, transparent 60%),
        radial-gradient(ellipse 55% 55% at 90% 8%, rgba(46,204,113,0.08) 0%, transparent 60%);
}
[data-theme="light"] .hero::before {
    background: linear-gradient(to top, rgba(238,248,241,0.98), transparent);
}
[data-theme="light"] .h-badge {
    background: rgba(46,204,113,0.1);
    border-color: rgba(46,204,113,0.28);
    color: rgba(15,26,18,0.62);
}
[data-theme="light"] .h-tw          { color: #0C1A0F; }
[data-theme="light"] .h-tw-muted    { color: rgba(15,26,18,0.26) !important; }
[data-theme="light"] .h-sub         { color: rgba(15,26,18,0.52); }
[data-theme="light"] .h-card {
    background: rgba(255,255,255,0.72);
    border-color: rgba(46,204,113,0.14);
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
[data-theme="light"] .h-card:hover {
    background: rgba(255,255,255,0.92);
    border-color: rgba(46,204,113,0.3);
    box-shadow: 0 8px 32px rgba(46,204,113,0.1);
}
[data-theme="light"] .h-card-icon {
    background: rgba(46,204,113,0.1);
    border-color: rgba(46,204,113,0.2);
}
[data-theme="light"] .h-card-num    { color: #0C1A0F; }
[data-theme="light"] .h-card-lbl    { color: rgba(15,26,18,0.44); }
[data-theme="light"] .h-stats       { background: rgba(15,26,18,0.03); border-color: rgba(15,26,18,0.08); }
[data-theme="light"] .h-stat        { border-inline-end-color: rgba(15,26,18,0.06); }
[data-theme="light"] .h-stat-num    { color: #0C1A0F; }
[data-theme="light"] .h-stat-lbl    { color: rgba(15,26,18,0.38); }
[data-theme="light"] .store-btn     { background: #0D1A10; color: #fff; box-shadow: 0 4px 24px rgba(0,0,0,0.12); }
[data-theme="light"] .store-btn-info small { color: rgba(255,255,255,0.48); }
[data-theme="light"] .h-ghost-btn   { border-color: rgba(15,26,18,0.14); color: rgba(15,26,18,0.6); }
[data-theme="light"] .h-ghost-btn:hover { border-color: var(--green-dark); color: var(--green-dark); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .h-title { font-size: clamp(2rem, 4.8vw, 3.2rem); }
}
@media (max-width: 860px) {
    .h-title { font-size: clamp(1.9rem, 6vw, 2.8rem); }
}
@media (max-width: 640px) {
    .hero-wrap { padding: clamp(76px, 10vh, 96px) 20px 30px; }
    .h-title { font-size: clamp(1.8rem, 7.5vw, 2.4rem); line-height: 1.0; letter-spacing: -0.03em; }
    .h-badge { margin-bottom: 16px; font-size: 0.68rem; }
    .h-sub { font-size: 0.86rem; line-height: 1.6; margin-bottom: 22px; max-width: 100%; }
    .h-cards { gap: 8px; max-width: 100%; }
    .h-card { padding: 18px 10px 14px; }
    .h-card-icon { width: 36px; height: 36px; font-size: 1.1rem; border-radius: 11px; }
    .h-card-num { font-size: 1.1rem; }
    .h-card-lbl { font-size: 0.6rem; }
}
@media (max-width: 440px) {
    .hero-wrap { padding: clamp(80px, 11vh, 96px) 16px 30px; }
    .hero { border-radius: 0 0 64px 64px; }
    .h-title { font-size: clamp(1.9rem, 9.5vw, 2.5rem); }
    .h-cards { gap: 6px; }
    .h-card { padding: 16px 8px 12px; gap: 6px; border-radius: 16px; }
    .h-card-icon { width: 32px; height: 32px; font-size: 1rem; margin-bottom: 0; }
    .h-card-num { font-size: 1rem; }
    .h-card-lbl { font-size: 0.57rem; letter-spacing: 0.04em; }
    .h-stats { max-width: 100%; }
    .h-stat { padding: 14px 6px; }
    .h-stat-num { font-size: 0.95rem; }
    .h-stat-lbl { font-size: 0.57rem; }
    .h-stats { grid-template-columns: repeat(2, 1fr); }
    .h-stat:nth-child(3) { border-block-start: 1px solid rgba(255,255,255,0.06); }
    .h-stat:nth-child(5) { border-block-start: 1px solid rgba(255,255,255,0.06); }
}

/* ================================================================
   HERO — Country Search Bar
   ================================================================ */

.h-search-wrap {
    width: 100%;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    opacity: 0;
    animation: hRise 0.9s 0.98s ease-out forwards;
    position: relative;
    z-index: 5;
}

.h-search-positioner {
    position: relative;
    width: 100%;
}

.h-search-bar {
    display: flex;
    align-items: center;
    width: 100%;
    background: rgba(6, 18, 10, 0.78);
    border: 1.5px solid rgba(46, 204, 113, 0.28);
    border-radius: 999px;
    padding: 5px 5px 5px 18px;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    box-shadow:
        0 0 0 1px rgba(46, 204, 113, 0.06) inset,
        0 28px 80px rgba(0, 0, 0, 0.5),
        0 0 140px rgba(46, 204, 113, 0.14);
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
[data-lang="ar"] .h-search-bar { padding: 5px 18px 5px 5px; }

.h-search-bar:focus-within {
    border-color: rgba(46, 204, 113, 0.56);
    box-shadow:
        0 0 0 1px rgba(46, 204, 113, 0.1) inset,
        0 28px 80px rgba(0, 0, 0, 0.52),
        0 0 0 5px rgba(46, 204, 113, 0.1);
}

.h-search-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.24);
    margin-inline-end: 12px;
    transition: color 0.2s;
    pointer-events: none;
}
.h-search-bar:focus-within .h-search-icon { color: var(--green); }

.h-search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    caret-color: var(--green);
    min-width: 0;
    padding: 10px 0;
    cursor: text;
}
[data-lang="ar"] .h-search-input {
    font-family: var(--font-ar);
    text-align: right;
}
.h-search-input::placeholder { color: rgba(255, 255, 255, 0.26); }

.h-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 12px 22px;
    font-size: 0.88rem;
    font-weight: 800;
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: none;
    letter-spacing: -0.01em;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.h-search-btn:hover {
    background: var(--green-dark);
    transform: scale(1.03);
    box-shadow: 0 6px 24px rgba(46, 204, 113, 0.38);
}
.h-search-btn-arrow {
    transition: transform 0.2s var(--ease);
    flex-shrink: 0;
}
.h-search-btn:hover .h-search-btn-arrow { transform: translateX(3px); }
[data-lang="ar"] .h-search-btn:hover .h-search-btn-arrow { transform: translateX(-3px); }

/* Dropdown */
.h-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(6, 14, 9, 0.93);
    border: 1px solid rgba(46, 204, 113, 0.16);
    border-radius: 22px;
    overflow: hidden;
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(46, 204, 113, 0.05) inset;
    z-index: 30;
    max-height: 320px;
    overflow-y: auto;
    transform: translateY(-8px) scale(0.98);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
    scrollbar-width: thin;
    scrollbar-color: rgba(46,204,113,0.2) transparent;
}
.h-search-dropdown::-webkit-scrollbar { width: 4px; }
.h-search-dropdown::-webkit-scrollbar-track { background: transparent; }
.h-search-dropdown::-webkit-scrollbar-thumb { background: rgba(46,204,113,0.22); border-radius: 2px; }
.h-search-dropdown.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

/* Result rows */
.h-search-result {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.15s;
}
.h-search-result:last-child { border-bottom: none; }
.h-search-result:hover,
.h-search-result.hs-active { background: rgba(46, 204, 113, 0.08); }

.h-search-flag { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }

.h-search-info { flex: 1; min-width: 0; }
.h-search-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.h-search-sub {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 2px;
    letter-spacing: 0.02em;
}
.h-search-price {
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--green);
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.18);
    border-radius: 999px;
    padding: 4px 12px;
    white-space: nowrap;
    flex-shrink: 0;
}
.h-search-empty {
    padding: 28px 20px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}
.h-search-loading {
    padding: 22px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.3);
}
.h-search-spinner {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(46, 204, 113, 0.18);
    border-top-color: var(--green);
    border-radius: 50%;
    animation: hsSpin 0.75s linear infinite;
    flex-shrink: 0;
}
@keyframes hsSpin { to { transform: rotate(360deg); } }

/* Search label (above bar) */
.h-search-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.32);
    text-transform: uppercase;
    letter-spacing: 0.13em;
    text-align: center;
    margin-bottom: 2px;
}
[data-theme="light"] .h-search-label { color: rgba(0, 0, 0, 0.38); }
[data-lang="ar"] .h-search-label { letter-spacing: 0.04em; }

/* Hint */
.h-search-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.22);
    text-align: center;
    line-height: 1.65;
}
.h-search-hint strong {
    color: rgba(255, 255, 255, 0.44);
    font-weight: 600;
}

/* Quick-select chips */
.h-search-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    width: 100%;
    padding-inline: 2px;
}
.h-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    font-family: inherit;
    cursor: none;
    white-space: nowrap;
    transition: all 0.2s var(--ease);
}
[data-lang="ar"] .h-chip { font-family: var(--font-ar); }
.h-chip:hover {
    background: rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.32);
    color: rgba(255, 255, 255, 0.88);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.15);
}
.h-chip-flag { font-size: 1rem; line-height: 1; }
[data-theme="light"] .h-chip {
    background: rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.28);
    color: rgba(15, 26, 18, 0.72);
}
[data-theme="light"] .h-chip:hover {
    background: rgba(46, 204, 113, 0.18);
    border-color: rgba(39, 174, 96, 0.45);
    color: rgba(15, 26, 18, 0.92);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.12);
}

/* ── Light mode ────────────────────────────────────────────────── */
[data-theme="light"] .h-search-bar {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(46, 204, 113, 0.22);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 20px 64px rgba(0, 0, 0, 0.07),
        0 0 100px rgba(46, 204, 113, 0.07);
}
[data-theme="light"] .h-search-bar:focus-within {
    border-color: rgba(46, 204, 113, 0.5);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 20px 64px rgba(0, 0, 0, 0.09),
        0 0 0 4px rgba(46, 204, 113, 0.1);
}
[data-theme="light"] .h-search-icon { color: rgba(15, 26, 18, 0.28); }
[data-theme="light"] .h-search-bar:focus-within .h-search-icon { color: var(--green-dark); }
[data-theme="light"] .h-search-input { color: #0F1A12; }
[data-theme="light"] .h-search-input::placeholder { color: rgba(15, 26, 18, 0.32); }
[data-theme="light"] .h-search-btn { background: var(--green-dark); }
[data-theme="light"] .h-search-btn:hover { background: #1b7a3c; box-shadow: 0 6px 24px rgba(39,174,96,0.32); }
[data-theme="light"] .h-search-dropdown {
    background: rgba(252, 255, 253, 0.97);
    border-color: rgba(46, 204, 113, 0.14);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.11),
        0 0 0 1px rgba(0, 0, 0, 0.035) inset;
}
[data-theme="light"] .h-search-result { border-bottom-color: rgba(0, 0, 0, 0.04); }
[data-theme="light"] .h-search-result:hover,
[data-theme="light"] .h-search-result.hs-active { background: rgba(39, 174, 96, 0.07); }
[data-theme="light"] .h-search-name { color: #0F1A12; }
[data-theme="light"] .h-search-sub { color: rgba(15, 26, 18, 0.38); }
[data-theme="light"] .h-search-price {
    color: var(--green-dark);
    background: rgba(39, 174, 96, 0.09);
    border-color: rgba(39, 174, 96, 0.18);
}
[data-theme="light"] .h-search-empty,
[data-theme="light"] .h-search-loading { color: rgba(15, 26, 18, 0.4); }
[data-theme="light"] .h-search-spinner {
    border-color: rgba(39, 174, 96, 0.18);
    border-top-color: var(--green-dark);
}
[data-theme="light"] .h-search-hint { color: rgba(15, 26, 18, 0.28); }
[data-theme="light"] .h-search-hint strong { color: rgba(15, 26, 18, 0.52); }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .h-search-wrap { margin-bottom: 32px; gap: 10px; }
    .h-search-bar { padding: 4px 4px 4px 16px; }
    [data-lang="ar"] .h-search-bar { padding: 4px 16px 4px 4px; }
    .h-search-input { font-size: 0.88rem; padding: 9px 0; }
    .h-search-btn { padding: 11px 16px; font-size: 0.82rem; gap: 5px; }
    .h-search-btn .lang-en,
    .h-search-btn .lang-ar { display: none; }
    .h-search-btn-arrow { display: block !important; }
    .h-search-hint { font-size: 0.72rem; }
}
@media (max-width: 440px) {
    .h-search-bar { padding: 4px 4px 4px 14px; }
    [data-lang="ar"] .h-search-bar { padding: 4px 14px 4px 4px; }
    .h-search-btn { padding: 10px 14px; }
    .h-search-hint { font-size: 0.69rem; }
}

/* ================================================================
   COUNTRIES TICKER
   ================================================================ */
.ticker {
    position: relative;
    z-index: 2;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(46,204,113,0.12);
    overflow: hidden;
    padding: 14px 0;
    /* Must be LTR so the overflow container anchors from the left edge.
       In RTL the overflow window starts from the right end of the track,
       causing the loop to start mid-track and appear to vanish/respawn. */
    direction: ltr;
}
.ticker-inner {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: tickerScroll 30s linear infinite;
    /* Force LTR so duplicated items sit correctly for seamless loop in both EN and AR */
    direction: ltr;
}
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 28px;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    white-space: nowrap;
    border-inline-end: 1px solid rgba(255,255,255,0.08);
}
.ticker-item:last-child { border-inline-end: none; }
.ticker-item span:first-child { font-size: 1.1rem; }

[data-theme="light"] .ticker {
    background: rgba(46,204,113,0.05);
    border-top: 1px solid rgba(46,204,113,0.25);
}
[data-theme="light"] .ticker-item {
    color: rgba(7,26,14,0.55);
    border-inline-end-color: rgba(46,204,113,0.18);
}

/* ================================================================
   FEATURES — Moyasar 3-col grid
   ================================================================ */
.features {
    padding: 120px 0;
    background: var(--bg);
    border-radius: 0 0 64px 64px;
    overflow: hidden;
}
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    display: block;
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}
.section-sub {
    font-size: clamp(0.88rem, 2vw, 1rem);
    line-height: 1.75;
    color: var(--ink-muted);
    max-width: 500px;
}
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-inline: auto; }

/* Moyasar-style feature grid: shared border lines between cards */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.feat-card {
    padding: 44px 40px;
    border-inline-end: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.25s var(--ease);
    position: relative;
}
.feat-card:hover { background: rgba(46,204,113,0.04); }
/* Last card in each row — no inline-end border (works in both LTR & RTL) */
.feat-card:nth-child(3n) { border-inline-end: none; }
/* Last row cards — no bottom border */
.feat-card:nth-child(n+4) { border-bottom: none; }

.feat-icon {
    width: 48px; height: 48px;
    background: rgba(46,204,113,0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--green);
    margin-bottom: 24px;
}
.feat-icon svg { width: 22px; height: 22px; }
.feat-icon-emoji { font-size: 1.5rem; line-height: 1; }
.feat-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--ink);
}
.feat-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--ink-muted);
}

/* ================================================================
   HOW IT WORKS — Moyasar sticky-scroll layout
   ================================================================ */
.how {
    padding: 120px 0;
    background: var(--bg);
    position: relative;
    border-radius: 0 0 64px 64px;
}
.how::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(46,204,113,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46,204,113,0.04) 1px, transparent 1px);
    background-size: 56px 56px;
}
.how .section-eyebrow { color: var(--green); }
.how .section-title { color: var(--white); }
.how .section-sub { color: rgba(255,255,255,0.45); max-width: 380px; }

/* Two-column: sticky left, scrollable right */
.how-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}
.how-left {
    position: sticky;
    top: 100px;
}
.how-left .section-head { margin-bottom: 40px; }

/* Step nav buttons */
.how-nav { display: flex; flex-direction: column; }
.how-nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    border-left: none; border-right: none; border-top: none;
    background: none;
    font-family: inherit;
    text-align: start;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: color 0.25s var(--ease);
    width: 100%;
}
[data-lang="ar"] .how-nav-item { text-align: end; }
.how-nav-item:last-child { border-bottom: none; }
.how-nav-item.active { color: var(--green); }
.how-nav-item:hover { color: rgba(255,255,255,0.7); }
.how-nav-item.active:hover { color: var(--green); }
.how-nav-num {
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-en);
    letter-spacing: 0.08em;
    min-width: 24px;
    flex-shrink: 0;
}
.how-nav-label { font-size: 0.92rem; font-weight: 600; line-height: 1.3; }

/* Right scrollable panels */
.how-right { display: flex; flex-direction: column; }
.how-panel {
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.how-panel:last-child { border-bottom: none; }
.how-panel-num {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    font-family: var(--font-en);
    margin-bottom: 20px;
}
.how-panel h3 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.how-panel p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.45);
    max-width: 460px;
}
.how-panel-icon {
    width: 56px; height: 56px;
    background: rgba(46,204,113,0.12);
    border: 1px solid rgba(46,204,113,0.2);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--green);
    margin-bottom: 28px;
}
.how-panel-icon svg { width: 26px; height: 26px; }

/* ================================================================
   TESTIMONIALS — scrolling marquee (restored)
   ================================================================ */

/* ── Signal section wrapper ── */
.signal-section {
    padding: 100px 0 0;
    background: var(--section-alt);
    overflow: hidden;
    border-radius: 0 0 64px 64px;
}
.signal-section .section-head { text-align: center; }
.signal-section .section-sub  { margin: 0 auto; max-width: 560px; }

/* ── Stat grid ── */
.sig-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 60px;
}
.sig-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 32px 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
                box-shadow 0.3s var(--ease);
}
.sig-card:hover {
    border-color: rgba(46,204,113,0.28);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* ── Glyph area ── */
.sig-card-glyph {
    height: 44px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* ── Big number ── */
.sig-card-num {
    font-size: clamp(2.6rem, 3.5vw, 3.6rem);
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    font-family: var(--font-en); /* always latin numerals */
    letter-spacing: -0.03em;
}

/* ── Label & sub ── */
.sig-card-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.01em;
    margin-top: 4px;
}
.sig-card-sub {
    font-size: 0.76rem;
    color: var(--ink-muted);
    line-height: 1.55;
}

/* ── Animated bottom accent bar ── */
.sig-card-bar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.7s var(--ease-out) 0.4s;
}
[data-lang="ar"] .sig-card-bar {
    transform-origin: right;
    background: linear-gradient(270deg, var(--green), transparent);
}
.sig-card.in .sig-card-bar { transform: scaleX(1); }

/* ── Orbit (card 1: globe) ── */
.sig-orbit {
    position: relative;
    width: 40px; height: 40px;
}
.sig-orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(46,204,113,0.28);
}
.sig-orbit-ring-1 { animation: sigOrbit 5s linear infinite; }
.sig-orbit-ring-2 {
    animation: sigOrbit 9s linear infinite reverse;
    inset: 20%;
}
.sig-orbit-dot {
    position: absolute;
    width: 6px; height: 6px;
    background: var(--green);
    border-radius: 50%;
    top: -3px; left: calc(50% - 3px);
    box-shadow: 0 0 7px var(--green);
    animation: sigOrbit 5s linear infinite;
    transform-origin: 3px calc(20px + 3px);
}
@keyframes sigOrbit {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── Signal bars (card 2: activation) ── */
.sig-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 36px;
}
.sig-bar {
    width: 7px;
    border-radius: 3px 3px 0 0;
    background: rgba(46,204,113,0.22);
    animation: sigBarPulse 1.6s ease-in-out infinite;
}
.sig-bar-1 { height: 30%; animation-delay: 0s;    }
.sig-bar-2 { height: 55%; animation-delay: 0.22s; }
.sig-bar-3 { height: 78%; animation-delay: 0.44s; }
.sig-bar-4 { height: 100%; animation-delay: 0.66s; }
@keyframes sigBarPulse {
    0%, 100% { background: rgba(46,204,113,0.22); }
    50%       { background: var(--green); box-shadow: 0 0 8px rgba(46,204,113,0.5); }
}

/* ── Pulse rings (card 3: travelers) ── */
.sig-pulse-wrap {
    position: relative;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
}
.sig-pulse-core {
    width: 10px; height: 10px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--green);
    position: relative; z-index: 2;
}
.sig-pulse-ring-a,
.sig-pulse-ring-b {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(46,204,113,0.6);
    animation: sigPulseRing 2.2s ease-out infinite;
}
.sig-pulse-ring-a { width: 22px; height: 22px; animation-delay: 0s;    }
.sig-pulse-ring-b { width: 38px; height: 38px; animation-delay: 0.8s;  }
@keyframes sigPulseRing {
    0%   { opacity: 0.8; transform: scale(0.5); }
    100% { opacity: 0;   transform: scale(1);   }
}

/* ── Price split (card 4: cheaper) ── */
.sig-split {
    display: flex;
    gap: 8px;
    align-items: stretch;
    height: 40px;
}
.sig-split-old,
.sig-split-new {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 7px;
    padding: 0 10px;
}
.sig-split-old {
    background: rgba(255,255,255,0.05);
    flex: 2;
}
.sig-split-new {
    background: rgba(46,204,113,0.14);
    border: 1px solid rgba(46,204,113,0.28);
    flex: 1;
}
.sig-split-label {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.sig-split-new .sig-split-label { color: var(--green); }
.sig-split-price {
    font-size: 0.92rem;
    font-weight: 800;
    font-family: var(--font-en);
    color: var(--ink-mid);
    line-height: 1.2;
}
.sig-split-new .sig-split-price { color: var(--green); }

/* ── Journey strip ── */
.sig-journey {
    margin-top: 80px;
    padding: 70px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}
.sig-journey-connector {
    position: absolute;
    top: 50%; left: 60px; right: 60px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}
.sig-journey-svg {
    width: 100%; height: 2px;
    overflow: visible;
}
.sig-journey-line {
    stroke: var(--green);
    stroke-width: 1.5;
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    opacity: 0.25;
    transition: stroke-dashoffset 1.4s var(--ease-out);
}
.sig-journey.in .sig-journey-line { stroke-dashoffset: 0; }

.sig-moments {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}
.sig-moment {
    text-align: center;
    padding: 28px 24px;
}
.sig-moment-node {
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 2px solid var(--green);
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
}
.sig-moment-node-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 6px var(--green);
}
.sig-moment-step {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--green);
    margin-bottom: 12px;
    font-family: var(--font-en);
    opacity: 0.65;
}
.sig-moment-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    display: block;
    line-height: 1;
}
.sig-moment-title {
    font-size: clamp(1.5rem, 2.2vw, 2.1rem);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -0.025em;
}
[data-lang="ar"] .sig-moment-title { font-family: var(--font-ar); }
.sig-moment-body {
    font-size: 0.875rem;
    line-height: 1.72;
    color: var(--ink-mid);
    max-width: 240px;
    margin: 0 auto;
}
[data-lang="ar"] .sig-moment-body { font-family: var(--font-ar); max-width: 260px; }

/* ── Flag ticker ── */
.sig-flags-outer {
    overflow: hidden;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    direction: ltr;
    position: relative;
}
.sig-flags-outer::before,
.sig-flags-outer::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.sig-flags-outer::before { left: 0; background: linear-gradient(90deg, var(--section-alt), transparent); }
.sig-flags-outer::after  { right: 0; background: linear-gradient(270deg, var(--section-alt), transparent); }
.sig-flags-track {
    display: flex;
    gap: 0;
    width: max-content;
    direction: ltr;
}
.sig-flag-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 26px;
    border-right: 1px solid var(--border);
    white-space: nowrap;
}
.sig-flag-emoji { font-size: 1.15rem; line-height: 1; }
.sig-flag-name {
    font-size: 0.78rem;
    color: var(--ink-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ── Light mode ── */
[data-theme="light"] .signal-section  { background: #F3F9F5; }
[data-theme="light"] .sig-flags-outer::before { background: linear-gradient(90deg, #F3F9F5, transparent); }
[data-theme="light"] .sig-flags-outer::after  { background: linear-gradient(270deg, #F3F9F5, transparent); }
[data-theme="light"] .sig-journey     { background: #fff; }
[data-theme="light"] .sig-card        { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
[data-theme="light"] .sig-split-old   { background: rgba(0,0,0,0.04); }
[data-theme="light"] .sig-card:hover  { box-shadow: 0 16px 40px rgba(0,0,0,0.10); }

/* ================================================================
   FAQ — accordion (Moyasar style)
   ================================================================ */
.faq {
    padding: 100px 0;
    background: var(--bg);
    border-radius: 0 0 64px 64px;
    overflow: hidden;
}
.faq .section-head { text-align: center; }
.faq-list {
    max-width: 760px;
    margin: 56px auto 0;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: start;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    font-family: inherit;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1.4;
}
[data-lang="ar"] .faq-q { text-align: end; }
.faq-q:hover { color: var(--green); }
.faq-q-icon {
    width: 22px; height: 22px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease), border-color 0.2s, background 0.2s;
    color: var(--ink-muted);
    font-size: 1rem;
    font-style: normal;
    line-height: 1;
}
.faq-item.open .faq-q-icon {
    transform: rotate(45deg);
    border-color: var(--green);
    background: rgba(46,204,113,0.08);
    color: var(--green);
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
    padding-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--ink-mid);
}

/* ================================================================
   DOWNLOAD CTA
   ================================================================ */
.cta-section {
    padding: 120px 0;
    background: var(--section-alt);
    border-radius: 64px 64px 0 0;
    overflow: hidden;
}
.cta-block {
    background: var(--green-mid);
    border-radius: var(--r-xl);
    overflow: hidden;
    position: relative;
    text-align: center;
}
/* Grain overlay */
.cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}
/* Decorative orbs */
.cta-block::after {
    content: '';
    position: absolute;
    top: -120px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(46,204,113,0.12), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.cta-text-side {
    padding: 90px 56px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 680px;
    margin: 0 auto;
}
.cta-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(46,204,113,0.7);
    display: block;
    margin-bottom: 16px;
}
.cta-title {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.cta-sub {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    margin-bottom: 44px;
    max-width: 460px;
}
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    background: #080D08;
    padding: 72px 0 0;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.f-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 14px;
    font-family: var(--font-en);
}
.f-logo-mark {
    width: 30px; height: 30px;
    background: var(--green);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; font-weight: 900; color: var(--white);
    font-family: var(--font-en);
    flex-shrink: 0;
}
.footer-brand > p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.3);
    line-height: 1.7;
    max-width: 260px;
    margin-bottom: 28px;
}
.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.footer-col-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    margin-bottom: 18px;
}
.footer-col ul li + li { margin-top: 12px; }
.footer-col a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--green); }
.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}
.footer-social a {
    width: 34px; height: 34px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.35);
    transition: all 0.2s;
}
.footer-social a svg { width: 15px; height: 15px; }
.footer-social a:hover { border-color: var(--green); color: var(--green); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.2);
}
.footer-made { font-style: italic; }
.footer-legal {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-legal a {
    color: rgba(255,255,255,0.25);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal a:hover { color: var(--green); }
.footer-legal-sep { color: rgba(255,255,255,0.15); }
[data-theme="light"] .footer-legal a { color: rgba(15,26,18,0.35); }
[data-theme="light"] .footer-legal a:hover { color: var(--green); }
[data-theme="light"] .footer-legal-sep { color: rgba(15,26,18,0.2); }

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in {
    opacity: 1;
    transform: none;
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

@keyframes riseUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}

/* ================================================================
   ABOUT
   ================================================================ */
.about {
    padding: 100px 0;
    background: var(--section-alt);
    border-radius: 0 0 64px 64px;
    overflow: hidden;
}
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 72px);
    align-items: center;
}
.about-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ink-mid);
    margin-bottom: 16px;
}
.about-mission {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    border-inline-start: 3px solid var(--green);
    padding-inline-start: 16px;
    padding-block: 4px;
    margin-top: 24px;
    line-height: 1.6;
    background: rgba(46,204,113,0.05);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.astat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 28px 24px;
    text-align: center;
}
.astat-num {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    color: var(--ink);
    font-family: var(--font-en);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.astat-label {
    font-size: 0.8rem;
    color: var(--ink-muted);
    font-weight: 500;
}

/* ================================================================
   HOW IT WORKS — extra note
   ================================================================ */
.how-note {
    margin-top: 52px;
    text-align: center;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.04em;
}

/* ================================================================
   WHAT MAKES US DIFFERENT
   ================================================================ */
.diff {
    padding: 100px 0;
    background: var(--section-alt);
    border-radius: 0 0 64px 64px;
    overflow: hidden;
    background-image: radial-gradient(ellipse 70% 50% at 50% 60%, rgba(46,204,113,0.045) 0%, transparent 70%);
}
.diff .section-head.center { text-align: center; }

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 60px;
}

.diff-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 26px;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s;
}
.diff-item::after {
    content: '';
    position: absolute;
    inset-inline-start: 0; top: 0;
    width: 3px; height: 100%;
    background: var(--diff-accent, var(--green));
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: opacity 0.28s;
}
.diff-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 52px var(--diff-shadow, rgba(46,204,113,0.14));
    border-color: var(--diff-border, rgba(46,204,113,0.28));
}
.diff-item:hover::after { opacity: 1; }

/* Per-card accent colours */
.diff-item--green  { --diff-accent: #2ecc71; --diff-border: rgba(46,204,113,0.3);  --diff-shadow: rgba(46,204,113,0.14); }
.diff-item--rose   { --diff-accent: #fb7185; --diff-border: rgba(251,113,133,0.28); --diff-shadow: rgba(251,113,133,0.13); }
.diff-item--sky    { --diff-accent: #38bdf8; --diff-border: rgba(56,189,248,0.28);  --diff-shadow: rgba(56,189,248,0.12); }
.diff-item--amber  { --diff-accent: #fbbf24; --diff-border: rgba(251,191,36,0.3);  --diff-shadow: rgba(251,191,36,0.13); }
.diff-item--violet { --diff-accent: #a78bfa; --diff-border: rgba(167,139,250,0.28); --diff-shadow: rgba(167,139,250,0.13); }
.diff-item--teal   { --diff-accent: #2dd4bf; --diff-border: rgba(45,212,191,0.28);  --diff-shadow: rgba(45,212,191,0.12); }

/* Icon container */
.diff-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--diff-accent, var(--green)) 12%, transparent);
    color: var(--diff-accent, var(--green));
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform 0.32s var(--spring);
    margin-bottom: 2px;
}
.diff-item:hover .diff-icon { transform: scale(1.1) rotate(-4deg); }

.diff-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.25;
}
.diff-desc {
    font-size: 0.83rem;
    line-height: 1.68;
    color: var(--ink-muted);
    margin: 0;
    flex: 1;
}

@media (max-width: 768px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .diff-grid { grid-template-columns: 1fr; gap: 12px; } }

/* ================================================================
   APP SHOWCASE — sticky scroll storytelling
   ================================================================ */
.appshow-sect {
    background: var(--bg);
    border-radius: 0 0 64px 64px;
    padding-bottom: 100px;
    position: relative;
}
.appshow-sect::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(46,204,113,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46,204,113,0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}

/* ── Section intro header ── */
.appshow-intro {
    padding: 100px 0 20px;
    text-align: center;
}
.appshow-intro .section-eyebrow { color: var(--green); }
.appshow-title { color: #fff !important; }
.appshow-intro .section-sub { color: rgba(255,255,255,0.45); max-width: 460px; margin: 12px auto 0; }

/* ── Two-column layout ── */
.appshow-body {
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    gap: 60px;
}

/* ── Panels column — natural document flow ── */
.appshow-panels {
    order: 1;
    flex: 1;
    min-width: 0;
    position: relative;
    padding-inline-start: 32px;
}

/* Timeline vertical line */
.appshow-panels::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 15vh;
    bottom: 15vh;
    width: 1px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(46,204,113,0.25) 12%,
        rgba(46,204,113,0.25) 88%,
        transparent 100%);
}

.appshow-panel {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding: 60px 0;
    position: relative;
    opacity: 0.08;
    transform: translateX(-20px);
    transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.appshow-panel.active {
    opacity: 1;
    transform: none;
}
[dir="rtl"] .appshow-panel:not(.active) { transform: translateX(20px); }

/* Timeline dot — appears on active panel */
.appshow-panel::before {
    content: '';
    position: absolute;
    inset-inline-start: -36px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(46,204,113,0.15), 0 0 16px rgba(46,204,113,0.5);
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s;
}
.appshow-panel.active::before {
    transform: translateY(-50%) scale(1);
}

/* Large watermark step number */
.appshow-panel-num {
    position: absolute;
    font-size: clamp(100px, 16vw, 160px);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.04);
    inset-inline-start: -16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.06em;
    line-height: 1;
    font-family: var(--font-en);
    z-index: 0;
    transition: -webkit-text-stroke-color 0.6s ease;
}
.appshow-panel.active .appshow-panel-num {
    -webkit-text-stroke-color: rgba(46,204,113,0.1);
}

/* Step counter eyebrow */
.appshow-step-num {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: var(--green);
    font-family: var(--font-en);
    position: relative;
    z-index: 1;
}

/* Main headline — big and bold */
.appshow-step-title {
    font-size: clamp(2.2rem, 3.8vw, 3.4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.08;
    margin: 0;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.appshow-step-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.42);
    margin: 0;
    max-width: 400px;
    position: relative;
    z-index: 1;
}

/* Feature chips row */
.appshow-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.appshow-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 0.76rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    transition: background 0.4s, border-color 0.4s, color 0.4s;
}
.appshow-chip::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(46,204,113,0.4);
    flex-shrink: 0;
    transition: background 0.4s;
}
.appshow-panel.active .appshow-chip {
    background: rgba(46,204,113,0.07);
    border-color: rgba(46,204,113,0.18);
    color: rgba(255,255,255,0.72);
}
.appshow-panel.active .appshow-chip::before {
    background: var(--green);
}

/* Screen tag badge */
.appshow-step-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(46,204,113,0.65);
    background: rgba(46,204,113,0.07);
    border: 1px solid rgba(46,204,113,0.14);
    border-radius: 20px;
    padding: 4px 12px;
    width: fit-content;
    position: relative;
    z-index: 1;
}
.appshow-step-tag::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
}

/* ── Phone column — sticky on desktop ── */
.appshow-phone-col {
    order: 2;
    flex-shrink: 0;
    position: sticky;
    top: calc(50vh - 307px);
    align-self: flex-start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

/* Phone wrap — relative so float card can anchor to it */
.appshow-phone-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Ambient glow behind phone */
.appshow-phone-glow {
    position: absolute;
    width: 460px; height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46,204,113,0.3), transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(60px);
    transition: background 0.8s ease;
    pointer-events: none;
    z-index: 0;
}

/* Floating stat bubble */
.appshow-float-stat {
    position: absolute;
    top: 48px;
    inset-inline-end: -82px;
    background: rgba(18,18,18,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 86px;
    z-index: 4;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.appshow-float-stat.changing {
    opacity: 0;
    transform: translateY(6px);
}
.appshow-float-val {
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--green);
    font-family: var(--font-en);
    line-height: 1;
    letter-spacing: -0.02em;
}
.appshow-float-label {
    font-size: 0.67rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Progress track (side of phone) */
.appshow-progress-track {
    position: absolute;
    inset-inline-start: -28px;
    top: 10%; height: 80%;
    width: 2px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
    z-index: 2;
}
.appshow-progress-fill {
    width: 100%;
    background: linear-gradient(180deg, var(--green) 0%, rgba(46,204,113,0.35) 100%);
    border-radius: 2px;
    transition: height 0.5s cubic-bezier(0.4,0,0.2,1);
    height: calc(100% / 7);
}

/* Phone frame */
.phone-frame {
    width: 285px;
    height: 614px;
    background: #0e0e0e;
    border-radius: 52px;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.04),
        0 0 0 1px rgba(0,0,0,0.6),
        0 70px 140px rgba(0,0,0,0.9),
        0 28px 56px rgba(0,0,0,0.55);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.phone-di { display: none; }
.phone-screen {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    overflow: hidden;
    background: #111;
}
.phone-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.phone-img.active {
    opacity: 1;
    transform: scale(1);
}

/* Step dots */
.appshow-dots {
    display: flex;
    gap: 7px;
    z-index: 2;
}
.appshow-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transition: background 0.3s, width 0.3s, border-radius 0.3s;
}
.appshow-dot.active {
    background: var(--green);
    width: 22px;
    border-radius: 3px;
}

/* ================================================================
   DESTINATIONS MARQUEE
   ================================================================ */
.marquee-sect {
    background: var(--section-alt);
    border-radius: 0 0 64px 64px;
    overflow: hidden;
    border-top: 1px solid rgba(46,204,113,0.08);
    padding: 0 0 80px;
    overflow: hidden;
}
.marquee-head {
    text-align: center;
    padding: 64px 0 40px;
}
.marquee-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(46,204,113,0.65);
    margin: 0;
}

.marquee-track {
    overflow: hidden;
    padding: 4px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-track + .marquee-track { margin-top: 10px; }

.marquee-inner {
    display: flex;
    width: max-content;
}
.marquee-track--fwd .marquee-inner      { animation: mq-fwd  38s linear infinite; }
.marquee-track--rev .marquee-inner      { animation: mq-rev  44s linear infinite; }
.marquee-track--slow .marquee-inner     { animation: mq-fwd  58s linear infinite; }
.marquee-sect:hover .marquee-inner      { animation-play-state: paused; }

.marquee-inner span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 26px;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.38);
    white-space: nowrap;
    border-inline-end: 1px solid rgba(255,255,255,0.05);
    transition: color 0.2s;
    cursor: default;
}
.marquee-inner span:hover { color: rgba(255,255,255,0.78); }

@keyframes mq-fwd {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes mq-rev {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ── Responsive ── */
@media (max-width: 1060px) {
    .appshow-body        { gap: 40px; padding: 0 40px; }
    .phone-frame         { width: 260px; height: 532px; border-radius: 46px; }
    .phone-screen        { border-radius: 44px; }
    .appshow-phone-col   { top: calc(50vh - 266px); }
    .appshow-float-stat  { inset-inline-end: -68px; }
}
@media (max-width: 800px) {
    .appshow-body {
        flex-direction: column;
        gap: 0;
        padding: 0 24px;
    }
    .appshow-phone-col {
        order: 0;
        position: sticky;
        top: 60px;
        align-self: stretch;
        justify-content: center;
        background: #080808;
        padding: 20px 0 16px;
        z-index: 10;
    }
    .appshow-float-stat     { display: none; }
    .appshow-progress-track { display: none; }
    .appshow-panels {
        order: 1;
        padding-inline-start: 20px;
    }
    .appshow-panels::before { display: none; }
    .appshow-panel {
        min-height: 65vh;
        opacity: 1;
        transform: none;
        padding: 36px 0;
    }
    .appshow-panel::before  { display: none; }
    .appshow-panel-num      { font-size: 80px; }
    .appshow-step-title     { font-size: 1.65rem; }
    .phone-frame            { width: 180px; height: 368px; border-radius: 36px; }
    .phone-screen           { border-radius: 34px; }
    .appshow-phone-glow     { width: 240px; height: 240px; }
    .appshow-dots           { gap: 5px; }
}

/* ── App showcase + marquee — light mode ── */
[data-theme="light"] .appshow-sect {
    background: var(--bg);
}
[data-theme="light"] .appshow-sect::before {
    background-image:
        linear-gradient(rgba(39,174,96,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(39,174,96,0.07) 1px, transparent 1px);
}
[data-theme="light"] .appshow-step-title { color: #0C1A0F; }
[data-theme="light"] .appshow-step-desc  { color: rgba(15,26,18,0.52); }
[data-theme="light"] .appshow-panel-num  { -webkit-text-stroke-color: rgba(15,26,18,0.05); }
[data-theme="light"] .appshow-panel.active .appshow-panel-num { -webkit-text-stroke-color: rgba(39,174,96,0.14); }
[data-theme="light"] .appshow-panels::before {
    background: linear-gradient(to bottom, transparent 0%, rgba(39,174,96,0.22) 12%, rgba(39,174,96,0.22) 88%, transparent 100%);
}
[data-theme="light"] .appshow-chip {
    background: rgba(15,26,18,0.04);
    border-color: rgba(15,26,18,0.08);
    color: rgba(15,26,18,0.55);
}
[data-theme="light"] .appshow-panel.active .appshow-chip {
    background: rgba(39,174,96,0.08);
    border-color: rgba(39,174,96,0.2);
    color: rgba(15,26,18,0.75);
}
[data-theme="light"] .appshow-float-stat {
    background: rgba(255,255,255,0.9);
    border-color: rgba(15,26,18,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
[data-theme="light"] .appshow-float-label { color: rgba(15,26,18,0.45); }
[data-theme="light"] .appshow-progress-track { background: rgba(15,26,18,0.07); }
[data-theme="light"] .appshow-dot { background: rgba(15,26,18,0.15); }
[data-theme="light"] .appshow-dot.active { background: var(--green-dark); }
[data-theme="light"] .appshow-title { color: #0C1A0F !important; }
[data-theme="light"] .phone-frame {
    border-color: rgba(15,26,18,0.12);
    box-shadow:
        inset 0 0 0 1px rgba(15,26,18,0.03),
        0 0 0 1px rgba(0,0,0,0.06),
        0 40px 80px rgba(0,0,0,0.18),
        0 16px 32px rgba(0,0,0,0.1);
}
[data-theme="light"] .phone-screen { background: #e8f0ec; }
[data-theme="light"] .appshow-phone-col { background: var(--bg); }
[data-theme="light"] .marquee-sect { background: var(--section-alt); border-top-color: rgba(39,174,96,0.1); }
[data-theme="light"] .marquee-inner span { color: rgba(15,26,18,0.38); border-inline-end-color: rgba(15,26,18,0.05); }
[data-theme="light"] .marquee-inner span:hover { color: rgba(15,26,18,0.75); }

/* ================================================================
   FUTURE SERVICES — Spotlight + Roadmap
   ================================================================ */
.future-sect {
    padding: 100px 0;
    background: var(--section-alt);
    overflow: hidden;
    border-radius: 0 0 64px 64px;
}
.future-sect .section-head.center { text-align: center; }
.future-sect .section-sub { text-align: center; max-width: 580px; margin: 16px auto 0; }

/* ── Spotlight card ── */
.fspot {
    display: grid;
    grid-template-columns: 300px 1fr;
    margin-top: 60px;
    background: var(--surface);
    border: 1px solid rgba(46,204,113,0.25);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 0 1px rgba(46,204,113,0.06) inset, 0 24px 64px rgba(0,0,0,0.22);
}
.fspot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(46,204,113,0.06) 0%, transparent 55%);
    pointer-events: none;
    border-radius: inherit;
}
.fspot-visual {
    background: radial-gradient(circle at center, rgba(46,204,113,0.18), transparent 70%);
    border-inline-end: 1px solid rgba(46,204,113,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}
.fspot-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(46,204,113,0.2);
    animation: fspotPulse 3.5s ease-in-out infinite;
}
.fspot-ring-1 { width: 100px; height: 100px; animation-delay: 0s; }
.fspot-ring-2 { width: 190px; height: 190px; animation-delay: 0.7s; }
.fspot-ring-3 { width: 300px; height: 300px; animation-delay: 1.4s; }
@keyframes fspotPulse {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}
.fspot-emoji {
    font-size: 4rem;
    position: relative;
    z-index: 1;
    animation: fspotFloat 4.5s ease-in-out infinite;
    filter: drop-shadow(0 8px 24px rgba(46,204,113,0.3));
}
@keyframes fspotFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}
.fspot-body {
    padding: 48px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}
.fspot-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
}
.fspot-pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green);
    position: relative;
    flex-shrink: 0;
}
.fspot-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--green);
    animation: fspotPing 1.6s ease-out infinite;
    opacity: 0;
}
@keyframes fspotPing {
    0% { opacity: 0.7; transform: scale(0.6); }
    100% { opacity: 0; transform: scale(2.8); }
}
.fspot-name {
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.15;
    margin: 0;
}
.fspot-desc {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--ink-muted);
    margin: 0;
    max-width: 500px;
}
.fspot-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 13px 26px;
    background: var(--green);
    color: #fff;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    width: fit-content;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 18px rgba(46,204,113,0.35);
}
.fspot-cta:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(46,204,113,0.45);
}
[data-lang="ar"] .fspot-cta svg { transform: scaleX(-1); }

/* ── Roadmap ── */
.froad {
    margin-top: 64px;
}
.froad-label {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 40px;
}
.froad-label-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.froad-items {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
}
/* Horizontal connecting line */
.froad-items::before {
    content: '';
    position: absolute;
    top: 27px;
    left: calc(10% + 28px);
    right: calc(10% + 28px);
    height: 2px;
    background: linear-gradient(90deg,
        rgba(46,204,113,0.6),
        rgba(46,204,113,0.25) 40%,
        rgba(46,204,113,0.1) 70%,
        rgba(46,204,113,0.06));
    border-radius: 2px;
    z-index: 0;
}
.froad-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 10px;
}
.froad-node {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--section-alt);
    border: 2px solid rgba(46,204,113,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.froad-node span {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--green);
}
.froad-item:hover .froad-node {
    border-color: var(--green);
    background: rgba(46,204,113,0.1);
    box-shadow: 0 0 0 4px rgba(46,204,113,0.12);
}
.froad-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 16px 22px;
    text-align: center;
    width: 100%;
    transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.froad-item:hover .froad-card {
    border-color: rgba(46,204,113,0.3);
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.22);
}
.froad-icon {
    font-size: 1.7rem;
    display: block;
    margin-bottom: 10px;
    transition: transform 0.3s var(--spring);
}
.froad-item:hover .froad-icon { transform: scale(1.18) translateY(-2px); }
.froad-name {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
    line-height: 1.3;
}
.froad-desc {
    font-size: 0.76rem;
    line-height: 1.6;
    color: var(--ink-muted);
    margin: 0;
}

/* Fspot responsive */
@media (max-width: 900px) {
    .fspot { grid-template-columns: 240px 1fr; }
}
@media (max-width: 768px) {
    .fspot { grid-template-columns: 1fr; }
    .fspot-visual {
        min-height: 200px;
        border-inline-end: none;
        border-bottom: 1px solid rgba(46,204,113,0.15);
    }
    .fspot-body { padding: 36px 28px; }
    /* Roadmap: horizontal scroll */
    .froad-items {
        grid-template-columns: repeat(5, 180px);
        overflow-x: auto;
        padding-bottom: 16px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .froad-items::-webkit-scrollbar { display: none; }
    .froad-items::before {
        left: calc(90px + 28px);
        right: calc(90px + 28px);
    }
}
@media (max-width: 480px) {
    .fspot-body { padding: 28px 20px; }
    .fspot-name { font-size: 1.3rem; }
}

/* ================================================================
   TARGET AUDIENCE — Persona Stripes
   ================================================================ */
/* ================================================================
   TARGET AUDIENCE — Bento Mosaic
   ================================================================ */
.audience-sect {
    padding: 100px 0;
    background: var(--bg);
    overflow: hidden;
    border-radius: 0 0 64px 64px;
}
.audience-sect .section-head.center { text-align: center; }

.aud-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 56px;
}

/* ── Base card ── */
.aud-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s;
}
.aud-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.28);
    border-color: rgba(255,255,255,0.1);
}
[data-theme="light"] .aud-card:hover { box-shadow: 0 20px 48px rgba(0,0,0,0.10); border-color: rgba(0,0,0,0.1); }

/* ── Icon container ── */
.aud-card-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform 0.32s var(--spring);
    margin-bottom: 4px;
}
.aud-card:hover .aud-card-icon { transform: scale(1.1) rotate(-4deg); }

.aud-icon--green  { background: rgba(46,204,113,0.13);  color: var(--green); }
.aud-icon--blue   { background: rgba(59,130,246,0.12);  color: #60a5fa; }
.aud-icon--amber  { background: rgba(245,158,11,0.12);  color: #fbbf24; }
.aud-icon--purple { background: rgba(168,85,247,0.12);  color: #c084fc; }
.aud-icon--rose   { background: rgba(244,63,94,0.10);   color: #fb7185; }
.aud-icon--teal   { background: rgba(20,184,166,0.12);  color: #2dd4bf; }
[data-theme="light"] .aud-icon--green  { background: rgba(39,174,96,0.12);   color: var(--green-dark); }
[data-theme="light"] .aud-icon--blue   { background: rgba(37,99,235,0.10);   color: #2563eb; }
[data-theme="light"] .aud-icon--amber  { background: rgba(217,119,6,0.10);   color: #d97706; }
[data-theme="light"] .aud-icon--purple { background: rgba(124,58,237,0.10);  color: #7c3aed; }
[data-theme="light"] .aud-icon--rose   { background: rgba(225,29,72,0.09);   color: #e11d48; }
[data-theme="light"] .aud-icon--teal   { background: rgba(13,148,136,0.09);  color: #0d9488; }

/* Eyebrow */
.aud-card-eye {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

/* Title */
.aud-card-title {
    font-size: 1.06rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.25;
    margin: 0;
}

/* Description */
.aud-card-desc {
    font-size: 0.83rem;
    line-height: 1.68;
    color: var(--ink-muted);
    margin: 0;
    flex: 1;
}

/* Tags */
.aud-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}
.aud-card-tags span {
    font-size: 0.66rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(46,204,113,0.09);
    border: 1px solid rgba(46,204,113,0.18);
    color: var(--green);
    white-space: nowrap;
}
[data-theme="light"] .aud-card-tags span {
    background: rgba(39,174,96,0.08);
    border-color: rgba(39,174,96,0.2);
    color: var(--green-dark);
}

/* ── Featured card (GCC) — 2 cols, horizontal ── */
.aud-card--featured {
    grid-column: span 2;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #071a0e 0%, #0a2414 55%, #071a0e 100%);
    border-color: rgba(46,204,113,0.18);
}
.aud-card--featured:hover {
    border-color: rgba(46,204,113,0.4);
    box-shadow: 0 24px 64px rgba(0,0,0,0.45);
}
.aud-feat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 32px 30px;
}
.aud-card--featured .aud-card-eye   { color: rgba(46,204,113,0.75); }
.aud-card--featured .aud-card-title { color: #fff; font-size: 1.18rem; }
.aud-card--featured .aud-card-desc  { color: rgba(255,255,255,0.48); }
.aud-card--featured .aud-card-tags span {
    background: rgba(46,204,113,0.1);
    border-color: rgba(46,204,113,0.2);
    color: rgba(255,255,255,0.6);
}
.aud-card--featured:hover .aud-card-icon { transform: scale(1.08) rotate(-4deg); }

.aud-feat-flags {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 28px 22px;
    width: 154px;
    flex-shrink: 0;
    align-content: center;
    border-inline-start: 1px solid rgba(46,204,113,0.1);
    background: rgba(46,204,113,0.025);
}
.aud-feat-flags span {
    font-size: 1.9rem;
    text-align: center;
    line-height: 1;
    opacity: 0.6;
    transition: transform 0.3s var(--spring), opacity 0.3s;
}
.aud-card--featured:hover .aud-feat-flags span { opacity: 0.88; }
.aud-card--featured:hover .aud-feat-flags span:nth-child(1) { transform: scale(1.15); transition-delay: 0.00s; }
.aud-card--featured:hover .aud-feat-flags span:nth-child(2) { transform: scale(1.15); transition-delay: 0.05s; }
.aud-card--featured:hover .aud-feat-flags span:nth-child(3) { transform: scale(1.15); transition-delay: 0.10s; }
.aud-card--featured:hover .aud-feat-flags span:nth-child(4) { transform: scale(1.15); transition-delay: 0.08s; }
.aud-card--featured:hover .aud-feat-flags span:nth-child(5) { transform: scale(1.15); transition-delay: 0.03s; }
.aud-card--featured:hover .aud-feat-flags span:nth-child(6) { transform: scale(1.15); transition-delay: 0.07s; }

/* ── Wide card (Frequent Fliers) — full 3 cols ── */
.aud-card--wide {
    grid-column: span 3;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 28px 34px;
    border-color: rgba(20,184,166,0.15);
    background: linear-gradient(135deg, var(--surface) 0%, rgba(20,184,166,0.04) 100%);
}
.aud-card--wide:hover { border-color: rgba(20,184,166,0.35); }
.aud-wide-main {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    flex: 1;
    min-width: 0;
}
.aud-wide-main > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.aud-wide-main .aud-card-title { font-size: 1.1rem; }

.aud-wide-stats {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    border-inline-start: 1px solid var(--border);
    padding-inline-start: 28px;
}
.aud-stat { text-align: center; padding: 0 20px; }
.aud-stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--green);
    line-height: 1;
    font-family: var(--font-en);
    letter-spacing: -0.02em;
}
.aud-stat-lbl {
    font-size: 0.67rem;
    color: var(--ink-muted);
    margin-top: 5px;
    font-weight: 500;
    white-space: nowrap;
}
.aud-stat-sep {
    width: 1px; height: 36px;
    background: var(--border);
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .aud-card--wide { flex-direction: column; align-items: stretch; gap: 20px; padding: 26px; }
    .aud-wide-stats { border-inline-start: none; border-top: 1px solid var(--border); padding-inline-start: 0; padding-top: 20px; justify-content: center; }
}
@media (max-width: 768px) {
    .aud-grid { grid-template-columns: repeat(2, 1fr); }
    .aud-card--featured { flex-direction: column; }
    .aud-feat-flags { width: 100%; border-inline-start: none; border-top: 1px solid rgba(46,204,113,0.1); grid-template-columns: repeat(6, 1fr); padding: 16px 20px; }
    .aud-card--wide { grid-column: span 2; }
}
@media (max-width: 500px) {
    .aud-grid { grid-template-columns: 1fr; gap: 12px; }
    .aud-card--featured { grid-column: 1; }
    .aud-card--wide { grid-column: 1; }
    .aud-wide-stats { flex-wrap: wrap; justify-content: center; }
    .aud-stat { padding: 0 12px; }
}

/* ================================================================
   DESTINATIONS STORE PAGE
   ================================================================ */

/* ── Active store nav button ── */
.nav-btn-store--active {
    background: var(--green) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 3px 14px rgba(46,204,113,0.35) !important;
}
[data-theme="light"] .nav-btn-store--active { color: #fff !important; }

/* ── Page header ── */
.dst-hero-shell {
    background: var(--section-alt);
}
.dst-hero {
    background: #020c05;
    background-image:
        radial-gradient(ellipse 100% 80% at 50% 0%, rgba(46,204,113,0.22) 0%, transparent 55%),
        radial-gradient(ellipse 50% 60% at 5% 100%,  rgba(46,204,113,0.07) 0%, transparent 60%);
    padding: clamp(100px,13vh,130px) 0 clamp(60px,8vh,80px);
    position: relative;
    overflow: hidden;
    border-radius: 0 0 120px 120px;
}
.dst-hero-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 180px;
    pointer-events: none;
    opacity: 0.5;
}
.dst-hero-glow {
    position: absolute;
    top: -60px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(46,204,113,0.18), transparent 70%);
    pointer-events: none;
}
[data-theme="light"] .dst-hero {
    background: #eef8f1;
    background-image:
        radial-gradient(ellipse 100% 80% at 50% 0%, rgba(46,204,113,0.2) 0%, transparent 55%);
}
.dst-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}
.dst-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
}
.dst-eyebrow-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: fspotPing 1.6s ease-out infinite;
}
.dst-title {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin: 0;
}
[data-theme="light"] .dst-title { color: #0C1A0F; }
.dst-sub {
    font-size: clamp(0.85rem, 1.4vw, 1rem);
    color: rgba(255,255,255,0.52);
    max-width: 520px;
    line-height: 1.7;
    margin: 0;
}
[data-theme="light"] .dst-sub { color: rgba(15,26,18,0.52); }

/* Search bar */
.dst-search-wrap {
    width: 100%;
    max-width: 540px;
    margin-top: 8px;
}
.dst-search-bar {
    display: flex;
    align-items: center;
    background: rgba(6,18,10,0.75);
    border: 1.5px solid rgba(46,204,113,0.3);
    border-radius: 999px;
    padding: 6px 10px 6px 20px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 80px rgba(46,204,113,0.1);
    gap: 10px;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.dst-search-bar:focus-within {
    border-color: rgba(46,204,113,0.6);
    box-shadow: 0 20px 60px rgba(0,0,0,0.42), 0 0 0 4px rgba(46,204,113,0.1);
}
[data-theme="light"] .dst-search-bar {
    background: rgba(255,255,255,0.88);
    border-color: rgba(46,204,113,0.28);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
[data-theme="light"] .dst-search-bar:focus-within {
    border-color: rgba(46,204,113,0.55);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 0 0 4px rgba(46,204,113,0.1);
}
.dst-search-icon {
    color: rgba(255,255,255,0.28);
    flex-shrink: 0;
    transition: color 0.2s;
}
[data-theme="light"] .dst-search-icon { color: rgba(15,26,18,0.3); }
.dst-search-bar:focus-within .dst-search-icon { color: var(--green); }
.dst-search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    font-family: inherit;
    min-width: 0;
}
[data-theme="light"] .dst-search-input { color: #0C1A0F; }
.dst-search-input::placeholder { color: rgba(255,255,255,0.3); }
[data-theme="light"] .dst-search-input::placeholder { color: rgba(15,26,18,0.3); }
.dst-search-clear {
    background: rgba(255,255,255,0.08);
    border: none;
    border-radius: 50%;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.dst-search-clear:hover { background: rgba(255,255,255,0.14); color: var(--white); }
[data-theme="light"] .dst-search-clear { background: rgba(0,0,0,0.06); color: rgba(15,26,18,0.5); }
[data-theme="light"] .dst-search-clear:hover { background: rgba(0,0,0,0.1); color: #0C1A0F; }

/* ── Main area ── */
.dst-main {
    background: var(--section-alt);
    padding: 48px 0 100px;
    min-height: 60vh;
}

/* ── Filter tabs ── */
.dst-filters-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}
.dst-filters {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 6px;
}
.dst-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 11px;
    border: none;
    background: none;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink-muted);
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    white-space: nowrap;
}
.dst-tab svg { opacity: 0.5; transition: opacity 0.2s; }
.dst-tab:hover { color: var(--ink); background: rgba(255,255,255,0.04); }
.dst-tab:hover svg { opacity: 0.75; }
.dst-tab.active {
    background: var(--green);
    color: #fff;
    box-shadow: 0 3px 12px rgba(46,204,113,0.3);
}
.dst-tab.active svg { opacity: 1; }
[data-theme="light"] .dst-tab.active { color: #fff; }
[data-theme="light"] .dst-tab:hover { background: rgba(0,0,0,0.04); }
.dst-tab-count {
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 1px 7px;
    min-width: 22px;
    text-align: center;
}
.dst-tab:not(.active) .dst-tab-count {
    background: rgba(255,255,255,0.06);
    color: var(--ink-muted);
}
[data-theme="light"] .dst-tab:not(.active) .dst-tab-count { background: rgba(0,0,0,0.07); }

/* ── Result info ── */
.dst-result-info {
    font-size: 0.82rem;
    color: var(--ink-muted);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 20px;
}
.dst-info-spinner {
    width: 14px; height: 14px;
    border: 2px solid rgba(46,204,113,0.2);
    border-top-color: var(--green);
    border-radius: 50%;
    animation: dstSpin 0.8s linear infinite;
    flex-shrink: 0;
}
@keyframes dstSpin { to { transform: rotate(360deg); } }
.dst-result-info.loaded .dst-info-spinner { display: none; }

/* ── Card grid ── */
.dst-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

/* ── Skeleton cards ── */
.dst-skeleton {
    height: 96px;
    border-radius: 16px;
    background: linear-gradient(90deg,
        var(--surface) 0%,
        var(--surface-2) 50%,
        var(--surface) 100%);
    background-size: 200% 100%;
    animation: dstShimmer 1.5s ease-in-out infinite;
}
@keyframes dstShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Destination cards ── */
.dst-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}
.dst-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.30);
    border-color: rgba(46,204,113,0.25);
}

/* Flag panel */
.dst-card-flag-wrap {
    position: relative;
    width: 88px;
    flex-shrink: 0;
    background: radial-gradient(ellipse at center, rgba(46,204,113,0.1), transparent 70%);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-inline-end: 1px solid var(--border);
    overflow: hidden;
}
.dst-card-flag-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(46,204,113,0.07), transparent 65%);
    transition: opacity 0.35s;
    opacity: 0;
}
.dst-card:hover .dst-card-flag-glow { opacity: 1; }
.dst-card-flag {
    font-size: 2.4rem;
    line-height: 1;
    position: relative;
    z-index: 1;
    transition: transform 0.35s var(--spring);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}
.dst-card:hover .dst-card-flag { transform: scale(1.14); }
.dst-card-flag-img {
    width: 56px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    transition: transform 0.35s var(--spring), box-shadow 0.35s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.dst-card:hover .dst-card-flag-img { transform: scale(1.08); box-shadow: 0 8px 24px rgba(0,0,0,0.45); }

/* Popular badge */
.dst-card-popular {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
    background: rgba(46,204,113,0.12);
    border: 1px solid rgba(46,204,113,0.25);
    border-radius: 20px;
    padding: 2px 7px;
}
[data-theme="light"] .dst-card-popular {
    background: rgba(46,204,113,0.1);
    color: var(--green-dark);
}

/* Card body */
.dst-card-body {
    padding: 10px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}
.dst-card-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}
.dst-card-type {
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 20px;
    width: fit-content;
}
.dst-card-type--country {
    background: rgba(46,204,113,0.12);
    color: var(--green);
    border: 1px solid rgba(46,204,113,0.22);
}
.dst-card-type--region {
    background: rgba(59,130,246,0.1);
    color: #60a5fa;
    border: 1px solid rgba(59,130,246,0.22);
}
.dst-card-type--global {
    background: rgba(168,85,247,0.1);
    color: #c084fc;
    border: 1px solid rgba(168,85,247,0.22);
}
[data-theme="light"] .dst-card-type--country { color: var(--green-dark); background: rgba(39,174,96,0.1); border-color: rgba(39,174,96,0.22); }
[data-theme="light"] .dst-card-type--region  { color: #2563eb; background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.2); }
[data-theme="light"] .dst-card-type--global  { color: #7c3aed; background: rgba(124,58,237,0.08); border-color: rgba(124,58,237,0.2); }

.dst-card-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dst-card-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--ink-muted);
}
.dst-price-sar {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--green);
    letter-spacing: -0.01em;
}
.dst-price-sep {
    color: var(--border);
    font-weight: 400;
}
.dst-price-usd {
    font-size: 0.7rem;
    color: var(--ink-muted);
    font-weight: 500;
}

/* ── Pagination ── */
.dst-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
    padding-bottom: 16px;
}
.dst-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.dst-page-btn:hover:not(:disabled) {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
    transform: translateY(-1px);
}
.dst-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.dst-page-info {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink-muted);
    min-width: 60px;
    text-align: center;
}
[data-lang="ar"] .dst-page-btn svg { transform: scaleX(-1); }

/* CTA button — compact pill, bottom-right */
.dst-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    margin-top: auto;
    align-self: flex-end;
    flex-shrink: 0;
    background: rgba(46,204,113,0.1);
    border: 1px solid rgba(46,204,113,0.22);
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--green);
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}
.dst-card-btn svg { width: 10px; height: 10px; flex-shrink: 0; }
.dst-card-btn:hover {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
    transform: scale(1.1);
}
[data-lang="ar"] .dst-card-btn svg { transform: scaleX(-1); }
[data-theme="light"] .dst-card-btn {
    background: rgba(39,174,96,0.08);
    border-color: rgba(39,174,96,0.22);
    color: var(--green-dark);
}
[data-theme="light"] .dst-card-btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }

/* ── Empty state ── */
.dst-empty {
    text-align: center;
    padding: 80px 20px;
}
.dst-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.dst-empty-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 8px;
}
.dst-empty-sub {
    font-size: 0.88rem;
    color: var(--ink-muted);
    margin: 0 0 24px;
}
.dst-empty-reset {
    padding: 10px 24px;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.dst-empty-reset:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ── Error state ── */
.dst-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--ink-muted);
    font-size: 0.9rem;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .dst-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .dst-hero { border-radius: 0 0 80px 80px; padding-top: clamp(88px, 12vh, 110px); }
    .dst-grid { grid-template-columns: 1fr; gap: 10px; }
    .dst-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .dst-filters::-webkit-scrollbar { display: none; }
}
@media (max-width: 480px) {
    .dst-grid { gap: 8px; }
    .dst-card-flag-wrap { width: 72px; }
    .dst-card-flag { font-size: 2rem; }
    .dst-card-body { padding: 12px 12px 12px; }
    .dst-hero { border-radius: 0 0 56px 56px; }
}

/* ================================================================
   PLANS PAGE
   ================================================================ */

/* ── Hero ── */
.plans-hero-shell { background: var(--section-alt); }
.plans-hero {
    background: #020c05;
    background-image:
        radial-gradient(ellipse 100% 80% at 50% 0%, rgba(46,204,113,0.20) 0%, transparent 55%),
        radial-gradient(ellipse 50% 60% at 5% 100%,  rgba(46,204,113,0.06) 0%, transparent 60%);
    padding: clamp(90px,11vh,115px) 0 clamp(48px,7vh,64px);
    position: relative;
    overflow: hidden;
    border-radius: 0 0 120px 120px;
}
[data-theme="light"] .plans-hero {
    background: #eef8f1;
    background-image: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(46,204,113,0.18) 0%, transparent 55%);
}
.plans-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}
.plans-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-muted);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.04);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    align-self: flex-start;
}
.plans-back:hover { color: var(--ink); border-color: rgba(46,204,113,0.4); background: rgba(46,204,113,0.07); }
[data-theme="light"] .plans-back { background: rgba(0,0,0,0.03); }
[data-lang="ar"] .plans-back svg { transform: scaleX(-1); }

.plans-hero-flag { line-height: 1; }
.plans-flag-emoji { font-size: 3.5rem; filter: drop-shadow(0 6px 18px rgba(0,0,0,0.35)); }
.plans-flag-img   { width: 90px; height: 64px; object-fit: cover; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,0.4); }

.plans-hero-type  { margin-bottom: 4px; }
.plans-hero-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--ink);
    margin: 0;
    line-height: 1.15;
}
.plans-hero-sub {
    font-size: 0.9rem;
    color: var(--ink-muted);
    margin: 0;
    max-width: 440px;
}

/* ── Main section ── */
.plans-main {
    background: var(--section-alt);
    padding: 40px 0 80px;
    min-height: 50vh;
}

/* ── Result info ── */
/* ── Filter bar ── */
.plans-filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}
.plans-filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.plans-filter-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    min-width: 56px;
    flex-shrink: 0;
}
.plans-filter-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.pf-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 11px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ink-muted);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    user-select: none;
}
.pf-pill:hover { border-color: rgba(46,204,113,0.35); color: var(--ink); }
.pf-pill.active {
    background: rgba(46,204,113,0.12);
    border-color: rgba(46,204,113,0.35);
    color: var(--green);
    font-weight: 700;
}
[data-theme="light"] .pf-pill.active { color: var(--green-dark); background: rgba(39,174,96,0.1); }
.pf-pill svg { flex-shrink: 0; }

/* ── Result info ── */
.plans-result-info {
    font-size: 0.82rem;
    color: var(--ink-muted);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}
.plans-result-info.loaded { opacity: 1; }
.plans-info-spinner {
    width: 14px; height: 14px;
    border: 2px solid var(--border);
    border-top-color: var(--green);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}
.plans-result-info.loaded .plans-info-spinner { display: none; }

/* ── Grid (vertical list of group rows) ── */
.plans-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ── Skeleton ── */
.plans-skeleton {
    height: 74px;
    border-radius: 16px;
    background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%);
    background-size: 200% 100%;
    animation: dstShimmer 1.5s ease-in-out infinite;
}

/* ── Package group row ── */
.pgroup-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    cursor: pointer;
    transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s;
    -webkit-tap-highlight-color: transparent;
}
.pgroup-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.26);
    border-color: rgba(46,204,113,0.3);
}
.pgroup-icon {
    width: 44px; height: 44px;
    background: rgba(46,204,113,0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--green);
}
[data-theme="light"] .pgroup-icon { background: rgba(39,174,96,0.1); }
.pgroup-info { flex: 1; min-width: 0; }
.pgroup-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pgroup-count {
    font-size: 0.71rem;
    color: var(--ink-muted);
    margin-top: 2px;
}
.pgroup-right {
    flex-shrink: 0;
    text-align: right;
    margin-right: 2px;
}
.pgroup-from {
    font-size: 0.6rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}
.pgroup-price {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--green);
    letter-spacing: -0.01em;
    white-space: nowrap;
}
[data-theme="light"] .pgroup-price { color: var(--green-dark); }
.pgroup-arrow {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(46,204,113,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--green);
    transition: background 0.18s, transform 0.18s;
}
.pgroup-row:hover .pgroup-arrow { background: var(--green); color: #fff; transform: translateX(2px); }
[data-lang="ar"] .pgroup-row:hover .pgroup-arrow { transform: translateX(-2px); }
[data-lang="ar"] .pgroup-arrow svg { transform: scaleX(-1); }

/* ── Bottom sheet shared base ── */
.vsheet-backdrop, .dlmodal-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 800;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.26s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.vsheet-backdrop.open, .dlmodal-backdrop.open { opacity: 1; pointer-events: auto; }
.dlmodal-backdrop { z-index: 900; }

.vsheet-panel, .dlmodal-panel {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--surface);
    border-radius: 24px 24px 0 0;
    padding: 0 20px max(32px, env(safe-area-inset-bottom, 32px));
    max-height: 84vh;
    overflow-y: auto;
    z-index: 801;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.34, 1.3, 0.64, 1);
    overscroll-behavior: contain;
}
.vsheet-panel.open { transform: translateY(0); }
.dlmodal-panel { z-index: 901; max-height: 90vh; }
.dlmodal-panel.open { transform: translateY(0); }

@media (min-width: 600px) {
    .vsheet-panel {
        max-width: 480px;
        left: 50%;
        margin-left: -240px;
        right: auto;
    }
    /* Download modal becomes a centered floating dialog on desktop */
    .dlmodal-panel {
        position: fixed;
        top: 50%; left: 50%;
        right: auto; bottom: auto;
        margin-left: 0;
        max-width: 460px;
        width: calc(100% - 40px);
        border-radius: 24px;
        padding-top: 24px;
        padding-inline: 24px;
        padding-bottom: 28px;
        transform: translate(-50%, -46%) scale(0.97);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1), opacity 0.25s;
        box-shadow: 0 32px 80px rgba(0,0,0,0.5);
    }
    .dlmodal-panel.open {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        pointer-events: auto;
    }
    .dlmodal-drag { display: none; }
}

.vsheet-drag, .dlmodal-drag {
    width: 36px; height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 12px auto 20px;
}

/* ── Validity sheet ── */
.vsheet-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 14px;
}
.vsheet-icon {
    width: 48px; height: 48px;
    background: rgba(46,204,113,0.1);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--green);
}
.vsheet-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.2;
}
.vsheet-sub {
    font-size: 0.73rem;
    color: var(--ink-muted);
    margin-top: 2px;
}
.vsheet-list { padding-bottom: 8px; }

/* Validity plan rows */
.vplan-row {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.18s;
    -webkit-tap-highlight-color: transparent;
}
.vplan-row:last-child { margin-bottom: 0; }
.vplan-row:hover { border-color: rgba(46,204,113,0.4); transform: translateY(-1px); }
.vplan-row--best {
    border-color: rgba(46,204,113,0.35);
    background: rgba(46,204,113,0.04);
}
[data-theme="light"] .vplan-row { background: rgba(0,0,0,0.02); }
[data-theme="light"] .vplan-row--best { background: rgba(46,204,113,0.06); border-color: rgba(39,174,96,0.3); }
.vplan-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}
.vplan-validity {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.vplan-badge-best {
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--green);
    background: rgba(46,204,113,0.12);
    border: 1px solid rgba(46,204,113,0.28);
    border-radius: 20px;
    padding: 2px 7px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
[data-theme="light"] .vplan-badge-best { color: var(--green-dark); background: rgba(39,174,96,0.1); }
.vplan-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--green);
    white-space: nowrap;
    flex-shrink: 0;
}
[data-theme="light"] .vplan-price { color: var(--green-dark); }
.vplan-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 9px; }
.vs-chip {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    letter-spacing: 0.03em;
}
.vs-chip--data { background: rgba(46,204,113,0.10); color: var(--green); border-color: rgba(46,204,113,0.2); }
.vs-chip--net  { background: rgba(96,165,250,0.10); color: #63b3ed; border-color: rgba(96,165,250,0.2); }
.vs-chip--esim { background: rgba(251,191,36,0.10); color: #f59e0b; border-color: rgba(251,191,36,0.2); }
.vs-chip--feat { background: rgba(96,165,250,0.10); color: #60a5fa; border-color: rgba(96,165,250,0.2); }
.vs-chip--no   { background: var(--surface-2); color: var(--ink-muted); border-color: var(--border); }
.vs-chip--act  { background: rgba(167,243,208,0.10); color: #6ee7b7; border-color: rgba(167,243,208,0.2); }
[data-theme="light"] .vs-chip--data { color: var(--green-dark); background: rgba(39,174,96,0.08); }
[data-theme="light"] .vs-chip--net  { color: #2563eb; background: rgba(37,99,235,0.07); border-color: rgba(37,99,235,0.15); }
[data-theme="light"] .vs-chip--esim { color: #d97706; background: rgba(217,119,6,0.07); border-color: rgba(217,119,6,0.15); }
[data-theme="light"] .vs-chip--feat { color: #2563eb; background: rgba(37,99,235,0.07); border-color: rgba(37,99,235,0.15); }
[data-theme="light"] .vs-chip--no   { color: #6b7280; background: rgba(0,0,0,0.04); }
[data-theme="light"] .vs-chip--act  { color: #059669; background: rgba(5,150,105,0.07); border-color: rgba(5,150,105,0.15); }
.vplan-operators {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: var(--ink-muted);
}

/* ── Download modal ── */
.dlmodal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}
.dlmodal-back {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface-2);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--ink-muted);
    flex-shrink: 0;
    transition: border-color 0.2s, color 0.2s;
}
.dlmodal-back:hover { border-color: var(--green); color: var(--green); }
[data-lang="ar"] .dlmodal-back svg { transform: scaleX(-1); }
.dlmodal-flag-wrap {
    width: 52px; height: 40px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(46,204,113,0.08);
    border: 1px solid rgba(46,204,113,0.15);
    font-size: 1.7rem;
    line-height: 1;
}
.dlmodal-header-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.2;
}
.dlmodal-header-country {
    font-size: 0.73rem;
    color: var(--ink-muted);
    margin-top: 2px;
}
.dlmodal-details {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 12px;
}
[data-theme="light"] .dlmodal-details { background: rgba(0,0,0,0.02); }
.dlmodal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    gap: 10px;
    min-height: 42px;
}
.dlmodal-row:last-child { border-bottom: none; }
.dlmodal-row-label {
    font-size: 0.75rem;
    color: var(--ink-muted);
    flex-shrink: 0;
    font-weight: 500;
}
.dlmodal-row-val {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink);
    text-align: right;
    flex: 1;
}
.dlmodal-row-val--price {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--green);
}
[data-theme="light"] .dlmodal-row-val--price { color: var(--green-dark); }
.dlmodal-row-val--fee {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-muted);
    text-align: right;
    flex: 1;
}

/* Gold Protection block */
.dlmodal-gp {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    background: rgba(245,158,11,0.07);
    border: 1px solid rgba(245,158,11,0.22);
    border-radius: 14px;
    margin-bottom: 10px;
}
[data-theme="light"] .dlmodal-gp { background: rgba(245,158,11,0.06); }
.dlmodal-gp-icon {
    width: 40px; height: 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}
.dlmodal-gp-info { flex: 1; min-width: 0; }
.dlmodal-gp-name {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.dlmodal-gp-price-tag {
    font-size: 0.68rem;
    font-weight: 700;
    color: #f59e0b;
    background: rgba(245,158,11,0.12);
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: 20px;
    padding: 1px 6px;
    white-space: nowrap;
}
.dlmodal-gp-desc {
    font-size: 0.67rem;
    color: var(--ink-muted);
    margin-top: 2px;
    line-height: 1.4;
}

/* CSS toggle switch */
.dlmodal-toggle {
    width: 44px; height: 26px;
    border-radius: 13px;
    border: 1.5px solid var(--border);
    background: var(--surface-2);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: background 0.22s, border-color 0.22s;
}
.dlmodal-toggle::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--ink-muted);
    transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), background 0.22s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.dlmodal-toggle.on { background: var(--green); border-color: transparent; }
.dlmodal-toggle.on::after { background: #fff; transform: translateX(18px); }
[data-theme="light"] .dlmodal-toggle::after { background: #9ca3af; }

/* Total row */
.dlmodal-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    background: rgba(46,204,113,0.08);
    border: 1.5px solid rgba(46,204,113,0.25);
    border-radius: 14px;
    margin-bottom: 14px;
}
[data-theme="light"] .dlmodal-total-row { background: rgba(39,174,96,0.07); }
.dlmodal-total-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink);
}
.dlmodal-total-price {
    font-size: 1.18rem;
    font-weight: 900;
    color: var(--green);
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    gap: 5px;
}
[data-theme="light"] .dlmodal-total-price { color: var(--green-dark); }
.dlmodal-total-usd {
    font-size: 0.68rem;
    font-weight: 400;
    color: var(--ink-muted);
    letter-spacing: 0;
}

/* Download CTA */
.dlmodal-cta {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 16px;
    text-align: center;
    margin-bottom: 10px;
}
[data-theme="light"] .dlmodal-cta { background: rgba(0,0,0,0.02); }
.dlmodal-cta-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 4px;
    line-height: 1.3;
}
.dlmodal-cta-sub {
    font-size: 0.7rem;
    color: var(--ink-muted);
    margin: 0 0 14px;
    line-height: 1.55;
}
.dlmodal-store-btns {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.dlmodal-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: var(--ink);
    color: var(--bg);
    border-radius: 11px;
    font-size: 0.7rem;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.18s, transform 0.18s;
}
.dlmodal-store-btn:hover { opacity: 0.82; transform: translateY(-1px); }
[data-theme="light"] .dlmodal-store-btn { background: #111; color: #fff; }
.dlmodal-store-btn-sub {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.25;
}
.dlmodal-store-btn-sub small { font-size: 0.56rem; font-weight: 400; opacity: 0.7; }
.dlmodal-store-btn-sub strong { font-size: 0.76rem; font-weight: 700; }
.dlmodal-cancel {
    display: block;
    width: 100%;
    padding: 10px;
    background: transparent;
    border: none;
    color: var(--ink-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: color 0.18s;
}
.dlmodal-cancel:hover { color: var(--ink); }

/* ── Empty state ── */
.plans-empty {
    text-align: center;
    padding: 80px 20px;
}

/* ── CTA strip ── */
.plans-cta-strip {
    background: var(--bg);
    padding: 60px 0;
}
.plans-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 36px;
}
.plans-cta-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 4px;
}
.plans-cta-sub {
    font-size: 0.84rem;
    color: var(--ink-muted);
    margin: 0;
}
.plans-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--green);
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.18s, transform 0.18s;
}
.plans-cta-btn:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .plans-hero { border-radius: 0 0 80px 80px; }
    .plans-cta-inner { flex-direction: column; text-align: center; padding: 28px 24px; }
}
@media (max-width: 480px) {
    .plans-hero { border-radius: 0 0 56px 56px; }
}

/* ================================================================
   CTA TAGLINE
   ================================================================ */
.cta-tagline {
    margin-top: 32px;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.04em;
}

/* RTL specifics */
[data-lang="ar"] .hero-title .line-2::after { right: unset; left: unset; }
[data-lang="ar"] .footer-brand > p { max-width: 280px; }
[data-lang="ar"] .how-panel p { max-width: none; }

/* ================================================================
   LIGHT MODE — full page theme
   ================================================================ */
[data-theme="light"] {
    --ink:          #0F1A12;
    --ink-mid:      rgba(15, 26, 18, 0.62);
    --ink-muted:    rgba(15, 26, 18, 0.38);
    --bg:           #FFFFFF;
    --surface:      #FFFFFF;
    --surface-2:    #F0F4F1;
    --section-alt:  #F4F8F5;
    --border:       rgba(0, 0, 0, 0.09);
    --border-light: rgba(0, 0, 0, 0.05);
}

/* Body */
[data-theme="light"] body { background: var(--bg); color: var(--ink); }

/* Cursor */
[data-theme="light"] .cursor {
    background: var(--green-dark);
    mix-blend-mode: normal;
}

/* Navbar light-mode overrides live in the navbar section above */

/* Ticker is inside the hero (always dark green bg) — no light-mode override needed */

/* Features grid */
[data-theme="light"] .feat-card:hover    { background: rgba(46, 204, 113, 0.03); }

/* Diff items — colored shadow is set via --diff-shadow per card */
[data-theme="light"] .diff-item:hover { box-shadow: 0 16px 44px var(--diff-shadow, rgba(46,204,113,0.14)); }

/* Future cards */
[data-theme="light"] .future-card:hover  { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1); }
[data-theme="light"] .future-badge.coming { background: rgba(0, 0, 0, 0.06); }

/* Testimonials */
[data-theme="light"] .testi-card         { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); }

/* Audience cards */
[data-theme="light"] .aud-card:hover     { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12); }

/* About stats */
[data-theme="light"] .astat             { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }

/* Footer — full light treatment */
[data-theme="light"] .footer {
    background: #F4F8F5;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .footer-top        { border-bottom-color: rgba(0, 0, 0, 0.08); }
[data-theme="light"] .f-logo            { color: #0F1A12; }
[data-theme="light"] .footer-brand > p  { color: rgba(15, 26, 18, 0.45); }
[data-theme="light"] .footer-col-title  { color: rgba(15, 26, 18, 0.32); }
[data-theme="light"] .footer-col a      { color: rgba(15, 26, 18, 0.55); }
[data-theme="light"] .footer-bottom     { color: rgba(15, 26, 18, 0.3); border-top-color: rgba(0,0,0,0.06); }
[data-theme="light"] .footer-social a   { border-color: rgba(0, 0, 0, 0.1); color: rgba(15, 26, 18, 0.4); }

/* FAQ borders in light mode */
[data-theme="light"] .faq-item          { border-bottom-color: rgba(0, 0, 0, 0.08); }
[data-theme="light"] .faq-item:first-child { border-top-color: rgba(0, 0, 0, 0.08); }

/* Testi track fade gradients in light mode */
[data-theme="light"] .testi-track-wrap::before {
    background: linear-gradient(90deg, var(--section-alt), transparent);
}
[data-theme="light"] .testi-track-wrap::after {
    background: linear-gradient(270deg, var(--section-alt), transparent);
}

/* ================================================================
   HOW SECTION — LIGHT MODE
   ================================================================ */
[data-theme="light"] .how {
    background: var(--bg);
}
[data-theme="light"] .how::before {
    background-image:
        linear-gradient(rgba(46,204,113,0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46,204,113,0.09) 1px, transparent 1px);
}
[data-theme="light"] .how .section-title   { color: #0F1A12; }
[data-theme="light"] .how .section-sub     { color: rgba(15, 26, 18, 0.55); }
[data-theme="light"] .how-nav-item         { color: rgba(15, 26, 18, 0.45); border-bottom-color: rgba(0,0,0,0.08); }
[data-theme="light"] .how-nav-item:hover   { color: rgba(15, 26, 18, 0.75); }
[data-theme="light"] .how-nav-item.active  { color: var(--green-dark); }
[data-theme="light"] .how-nav-num          { color: var(--green-dark); opacity: 0.7; }
[data-theme="light"] .how-panel            { border-bottom-color: rgba(0,0,0,0.08); }
[data-theme="light"] .how-panel-num        { color: rgba(15, 26, 18, 0.25); }
[data-theme="light"] .how-panel h3         { color: #0F1A12; }
[data-theme="light"] .how-panel p          { color: rgba(15, 26, 18, 0.6); }
[data-theme="light"] .how-panel-icon       { background: rgba(46,204,113,0.12); border-color: rgba(46,204,113,0.2); }
[data-theme="light"] .how-panel-icon svg   { stroke: var(--green-dark); }
[data-theme="light"] .how-nav-item.active:hover { color: var(--green-dark); }
[data-theme="light"] .how-note             { color: rgba(15, 26, 18, 0.5); border-color: rgba(0,0,0,0.1); }

/* Light mode: step cards on mobile */
@media (max-width: 600px) {
    [data-theme="light"] .how-panel {
        background: rgba(46,204,113,0.03);
        border-color: rgba(46,204,113,0.15);
        border-inline-start-color: var(--green-dark);
    }
}

/* ================================================================
   UPDATE MODAL
   ================================================================ */
.update-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.update-modal.visible {
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}
.update-modal-card {
    background: rgba(10, 20, 12, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(46,204,113,0.25);
    border-radius: 20px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(46,204,113,0.08), inset 0 1px 0 rgba(255,255,255,0.06);
    max-width: 400px;
    min-width: 340px;
    flex-wrap: wrap;
}
[data-theme="light"] .update-modal-card {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(46,204,113,0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.update-modal-icon {
    width: 40px; height: 40px;
    background: rgba(46,204,113,0.12);
    border: 1px solid rgba(46,204,113,0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.update-modal-icon svg {
    width: 18px; height: 18px;
    stroke: var(--green);
}
.update-modal-content { flex: 1; min-width: 0; }
.update-modal-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 3px;
    line-height: 1.2;
}
[data-theme="light"] .update-modal-title { color: #0F1A12; }
.update-modal-sub {
    font-size: 0.75rem;
    color: rgba(239,239,239,0.5);
    line-height: 1.4;
    margin: 0;
}
[data-theme="light"] .update-modal-sub { color: rgba(15,26,18,0.55); }
.update-modal-countdown {
    position: relative;
    width: 40px; height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.update-countdown-ring {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    transform: rotate(-90deg);
}
#countdownCircle {
    transition: stroke-dashoffset 1s linear;
}
.update-modal-countdown span {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--green);
    position: relative;
    z-index: 1;
}
.update-modal-actions {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
}
.update-btn-primary {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--green);
    color: #071A0E;
    border: none;
    border-radius: 10px;
    padding: 9px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    font-family: var(--font-en);
}
.update-btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(46,204,113,0.35);
}
.update-btn-dismiss {
    background: rgba(255,255,255,0.06);
    color: rgba(239,239,239,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    font-family: var(--font-en);
}
[data-theme="light"] .update-btn-dismiss {
    background: rgba(0,0,0,0.04);
    color: rgba(15,26,18,0.5);
    border-color: rgba(0,0,0,0.1);
}
.update-btn-dismiss:hover {
    color: rgba(239,239,239,0.8);
    border-color: rgba(255,255,255,0.2);
}
[data-theme="light"] .update-btn-dismiss:hover {
    color: rgba(15,26,18,0.8);
    border-color: rgba(0,0,0,0.2);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* ── 1100px: minor tightening before hero card hides ─────────── */
@media (max-width: 1100px) {
    .container { padding: 0 20px; }
    .footer-container { padding: 0 20px; }
    .how-inner { gap: 56px; }
    .about-inner { gap: 52px; }
    .footer-top { gap: 48px; }
}

/* ── 960px: tablet — stack / 2-col grids ─────────────────────── */
@media (max-width: 960px) {
    /* Global section padding reduction */
    .features, .how, .cta-section { padding: 88px 0; }
    .about, .diff, .future-sect, .audience-sect, .signal-section, .faq { padding: 80px 0; }
    .section-head { margin-bottom: 44px; }

    /* Signal: 2-col grid at tablet */
    .sig-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .sig-moments { grid-template-columns: 1fr; gap: 0; }
    .sig-journey-connector { display: none; }
    .sig-moment {
        text-align: start;
        padding: 28px 0;
        border-bottom: 1px solid var(--border);
    }
    [data-lang="ar"] .sig-moment { text-align: end; }
    .sig-moment:last-child { border-bottom: none; }
    .sig-moment-body { max-width: none; margin: 0; }
    .sig-moment-node { margin: 0 0 16px; }

    /* Features: 2 col */
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .feat-card:nth-child(3n) { border-inline-end: 1px solid var(--border); }
    .feat-card:nth-child(2n) { border-inline-end: none; }
    .feat-card:nth-child(n+4) { border-bottom: 1px solid var(--border); }
    .feat-card:nth-child(n+5) { border-bottom: none; }
    .feat-card { padding: 36px 32px; }

    /* How it works: stack, nav becomes scrollable pill-row */
    .how-inner { grid-template-columns: 1fr; gap: 48px; }
    .how-left { position: static; }
    .how-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .how-nav::-webkit-scrollbar { display: none; }
    .how-nav-item {
        border-bottom: none;
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 10px 16px;
        width: auto;
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 0.82rem;
    }
    .how-nav-item.active { border-color: var(--green); background: rgba(46,204,113,0.06); }
    .how-panel { min-height: auto; padding: 40px 0; }

    /* About: stack */
    .about-inner { grid-template-columns: 1fr; gap: 48px; }

    /* Diff: 2-col preserved on tablet, 1-col added below */
    .diff-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

    /* Future: 2 col */
    .future-grid { grid-template-columns: 1fr 1fr; }

    /* Audience: 2 col */
    .aud-grid { grid-template-columns: repeat(2, 1fr); }

    /* CTA */
    .cta-text-side { padding: 64px 40px; }

    /* Footer */
    .footer { padding: 56px 0 0; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
    /* Footer bottom: legal links on own row (top), copyright & slogan side-by-side below */
    .footer-bottom { flex-wrap: wrap; gap: 8px 0; align-items: center; }
    .footer-legal { flex: 0 0 100%; order: -1; justify-content: center; margin-bottom: 2px; }
    .footer-nav { grid-template-columns: repeat(3, 1fr); }
}

/* ── 768px: large phones / small tablet ──────────────────────── */
@media (max-width: 768px) {
    .container { padding: 0 18px; }
    .footer-container { padding: 0 18px; }

    /* Section padding */
    .features, .how, .cta-section { padding: 72px 0; }
    .about, .diff, .future-sect, .audience-sect, .testimonials, .faq { padding: 64px 0; }

    /* Hero subtitle max-width */
    .h-sub { max-width: 90%; margin-inline: auto; }

    /* How panels slightly tighter */
    .how-panel { padding: 32px 0; }

    /* Diff: stack on 768 */
    .diff-grid { grid-template-columns: 1fr; }

    /* Audience: keep 2-col but tighter */
    .aud-grid { gap: 12px; }
    .aud-card { padding: 28px 22px; }

    /* Future: keep 2-col */
    .future-card { padding: 26px 22px; }

    /* FAQ: increase max-height for longer answers on mobile */
    .faq-item.open .faq-a { max-height: 480px; }
    .faq-list { margin-top: 40px; }

    /* CTA */
    .cta-text-side { padding: 56px 32px; }

    /* Footer */
    .footer-nav { grid-template-columns: 1fr 1fr; }
}

/* ── 600px: phones — single column ───────────────────────────── */
@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .footer-container { padding: 0 16px; }

    /* Section padding */
    .features, .how, .cta-section { padding: 60px 0; }
    .about, .diff, .future-sect, .audience-sect, .signal-section, .faq { padding: 56px 0; }
    .section-head { margin-bottom: 36px; }
    .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }

    /* Signal: single column on phone, like audience-sect */
    .sig-grid { grid-template-columns: 1fr; gap: 10px; }
    .sig-card { padding: 18px 20px; flex-direction: row; align-items: center; gap: 18px; }
    .sig-card-glyph { height: 44px; width: 44px; flex-shrink: 0; margin-bottom: 0; overflow: hidden; }
    .sig-card-num { font-size: 2rem; line-height: 1; }
    .sig-card-bar { display: none; }
    .sig-journey { padding: 48px 0; margin-top: 40px; }
    /* Journey moments: center on mobile for cleaner look */
    .sig-moment { text-align: center; }
    [data-lang="ar"] .sig-moment { text-align: center; }
    .sig-moment-node { margin: 0 auto 16px; }
    .sig-moment-body { max-width: 340px; margin: 0 auto; }

    /* Ticker: tighter items on phone */
    .ticker-item { padding: 0 18px; font-size: 0.78rem; }

    /* Features: 1 col */
    .feat-grid { grid-template-columns: 1fr; border-radius: var(--r-md); }
    .feat-card { border-inline-end: none !important; padding: 28px 24px; }
    .feat-card:nth-child(n+2) { border-bottom: 1px solid var(--border); }
    .feat-card:last-child { border-bottom: none; }
    .feat-icon { width: 42px; height: 42px; margin-bottom: 18px; }

    /* How it works — full mobile redesign as step cards */
    .how-inner { gap: 0; }
    /* Section header: center it on mobile */
    .how-left .section-head { text-align: center; margin-bottom: 28px; }
    .how-left .section-head .section-sub { margin-inline: auto; }
    /* Hide nav pills — all steps visible, no scrolling needed */
    .how-nav { display: none; }
    /* Right panels: stacked cards */
    .how-right { gap: 12px; display: flex; flex-direction: column; }
    .how-panel {
        min-height: 0;
        padding: 20px 20px 20px 22px;
        border-bottom: none;
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 16px;
        border-inline-start: 3px solid var(--green);
    }
    .how-panel-num { margin-bottom: 10px; font-size: 0.65rem; }
    .how-panel-icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; }
    .how-panel h3 { font-size: 1.1rem; margin-bottom: 8px; }
    .how-panel p { font-size: 0.88rem; line-height: 1.7; max-width: none; }

    /* About stats: keep 2x2 but tighter */
    .about-stats { gap: 12px; }
    .astat { padding: 22px 16px; }

    /* Diff: single col */
    .diff-grid { grid-template-columns: 1fr; gap: 10px; }
    .diff-item { padding: 22px 18px; gap: 14px; }

    /* Future: single col */
    .future-grid { grid-template-columns: 1fr; gap: 12px; }
    .future-card { padding: 24px 20px; }

    /* Audience: single col */
    .aud-grid { grid-template-columns: 1fr; gap: 10px; }
    .aud-card { padding: 24px 20px; }

    /* Testimonial cards: shrink to fit screen */
    .testi-card { width: 275px; padding: 22px; }
    .testi-track-wrap { margin-top: 36px; }
    .testi-track-wrap::before,
    .testi-track-wrap::after { width: 60px; }

    /* FAQ */
    .faq-list { margin-top: 32px; }
    .faq-q { font-size: 0.93rem; padding: 18px 0; gap: 12px; }
    .faq-item.open .faq-a { max-height: 560px; }

    /* CTA */
    .cta-text-side { padding: 44px 20px; }
    .cta-btns { gap: 10px; flex-direction: column; align-items: center; }
    .cta-btns .store-btn { width: 100%; justify-content: center; max-width: 280px; }

    /* Footer */
    .footer { padding: 48px 0 0; }
    .footer-top { padding-bottom: 36px; }
    .footer-nav { grid-template-columns: 1fr 1fr; }

    /* Update modal: no forced min-width on phones */
    .update-modal-card { min-width: 0; width: calc(100vw - 32px); max-width: 380px; padding: 18px 18px; }
}

/* ── 480px: small phones ──────────────────────────────────────── */
@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .footer-container { padding: 0 14px; }

    /* Section padding */
    .features, .how, .cta-section { padding: 52px 0; }
    .about, .diff, .future-sect, .audience-sect, .signal-section, .testimonials, .faq { padding: 48px 0; }
    .section-title { font-size: clamp(1.5rem, 7vw, 2rem); }

    /* Ticker items even tighter */
    .ticker-item { padding: 0 14px; font-size: 0.75rem; }

    /* How nav: full-width pill stack */
    .how-nav { gap: 6px; }
    .how-nav-item { font-size: 0.75rem; padding: 7px 10px; }

    /* Features card */
    .feat-card { padding: 24px 18px; }
    .feat-title { font-size: 0.95rem; }

    /* Testimonials */
    .testi-card { width: 248px; padding: 18px; }

    /* About stats: 2x2 → 2-col single row look at edge */
    .about-stats { gap: 10px; }
    .astat { padding: 18px 12px; }
    .astat-num { font-size: clamp(1.5rem, 6vw, 2rem); }

    /* Audience */
    .aud-card { padding: 20px 16px; }
    .aud-icon { font-size: 2rem; }

    /* Signal: tighter horizontal cards */
    .sig-card { padding: 14px 16px; gap: 14px; }
    .sig-card-glyph { height: 36px; width: 36px; }
    .sig-card-num { font-size: 1.75rem; }

    /* Future */
    .future-card { padding: 20px 16px; }
    .future-icon { font-size: 1.6rem; }

    /* CTA */
    .cta-text-side { padding: 36px 16px; }
    .cta-title { font-size: clamp(1.7rem, 7vw, 2.4rem); }

    /* Footer: keep 2-col nav on small phones */
    .footer-nav { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
    .footer-bottom { font-size: 0.75rem; }

    /* Update modal */
    .update-modal-card { flex-direction: column; gap: 12px; padding: 16px; }
    .update-modal-actions { margin-top: 0; }
}

/* ── 375px: compact phones (iPhone SE etc.) ───────────────────── */
@media (max-width: 375px) {
    .container { padding: 0 12px; }
    .footer-container { padding: 0 12px; }

    /* Section padding */
    .features, .how, .cta-section { padding: 44px 0; }
    .about, .diff, .future-sect, .audience-sect, .signal-section, .testimonials, .faq { padding: 40px 0; }

    /* Section titles */
    .section-title { font-size: clamp(1.4rem, 8vw, 1.9rem); }
    .section-sub { font-size: 0.9rem; }

    /* About stats: full-width single col at tiny screens */
    .about-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
    .astat { padding: 16px 10px; }

    /* How nav: wraps fine, just smaller */
    .how-nav-item { font-size: 0.72rem; padding: 6px 9px; }

    /* Testi cards */
    .testi-card { width: 224px; }

    /* FAQ */
    .faq-q { font-size: 0.88rem; }
    .faq-a-inner { font-size: 0.88rem; }

    /* CTA */
    .cta-text-side { padding: 32px 12px; }
    .store-btn { max-width: 100%; }

    /* Footer */
    .footer { padding: 40px 0 0; }
    .footer-top { gap: 28px; }
}

/* ================================================================
   Legal Pages (Terms, Privacy, Refund)
   ================================================================ */

.legal-page { min-height: 100vh; }

/* ── Hero ───────────────────────────────────────────────────────── */
.legal-hero {
    padding: 140px 0 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.legal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(46,204,113,0.07), transparent 70%);
    pointer-events: none;
}
.legal-hero-icon {
    width: 60px; height: 60px;
    background: var(--green-pale);
    border: 1px solid rgba(46,204,113,0.25);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 24px;
}
.legal-hero-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 14px;
}
.legal-hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}
[data-lang="ar"] .legal-hero-title { letter-spacing: 0; line-height: 1.25; }
.legal-hero-sub {
    font-size: 1rem;
    color: var(--ink-mid);
    max-width: 540px;
    margin: 0 auto 20px;
    line-height: 1.7;
}
.legal-updated {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ink-muted);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 99px;
    padding: 5px 14px;
}
[data-theme="light"] .legal-updated { background: #f0f4f1; }

/* ── Body — 2-col grid: main content + sticky TOC sidebar ────────── */
.legal-body {
    max-width: 1060px;
    margin: 0 auto;
    padding: 72px 24px 100px;
    display: grid;
    grid-template-columns: 1fr 228px;
    column-gap: 40px;
    align-items: start;
}
/* All direct children go to the main (left) column */
.legal-body > * { grid-column: 1; }
/* TOC: float into the sidebar (right) column, sticky */
.legal-body > .legal-toc {
    grid-column: 2;
    grid-row: 1 / 999;
    position: sticky;
    top: 88px;
    margin-bottom: 0;
    align-self: start;
}
/* RTL: flip columns */
[data-lang="ar"] .legal-body {
    grid-template-columns: 228px 1fr;
}
[data-lang="ar"] .legal-body > * { grid-column: 2; }
[data-lang="ar"] .legal-body > .legal-toc { grid-column: 1; }

/* ── Section ─────────────────────────────────────────────────────── */
.legal-section {
    margin-bottom: 52px;
    padding-bottom: 52px;
    border-bottom: 1px solid var(--border-light);
    /* Offset anchor scroll so heading isn't hidden under navbar */
    scroll-margin-top: 90px;
}
.legal-section:last-child { border-bottom: none; }

.legal-section-num {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 10px;
}
.legal-h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
    padding-inline-start: 14px;
    border-inline-start: 3px solid var(--green);
}
[data-lang="ar"] .legal-h2 { letter-spacing: 0; }

.legal-h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin: 20px 0 8px;
}
.legal-p {
    font-size: 0.92rem;
    color: var(--ink-mid);
    line-height: 1.85;
    margin-bottom: 12px;
}
.legal-ul {
    list-style: none;
    margin: 8px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.legal-ul li {
    font-size: 0.92rem;
    color: var(--ink-mid);
    line-height: 1.75;
    padding-inline-start: 20px;
    position: relative;
}
.legal-ul li::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 10px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    opacity: 0.7;
}
.legal-highlight {
    background: var(--green-pale);
    border: 1px solid rgba(46,204,113,0.2);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 16px 0;
}
.legal-highlight p {
    font-size: 0.9rem;
    color: var(--ink-mid);
    line-height: 1.75;
    margin: 0;
}
.legal-highlight strong { color: var(--ink); }

/* ── TOC ──────────────────────────────────────────────────────────── */
.legal-toc {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 20px;
    margin-bottom: 52px;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(46,204,113,0.2) transparent;
}
.legal-toc::-webkit-scrollbar { width: 4px; }
.legal-toc::-webkit-scrollbar-thumb { background: rgba(46,204,113,0.25); border-radius: 2px; }
[data-theme="light"] .legal-toc { background: #f7fbf8; }
.legal-toc-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 12px;
}
.legal-toc-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr; /* single col in sidebar */
    gap: 4px;
}
.legal-toc-list li a {
    font-size: 0.78rem;
    color: var(--ink-mid);
    text-decoration: none;
    transition: color 0.15s;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}
.legal-toc-list li a::before {
    content: '';
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
    opacity: 0.6;
}
.legal-toc-list li a:hover { color: var(--green); }
.legal-toc-list li a.toc-active {
    color: var(--green);
    font-weight: 600;
}
.legal-toc-list li a.toc-active::before {
    opacity: 1;
    transform: scale(1.4);
}

/* ── Contact box ──────────────────────────────────────────────────── */
.legal-contact-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 16px;
}
[data-theme="light"] .legal-contact-box { background: #f7fbf8; }
.legal-contact-icon {
    width: 44px; height: 44px;
    background: var(--green-pale);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.legal-contact-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.legal-contact-p { font-size: 0.88rem; color: var(--ink-mid); line-height: 1.7; }
.legal-contact-p a { color: var(--green); }
.legal-contact-p a:hover { text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 860px) {
    /* Collapse sidebar to inline block on tablet/mobile */
    .legal-body,
    [data-lang="ar"] .legal-body {
        display: block;
    }
    .legal-body > .legal-toc,
    [data-lang="ar"] .legal-body > .legal-toc {
        grid-column: unset;
        grid-row: unset;
        position: static;
        max-height: none;
        overflow-y: visible;
        margin-bottom: 40px;
    }
    .legal-toc-list { grid-template-columns: 1fr 1fr; gap: 6px 20px; }
}
@media (max-width: 768px) {
    .legal-hero { padding: 110px 0 52px; }
    .legal-body { padding: 48px 18px 72px; }
    .legal-contact-box { flex-direction: column; gap: 14px; }
}
@media (max-width: 480px) {
    .legal-hero-title { letter-spacing: -0.5px; }
    .legal-h2 { font-size: 1.1rem; }
}

/* ================================================================
   CONSENT BANNER
   ================================================================ */
.consent-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 999999999;
    padding: 0 24px 20px;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.consent-banner.consent-visible {
    transform: translateY(0);
    pointer-events: all;
}
.consent-banner.consent-hiding {
    transform: translateY(calc(100% + 24px));
    transition: transform 0.3s var(--ease);
}
.consent-inner {
    max-width: 960px;
    margin: 0 auto;
    background: rgba(7, 26, 14, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(46,204,113,0.22);
    border-radius: 20px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.55),
                0 0 0 0.5px rgba(46,204,113,0.1) inset;
}
.consent-cookie-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}
.consent-text {
    flex: 1;
    font-size: 0.81rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
}
.consent-text strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.consent-text a { color: var(--green); text-decoration: none; }
.consent-text a:hover { text-decoration: underline; }
.consent-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.consent-btn-accept {
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 9px 20px;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
    display: inline-flex; align-items: center; gap: 6px;
}
.consent-btn-accept:hover { background: var(--green-dark); transform: translateY(-1px); }
.consent-btn-decline {
    background: none;
    color: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px;
    padding: 9px 16px;
    font-size: 0.78rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.consent-btn-decline:hover {
    color: rgba(255,255,255,0.75);
    border-color: rgba(255,255,255,0.28);
}

/* Light mode */
[data-theme="light"] .consent-inner {
    background: rgba(255,255,255,0.97);
    border-color: rgba(46,204,113,0.18);
    box-shadow: 0 20px 60px rgba(0,0,0,0.14);
}
[data-theme="light"] .consent-text { color: rgba(15,26,18,0.65); }
[data-theme="light"] .consent-text strong { color: rgba(15,26,18,0.88); }
[data-theme="light"] .consent-btn-decline {
    color: rgba(15,26,18,0.45);
    border-color: rgba(15,26,18,0.14);
}
[data-theme="light"] .consent-btn-decline:hover {
    color: rgba(15,26,18,0.75);
    border-color: rgba(15,26,18,0.28);
}

/* Mobile: stack to column */
@media (max-width: 640px) {
    .consent-banner { padding: 0 12px 14px; }
    .consent-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px 18px;
        border-radius: 16px;
    }
    .consent-actions { width: 100%; gap: 8px; }
    .consent-btn-accept { flex: 1; justify-content: center; }
    .consent-btn-decline { flex: 1; text-align: center; }
}

/* ================================================================
   SETTINGS WIDGET — floating right-edge panel
   ================================================================ */

/* Container: panel + tab side-by-side, anchored to right edge */
.sw {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 8500;
    display: flex;
    align-items: stretch;
}

/* Tab — always visible handle */
.sw-tab {
    flex-shrink: 0;
    width: 28px;
    min-height: 88px;
    background: rgba(7, 26, 14, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(46,204,113,0.22);
    border-right: none;
    border-radius: 12px 0 0 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    color: rgba(255,255,255,0.38);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    position: relative;
    box-shadow: -4px 0 18px rgba(0,0,0,0.35);
}
.sw-tab:hover {
    background: rgba(7, 26, 14, 0.97);
    border-color: rgba(46,204,113,0.45);
    color: var(--green);
}
.sw-chevron {
    transition: transform 0.3s var(--ease);
}
.sw.open .sw-chevron { transform: rotate(180deg); }

/* Orange badge — shown when consent not yet given */
.sw-badge {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #e67e22;
    position: absolute;
    top: 12px; right: 6px;
    display: none;
    box-shadow: 0 0 6px rgba(230,126,34,0.6);
}
.sw-badge.visible { display: block; }

/* Panel — slides open via max-width */
.sw-panel {
    max-width: 0;
    overflow: hidden;
    transition: max-width 0.36s var(--ease);
    background: rgba(7, 26, 14, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(46,204,113,0.2);
    border-right: none;
    border-radius: 16px 0 0 16px;
    box-shadow: -12px 4px 48px rgba(0,0,0,0.5);
}
.sw.open .sw-panel { max-width: 256px; }

/* Inner content — fixed width so text doesn't reflow */
.sw-inner {
    width: 236px;
    padding: 18px 16px 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s;
}
.sw.open .sw-inner {
    opacity: 1;
    pointer-events: all;
    transition-delay: 0.22s;
}

/* Section title */
.sw-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    opacity: 0.75;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    font-family: var(--font-en);
}

/* Rows */
.sw-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.055);
}
.sw-row:last-of-type { border-bottom: none; }
.sw-row-l {
    display: flex;
    align-items: center;
    gap: 9px;
}
.sw-ico { font-size: 0.95rem; line-height: 1; }
.sw-lbl { font-size: 0.82rem; color: rgba(255,255,255,0.68); font-weight: 500; }

/* Theme toggle switch */
.sw-switch {
    width: 40px; height: 22px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 11px;
    position: relative;
    cursor: pointer;
    transition: background 0.22s, border-color 0.22s;
    flex-shrink: 0;
}
.sw-switch[aria-checked="true"] {
    background: var(--green);
    border-color: var(--green);
}
.sw-thumb {
    position: absolute;
    top: 2px; left: 2px;
    width: 16px; height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: left 0.22s var(--spring);
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    pointer-events: none;
}
.sw-switch[aria-checked="true"] .sw-thumb { left: 20px; }

/* Language segmented control */
.sw-segs {
    display: flex;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.sw-seg {
    padding: 4px 11px;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    font-family: var(--font-en);
    letter-spacing: 0.04em;
}
.sw-segs .sw-seg:not(:last-child) { border-inline-end: 1px solid rgba(255,255,255,0.08); }
.sw-seg.active { background: var(--green); color: #fff; }

/* Separator */
.sw-sep {
    height: 1px;
    background: rgba(255,255,255,0.07);
    margin: 12px 0 10px;
}

/* Consent section */
.sw-ct {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    margin-bottom: 10px;
    font-family: var(--font-en);
}
.sw-cl { display: flex; flex-direction: column; gap: 7px; }
.sw-ci {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.52);
    line-height: 1.3;
}
.sw-ci-dot {
    width: 17px; height: 17px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.sw-ci-dot.ok      { background: rgba(46,204,113,0.18); color: var(--green); }
.sw-ci-dot.pending { background: rgba(230,126,34,0.18); color: #e67e22; }
.sw-ci-review {
    margin-top: 6px;
    width: 100%;
    padding: 8px 12px;
    background: rgba(230,126,34,0.1);
    border: 1px solid rgba(230,126,34,0.28);
    border-radius: 8px;
    font-size: 0.75rem;
    color: #e67e22;
    cursor: pointer;
    font-family: inherit;
    text-align: start;
    transition: background 0.15s;
    font-weight: 600;
}
.sw-ci-review:hover { background: rgba(230,126,34,0.18); }

/* Light mode */
[data-theme="light"] .sw-tab {
    background: rgba(255,255,255,0.92);
    border-color: rgba(46,204,113,0.2);
    color: rgba(15,26,18,0.3);
    box-shadow: -4px 0 20px rgba(0,0,0,0.08);
}
[data-theme="light"] .sw-tab:hover {
    background: #fff;
    border-color: rgba(46,204,113,0.45);
    color: var(--green-dark);
}
[data-theme="light"] .sw-panel {
    background: rgba(255,255,255,0.98);
    border-color: rgba(46,204,113,0.18);
    box-shadow: -12px 4px 40px rgba(0,0,0,0.1);
}
[data-theme="light"] .sw-title { color: var(--green-dark); }
[data-theme="light"] .sw-lbl { color: rgba(15,26,18,0.65); }
[data-theme="light"] .sw-row { border-bottom-color: rgba(15,26,18,0.06); }
[data-theme="light"] .sw-switch { background: rgba(15,26,18,0.08); border-color: rgba(15,26,18,0.12); }
[data-theme="light"] .sw-segs { background: rgba(15,26,18,0.04); border-color: rgba(15,26,18,0.1); }
[data-theme="light"] .sw-seg { color: rgba(15,26,18,0.4); }
[data-theme="light"] .sw-segs .sw-seg:not(:last-child) { border-inline-end-color: rgba(15,26,18,0.08); }
[data-theme="light"] .sw-sep { background: rgba(15,26,18,0.07); }
[data-theme="light"] .sw-ct { color: rgba(15,26,18,0.28); }
[data-theme="light"] .sw-ci { color: rgba(15,26,18,0.5); }

/* RTL: flip to left side */
[data-lang="ar"] .sw {
    right: auto;
    left: 0;
    /* flex-direction: row already reverses to right→left in RTL dir,
       so the tab (last DOM child) lands on the left edge naturally */
}
[data-lang="ar"] .sw-tab {
    border-radius: 0 12px 12px 0;
    border-right: 1px solid rgba(46,204,113,0.22);
    border-left: none;
    box-shadow: 4px 0 18px rgba(0,0,0,0.35);
}
[data-lang="ar"] .sw-panel {
    border-radius: 0 16px 16px 0;
    border-right: 1px solid rgba(46,204,113,0.2);
    border-left: none;
    box-shadow: 12px 4px 48px rgba(0,0,0,0.5);
}
[data-lang="ar"] .sw-chevron { transform: rotate(180deg); }
[data-lang="ar"] .sw.open .sw-chevron { transform: rotate(0deg); }
[data-theme="light"][data-lang="ar"] .sw-tab {
    border-right-color: rgba(46,204,113,0.2);
    border-left: none;
    box-shadow: 4px 0 20px rgba(0,0,0,0.08);
}
[data-theme="light"][data-lang="ar"] .sw-panel {
    border-right-color: rgba(46,204,113,0.18);
}

/* Mobile: shrink the tab so it doesn't cover content */
@media (max-width: 640px) {
    .sw {
        top: auto;
        bottom: 80px;
        transform: none;
    }
    .sw-tab {
        width: 22px;
        min-height: 52px;
    }
    .sw-chevron {
        width: 7px;
        height: 11px;
    }
    .sw-badge {
        top: 8px;
        right: 4px;
    }
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */

/* ── Body wrapper ────────────────────────────────────────────── */
.contact-body {
    padding: 64px 24px 100px;
    max-width: 1100px;
    margin: 0 auto;
}
.contact-inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: start;
}

/* ── Info panel (left) ───────────────────────────────────────── */
.contact-info-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 88px;
}
.ci-block {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.ci-icon {
    width: 38px; height: 38px;
    background: var(--green-pale);
    border: 1px solid rgba(46,204,113,0.18);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--green);
}
.ci-icon svg { width: 17px; height: 17px; }
.ci-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 4px;
}
.ci-value {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-mid);
    text-decoration: none;
    transition: color 0.15s;
    display: block;
}
a.ci-value:hover { color: var(--green); }
.ci-sep {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}
.ci-social-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: -8px;
}
.ci-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ci-soc-link {
    width: 36px; height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-muted);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ci-soc-link svg { width: 16px; height: 16px; }
.ci-soc-link:hover { color: var(--green); border-color: rgba(46,204,113,0.35); background: var(--green-pale); }

/* ── Form card (right) ───────────────────────────────────────── */
.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 40px 40px;
}

/* ── Honeypot ────────────────────────────────────────────────── */
.cf-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

/* ── Form layout ─────────────────────────────────────────────── */
.cf {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.cf-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.cf-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink-mid);
    display: flex;
    align-items: center;
    gap: 6px;
}
.cf-optional {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--ink-muted);
}

/* ── Inputs ──────────────────────────────────────────────────── */
.cf-input,
.cf-select,
.cf-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--ink);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    appearance: none;
    -webkit-appearance: none;
}
.cf-input::placeholder,
.cf-textarea::placeholder { color: var(--ink-muted); }
.cf-input:focus,
.cf-select:focus,
.cf-textarea:focus {
    border-color: rgba(46,204,113,0.5);
    box-shadow: 0 0 0 3px rgba(46,204,113,0.09);
    background: var(--surface);
}
.cf-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

/* ── Select wrapper (custom arrow) ──────────────────────────── */
.cf-select-wrap {
    position: relative;
}
.cf-select { padding-inline-end: 40px; cursor: pointer; }
.cf-select-arrow {
    position: absolute;
    inset-inline-end: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px; height: 16px;
    color: var(--ink-muted);
    pointer-events: none;
}

/* ── Submit button ───────────────────────────────────────────── */
.cf-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--green);
    color: #071A0E;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: var(--r-md);
    cursor: pointer;
    overflow: hidden;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(46,204,113,0.3);
    align-self: flex-start;
    min-width: 180px;
}
.cf-submit:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(46,204,113,0.38); }
.cf-submit:active { transform: none; }
.cf-submit-inner {
    display: flex; align-items: center; gap: 9px;
    transition: opacity 0.2s;
}
.cf-submit-arrow { width: 15px; height: 15px; }
[data-lang="ar"] .cf-submit-arrow { transform: scaleX(-1); }
.cf-spinner {
    position: absolute;
    width: 18px; height: 18px;
    border: 2.5px solid rgba(7,26,14,0.25);
    border-top-color: #071A0E;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s;
    animation: cfSpin 0.7s linear infinite;
}
@keyframes cfSpin { to { transform: rotate(360deg); } }
.cf-submit.loading .cf-submit-inner { opacity: 0; }
.cf-submit.loading .cf-spinner      { opacity: 1; }
.cf-submit.loading { pointer-events: none; }

/* ── Feedback modal overlay (success / error) ─────────────────── */
.cf-feedback {
    position: fixed;
    inset: 0;
    z-index: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.cf-feedback[hidden] { display: none; }
.cf-fb-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    max-width: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.35);
    animation: cfModalIn 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes cfModalIn {
    from { opacity: 0; transform: scale(0.88) translateY(12px); }
    to   { opacity: 1; transform: scale(1)    translateY(0); }
}
.cf-fb-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.cf-fb-icon svg { width: 28px; height: 28px; }
.cf-fb-icon-ok  { background: rgba(46,204,113,0.12); color: var(--green); border: 1px solid rgba(46,204,113,0.3); }
.cf-fb-icon-err { background: rgba(231,76,60,0.1);   color: #e74c3c;     border: 1px solid rgba(231,76,60,0.25); }
.cf-fb-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin: 0;
}
.cf-fb-sub {
    font-size: 0.9rem;
    color: var(--ink-mid);
    line-height: 1.7;
    max-width: 320px;
    margin: 0;
}
.cf-fb-btn {
    padding: 11px 28px;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--ink-mid);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--r-md);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    margin-top: 6px;
}
.cf-fb-btn:hover { border-color: var(--green); color: var(--green); }
[data-theme="light"] .cf-fb-card {
    background: #fff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 24px 64px rgba(0,0,0,0.18);
}

/* ── Light mode ──────────────────────────────────────────────── */
[data-theme="light"] .contact-info-panel,
[data-theme="light"] .contact-form-card {
    background: #fff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}
[data-theme="light"] .cf-input,
[data-theme="light"] .cf-select,
[data-theme="light"] .cf-textarea {
    background: #f6faf7;
    border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .cf-input:focus,
[data-theme="light"] .cf-select:focus,
[data-theme="light"] .cf-textarea:focus {
    background: #fff;
    border-color: rgba(46,204,113,0.5);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .contact-info-panel {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px 32px;
        padding: 24px;
    }
    .ci-block { flex: 1 1 180px; }
    .ci-sep { flex: 0 0 100%; margin: 0; }
    .ci-social-label, .ci-social { flex: 0 0 100%; }
}
@media (max-width: 640px) {
    .contact-body { padding: 40px 16px 72px; }
    .contact-form-card { padding: 24px 20px; }
    .cf-row { grid-template-columns: 1fr; }
    .cf-submit { align-self: stretch; justify-content: center; }
    .contact-info-panel { flex-direction: column; gap: 18px; }
    .ci-block { flex: none; }
}

/* ================================================================
   BACK TO TOP
   ================================================================ */
.btt {
    position: fixed;
    bottom: 32px;
    inset-inline-end: 32px;
    width: 44px; height: 44px;
    background: var(--green);
    color: #071A0E;
    border: none;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 800;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background 0.2s;
    pointer-events: none;
    box-shadow: 0 4px 18px rgba(46,204,113,0.35);
}
.btt.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.btt:hover { background: var(--green-dark); transform: translateY(-2px); }
.btt:active { transform: translateY(0); }
.btt svg { width: 18px; height: 18px; }

[data-theme="light"] .btt { box-shadow: 0 4px 18px rgba(46,204,113,0.25); }

@media (max-width: 640px) {
    .btt { bottom: 20px; inset-inline-end: 20px; width: 40px; height: 40px; border-radius: 10px; }
    .btt svg { width: 16px; height: 16px; }
}

/* ================================================================
   READING PROGRESS BAR
   ================================================================ */
.read-progress {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--green), #6ee5a0);
    z-index: 10001;
    opacity: 0;
    transition: width 0.08s linear;
    pointer-events: none;
    border-radius: 0 2px 2px 0;
}
.read-progress.active { opacity: 1; }
[data-lang="ar"] .read-progress { border-radius: 2px 0 0 2px; }
[data-theme="light"] .read-progress { background: linear-gradient(90deg, var(--green-dark), var(--green)); }

/* ================================================================
   PAGE TRANSITION OVERLAY
   ================================================================ */
#pgOverlay {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    will-change: opacity;
}
#pgOverlay.out {
    opacity: 1;
    pointer-events: all;
}

/* ================================================================
   404 / ERROR PAGES
   ================================================================ */
.err-page {
    min-height: 100svh;
    background: #071A0E;
    background-image:
        radial-gradient(ellipse 110% 70% at 50% 32%, rgba(46,204,113,0.08) 0%, transparent 65%),
        radial-gradient(ellipse 60% 50% at 18% 78%, rgba(46,204,113,0.04) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(100px, 14vh, 140px) 24px 60px;
}
.err-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    max-width: 520px;
    width: 100%;
    animation: hRise 0.8s var(--ease) both;
}
.err-mark {
    width: 64px; height: 64px;
    background: linear-gradient(145deg, var(--green) 0%, var(--green-dark) 100%);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 32px rgba(46,204,113,0.35), 0 0 60px rgba(46,204,113,0.15);
    margin-bottom: 8px;
}
.err-mark span {
    font-size: 1.75rem;
    font-weight: 900;
    color: #fff;
    font-family: var(--font-en);
    letter-spacing: -0.03em;
}
.err-code {
    font-size: clamp(5rem, 18vw, 9rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    color: var(--green);
    text-shadow: 0 0 80px rgba(46,204,113,0.3);
}
.err-title {
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.err-sub {
    font-size: clamp(0.88rem, 2vw, 1rem);
    color: rgba(255,255,255,0.42);
    line-height: 1.75;
    max-width: 400px;
}
.err-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}
.err-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: var(--green);
    color: #071A0E;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    border-radius: var(--r-md);
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(46,204,113,0.3);
}
.err-btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(46,204,113,0.4);
}
.err-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border: 1.5px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--r-md);
    text-decoration: none;
    background: rgba(255,255,255,0.03);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.err-btn-ghost:hover { border-color: var(--green); color: var(--green); }

/* Light mode */
[data-theme="light"] .err-page {
    background: #f2fbf5;
    background-image:
        radial-gradient(ellipse 110% 70% at 50% 32%, rgba(46,204,113,0.14) 0%, transparent 65%),
        radial-gradient(ellipse 60% 50% at 18% 78%, rgba(46,204,113,0.06) 0%, transparent 60%);
}
[data-theme="light"] .err-title { color: #0F1A12; }
[data-theme="light"] .err-sub   { color: rgba(15,26,18,0.48); }
[data-theme="light"] .err-btn-ghost { border-color: rgba(15,26,18,0.14); color: rgba(15,26,18,0.6); }
[data-theme="light"] .err-btn-ghost:hover { border-color: var(--green-dark); color: var(--green-dark); }

/* Mobile */
@media (max-width: 480px) {
    .err-actions { flex-direction: column; align-items: center; }
    .err-btn-primary, .err-btn-ghost { width: 100%; justify-content: center; }
}

/* ── Skip-to-content link (accessibility) ───────────────────── */
.skip-link {
    position: fixed;
    top: -100%;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: var(--green);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 0 0 10px 10px;
    text-decoration: none;
    transition: top 0.2s ease;
    white-space: nowrap;
}
.skip-link:focus { top: 0; }

/* ── Active nav link ─────────────────────────────────────────── */
.nav-links a.nav-active {
    color: var(--green);
    font-weight: 600;
}

/* ── Contact form: inline field errors ──────────────────────── */
.cf-err {
    display: block;
    font-size: 0.775rem;
    color: #e74c3c;
    margin-top: 5px;
    min-height: 1.1em;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.18s, transform 0.18s;
}
.cf-err.visible { opacity: 1; transform: translateY(0); }
.cf-field.has-error .cf-input,
.cf-field.has-error .cf-select,
.cf-field.has-error .cf-textarea {
    border-color: rgba(231,76,60,0.6);
    box-shadow: 0 0 0 3px rgba(231,76,60,0.08);
}

/* ── Floating App Download Nudge ─────────────────────────────── */
.app-nudge {
    position: fixed;
    inset-inline-start: 1rem;
    inset-inline-end: 4.5rem;
    bottom: 1.25rem;
    z-index: 400;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0.75rem 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transform: translateY(130%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
}
.app-nudge.visible   { transform: translateY(0); opacity: 1; }
.app-nudge-inner     { display: flex; align-items: center; gap: 0.75rem; flex: 1; min-width: 0; }
.app-nudge-mark {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--green);
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.app-nudge-text      { flex: 1; min-width: 0; }
.app-nudge-title     { display: block; font-size: 0.875rem; font-weight: 700; color: var(--ink); }
.app-nudge-sub       { display: block; font-size: 0.725rem; color: var(--ink-mid); margin-top: 1px; }
.app-nudge-btn {
    padding: 7px 14px;
    background: var(--green);
    color: #fff;
    border-radius: 20px;
    font-size: 0.775rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s;
}
.app-nudge-btn:hover { background: var(--green-dark); }
.app-nudge-close {
    width: 28px; height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink-mid);
    padding: 0;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: color 0.2s;
}
.app-nudge-close:hover { color: var(--ink); }
.app-nudge-close svg  { width: 14px; height: 14px; }
/* Desktop: hide nudge */
@media (min-width: 769px) { .app-nudge { display: none !important; } }
[data-theme="light"] .app-nudge {
    background: #fff;
    border-color: rgba(0,0,0,0.09);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* ================================================================
   PRINT STYLES — legal pages
   ================================================================ */
@media print {
    /* Hide everything that isn't content */
    .navbar, .footer, .btt, .sw, .read-progress, #pgOverlay,
    .consent-banner, .update-modal, .app-nudge, .skip-link,
    .legal-toc, #preloader, .cursor { display: none !important; }

    /* Page setup */
    body { background: #fff !important; color: #000 !important; font-size: 11pt; }
    * { box-shadow: none !important; text-shadow: none !important; }

    /* Hero */
    .legal-hero {
        background: none !important;
        border-bottom: 1.5pt solid #000;
        padding: 12pt 0 10pt;
        margin-bottom: 16pt;
    }
    .legal-hero-title { font-size: 20pt !important; color: #000 !important; }
    .legal-hero-sub   { font-size: 10pt !important; color: #333 !important; }
    .legal-updated    { font-size: 9pt  !important; color: #555 !important; }

    /* Body layout — single column */
    .legal-body { display: block !important; padding: 0 !important; max-width: 100% !important; }
    .legal-content { max-width: 100% !important; }

    /* Section headings */
    .legal-section-title { font-size: 13pt !important; color: #000 !important; page-break-after: avoid; }
    .legal-p, .legal-li  { font-size: 10pt !important; color: #111 !important; line-height: 1.6; }

    /* Links */
    a { color: #000 !important; text-decoration: underline; }
    a[href]::after { content: ' (' attr(href) ')'; font-size: 8pt; color: #555; }
    a[href^="#"]::after, a[href^="javascript"]::after { content: ''; }

    /* Page breaks */
    .legal-section { page-break-inside: avoid; }

    /* Language: show only English when printing */
    .lang-ar { display: none !important; }
    .lang-en { display: inline !important; }
}
