/* ===== Samservicedefi — crypto exchange terminal design =====
   Dark trading-desk UI: flat surfaces, hairline borders, gold accent,
   green/red market colors, mono numbers. No gradients, no glass. */

:root {
  --bg: #0B0E11;
  --bg-2: #11151A;
  --card: #151A20;
  --card-2: #1C222B;
  --line: #252C35;
  --line-strong: #39424E;
  --text: #EAECEF;
  --text-soft: #B7BDC6;
  --text-mute: #828A96;
  --gold: #F0B90B;
  --gold-dark: #D9A406;
  --on-gold: #16181C;
  --up: #2EBD85;
  --up-tint: rgba(46, 189, 133, 0.12);
  --down: #F6465D;
  --down-tint: rgba(246, 70, 93, 0.12);
  --radius: 10px;
  --radius-sm: 8px;
  --shadow-pop: 0 16px 48px -8px rgba(0, 0, 0, 0.6);
  --maxw: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: clip; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(240, 185, 11, 0.25); }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
img, svg { display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Top bar (company / RUC) ===== */
.topbar { background: var(--bg-2); border-bottom: 1px solid var(--line); color: var(--text-mute); font-size: 12px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 32px; padding-top: 5px; padding-bottom: 5px; }
.topbar b { color: var(--text-soft); font-weight: 600; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--gold); color: var(--on-gold); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text-mute); background: var(--card); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn .arr { transition: transform 0.15s ease; }
.btn-primary:hover .arr { transform: translateX(3px); }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 100; background: rgba(11, 14, 17, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header.scrolled { box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.7); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.logo-mark { width: 32px; height: 32px; border-radius: 7px; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.logo-text span { color: var(--gold); }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--text-soft); font-size: 14.5px; font-weight: 500; padding-bottom: 3px; border-bottom: 2px solid transparent; transition: color 0.15s ease, border-color 0.15s ease; }
.nav a:hover { color: var(--text); border-bottom-color: var(--gold); }
.nav-mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; }
.lang-switch button { border: none; background: var(--card); color: var(--text-mute); font-family: var(--font); font-weight: 600; font-size: 13px; padding: 7px 12px; cursor: pointer; transition: color 0.15s ease, background 0.15s ease; }
.lang-switch button + button { border-left: 1px solid var(--line-strong); }
.lang-switch button.active { background: var(--gold); color: var(--on-gold); }
.lang-switch button:not(.active):hover { color: var(--text); }
.burger { display: none; flex-direction: column; gap: 5px; background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 10px; cursor: pointer; }
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding: 64px 0 48px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.badge-pill { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.badge-pill::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.hero h1 { font-size: clamp(36px, 4.4vw, 56px); color: var(--text); }
.grad-text { color: var(--gold); font-style: normal; }
.hero-sub { color: var(--text-soft); font-size: 16.5px; margin: 20px 0 26px; max-width: 480px; }
.hero-points { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.hero-points li { display: flex; align-items: center; gap: 11px; color: var(--text); font-size: 15px; }
.check { width: 20px; height: 20px; padding: 3px; flex: none; border-radius: 50%; background: var(--up-tint); fill: none; stroke: var(--up); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hero-trust { display: flex; align-items: center; gap: 12px; color: var(--text-mute); font-size: 14px; }
.stars { color: var(--gold); letter-spacing: 2px; }

/* ===== Exchange widget ===== */
.exchange-card { background: var(--card); border: 1px solid var(--line-strong); border-radius: 14px; padding: 24px; }
.exchange-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.exchange-head h2 { font-size: 19px; }
.live-dot { font-size: 12px; font-weight: 600; color: var(--up); display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); }
.live-dot::first-letter { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

.ex-field { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.ex-field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.14); }
.ex-field-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.ex-field-top label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute); font-family: var(--font-mono); }
.ex-balance { font-size: 12px; color: var(--text-mute); font-family: var(--font-mono); }
.ex-field-body { display: flex; align-items: center; gap: 10px; }
.ex-field-body input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: var(--text); font-size: 26px; font-family: var(--font-mono); font-weight: 600; }
.ex-field-body input::placeholder { color: var(--text-mute); }

.cur-select { display: inline-flex; align-items: center; gap: 8px; background: var(--card-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 12px 6px 7px; cursor: pointer; color: var(--text); font-weight: 600; font-size: 14.5px; font-family: var(--font); transition: border-color 0.15s ease; flex: none; }
.cur-select:hover { border-color: var(--text-mute); }
.cur-select .chev { width: 16px; height: 16px; fill: none; stroke: var(--text-mute); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.18s ease; }
.cur-select.open .chev { transform: rotate(180deg); }
.coin-badge { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; flex: none; font-family: var(--font); }
.coin-code { line-height: 1; }

.swap-btn { display: grid; place-items: center; width: 42px; height: 42px; margin: -9px auto; position: relative; z-index: 2; border-radius: 50%; background: var(--card-2); border: 1px solid var(--line-strong); cursor: pointer; transition: transform 0.25s ease, border-color 0.15s ease; }
.swap-btn svg { width: 19px; height: 19px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.swap-btn:hover { transform: rotate(180deg); border-color: var(--gold); }

.rate-line { text-align: center; font-size: 13px; color: var(--text-soft); margin: 16px 0; padding: 9px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); font-family: var(--font-mono); }
.rate-line b { color: var(--gold); font-weight: 600; }
.ex-extra { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.ex-extra input { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; color: var(--text); font-size: 14px; outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease; font-family: var(--font); }
.ex-extra input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.14); }
.ex-extra input::placeholder { color: var(--text-mute); }
.ex-note { font-size: 11.5px; color: var(--text-mute); text-align: center; margin-top: 12px; }
.ex-extra input.error { border-color: var(--down); box-shadow: 0 0 0 3px var(--down-tint); }
.form-msg { margin-top: 12px; font-size: 13px; color: var(--down); text-align: center; }
.btn[disabled] { opacity: 0.65; cursor: default; pointer-events: none; }

/* ===== Currency dropdown ===== */
.cur-dropdown { position: absolute; z-index: 50; width: 290px; max-height: 330px; overflow-y: auto; background: var(--card-2); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow-pop); padding: 8px; animation: pop 0.14s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-5px); } }
.cur-search { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 12px; color: var(--text); font-size: 13px; outline: none; margin-bottom: 6px; font-family: var(--font); position: sticky; top: 0; }
.cur-search:focus { border-color: var(--gold); }
.cur-group-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-mute); padding: 8px 10px 4px; font-weight: 600; font-family: var(--font-mono); }
.cur-option { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius-sm); cursor: pointer; transition: background 0.12s ease; }
.cur-option:hover, .cur-option.active { background: rgba(240, 185, 11, 0.08); }
.cur-option .coin-badge { width: 30px; height: 30px; font-size: 11px; }
.cur-option .opt-name { font-size: 14px; font-weight: 600; color: var(--text); }
.cur-option .opt-full { font-size: 12px; color: var(--text-mute); }
.cur-empty { padding: 18px; text-align: center; color: var(--text-mute); font-size: 13px; }

/* ===== Live rates board ===== */
.live-rates { margin-top: 48px; background: var(--card); border: 1px solid var(--line-strong); border-radius: 14px; padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; min-height: 96px; }
.lr-main { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.lr-pair { font-family: var(--font-mono); font-weight: 600; font-size: 17px; display: inline-flex; align-items: center; gap: 12px; letter-spacing: 0.02em; color: var(--text); }
.lr-pair .lr-chg { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 5px; font-family: var(--font); }
.lr-chg.up { color: var(--up); background: var(--up-tint); }
.lr-chg.down { color: var(--down); background: var(--down-tint); }
.lr-quotes { display: flex; gap: 40px; }
.lr-quote { display: flex; flex-direction: column; gap: 2px; }
.lr-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-mute); font-weight: 600; font-family: var(--font-mono); }
.lr-quote b { font-family: var(--font-mono); font-size: 27px; font-weight: 600; }
.lr-buy b { color: var(--up); }
.lr-sell b { color: var(--down); }
.lr-unit { font-size: 11px; color: var(--text-mute); margin-top: 1px; }
.lr-source { font-size: 12px; color: var(--text-mute); display: inline-flex; align-items: center; gap: 7px; }
.lr-source a { color: var(--text-soft); border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; }
.lr-source a:hover { color: var(--gold); border-color: var(--gold); }
.lr-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); animation: lr-pulse 1.8s ease-in-out infinite; }
.lr-dot.err { background: var(--down); animation: none; }
.lr-dot.loading { background: var(--text-mute); animation: lr-pulse 1s ease-in-out infinite; }
@keyframes lr-pulse { 50% { opacity: 0.35; } }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--text); }
.section-head p { color: var(--text-soft); font-size: 16px; margin-top: 14px; }

/* ===== Partners strip ===== */
.partners-section { padding: 52px 0 32px; }
.section-head-sm { margin-bottom: 32px; }
.section-head-sm h2 { font-size: clamp(21px, 2.5vw, 27px); }
.section-head-sm p { font-size: 15px; }
.partners-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.partner-card { display: flex; align-items: center; gap: 13px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: border-color 0.15s ease; }
.partner-card:hover { border-color: var(--line-strong); }
.partner-card.highlight { border-color: rgba(240, 185, 11, 0.5); background: rgba(240, 185, 11, 0.05); }
.partner-card.highlight .partner-tag { color: var(--gold); font-weight: 600; }
.partner-mark { width: 40px; height: 40px; border-radius: var(--radius-sm); display: grid; place-items: center; font-family: var(--font); font-weight: 700; font-size: 13px; flex: none; }
.partner-card strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; color: var(--text); }
.partner-tag { font-size: 12px; color: var(--text-mute); }

/* ===== Features ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color 0.15s ease, transform 0.15s ease; }
.feature-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feat-icon { width: 42px; height: 42px; border-radius: var(--radius-sm); background: rgba(240, 185, 11, 0.1); display: grid; place-items: center; margin-bottom: 16px; }
.feat-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.feature-card p { color: var(--text-soft); font-size: 14px; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.step { border-top: 2px solid var(--line-strong); padding-top: 18px; }
.step-num { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--gold); display: block; margin-bottom: 10px; letter-spacing: 0.08em; }
.step h3 { font-size: 17.5px; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: 14px; }

/* ===== Stats ===== */
.stats-section { padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--card); border: 1px solid var(--line-strong); border-radius: 14px; padding: 34px 10px; }
.stat { text-align: center; padding: 4px 16px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { font-family: var(--font-mono); font-size: clamp(24px, 3vw, 34px); font-weight: 600; color: var(--text); display: block; }
.stat-label { color: var(--text-mute); font-size: 13px; }

/* ===== Reserves ===== */
.reserves-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.reserve-card { display: flex; align-items: center; gap: 13px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 15px; transition: border-color 0.15s ease; }
.reserve-card:hover { border-color: var(--line-strong); }
.reserve-card .coin-badge { width: 38px; height: 38px; font-size: 12px; }
.reserve-info { min-width: 0; }
.reserve-code { font-weight: 600; font-size: 14px; color: var(--text); }
.reserve-amount { font-size: 13px; color: var(--up); font-family: var(--font-mono); }

/* ===== Reviews ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.review-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: border-color 0.15s ease; }
.review-card:hover { border-color: var(--line-strong); }
.review-card p { color: var(--text-soft); font-size: 14px; flex: 1; }
.review-author { display: flex; align-items: center; gap: 11px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--card-2); border: 1px solid var(--line-strong); color: var(--gold); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.review-author strong { display: block; font-size: 14px; color: var(--text); }
.review-author span { font-size: 12px; color: var(--text-mute); font-family: var(--font-mono); }

/* ===== FAQ ===== */
.faq-wrap { max-width: 800px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.15s ease; }
.faq-item.open { border-color: var(--line-strong); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 17px 20px; font-size: 15.5px; font-weight: 600; color: var(--text); font-family: var(--font); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-ic { position: relative; width: 16px; height: 16px; flex: none; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; background: var(--gold); border-radius: 1px; transition: transform 0.22s ease; }
.faq-ic::before { width: 16px; height: 2px; top: 7px; }
.faq-ic::after { width: 2px; height: 16px; left: 7px; }
.faq-item.open .faq-ic::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-a p { padding: 0 20px 18px; color: var(--text-soft); font-size: 14.5px; }
.faq-a b { color: var(--text); }

/* ===== CTA ===== */
.cta { position: relative; text-align: center; background: var(--gold); color: var(--on-gold); border-radius: 16px; padding: 60px 32px; }
.cta-glow { display: none; }
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--on-gold); }
.cta p { color: rgba(22, 24, 28, 0.72); font-size: 17px; margin: 12px 0 28px; }
.cta .btn-primary { background: var(--on-gold); color: var(--text); }
.cta .btn-primary:hover { background: #2B3139; }

/* ===== Compliance / legal card ===== */
.legal-section { padding: 28px 0 60px; }
.legal-card { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 30px; background: var(--card); border: 1px solid var(--line-strong); border-radius: 14px; padding: 30px; align-items: stretch; }
.legal-main h3 { font-size: 20px; }
.legal-brand { color: var(--text-mute); font-size: 13.5px; margin: 4px 0 14px; }
.legal-rows { display: flex; flex-direction: column; }
.legal-rows div { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.legal-rows div:last-child { border-bottom: none; }
.legal-rows span:first-child { color: var(--text-mute); }
.legal-rows b { color: var(--text); font-weight: 600; text-align: right; font-family: var(--font-mono); font-size: 13px; }
.legal-aside { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.legal-aside p { color: var(--text-soft); font-size: 14px; line-height: 1.6; }
.legal-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.legal-badge { font-size: 11.5px; font-weight: 600; padding: 5px 11px; border-radius: 5px; background: var(--card-2); border: 1px solid var(--line-strong); color: var(--text-soft); }
.legal-badge.accent { color: var(--on-gold); border-color: var(--gold); background: var(--gold); }
.legal-aside .btn { align-self: flex-start; }

/* ===== Footer ===== */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); color: var(--text-mute); padding: 52px 0 26px; margin-top: 40px; }
.footer .logo { color: var(--text); }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr); gap: 32px; }
.footer-brand p { color: var(--text-mute); font-size: 14px; margin: 16px 0 10px; max-width: 280px; }
.footer-partners { font-size: 12.5px; color: var(--text-mute); margin: 4px 0 18px; font-family: var(--font-mono); }
.footer-partners span { color: var(--text-soft); font-weight: 500; font-family: var(--font); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); display: grid; place-items: center; transition: border-color 0.15s ease; }
.socials a:hover { border-color: var(--gold); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: var(--text-soft); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-col h4 { font-size: 14px; margin-bottom: 16px; color: var(--text); font-weight: 600; }
.footer-col a { display: block; color: var(--text-mute); font-size: 14px; margin-bottom: 11px; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-mute); font-size: 13px; }
.footer-disc { opacity: 0.8; }

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.65); }
.modal-card { position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 40px); overflow-y: auto; background: var(--card); border: 1px solid var(--line-strong); border-radius: 14px; padding: 32px; text-align: center; box-shadow: var(--shadow-pop); }
.modal-close { position: absolute; top: 16px; right: 16px; background: var(--card-2); border: 1px solid var(--line-strong); color: var(--text-mute); width: 32px; height: 32px; border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; }
.modal-close:hover { color: var(--text); border-color: var(--text-mute); }
.modal-icon { width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; background: var(--up); color: #fff; display: grid; place-items: center; font-size: 27px; font-weight: 700; }
.modal-card h3 { font-size: 22px; margin-bottom: 8px; }
.modal-sub { color: var(--text-soft); font-size: 14px; margin-bottom: 18px; }
.order-summary { text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 16px; }
.order-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.order-row span:first-child { color: var(--text-mute); }
.order-row span:last-child { font-weight: 600; font-family: var(--font-mono); font-size: 13px; }
.order-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.modal-note { font-size: 12px; color: var(--text-mute); margin-bottom: 18px; }

/* ===== Registration form ===== */
.modal-card-form { max-width: 480px; text-align: left; }
.modal-card-form h3 { text-align: left; }
.modal-card-form .modal-sub { text-align: left; }
.ex-recap { margin: 16px 0 4px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 14px 16px; }
.ex-recap-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ex-recap-row span { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute); font-family: var(--font-mono); }
.ex-recap-row b { font-family: var(--font-mono); font-size: 16px; color: var(--text); }
.ex-recap-arrow { color: var(--gold); text-align: center; font-size: 16px; line-height: 1.2; margin: 2px 0; }
.reg-form { display: flex; flex-direction: column; gap: 13px; margin: 18px 0 4px; }
.reg-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
.reg-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.reg-field > span { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-mute); font-family: var(--font-mono); }
.reg-field input, .reg-field select {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 13px; color: var(--text); font-size: 14px; outline: none; font-family: var(--font);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.reg-field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23828A96' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 15px; padding-right: 34px;
}
.reg-field input:focus, .reg-field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(240,185,11,0.14); }
.reg-field input::placeholder { color: var(--text-mute); }
.reg-field input.error, .reg-field select.error { border-color: var(--down); box-shadow: 0 0 0 3px var(--down-tint); }
.reg-field select option { background: var(--card); color: var(--text); }
.reg-docs { display: flex; flex-direction: column; gap: 8px; }
.reg-docs-title { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-mute); font-family: var(--font-mono); }
.reg-upload { position: relative; width: 100%; aspect-ratio: 16 / 10; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); cursor: pointer; display: grid; place-items: center; overflow: hidden; padding: 0; transition: border-color 0.15s ease, background 0.15s ease; }
.reg-upload:hover { border-color: var(--gold); }
.reg-upload.done { border-style: solid; border-color: var(--up); }
.reg-upload.error { border-color: var(--down); background: var(--down-tint); }
.reg-upload-hint { font-size: 12px; color: var(--text-mute); padding: 8px 10px; text-align: center; pointer-events: none; }
.reg-upload.done .reg-upload-hint { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(11,14,17,0.78); color: var(--up); font-weight: 600; }
.reg-upload-prev { width: 100%; height: 100%; object-fit: cover; }
.reg-docs-note { font-size: 11.5px; color: var(--text-mute); line-height: 1.5; margin-top: 2px; }
.reg-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-soft); line-height: 1.5; cursor: pointer; }
.reg-consent input { width: 17px; height: 17px; margin-top: 1px; flex: none; accent-color: var(--gold); cursor: pointer; }
.reg-consent a { color: var(--gold); border-bottom: 1px solid rgba(240,185,11,0.4); }
.reg-consent a:hover { border-bottom-style: solid; }

@media (max-width: 480px) { .reg-row { grid-template-columns: minmax(0,1fr); } }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.45s ease, transform 0.45s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Terms & Conditions page ===== */
.page-terms { background: var(--bg); }
.back-link-btn { padding: 9px 16px; font-size: 14px; }
.terms-page { padding: 52px 0 80px; }
.terms-container { max-width: 820px; }
.terms-head { margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.terms-head h1 { font-size: clamp(30px, 4.4vw, 44px); margin: 14px 0 18px; }
.terms-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--text-mute); font-size: 13.5px; }
.terms-meta b { color: var(--text); font-weight: 600; }
.terms-toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 48px; }
.terms-toc h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-mute); margin-bottom: 12px; font-weight: 700; font-family: var(--font-mono); }
.terms-toc ol { columns: 2; column-gap: 32px; padding-left: 22px; color: var(--text-soft); margin: 0; }
.terms-toc li { margin-bottom: 6px; font-size: 13.5px; break-inside: avoid; line-height: 1.5; }
.terms-toc a { color: inherit; transition: color 0.15s ease; }
.terms-toc a:hover { color: var(--gold); }
.terms-body section { margin-bottom: 38px; scroll-margin-top: 100px; }
.terms-body h2 { font-size: 21px; margin-bottom: 14px; color: var(--text); }
.terms-body h3 { font-size: 16px; margin: 18px 0 8px; color: var(--text); font-weight: 600; }
.terms-body p { color: var(--text-soft); margin-bottom: 12px; font-size: 15px; line-height: 1.75; }
.terms-body p b, .terms-body strong { color: var(--text); font-weight: 600; }
.terms-body ul { padding-left: 22px; color: var(--text-soft); margin-bottom: 14px; list-style: disc; }
.terms-body ul ul { margin-top: 6px; margin-bottom: 6px; list-style: circle; }
.terms-body li { margin-bottom: 7px; font-size: 15px; line-height: 1.7; }
.terms-body a { color: var(--gold); border-bottom: 1px solid rgba(240, 185, 11, 0.35); }
.terms-body a:hover { border-bottom-color: var(--gold); }
.terms-signature { margin-top: 60px; text-align: center; padding-top: 40px; }
.terms-signature hr { border: none; border-top: 1px solid var(--line-strong); width: 260px; margin: 0 auto 18px; }
.terms-signature p { font-size: 14px; color: var(--text-soft); line-height: 1.65; }
.terms-signature strong { color: var(--text); display: block; margin-bottom: 4px; font-size: 15px; letter-spacing: 0.03em; }
.terms-back { margin-top: 56px; text-align: center; }
.terms-back a { color: var(--text-soft); font-size: 14px; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: color 0.15s, border-color 0.15s; }
.terms-back a:hover { color: var(--gold); border-color: var(--gold); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-copy { text-align: center; margin: 0 auto; }
  .badge-pill::before { display: none; }
  .hero-sub, .hero-points { margin-left: auto; margin-right: auto; }
  .hero-points li { justify-content: center; }
  .hero-trust { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reserves-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .stat:nth-child(3) { border-left: none; }
  .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .legal-card { grid-template-columns: minmax(0, 1fr); }
  .topbar-inner { justify-content: center; }
  .topbar .topbar-hours { display: none; }
}
@media (max-width: 680px) {
  .topbar { display: none; }
  .nav, .header-actions .btn-ghost, .header-actions .btn-primary { display: none; }
  .burger { display: flex; padding: 8px; }
  .logo { gap: 8px; font-size: 17px; }
  .logo-mark { width: 29px; height: 29px; font-size: 16px; }
  .header-actions { gap: 8px; }
  .lang-switch button { padding: 6px 9px; font-size: 12px; }
  .nav.open { display: flex; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line-strong); padding: 10px 24px 18px; box-shadow: var(--shadow-pop); }
  .nav.open a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav.open .nav-mobile-cta { display: block; color: var(--gold); font-weight: 600; }
  .section { padding: 58px 0; }
  .features-grid, .steps, .reserves-grid, .reviews-grid, .partners-grid { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); padding: 24px 6px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cur-dropdown { width: calc(100vw - 70px); max-width: 290px; }
  .ex-field-body input { font-size: 21px; }
  .live-rates { padding: 20px; gap: 16px; }
  .lr-main { gap: 18px; }
  .lr-quotes { gap: 24px; }
  .lr-quote b { font-size: 22px; }
  .legal-card { padding: 22px; }
}
