/* ============================================================
   Digital Arbitration — Design System
   Palette derived from woida.us: primary #1B4C85 (deep blue)
   Font: Cairo (Latin + Arabic), system fallbacks for CJK
   ============================================================ */

:root {
    --primary: #1B4C85;
    --primary-dark: #123A68;
    --primary-darker: #0C2C52;
    --primary-light: #2A6CB8;
    --primary-soft: #E8F0FA;
    --accent: #C9A227;
    --accent-soft: #FBF4DD;
    --ink: #16283C;
    --muted: #5A6B7F;
    --line: #E3E9F1;
    --bg: #FFFFFF;
    --bg-alt: #F5F8FC;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(18, 58, 104, .06);
    --shadow-md: 0 10px 30px rgba(18, 58, 104, .10);
    --shadow-lg: 0 24px 60px rgba(18, 58, 104, .16);
    --font: 'Cairo', 'Segoe UI', Tahoma, 'Noto Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; border-radius: 999px;
    font-family: var(--font); font-weight: 700; font-size: 15px;
    cursor: pointer; border: none; transition: all .25s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--primary-light), var(--primary)); color: #fff; box-shadow: 0 6px 18px rgba(27, 76, 133, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(27, 76, 133, .45); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; letter-spacing: .2px; }
.brand-text b { color: var(--primary); font-weight: 800; }
.brand-mark {
    width: 40px; height: 40px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; box-shadow: 0 4px 12px rgba(27, 76, 133, .35);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-mark img { width: 26px; height: 26px; object-fit: contain; display: block; }
.brand.light { color: #fff; }
.brand.light .brand-text b { color: #9CC3EF; }

.main-nav { display: flex; gap: 26px; }
.main-nav a { font-weight: 600; font-size: 15px; color: var(--muted); transition: color .2s; }
.main-nav a:hover { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Language switch */
.lang-switch { position: relative; }
.lang-btn {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px;
    padding: 8px 14px; font-family: var(--font); font-weight: 600; font-size: 14px;
    color: var(--ink); cursor: pointer; transition: border-color .2s;
}
.lang-btn:hover { border-color: var(--primary-light); }
.lang-btn svg { width: 17px; height: 17px; color: var(--primary); }
.lang-btn .chev { width: 14px; height: 14px; color: var(--muted); transition: transform .2s; }
.lang-switch.open .chev { transform: rotate(180deg); }
.lang-menu {
    position: absolute; top: calc(100% + 10px); inset-inline-end: 0;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 8px;
    display: none; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 300px;
    max-height: 60vh; overflow-y: auto;
}
.lang-switch.open .lang-menu { display: grid; }
.lang-menu a { padding: 9px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.lang-menu a:hover { background: var(--primary-soft); color: var(--primary); }
.lang-menu a.active { background: var(--primary); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: all .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 160px 0 90px; overflow: hidden; }
.hero-bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(900px 480px at 82% -10%, rgba(42, 108, 184, .16), transparent 60%),
        radial-gradient(700px 420px at -10% 30%, rgba(201, 162, 39, .10), transparent 60%),
        linear-gradient(180deg, #F2F7FD 0%, #FFFFFF 78%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary-soft); color: var(--primary);
    font-size: 13.5px; font-weight: 700;
    border: 1px solid rgba(27, 76, 133, .18);
    padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero-badge svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

.hero h1 {
    font-size: clamp(34px, 4.6vw, 54px); font-weight: 900; line-height: 1.18;
    letter-spacing: -.5px; margin-bottom: 18px;
    background: linear-gradient(120deg, var(--primary-darker), var(--primary), var(--primary-light));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 18px; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badges.center { justify-content: center; }
.store-badge {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--ink); color: #fff;
    padding: 11px 22px; border-radius: 14px;
    transition: transform .25s, box-shadow .25s;
    box-shadow: var(--shadow-sm);
}
.store-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .sb-text { display: flex; flex-direction: column; line-height: 1.2; text-align: start; }
.store-badge .sb-text small { font-size: 10.5px; opacity: .85; letter-spacing: .3px; }
.store-badge .sb-text b { font-size: 17px; font-weight: 700; }
.store-badge.light { background: #fff; color: var(--primary-darker); }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
    width: 280px; height: 570px; border-radius: 44px; padding: 12px;
    background: linear-gradient(160deg, #223A55, #101E30);
    box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .06);
    position: relative; z-index: 1;
}
.phone::before {
    content: ''; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
    width: 96px; height: 26px; background: #101E30; border-radius: 14px; z-index: 3;
}
.phone-screen {
    width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
    background: linear-gradient(180deg, #F2F7FD, #FFFFFF);
    display: flex; flex-direction: column;
}
.phone-tilt { transform: rotate(-5deg); }

.ps-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 58px 20px 20px; display: flex; align-items: center; gap: 12px;
}
.ps-logo {
    width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .18);
    display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.ps-logo svg { width: 19px; height: 19px; }
.ps-logo img { width: 20px; height: 20px; object-fit: contain; display: block; }
.ps-header .ps-line { background: rgba(255, 255, 255, .5); }

.ps-card {
    margin: 12px 16px 0; background: #fff; border: 1px solid var(--line);
    border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 9px;
    box-shadow: var(--shadow-sm);
}
.ps-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ps-line { display: inline-block; height: 9px; border-radius: 5px; background: #C4D3E5; }
.ps-line.dim { background: #E1E9F2; }
.w-40 { width: 40%; } .w-45 { width: 45%; } .w-50 { width: 50%; } .w-55 { width: 55%; }
.w-60 { width: 60%; } .w-65 { width: 65%; } .w-70 { width: 70%; } .w-75 { width: 75%; } .w-80 { width: 80%; }
.ps-chip { width: 44px; height: 16px; border-radius: 999px; flex-shrink: 0; }
.chip-green { background: #CDEEDA; } .chip-gold { background: var(--accent-soft); } .chip-blue { background: var(--primary-soft); }

.ps-nav {
    margin-top: auto; padding: 16px; display: flex; justify-content: space-around;
    border-top: 1px solid var(--line); background: #fff;
}
.ps-dot { width: 22px; height: 6px; border-radius: 4px; background: #DDE6F0; }
.ps-dot.active { background: var(--primary); }

.ps-timeline { padding: 18px 16px; display: flex; flex-direction: column; gap: 18px; }
.ps-tl-item { display: flex; align-items: center; gap: 12px; position: relative; }
.ps-tl-item:not(:last-child)::after {
    content: ''; position: absolute; inset-inline-start: 7px; top: 20px;
    width: 2px; height: 16px; background: var(--line);
}
.ps-tl-dot { width: 16px; height: 16px; border-radius: 50%; background: #DDE6F0; flex-shrink: 0; }
.ps-tl-dot.done { background: #35B26B; }
.ps-tl-dot.active { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }

/* Floating cards */
.float-card {
    position: absolute; display: flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 12px 16px; box-shadow: var(--shadow-md); z-index: 2; width: 190px;
    animation: floaty 5s ease-in-out infinite;
}
.fc-icon { font-size: 22px; display: inline-flex; color: var(--primary); }
.fc-icon svg { width: 22px; height: 22px; }
.fc-lines { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.fc-1 { top: 12%; inset-inline-start: -4%; }
.fc-2 { bottom: 14%; inset-inline-end: -6%; animation-delay: 2.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Stats ---------- */
.stats { padding: 10px 0 30px; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
    background: linear-gradient(135deg, var(--primary-darker), var(--primary));
    border-radius: var(--radius-lg); padding: 38px 30px;
    box-shadow: var(--shadow-md);
}
.stat { text-align: center; color: #fff; }
.stat b { display: block; font-size: 34px; font-weight: 900; color: #fff; }
.stat span { font-size: 14px; color: #B9D2ED; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
    background:
        radial-gradient(700px 380px at 85% 0%, rgba(42, 108, 184, .35), transparent 60%),
        linear-gradient(150deg, var(--primary-darker), var(--primary-dark));
    color: #fff;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head.start { text-align: start; margin-inline: 0; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; margin-bottom: 12px; letter-spacing: -.3px; }
.section-head p { color: var(--muted); font-size: 16.5px; }
.section-dark .section-head p { color: #AFC9E6; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 28px 24px; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(27, 76, 133, .3); }
.feature-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 54px; height: 54px; border-radius: 16px; font-size: 26px;
    background: var(--primary-soft); margin-bottom: 16px; color: var(--primary);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
    position: relative; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 30px 24px 26px;
    transition: transform .3s, box-shadow .3s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff; font-weight: 900; font-size: 19px; margin-bottom: 16px;
    box-shadow: 0 6px 14px rgba(27, 76, 133, .3);
}
.step h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- Showcase ---------- */
.showcase-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.showcase-bullet { display: flex; gap: 16px; margin-bottom: 24px; }
.sb-check {
    width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
    background: var(--primary-soft); color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
}
.sb-check svg { width: 17px; height: 17px; }
.showcase-bullet h3 { font-size: 17px; font-weight: 800; margin-bottom: 5px; }
.showcase-bullet p { font-size: 14.5px; color: var(--muted); }

/* ---------- Languages ---------- */
.lang-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.lang-chip {
    padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
    background: rgba(255, 255, 255, .08); color: #DCE9F7;
    border: 1px solid rgba(255, 255, 255, .18);
    transition: all .25s;
}
.lang-chip:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.lang-chip.active { background: #fff; color: var(--primary-dark); border-color: #fff; }

/* ---------- Security ---------- */
.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.security-card {
    background: linear-gradient(180deg, #FFFFFF, #F7FAFE);
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 28px 24px; text-align: center;
    transition: transform .3s, box-shadow .3s;
}
.security-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.security-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 58px; height: 58px; border-radius: 50%; font-size: 26px;
    background: var(--accent-soft); margin-bottom: 16px; color: #9A7B1C;
}
.security-icon svg { width: 26px; height: 26px; }
.security-card h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; }
.security-card p { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: box-shadow .3s;
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: rgba(27, 76, 133, .3); }
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 22px; cursor: pointer; font-weight: 700; font-size: 16px;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; transition: transform .3s; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item > p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- Download panel ---------- */
.download-panel {
    position: relative; overflow: hidden; text-align: center;
    background: linear-gradient(140deg, var(--primary-darker), var(--primary), var(--primary-light));
    border-radius: 28px; padding: 70px 40px; color: #fff;
    box-shadow: var(--shadow-lg);
}
.dp-glow {
    position: absolute; inset: 0;
    background:
        radial-gradient(400px 200px at 20% 0%, rgba(255, 255, 255, .14), transparent 60%),
        radial-gradient(500px 260px at 85% 100%, rgba(201, 162, 39, .25), transparent 60%);
    pointer-events: none;
}
.download-panel h2 { position: relative; font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; margin-bottom: 14px; }
.download-panel p { position: relative; color: #C9DCF2; max-width: 640px; margin: 0 auto 34px; font-size: 16.5px; }
.download-panel .store-badges { position: relative; }

/* ---------- Contact ---------- */
.contact-card {
    display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 30px 34px; box-shadow: var(--shadow-sm);
}
.contact-icon {
    width: 58px; height: 58px; border-radius: 16px; font-size: 26px;
    background: var(--primary-soft); color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 26px; height: 26px; }
.contact-info { flex: 1; min-width: 200px; }
.contact-info b { display: block; font-size: 16px; }
.contact-info a { color: var(--primary); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(160deg, var(--primary-darker), #0A2340); color: #C6D8EC; }
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px;
    padding: 64px 24px 40px;
}
.footer-about p { margin-top: 18px; font-size: 14.5px; color: #9DB8D6; max-width: 380px; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 16px; }
.footer-col a { display: block; padding: 5px 0; font-size: 14.5px; color: #9DB8D6; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 22px 24px; font-size: 13.5px; color: #7E9CBE; text-align: center;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .float-card { animation: none; }
}

/* ---------- RTL ---------- */
[dir="rtl"] .phone-tilt { transform: rotate(5deg); }

/* ---------- Fee calculator ---------- */
.calc-grid { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: start; }

.calc-card {
    background: #fff; border: 1px solid var(--line, #DCE5F0); border-radius: 18px;
    padding: 26px; box-shadow: 0 8px 24px rgba(12, 44, 82, .08);
    position: sticky; top: 90px;
}
.calc-field { margin-bottom: 18px; }
.calc-field label { display: block; font-weight: 700; font-size: 14px; color: var(--primary-darker); margin-bottom: 7px; }
.calc-field input, .calc-field select {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--line, #DCE5F0); border-radius: 12px;
    font-family: inherit; font-size: 16px; font-weight: 600; color: var(--ink); background: var(--bg-alt, #F5F8FC);
    box-sizing: border-box;
}
.calc-field input:focus, .calc-field select:focus { outline: none; border-color: var(--primary-light); background: #fff; }

.calc-chips { display: flex; gap: 10px; }
.calc-chip {
    flex: 1; padding: 10px 0; border-radius: 12px; border: 1.5px solid var(--line, #DCE5F0);
    background: var(--bg-alt, #F5F8FC); font-family: inherit; font-size: 16px; font-weight: 700;
    color: var(--muted); cursor: pointer; transition: all .15s;
}
.calc-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(27, 76, 133, .3); }

.calc-submit { width: 100%; justify-content: center; margin-top: 4px; }
.calc-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.calc-error { margin-top: 12px; font-size: 13.5px; font-weight: 600; color: #B4232A; background: #FBEAEA; border: 1px solid #F0C7C9; border-radius: 10px; padding: 10px 14px; }

.calc-result { display: grid; gap: 18px; }
.calc-result-in { animation: calcIn .35s ease; }
@keyframes calcIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.calc-total-card {
    background: linear-gradient(135deg, var(--primary-darker), var(--primary) 60%, var(--primary-light));
    border-radius: 18px; padding: 24px 26px; color: #fff; box-shadow: 0 12px 30px rgba(12, 44, 82, .25);
}
.calc-total-label { font-size: 14px; font-weight: 700; opacity: .85; }
.calc-total-value { font-size: 38px; font-weight: 800; line-height: 1.2; margin-top: 4px; direction: ltr; }
.calc-total-usd { font-size: 14px; opacity: .85; direction: ltr; }
.calc-tier { display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 12.5px; font-weight: 600; }

.calc-detail-card { background: #fff; border: 1px solid var(--line, #DCE5F0); border-radius: 18px; padding: 22px 26px; }
.calc-detail-card h3 { font-size: 16px; color: var(--primary-darker); margin: 0 0 12px; }

.calc-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14.5px; border-bottom: 1px dashed var(--line, #DCE5F0); }
.calc-row span { color: var(--muted); }
.calc-row small { color: var(--muted); font-weight: 400; }
.calc-row b { font-weight: 700; color: var(--ink); white-space: nowrap; direction: ltr; }
.calc-row-total { border-bottom: none; padding-top: 12px; }
.calc-row-total span, .calc-row-total b { color: var(--primary); font-weight: 800; font-size: 16px; }

.calc-stage { display: flex; gap: 14px; padding: 10px 0; }
.calc-stage-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); margin-top: 6px; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(201, 162, 39, .18); }
.calc-stage-body { flex: 1; }
.calc-stage-head { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.calc-stage-pct { padding: 2px 8px; border-radius: 999px; background: rgba(27, 76, 133, .1); color: var(--primary); font-size: 12px; font-weight: 700; }
.calc-stage-amount { font-weight: 700; font-size: 15px; margin-top: 2px; direction: ltr; text-align: start; }
.calc-stage-desc { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .calc-grid { grid-template-columns: 1fr; }
    .calc-card { position: static; }
    .feature-grid, .security-grid, .steps { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-copy .store-badges { justify-content: center; }
    .hero-sub { margin-inline: auto; }
    .hero-visual { margin-top: 30px; }
    .showcase-inner { grid-template-columns: 1fr; gap: 40px; }
    .showcase-visual { order: 2; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
    .main-nav {
        position: fixed; top: 72px; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        flex-direction: column; gap: 0; padding: 10px 24px 16px;
        box-shadow: var(--shadow-md);
        display: none;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--bg-alt); }
    .nav-toggle { display: flex; }
    .header-cta { display: none; }
    .hero { padding-top: 130px; }
    .float-card { display: none; }
    .section { padding: 64px 0; }
    .lang-menu { position: fixed; inset-inline: 16px; top: 80px; min-width: 0; }
}

@media (max-width: 520px) {
    .feature-grid, .security-grid, .steps { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; padding: 28px 18px; }
    .stat b { font-size: 26px; }
    .store-badge { width: 100%; justify-content: center; }
    .download-panel { padding: 50px 22px; }
    .contact-card { flex-direction: column; text-align: center; }
}
