/* ============================================================
   Site-16: Bybit Mobile Trading — iOS-native Product Page
   Design DNA: iOS App Store meets Robinhood mobile
   ============================================================ */

/* --- Font Faces --- */
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- Design Tokens --- */
:root {
  /* Palette */
  --bg: #F2F2F7;
  --surface: #FFFFFF;
  --ink: #1C1C1E;
  --ink-2: #636366;
  --ink-3: #AEAEB2;
  --primary: #007AFF;
  --primary-hover: #0056CC;
  --accent: #F7A600;
  --accent-light: #FFF3D6;
  --green: #34C759;
  --red: #FF3B30;
  --rule: #C7C7CC;
  --rule-light: #E5E5EA;
  --overlay: rgba(0,0,0,0.4);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  --h1: clamp(32px, 5vw, 56px);
  --h2: clamp(24px, 4vw, 40px);
  --h3: clamp(20px, 3vw, 28px);
  --body: 16px;
  --body-sm: 14px;
  --body-xs: 13px;
  --caption: 12px;

  /* 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;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-full: 9999px;

  /* Shadows (iOS-style) */
  --sh-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --sh-md: 0 4px 12px rgba(0,0,0,0.08);
  --sh-lg: 0 8px 30px rgba(0,0,0,0.12);
  --sh-phone: 0 20px 60px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.08);

  /* Layout */
  --max-w: 1120px;
  --nav-h: 56px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: var(--body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select { font: inherit; }

/* --- Utility --- */
.shell { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--space-md); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.text-center { text-align: center; }
.text-muted { color: var(--ink-2); }

/* --- Masthead --- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242,242,247,0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--rule-light);
  height: var(--nav-h);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand__sub { color: var(--primary); }

/* Mobile nav toggle */
.mastnav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}
.mastnav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.mastnav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mastnav-toggle.is-open span:nth-child(2) { opacity: 0; }
.mastnav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mastnav {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 0.5px solid var(--rule-light);
  padding: var(--space-md);
  box-shadow: var(--sh-md);
}
.mastnav.is-open { display: block; }
.mastnav a {
  display: block;
  padding: var(--space-sm) 0;
  color: var(--ink);
  font-size: var(--body);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 0.5px solid var(--rule-light);
}
.mastnav a:last-child { border-bottom: none; }
.mastnav a.is-active { color: var(--primary); }
.mastnav a:hover { color: var(--primary); text-decoration: none; }

/* Language select in nav */
.lang-select {
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  background: var(--bg);
  font-size: var(--body-xs);
  color: var(--ink);
  margin-top: var(--space-sm);
}

/* --- Hero Section --- */
.hero {
  padding: var(--space-3xl) 0 var(--space-2xl);
  text-align: center;
}
.hero__content { margin-bottom: var(--space-xl); }
.hero__eyebrow {
  display: inline-block;
  font-size: var(--body-sm);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
}
.hero__title {
  font-size: var(--h1);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--space-md);
}
.hero__sub {
  font-size: var(--body);
  color: var(--ink-2);
  max-width: 520px;
  margin: 0 auto var(--space-lg);
  line-height: 1.6;
}

/* Star rating */
.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}
.rating__stars { display: flex; gap: 2px; }
.rating__star {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
.rating__star--empty { color: var(--rule); }
.rating__text {
  font-size: var(--body-sm);
  color: var(--ink-2);
  font-weight: 500;
}

/* Download buttons */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

/* Platform buttons */
.btn-platform {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--r-lg);
  font-weight: 500;
  font-size: var(--body);
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  line-height: 1.2;
}
.btn-platform:hover { transform: translateY(-1px); text-decoration: none; }
.btn-platform:active { transform: scale(0.97); }
.btn-platform--ios {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--sh-md);
}
.btn-platform--ios:hover { box-shadow: var(--sh-lg); }
.btn-platform--android {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--rule);
}
.btn-platform--android:hover { border-color: var(--primary); color: var(--primary); }
.btn-platform__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.btn-platform__label {
  display: flex;
  flex-direction: column;
  font-size: var(--caption);
  font-weight: 400;
  line-height: 1.2;
}
.btn-platform__store {
  font-size: var(--body-sm);
  font-weight: 600;
  line-height: 1.2;
}

/* Primary CTA button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: var(--body);
  border-radius: var(--r-xl);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,122,255,0.3);
}
.btn-primary:hover {
  background: var(--primary-hover);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,122,255,0.35);
}
.btn-primary:active { transform: scale(0.97); }

/* Secondary CTA */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  background: var(--surface);
  color: var(--primary);
  font-weight: 600;
  font-size: var(--body);
  border-radius: var(--r-xl);
  border: 1.5px solid var(--primary);
  transition: background 0.15s, transform 0.15s;
  text-decoration: none;
}
.btn-secondary:hover {
  background: rgba(0,122,255,0.06);
  text-decoration: none;
}

/* QR code section */
.hero__qr {
  display: none;
}

/* --- Phone Mockup --- */
.phone-showcase {
  display: flex;
  justify-content: center;
  padding: 0 var(--space-md);
}
.phone-frame {
  width: 280px;
  height: 572px;
  background: #000;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--sh-phone);
  position: relative;
  flex-shrink: 0;
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

/* Screen carousel tabs */
.phone-tabs {
  display: flex;
  gap: 0;
  background: var(--surface);
  border-bottom: 0.5px solid var(--rule-light);
  padding: 0 4px;
}
.phone-tab {
  flex: 1;
  padding: 10px 4px 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-2);
  text-align: center;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.phone-tab.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.phone-tab__icon {
  display: block;
  margin: 0 auto 2px;
  font-size: 16px;
}

/* Carousel viewport */
.carousel-viewport {
  position: relative;
  height: calc(100% - 82px);
  overflow: hidden;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
  padding: var(--space-md);
  overflow-y: auto;
}

/* --- App Screen Styles --- */
.app-screen { font-size: var(--body-sm); }
.app-screen__greeting {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.app-screen__balance-label {
  font-size: var(--caption);
  color: var(--ink-2);
}
.app-screen__balance {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: var(--space-md);
}
.app-screen__change {
  font-size: var(--body-sm);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}
.app-screen__change--up { color: var(--green); }
.app-screen__change--dn { color: var(--red); }

.app-card {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  box-shadow: var(--sh-sm);
}
.app-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.app-card__name {
  font-weight: 600;
  font-size: var(--body-sm);
}
.app-card__price {
  font-weight: 600;
  font-size: var(--body-sm);
}
.app-card__change {
  font-size: var(--caption);
  font-weight: 500;
}
.app-card__chart {
  height: 32px;
  margin-top: var(--space-sm);
  background: linear-gradient(180deg, rgba(52,199,89,0.1), transparent);
  border-radius: var(--r-sm);
}

/* Markets screen */
.market-search {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 10px var(--space-md);
  font-size: var(--body-sm);
  color: var(--ink-3);
  margin-bottom: var(--space-md);
  border: 1px solid var(--rule-light);
}
.market-row {
  display: flex;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 0.5px solid var(--rule-light);
}
.market-row:last-child { border-bottom: none; }
.market-row__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-right: var(--space-sm);
  flex-shrink: 0;
}
.market-row__info { flex: 1; }
.market-row__name { font-weight: 600; font-size: var(--body-sm); }
.market-row__pair { font-size: var(--caption); color: var(--ink-2); }
.market-row__price-col { text-align: right; }
.market-row__price { font-weight: 600; font-size: var(--body-sm); }
.market-row__change { font-size: var(--caption); font-weight: 500; }
.market-row__btn {
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-left: var(--space-sm);
}

/* Trade screen */
.trade-pair {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  border-bottom: 0.5px solid var(--rule-light);
}
.trade-pair__price {
  font-size: 26px;
  font-weight: 700;
}
.trade-pair__stats {
  display: flex;
  gap: var(--space-md);
  font-size: var(--caption);
  color: var(--ink-2);
}
.trade-form {
  margin-top: var(--space-md);
}
.trade-tabs {
  display: flex;
  gap: 0;
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 3px;
  margin-bottom: var(--space-md);
}
.trade-tab {
  flex: 1;
  padding: 8px;
  text-align: center;
  font-size: var(--body-sm);
  font-weight: 600;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  transition: all 0.2s;
}
.trade-tab.is-active {
  background: var(--primary);
  color: #fff;
}
.trade-input {
  width: 100%;
  padding: var(--space-md);
  background: var(--surface);
  border: 1px solid var(--rule-light);
  border-radius: var(--r-md);
  font-size: var(--body);
  margin-bottom: var(--space-sm);
  color: var(--ink);
}
.trade-input:focus { outline: none; border-color: var(--primary); }
.trade-summary {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: var(--space-md);
  font-size: var(--caption);
  color: var(--ink-2);
  margin-bottom: var(--space-md);
}
.trade-summary__row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-xs) 0;
}
.trade-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: var(--body);
  text-align: center;
}
.trade-btn--buy { background: var(--green); color: #fff; }
.trade-btn--sell { background: var(--red); color: #fff; }

/* Earn screen */
.earn-hero {
  background: linear-gradient(135deg, #1C1C1E 0%, #2C2C2E 100%);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  color: #fff;
  margin-bottom: var(--space-lg);
}
.earn-hero__title {
  font-size: var(--body-sm);
  font-weight: 500;
  color: var(--ink-3);
  margin-bottom: var(--space-xs);
}
.earn-hero__apy {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}
.earn-hero__sub {
  font-size: var(--caption);
  color: var(--ink-3);
}
.earn-product {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  box-shadow: var(--sh-sm);
}
.earn-product__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}
.earn-product__name { font-weight: 600; font-size: var(--body-sm); }
.earn-product__apy {
  font-weight: 700;
  font-size: var(--body);
  color: var(--accent);
}
.earn-product__details {
  font-size: var(--caption);
  color: var(--ink-2);
}

/* Profile screen */
.profile-header {
  text-align: center;
  padding: var(--space-lg) 0;
}
.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}
.profile-name { font-weight: 700; font-size: 18px; }
.profile-id { font-size: var(--caption); color: var(--ink-2); }
.profile-menu { margin-top: var(--space-md); }
.profile-menu-item {
  display: flex;
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 0.5px solid var(--rule-light);
  font-size: var(--body-sm);
  font-weight: 500;
}
.profile-menu-item:last-child { border-bottom: none; }
.profile-menu-item__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: var(--space-md);
  font-size: 16px;
}
.profile-menu-item__arrow {
  margin-left: auto;
  color: var(--ink-3);
  font-size: 18px;
}

/* --- Section Shared --- */
.section {
  padding: var(--space-3xl) 0;
}
.section--surface {
  background: var(--surface);
}
.section__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.section__eyebrow {
  font-size: var(--body-sm);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
}
.section__title {
  font-size: var(--h2);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-sm);
}
.section__desc {
  font-size: var(--body);
  color: var(--ink-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
.feature-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  box-shadow: var(--sh-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-md);
}
.feature-card__icon--blue { background: rgba(0,122,255,0.1); color: var(--primary); }
.feature-card__icon--orange { background: var(--accent-light); color: var(--accent); }
.feature-card__icon--green { background: rgba(52,199,89,0.1); color: var(--green); }
.feature-card__title {
  font-size: var(--body);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}
.feature-card__desc {
  font-size: var(--body-sm);
  color: var(--ink-2);
  line-height: 1.5;
}

/* --- Metrics Strip --- */
.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.metric {
  text-align: center;
  padding: var(--space-lg);
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.metric__value {
  font-size: var(--h3);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.metric__label {
  font-size: var(--body-sm);
  color: var(--ink-2);
  margin-top: var(--space-xs);
}

/* --- 2-column layout (phone | text) --- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.split__text { order: 2; }
.split__visual { order: 1; display: flex; justify-content: center; }

/* --- Steps / Guide --- */
.steps {
  counter-reset: step;
}
.step {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 0.5px solid var(--rule-light);
}
.step:last-child { border-bottom: none; }
.step__num {
  counter-increment: step;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--body);
  flex-shrink: 0;
}
.step__content { flex: 1; }
.step__title {
  font-weight: 600;
  font-size: var(--body);
  margin-bottom: var(--space-xs);
}
.step__desc {
  font-size: var(--body-sm);
  color: var(--ink-2);
  line-height: 1.5;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 0.5px solid var(--rule-light);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  font-size: var(--body);
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  gap: var(--space-md);
}
.faq-q::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--ink-2);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item.is-open .faq-q::after {
  content: '\2212';
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.is-open .faq-a {
  max-height: 400px;
}
.faq-a__inner {
  padding: 0 0 var(--space-md);
  font-size: var(--body-sm);
  color: var(--ink-2);
  line-height: 1.6;
}

/* --- Risk / Legal --- */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: var(--body);
  line-height: 1.7;
  color: var(--ink-2);
}
.legal-content h2 {
  font-size: var(--h3);
  font-weight: 700;
  color: var(--ink);
  margin: var(--space-xl) 0 var(--space-md);
}
.legal-content h3 {
  font-size: var(--body);
  font-weight: 600;
  color: var(--ink);
  margin: var(--space-lg) 0 var(--space-sm);
}
.legal-content p {
  margin-bottom: var(--space-md);
}
.legal-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}
.legal-content li {
  margin-bottom: var(--space-sm);
  list-style: disc;
}
.risk-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255,59,48,0.08);
  color: var(--red);
  border-radius: var(--r-sm);
  font-size: var(--caption);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

/* --- Footer --- */
.footer {
  background: var(--surface);
  border-top: 0.5px solid var(--rule-light);
  padding: var(--space-2xl) 0 var(--space-xl);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.footer__col-title {
  font-size: var(--body-sm);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}
.footer__col a {
  display: block;
  padding: var(--space-xs) 0;
  font-size: var(--body-sm);
  color: var(--ink-2);
}
.footer__col a:hover { color: var(--primary); text-decoration: none; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 0.5px solid var(--rule-light);
  font-size: var(--caption);
  color: var(--ink-2);
  gap: var(--space-md);
}
.footer__social {
  display: flex;
  gap: var(--space-md);
}
.footer__social a {
  color: var(--ink-2);
  font-size: var(--body);
}
.footer__social a:hover { color: var(--primary); }

/* --- Download Page --- */
.download-hero {
  text-align: center;
  padding: var(--space-4xl) 0 var(--space-2xl);
}
.download-platforms {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 600px;
  margin: 0 auto;
}
.download-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--space-xl);
  box-shadow: var(--sh-sm);
  text-align: center;
  transition: transform 0.2s;
}
.download-card:hover { transform: translateY(-2px); }
.download-card__icon {
  font-size: 48px;
  margin-bottom: var(--space-md);
}
.download-card__title {
  font-weight: 700;
  font-size: var(--body);
  margin-bottom: var(--space-xs);
}
.download-card__desc {
  font-size: var(--body-sm);
  color: var(--ink-2);
  margin-bottom: var(--space-md);
}
.download-card__meta {
  font-size: var(--caption);
  color: var(--ink-3);
  margin-bottom: var(--space-md);
}

/* QR section */
.qr-section {
  text-align: center;
}
.qr-section img {
  width: 160px;
  height: 160px;
  margin: 0 auto var(--space-md);
  border-radius: var(--r-md);
}

/* --- Features Page --- */
.features-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}
.features-showcase__item {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.features-showcase__visual {
  background: var(--bg);
  padding: var(--space-xl);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  font-size: 64px;
}
.features-showcase__text {
  padding: var(--space-xl);
}
.features-showcase__label {
  font-size: var(--body-sm);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}
.features-showcase__title {
  font-size: var(--h3);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.features-showcase__desc {
  font-size: var(--body-sm);
  color: var(--ink-2);
  line-height: 1.6;
}

/* --- Guide Page --- */
.guide-cta {
  text-align: center;
  padding: var(--space-2xl) 0;
}

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: var(--caption);
  color: var(--ink-2);
  padding: var(--space-md) 0;
}
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 var(--space-xs); }

/* --- Page Header (inner pages) --- */
.page-header {
  padding: var(--space-2xl) 0 var(--space-xl);
  text-align: center;
}
.page-header__title {
  font-size: var(--h1);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}
.page-header__desc {
  font-size: var(--body);
  color: var(--ink-2);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}
