/* ═══════════════════════════════════════════════════════════════════════
   Argus — Savings Guardian · Stylesheet
   Palette and type mirror the Flutter app (brand gradient #0154DF → #21D4FE
   over the light theme's cool greys).
   ═══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand gradient — from the app's ArgusPalette */
  --blue: #0154DF;
  --blue-deep: #0139A8;
  --azure: #1194EE;
  --cyan: #21D4FE;
  --gradient: linear-gradient(135deg, #0154DF 0%, #0F8FEA 55%, #21D4FE 100%);
  --gradient-soft: linear-gradient(135deg, rgba(1, 84, 223, .10), rgba(33, 212, 254, .10));

  /* Semantic accents */
  --teal: #0E8F74;
  --teal-light: #2DD4A8;
  --gold: #F59E1B;
  --gold-light: #FFC24B;
  --coral: #E85454;
  --coral-light: #FF6B6B;

  /* Surfaces — the app's light theme */
  --bg: #F5F6FB;
  --bg-alt: #EDEFF8;
  --panel: #FFFFFF;
  --panel-soft: #FAFAFE;
  --night: #0E1020;
  --night-soft: #1C2038;

  /* Ink */
  --text: #1B1D2E;
  --muted: #6E7191;
  --border: #E4E6F2;
  --border-soft: #EDEFF8;
  --shadow: rgba(27, 29, 46, .10);
  --shadow-blue: rgba(1, 84, 223, .28);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Typography */
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --transition-fast: 200ms var(--ease-out);
  --transition-normal: 420ms var(--ease-out);
}

/* ── Reset ───────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

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

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.container {
  width: min(1180px, 100% - 2 * var(--space-lg));
  margin-inline: auto;
}

:focus-visible {
  outline: 3px solid var(--azure);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 15px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 24px -8px var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px var(--shadow-blue);
}

.btn-secondary {
  background: var(--panel);
  color: var(--blue);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--azure);
}

/* ── Navbar ──────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px -8px var(--shadow);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand img {
  border-radius: 10px;
}

.nav-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  background: var(--gradient-soft);
}

.nav-download-btn {
  margin-left: 6px;
  padding: 11px 20px !important;
  color: #fff !important;
  font-size: 15px;
}

.nav-download-btn:hover {
  color: #fff !important;
  background: var(--gradient) !important;
}

.nav-toggle {
  display: none;
  background: var(--panel);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  color: var(--text);
  cursor: pointer;
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 150px 0 var(--space-4xl);
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 78% -8%, rgba(33, 212, 254, .16), transparent 65%),
    radial-gradient(760px 460px at 6% 22%, rgba(1, 84, 223, .12), transparent 62%),
    var(--bg);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  pointer-events: none;
}

.hero-blob-1 {
  width: 380px;
  height: 380px;
  background: rgba(33, 212, 254, .5);
  top: -110px;
  right: -80px;
}

.hero-blob-2 {
  width: 300px;
  height: 300px;
  background: rgba(1, 84, 223, .35);
  bottom: -120px;
  left: -90px;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-logo {
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 30px -12px var(--shadow-blue);
  margin-bottom: var(--space-lg);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.7rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.hero h1 span {
  display: block;
}

.highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: var(--space-lg);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-xl);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  background: var(--panel);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 4px 12px -8px var(--shadow);
}

.hero-badge svg {
  color: var(--blue);
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Phone frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: min(300px, 78vw);
  border-radius: 40px;
  padding: 11px;
  background: linear-gradient(160deg, #23273f, #0d0f1c);
  box-shadow: 0 30px 60px -24px rgba(27, 29, 46, .5);
}

.phone::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
}

.phone img {
  border-radius: 30px;
  width: 100%;
}

.hero-coins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.coin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-light), var(--gold));
  color: #4A3000;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  box-shadow: 0 10px 22px -8px rgba(245, 158, 27, .7);
  animation: float 5s ease-in-out infinite;
}

.coin-a {
  top: 6%;
  left: -4%;
}

.coin-b {
  bottom: 16%;
  right: -5%;
  animation-delay: -2.4s;
  background: linear-gradient(140deg, var(--teal-light), var(--teal));
  color: #00301f;
  box-shadow: 0 10px 22px -8px rgba(14, 143, 116, .7);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }

  50% {
    transform: translateY(-16px) rotate(4deg);
  }
}

/* ── Section shell ───────────────────────────────────────────────────── */
section {
  padding: var(--space-4xl) 0;
}

.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 auto var(--space-2xl);
  font-size: 1.05rem;
}

.divider {
  height: 3px;
  background: var(--gradient);
  opacity: .16;
}

/* ── Features ────────────────────────────────────────────────────────── */
.features {
  background: var(--panel);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--panel-soft);
  border: 1px solid var(--border-soft);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -22px var(--shadow-blue);
  border-color: rgba(1, 84, 223, .22);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--gradient);
  color: #fff;
  margin-bottom: var(--space-md);
  box-shadow: 0 10px 20px -12px var(--shadow-blue);
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.feature-text {
  color: var(--muted);
  font-size: .98rem;
}

/* ── Accounts ────────────────────────────────────────────────────────── */
.accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.acc-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  min-height: 186px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  box-shadow: 0 16px 32px -18px rgba(27, 29, 46, .55);
  transition: transform var(--transition-fast);
}

.acc-card:hover {
  transform: translateY(-5px);
}

.acc-regular {
  background: var(--gradient);
}

.acc-credit {
  background: linear-gradient(135deg, #1A1F71, #2A4BC0 55%, #1434CB);
}

.acc-debit {
  background: linear-gradient(135deg, #241F20, #3D3436 55%, #1B1718);
}

.acc-crypto {
  background: linear-gradient(135deg, #141B33, #2B1B54 55%, #0E1020);
}

.acc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.acc-chip {
  width: 38px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #F7E3A1, #C9A227);
  position: relative;
  flex-shrink: 0;
}

.acc-chip::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background:
    linear-gradient(to right, transparent 31%, rgba(121, 91, 16, .45) 31%, rgba(121, 91, 16, .45) 34%, transparent 34%),
    linear-gradient(to bottom, transparent 48%, rgba(121, 91, 16, .45) 48%, rgba(121, 91, 16, .45) 52%, transparent 52%);
}

.acc-brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 1.02rem;
}

.acc-brand.visa {
  font-style: italic;
  letter-spacing: .14em;
  font-size: 1.24rem;
}

.acc-dots {
  display: flex;
  align-items: center;
}

.acc-dots span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.acc-dots span:first-child {
  background: #EB001B;
}

.acc-dots span:last-child {
  background: rgba(247, 158, 27, .92);
  margin-left: -11px;
}

.acc-coin {
  display: grid;
  place-items: center;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #F7931A, #FFC24B);
  color: #1B1200;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}

.acc-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.16rem;
  margin-bottom: 3px;
}

.acc-text {
  font-size: .92rem;
  color: rgba(255, 255, 255, .82);
}

.acc-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--gradient-soft);
  border: 1px solid rgba(1, 84, 223, .18);
}

.acc-note svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.acc-note p {
  color: var(--text);
  font-size: .98rem;
}

.acc-note strong {
  font-family: var(--font-display);
}

/* ── Rewards ─────────────────────────────────────────────────────────── */
.rewards {
  background: var(--panel);
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--space-lg);
}

.reward-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--panel-soft);
  border: 1px solid var(--border-soft);
}

.reward-badge {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-light), var(--gold));
  color: #4A3000;
  box-shadow: 0 12px 24px -14px rgba(245, 158, 27, .9);
}

.reward-badge.blue {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 24px -14px var(--shadow-blue);
}

.reward-badge.teal {
  background: linear-gradient(140deg, var(--teal-light), var(--teal));
  color: #00301f;
  box-shadow: 0 12px 24px -14px rgba(14, 143, 116, .8);
}

.reward-badge.coral {
  background: linear-gradient(140deg, var(--coral-light), var(--coral));
  color: #430e0e;
  box-shadow: 0 12px 24px -14px rgba(232, 84, 84, .8);
}

.reward-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.reward-text {
  color: var(--muted);
  font-size: .95rem;
}

/* ── Widgets ─────────────────────────────────────────────────────────── */
.widgets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.widget-card {
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 16px 32px -20px var(--shadow-blue);
  transition: transform var(--transition-fast);
}

.widget-card:hover {
  transform: translateY(-5px);
}

.widget-card.night {
  background: linear-gradient(135deg, #0A1330, #10265C 55%, #0C3A6B);
  border: 1px solid rgba(33, 212, 254, .22);
}

.widget-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-md);
}

.widget-head img {
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .85);
}

.widget-size {
  margin-left: auto;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .18);
}

.widget-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
}

.widget-text {
  font-size: .92rem;
  color: rgba(255, 255, 255, .84);
}

.widget-metrics {
  display: flex;
  gap: 7px;
  margin-bottom: var(--space-md);
}

.widget-metric {
  flex: 1;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .16);
}

.widget-metric span {
  display: block;
  font-size: .64rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}

.widget-metric strong {
  font-family: var(--font-display);
  font-size: .92rem;
}

.widget-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .25);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.widget-bar i {
  display: block;
  height: 100%;
  width: 64%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
}

/* ── Stats band ──────────────────────────────────────────────────────── */
.stats {
  background: var(--gradient);
  color: #fff;
  padding: var(--space-3xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-lg);
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.1;
}

.stat-label {
  font-size: .95rem;
  color: rgba(255, 255, 255, .86);
  font-weight: 500;
}

/* ── Showcase ────────────────────────────────────────────────────────── */
.showcase {
  background: var(--panel);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
  gap: var(--space-xl) var(--space-lg);
}

.shot-frame {
  border-radius: 26px;
  padding: 8px;
  background: linear-gradient(160deg, #23273f, #0d0f1c);
  box-shadow: 0 18px 36px -22px rgba(27, 29, 46, .6);
  transition: transform var(--transition-fast);
}

.shot:hover .shot-frame {
  transform: translateY(-6px);
}

.shot-frame img {
  border-radius: 19px;
  width: 100%;
}

.shot figcaption {
  text-align: center;
  margin-top: var(--space-md);
}

.shot-caption {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 3px;
}

.shot-text {
  color: var(--muted);
  font-size: .9rem;
}

/* ── Steps ───────────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: var(--space-lg);
}

.step {
  position: relative;
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border-soft);
}

.step-num {
  position: absolute;
  top: -20px;
  left: var(--space-lg);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  box-shadow: 0 10px 20px -12px var(--shadow-blue);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: var(--space-sm) 0;
}

.step p {
  color: var(--muted);
  font-size: .96rem;
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq {
  background: var(--panel);
}

.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: var(--space-md);
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--panel-soft);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px var(--space-lg);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(45deg);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item p {
  padding: 0 var(--space-lg) 18px;
  color: var(--muted);
  font-size: .98rem;
}

/* ── Download ────────────────────────────────────────────────────────── */
.download {
  text-align: center;
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(33, 212, 254, .16), transparent 62%),
    var(--bg);
}

.download img {
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 34px -16px var(--shadow-blue);
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer {
  background: var(--night);
  color: #fff;
  padding: var(--space-2xl) 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  border-radius: 10px;
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.footer-links a {
  color: rgba(255, 255, 255, .74);
  font-size: .95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-text {
  color: rgba(255, 255, 255, .56);
  font-size: .88rem;
}

/* ── Language switcher ───────────────────────────────────────────────── */
.lang-switcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: flex;
  gap: 3px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px -12px var(--shadow);
}

.lang-btn {
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.lang-btn.active {
  background: var(--gradient);
  color: #fff;
}

/* ── Scroll reveal ───────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

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

.reveal-delay-1 {
  transition-delay: 60ms;
}

.reveal-delay-2 {
  transition-delay: 130ms;
}

.reveal-delay-3 {
  transition-delay: 200ms;
}

.reveal-delay-4 {
  transition-delay: 270ms;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-description {
    max-width: 60ch;
  }

  .hero-badges,
  .hero-cta {
    justify-content: center;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: var(--space-lg);
    left: var(--space-lg);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: var(--space-sm);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    box-shadow: 0 18px 36px -18px var(--shadow);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .nav-download-btn {
    margin: 6px 0 0;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  section {
    padding: var(--space-3xl) 0;
  }

  .hero {
    padding: 122px 0 var(--space-3xl);
  }

  .coin {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  .showcase-grid {
    grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

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