/* ==========================================================================
   CryptoAnyWhere — shared stylesheet
   ========================================================================== */

:root {
  --bg: #05070f;
  --bg-2: #080d1c;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.05);

  --text: #eef2ff;
  --muted: #98a2c0;
  --dim: #6f7a99;

  --accent: #2f6bff;
  --accent-2: #7b5cff;
  --mint: #35e0a1;

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1120px;

  --shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  --glow: 0 0 60px rgba(47, 107, 255, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient background glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 78% -5%, rgba(47, 107, 255, 0.20), transparent 60%),
    radial-gradient(700px 500px at 8% 12%, rgba(123, 92, 255, 0.14), transparent 60%),
    radial-gradient(900px 700px at 50% 110%, rgba(53, 224, 161, 0.08), transparent 60%),
    linear-gradient(180deg, #05070f 0%, #070b18 50%, #05070f 100%);
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 750;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1.15em; color: #c8d0e6; }

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

.narrow { max-width: 780px; }

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
  font-weight: 700;
  margin-bottom: 14px;
}

.lead {
  font-size: 1.16rem;
  color: var(--muted);
  max-width: 62ch;
}

.muted { color: var(--muted); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5, 7, 15, 0.72);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 7, 15, 0.92);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.45);
  font-size: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.93rem;
  color: var(--muted);
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover { color: var(--text); background: var(--panel); }

.nav-links a.active {
  color: var(--text);
  background: var(--panel-strong);
  box-shadow: inset 0 0 0 1px var(--line);
}

.nav-cta {
  padding: 9px 18px !important;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
  color: #fff !important;
  font-weight: 650;
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.35);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(-1px); }

/* ==========================================================================
   Partner strip
   ========================================================================== */

.partners {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.015);
}

.partners-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 34px;
  padding: 18px 24px;
}

.partner {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  font-size: 0.95rem;
  color: #cdd6ef;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner:hover { opacity: 1; transform: translateY(-1px); }

.partner .dot {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 12px;
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.35), rgba(123, 92, 255, 0.35));
  box-shadow: inset 0 0 0 1px var(--line);
}

.partner-sep {
  width: 1px;
  height: 20px;
  background: var(--line);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { padding: 86px 0 64px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 { margin-bottom: 20px; }

.hero h1 .grad {
  background: linear-gradient(100deg, #7fb0ff, #b39cff 55%, #35e0a1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 12px 30px rgba(47, 107, 255, 0.38);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(47, 107, 255, 0.5); }

.btn-ghost {
  background: var(--panel);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover { background: var(--panel-strong); transform: translateY(-2px); }

/* Store badges */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  line-height: 1.2;
  color: #dbe2f5;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.badge:hover { border-color: rgba(47, 107, 255, 0.6); transform: translateY(-2px); }

.badge small { display: block; font-size: 0.66rem; color: var(--dim); letter-spacing: 0.06em; }
.badge b { font-weight: 650; font-size: 0.92rem; }
.badge .ico { font-size: 17px; }

/* ==========================================================================
   Feature list (hero)
   ========================================================================== */

.feature-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.feature-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-ico {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: linear-gradient(150deg, rgba(47, 107, 255, 0.28), rgba(123, 92, 255, 0.18));
  box-shadow: inset 0 0 0 1px var(--line), 0 8px 22px rgba(0, 0, 0, 0.35);
}

.feature-list h3 { margin: 2px 0 4px; font-size: 1.02rem; font-weight: 700; }
.feature-list p { margin: 0; font-size: 0.94rem; color: var(--muted); }

/* ==========================================================================
   Phone + card mock
   ========================================================================== */

.mock { position: relative; display: grid; place-items: center; }

.phone {
  width: 300px;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg, #1b2233, #0a0e1a);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
}

.phone-screen {
  border-radius: 32px;
  background: linear-gradient(180deg, #0a1226, #060a16);
  padding: 18px 16px 14px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.notch {
  width: 92px;
  height: 20px;
  border-radius: 999px;
  background: #05070f;
  margin: 0 auto 12px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--dim);
  margin-bottom: 14px;
}

.balance-label { font-size: 0.72rem; color: var(--dim); }
.balance { font-size: 1.55rem; font-weight: 750; letter-spacing: -0.02em; margin: 2px 0 16px; }

.quick-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.quick {
  text-align: center;
  font-size: 0.62rem;
  color: var(--muted);
}

.quick i {
  display: grid;
  place-items: center;
  height: 34px;
  margin-bottom: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  font-style: normal;
  font-size: 14px;
}

.mini-card {
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(125deg, #2450d8, #5b3ce0 60%, #7b5cff);
  box-shadow: 0 18px 40px rgba(47, 60, 224, 0.45);
  margin-bottom: 16px;
}

.mini-card .row1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 650;
  opacity: 0.95;
}

.mini-card .num {
  margin: 18px 0 10px;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.mini-card .row2 {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.64rem;
  opacity: 0.9;
}

.mini-card .visa { font-size: 1.05rem; font-weight: 800; font-style: italic; letter-spacing: 0.02em; }

.tx-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--dim);
  margin-bottom: 8px;
}

.tx {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
}

.tx .avatar {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  display: grid;
  place-items: center;
  font-size: 11px;
}

.tx .name { flex: 1; }
.tx .name small { display: block; color: var(--dim); font-size: 0.6rem; }
.tx .amt { text-align: right; font-weight: 650; }
.tx .amt small { display: block; color: var(--dim); font-weight: 400; font-size: 0.6rem; }

.nfc-ring {
  position: absolute;
  right: -18px;
  bottom: 90px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: rgba(47, 107, 255, 0.15);
  box-shadow: 0 0 0 1px rgba(47, 107, 255, 0.5), var(--glow);
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 1px rgba(47, 107, 255, 0.5), 0 0 0 0 rgba(47, 107, 255, 0.35); }
  70%  { box-shadow: 0 0 0 1px rgba(47, 107, 255, 0.5), 0 0 0 26px rgba(47, 107, 255, 0); }
  100% { box-shadow: 0 0 0 1px rgba(47, 107, 255, 0.5), 0 0 0 0 rgba(47, 107, 255, 0); }
}

/* ==========================================================================
   Sections
   ========================================================================== */

section { padding: 78px 0; }

.section-head { max-width: 700px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.divider { border: 0; height: 1px; background: var(--line-soft); margin: 0; }

/* Cards grid */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 107, 255, 0.45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.card .ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 19px;
  margin-bottom: 16px;
  background: linear-gradient(150deg, rgba(47, 107, 255, 0.3), rgba(123, 92, 255, 0.18));
  box-shadow: inset 0 0 0 1px var(--line);
}

.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 18px; }

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 1.15rem;
  font-weight: 750;
  color: transparent;
  background: linear-gradient(135deg, #7fb0ff, #b39cff);
  -webkit-background-clip: text;
  background-clip: text;
}

.step h3 { margin-bottom: 6px; }
.step p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: center;
}

.stat b {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 780;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #8fbaff, #b39cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span { font-size: 0.85rem; color: var(--muted); }

/* Article body */
.article { padding-top: 56px; }

.article-body p { font-size: 1.04rem; }

.article-body h2 { margin-top: 2.1em; }
.article-body h3 { margin-top: 1.6em; }

.article-body ul, .article-body ol { color: #c8d0e6; padding-left: 1.2em; margin: 0 0 1.3em; }
.article-body li { margin-bottom: 0.5em; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--dim);
  margin-bottom: 28px;
}

.pill {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.76rem;
  color: var(--muted);
}

blockquote {
  margin: 2em 0;
  padding: 22px 26px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(47, 107, 255, 0.07);
  font-size: 1.08rem;
  color: #dbe3f7;
}

blockquote p:last-child { margin: 0; }

/* Table */
.table-wrap { overflow-x: auto; margin: 0 0 1.6em; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 520px;
}

th, td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
}

th { color: var(--text); font-weight: 650; background: rgba(255, 255, 255, 0.035); }
td { color: var(--muted); }

tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* Big card visual */
.card-visual {
  position: relative;
  border-radius: 22px;
  padding: 30px;
  background: linear-gradient(125deg, #16233f, #0b1024 55%, #131a3a);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  overflow: hidden;
}

.card-visual::after {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.35), transparent 65%);
}

.credit-card {
  position: relative;
  z-index: 1;
  max-width: 400px;
  border-radius: 18px;
  padding: 24px;
  background: linear-gradient(125deg, #1e2b52, #0f1730 55%, #2a1f5c);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.11);
}

.credit-card .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 650;
  color: #dfe6fb;
}

.chip {
  width: 40px;
  height: 30px;
  border-radius: 7px;
  margin: 34px 0 16px;
  background: linear-gradient(140deg, #d8c48a, #8d7635);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.credit-card .num {
  font-size: 1.16rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  margin-bottom: 20px;
}

.credit-card .bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.72rem;
  color: #b9c3e0;
}

.credit-card .visa {
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  color: #fff;
}

/* Accordion (FAQ) */
.faq { display: grid; gap: 12px; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open { border-color: rgba(47, 107, 255, 0.5); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
}

.faq-q .chev { color: var(--dim); transition: transform 0.25s ease; flex: 0 0 auto; }
.faq-item.open .chev { transform: rotate(180deg); color: var(--accent); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a-inner { padding: 0 22px 20px; color: var(--muted); font-size: 0.96rem; }
.faq-a-inner p:last-child { margin: 0; }

/* CTA band */
.cta {
  border-radius: 24px;
  padding: 52px 40px;
  text-align: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(47, 107, 255, 0.28), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
}

.cta h2 { margin-bottom: 12px; }
.cta p { max-width: 54ch; margin: 0 auto 26px; color: var(--muted); }
.cta .hero-actions { justify-content: center; }

/* Page hero (inner pages) */
.page-hero { padding: 68px 0 22px; }
.page-hero h1 { margin-bottom: 14px; }

/* Next / prev page nav */
.page-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 44px 0 78px;
}

.page-nav a {
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-nav a:hover { border-color: rgba(47, 107, 255, 0.5); transform: translateY(-3px); }
.page-nav small { display: block; color: var(--dim); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.page-nav b { font-weight: 650; font-size: 1.02rem; }
.page-nav .next { text-align: right; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.25);
  padding: 52px 0 34px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  margin-bottom: 34px;
}

.footer-grid h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
  font-weight: 650;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a { color: var(--muted); font-size: 0.93rem; transition: color 0.18s ease; }
.footer-grid a:hover { color: var(--text); }
.footer-grid p { font-size: 0.92rem; color: var(--muted); max-width: 34ch; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.85rem;
  color: var(--dim);
}

/* ==========================================================================
   Utilities / motion
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in { opacity: 1; transform: none; }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(10, 14, 26, 0.9);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 60;
}

.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { border-color: rgba(47, 107, 255, 0.6); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .mock { order: -1; }
  .grid, .grid.two { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: grid; }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 18px 20px;
    background: rgba(6, 9, 19, 0.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    display: none;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 12px; }
  .nav-cta { text-align: center; }

  .partner-sep { display: none; }
  .partners-inner { gap: 12px 20px; }

  section { padding: 58px 0; }
  .hero { padding: 56px 0 40px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid, .grid.two, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-nav { grid-template-columns: 1fr; }
  .page-nav .next { text-align: left; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .cta { padding: 38px 22px; }
  .phone { width: 100%; max-width: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
