:root {
  --brand-green: #3ed625;
  --brand-blue: #4087f1;
  --brand-navy: #1a2a4a;
  --brand-navy-2: #2d5a9e;
  --text: #1f2937;
  --text-muted: #6b7280;
  --bg: #f5f7fa;
  --bg-white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 12px 40px rgba(26, 42, 74, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;
  --max-w: 1180px;
  --heading: var(--brand-navy);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --bg: #0a1018;
  --bg-white: #141f38;
  --border: #2a3d66;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --heading: #f1f5f9;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

main {
  overflow-x: clip;
}

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

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

.container {
  width: 100%;
  max-width: min(var(--max-w), 100%);
  margin-inline: auto;
  padding-inline: 16px;
  box-sizing: border-box;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.25s, box-shadow 0.25s;
  overflow: visible;
}

.site-header.scrolled,
.site-header.nav-open {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

html[data-theme="dark"] .site-header.scrolled,
html[data-theme="dark"] .site-header.nav-open {
  background: rgba(20, 31, 56, 0.96);
}

.site-header:not(.scrolled):not(.nav-open) .btn-ghost,
.site-header:not(.scrolled):not(.nav-open) .theme-toggle {
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.site-header:not(.scrolled):not(.nav-open) .btn-ghost:hover,
.site-header:not(.scrolled):not(.nav-open) .theme-toggle:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.site-header:not(.scrolled):not(.nav-open) .nav-toggle span {
  background: #fff;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  overflow: visible;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 1;
  min-width: 0;
}

.brand-logo {
  height: 36px;
  width: auto;
  max-width: min(32vw, 180px);
  object-fit: contain;
  object-position: left center;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-green);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.footer-logo {
  height: 44px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
  min-width: 0;
  flex-wrap: nowrap;
}

.site-nav a {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s, background 0.2s;
}

.site-nav a:hover {
  color: var(--brand-blue);
  background: rgba(64, 135, 241, 0.08);
}

.site-header:not(.scrolled):not(.nav-open) .site-nav a {
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
}

.site-header:not(.scrolled):not(.nav-open) .site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .site-header.scrolled .site-nav a:hover,
html[data-theme="dark"] .site-header.nav-open .site-nav a:hover {
  background: rgba(64, 135, 241, 0.14);
}

html[data-theme="dark"] .site-header:not(.scrolled):not(.nav-open) .site-nav a.nav-app-link:hover {
  color: #fff;
  background: rgba(62, 214, 37, 0.28);
}

.site-nav a.nav-app-link {
  color: #1a7a12;
  background: rgba(62, 214, 37, 0.12);
  border: 1px solid rgba(62, 214, 37, 0.35);
  font-weight: 600;
  flex-shrink: 0;
}

.site-nav a.nav-app-link:hover {
  color: #145a0f;
  background: rgba(62, 214, 37, 0.18);
  border-color: rgba(62, 214, 37, 0.5);
}

.site-nav a.nav-app-link.is-active {
  color: #fff;
  background: var(--brand-green);
  border-color: var(--brand-green);
  box-shadow: 0 4px 14px rgba(62, 214, 37, 0.35);
}

.site-nav a.nav-app-link.is-active:hover {
  color: #fff;
  background: #35c01f;
  border-color: #35c01f;
}

.site-header:not(.scrolled):not(.nav-open) .site-nav a.nav-app-link {
  color: #d4ffc8;
  background: rgba(62, 214, 37, 0.18);
  border-color: rgba(62, 214, 37, 0.45);
}

.site-header:not(.scrolled):not(.nav-open) .site-nav a.nav-app-link:hover {
  color: #fff;
  background: rgba(62, 214, 37, 0.28);
}

.site-header:not(.scrolled):not(.nav-open) .site-nav a.nav-app-link.is-active {
  color: #fff;
  background: var(--brand-green);
  border-color: var(--brand-green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-actions .btn-primary {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.lang-toggle {
  max-width: none;
  font-size: 0.85rem;
  padding: 8px 12px;
  white-space: nowrap;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  border-radius: 50%;
  flex-shrink: 0;
  color: var(--text);
  position: relative;
}

.theme-toggle .theme-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  pointer-events: none;
}

.theme-toggle .theme-icon-light {
  display: block;
}

.theme-toggle .theme-icon-dark {
  display: none;
}

html[data-theme="dark"] .theme-toggle .theme-icon-light {
  display: none;
}

html[data-theme="dark"] .theme-toggle .theme-icon-dark {
  display: block;
}

html[data-theme="dark"] .site-header.scrolled .theme-toggle,
html[data-theme="dark"] .site-header.nav-open .theme-toggle {
  color: #f1f5f9;
}

html[data-theme="dark"] .site-header:not(.scrolled):not(.nav-open) .theme-toggle {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(64, 135, 241, 0.35);
}

.btn-primary:hover {
  background: #3578e0;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline-light {
  background: transparent;
  color: var(--brand-blue);
  border: 1.5px solid rgba(64, 135, 241, 0.45);
}

.btn-outline-light:hover {
  background: rgba(64, 135, 241, 0.08);
  border-color: var(--brand-blue);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 14px;
}

.btn-ghost:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.lang-switcher {
  position: relative;
}

.lang-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(92vw, 280px);
  max-height: min(70vh, 420px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 120;
}

.site-header.lang-open .lang-panel {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.lang-panel-head {
  padding: 12px 16px 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
}

.lang-panel-list {
  padding: 6px;
}

.lang-option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.lang-option:hover {
  background: var(--bg);
}

.lang-option.active {
  background: rgba(64, 135, 241, 0.1);
  color: var(--brand-blue);
}

.lang-option.active::after {
  content: '✓';
  font-size: 0.85rem;
  font-weight: 700;
}

html[dir='rtl'] .lang-panel {
  right: auto;
  left: 0;
}

html[dir='rtl'] .lang-option {
  text-align: right;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--brand-navy);
  margin: 6px 0;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 48px) 0 80px;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-2) 55%, #1e4d8c 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(62, 214, 37, 0.15), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(64, 135, 241, 0.2), transparent 40%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  min-width: 0;
}

.hero-content {
  min-width: 0;
  max-width: 100%;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(62, 214, 37, 0.15);
  color: var(--brand-green);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
  border: 1px solid rgba(62, 214, 37, 0.35);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.25;
  font-weight: 800;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-desc {
  margin: 0 0 28px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 540px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 10% 0 10% 10%;
  background: radial-gradient(circle, rgba(62, 214, 37, 0.22), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.phone-mock {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  width: min(100%, 340px);
  padding: 12px 12px 16px;
  border-radius: 36px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.phone-notch {
  width: 96px;
  height: 6px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.phone-screen {
  background: #f8fafc;
  border-radius: 24px;
  overflow: hidden;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: #000;
}

.phone-top img {
  height: 28px;
  width: auto;
  margin: 0 auto;
}

.phone-chart-panel {
  margin: 12px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #141f38 0%, #0f172a 100%);
  border: 1px solid rgba(61, 82, 128, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.phone-chart-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: end;
  margin-bottom: 10px;
}

.phone-chart-pair {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

.phone-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 0 rgba(62, 214, 37, 0.55);
  animation: phone-live-pulse 2s ease-out infinite;
}

@keyframes phone-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 214, 37, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(62, 214, 37, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 214, 37, 0); }
}

.phone-chart-price {
  grid-column: 1;
  font-size: 1.35rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.phone-chart-change {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.phone-chart-change.up {
  color: var(--brand-green);
  background: rgba(62, 214, 37, 0.14);
}

.phone-chart-change.down {
  color: #ff6b6b;
  background: rgba(255, 77, 79, 0.14);
}

.phone-chart-canvas {
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
}

.phone-chart-canvas svg {
  display: block;
  width: 100%;
  height: 100%;
}

.phone-chart-fallback {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(62, 214, 37, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(62, 214, 37, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(62, 214, 37, 0.12), rgba(64, 135, 241, 0.12));
  background-size: 18px 18px, 18px 18px, 100% 100%;
  opacity: 0.7;
}

.phone-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 12px 12px;
}

.mini-card {
  background: #fff;
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(26, 42, 74, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.mini-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(26, 42, 74, 0.1);
}

.mini-card strong {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.mini-card em {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #16a34a;
}

.mini-card em.down {
  color: #dc2626;
}

/* Stats */
.stats {
  margin-top: -36px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.stat-item {
  text-align: center;
  padding: 8px;
}

.stat-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--heading);
  line-height: 1.2;
}

.stat-label {
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Coin tickers */
.coin-tickers {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  padding-bottom: 4px;
}

.coin-tickers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.coin-ticker-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px rgba(26, 42, 74, 0.07);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.coin-ticker-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26, 42, 74, 0.12);
  border-color: rgba(64, 135, 241, 0.25);
}

.coin-ticker-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.coin-ticker-icon-img {
  background: transparent;
  border: none;
}

.coin-ticker-icon-img img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.coin-ticker-icon-letter {
  background: var(--coin-color, #4087f1);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.coin-ticker-body {
  min-width: 0;
  flex: 1;
}

.coin-ticker-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.coin-ticker-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.coin-ticker-change {
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.coin-ticker-change.up {
  color: #16a34a;
}

.coin-ticker-change.down {
  color: #dc2626;
}

/* BTC Chart */
.btc-chart-section {
  padding-top: 28px;
}

.btc-chart-panel {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.btc-chart-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 12px;
  border-bottom: 1px solid var(--border);
}

.btc-symbol {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btc-symbol img {
  width: 40px;
  height: 40px;
  padding: 6px;
  background: var(--bg);
  border-radius: 50%;
}

.btc-pair {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--heading);
  font-size: 1rem;
}

.btc-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
}

.btc-live-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  animation: pulse-live 1.4s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.btc-quote {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}

.btc-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}

.btc-change {
  font-size: 0.92rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.btc-change.up { color: #16a34a; }
.btc-change.down { color: #dc2626; }

.btc-intervals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btc-interval {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btc-interval:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.btc-interval.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

.btc-chart-wrap {
  position: relative;
  height: clamp(400px, 58vw, 520px);
  min-height: 400px;
  background: #141f38;
}

.btc-chart-canvas {
  width: 100%;
  height: 100%;
}

.btc-chart-status {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(20, 31, 56, 0.94);
  font-size: 0.95rem;
  color: #e2e8f0;
  z-index: 2;
}

.btc-chart-status:not([hidden]) {
  display: grid;
}

.btc-chart-status.is-loading::after {
  content: '';
  width: 28px;
  height: 28px;
  margin-left: 10px;
  border: 3px solid #e5e7eb;
  border-top-color: var(--brand-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btc-chart-status.is-error {
  color: #dc2626;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .btc-chart-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .btc-intervals {
    justify-content: space-between;
  }

  .btc-interval {
    flex: 1;
    min-width: 0;
    padding: 8px 6px;
    text-align: center;
  }

  .btc-chart-wrap {
    height: 420px;
  }
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--heading);
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.section-features {
  background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
}

.section-markets {
  background: #fff;
  padding-top: 64px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border-radius: calc(var(--radius) + 2px);
  padding: 28px 24px 30px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(26, 42, 74, 0.06);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
  opacity: 0.85;
  transform: scaleX(0.35);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.feature-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--brand-blue), #5b9cf5);
}

.feature-card:nth-child(3)::before {
  background: linear-gradient(90deg, #1b7f8e, var(--brand-green));
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(26, 42, 74, 0.12);
  border-color: rgba(64, 135, 241, 0.25);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(26, 42, 74, 0.06);
  pointer-events: none;
  user-select: none;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(26, 42, 74, 0.08);
}

.feature-icon-speed {
  background: linear-gradient(135deg, rgba(62, 214, 37, 0.18), rgba(62, 214, 37, 0.06));
}

.feature-icon-security {
  background: linear-gradient(135deg, rgba(64, 135, 241, 0.2), rgba(64, 135, 241, 0.06));
}

.feature-icon-support {
  background: linear-gradient(135deg, rgba(27, 127, 142, 0.2), rgba(27, 127, 142, 0.06));
}

.feature-icon img {
  width: 30px;
  height: 30px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
  color: var(--heading);
  line-height: 1.35;
}

.feature-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.market-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  padding: 26px 24px 22px;
  min-height: 228px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(26, 42, 74, 0.18);
  transition: transform 0.25s, box-shadow 0.25s;
}

.market-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(26, 42, 74, 0.24);
}

.market-card-glow {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  top: -40px;
  right: -30px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
  pointer-events: none;
}

.market-card.crypto {
  background: linear-gradient(155deg, #1a2a4a 0%, #2d5a9e 55%, #4087f1 100%);
}

.market-card.forex {
  background: linear-gradient(155deg, #0a3d47 0%, #0f4c5c 50%, #1b9aaa 100%);
}

.market-card.futures {
  background: linear-gradient(155deg, #2f2250 0%, #4a3578 55%, #7b5bb8 100%);
}

.market-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
}

.market-card h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  line-height: 1.3;
}

.market-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  opacity: 0.92;
  max-width: 28ch;
}

.market-card-footer {
  margin-top: auto;
  padding-top: 22px;
}

.coin-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.coin-row img {
  width: 40px;
  height: 40px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}

.market-card:hover .coin-row img {
  transform: translateY(-2px);
}

.pair-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pair-chips span {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(4px);
}

.platform-grid,
.platform-panel {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.section-platform {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  padding-bottom: 64px;
}

.platform-panel {
  padding: 20px;
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-white);
  border: 1px solid var(--border);
  box-shadow: 0 10px 36px rgba(26, 42, 74, 0.07);
}

.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 22px 12px 18px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.platform-item:hover {
  background: #fff;
  border-color: rgba(64, 135, 241, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 42, 74, 0.1);
}

.platform-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  transition: transform 0.2s;
}

.platform-item:hover .platform-icon {
  transform: scale(1.06);
}

.platform-icon-deposit {
  background: linear-gradient(135deg, rgba(64, 135, 241, 0.18), rgba(64, 135, 241, 0.06));
}

.platform-icon-withdraw {
  background: linear-gradient(135deg, rgba(27, 127, 142, 0.18), rgba(27, 127, 142, 0.06));
}

.platform-icon-exchange {
  background: linear-gradient(135deg, rgba(62, 214, 37, 0.18), rgba(62, 214, 37, 0.06));
}

.platform-icon-lending {
  background: linear-gradient(135deg, rgba(107, 79, 154, 0.18), rgba(107, 79, 154, 0.06));
}

.platform-icon-kyc {
  background: linear-gradient(135deg, rgba(26, 42, 74, 0.12), rgba(26, 42, 74, 0.04));
}

.platform-icon-service {
  background: linear-gradient(135deg, rgba(64, 135, 241, 0.14), rgba(62, 214, 37, 0.1));
}

.platform-icon img {
  width: 28px;
  height: 28px;
}

.platform-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.35;
}

.section-about {
  padding-top: 0;
  padding-bottom: 64px;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--bg-white);
  border-radius: calc(var(--radius) + 4px);
  padding: 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  background: linear-gradient(160deg, #050505 0%, var(--brand-navy) 58%, #1e4d8c 100%);
}

.about-brand-glow {
  position: absolute;
  inset: auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 214, 37, 0.28) 0%, transparent 72%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.about-brand-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 200px);
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(62, 214, 37, 0.22);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.about-brand-inner img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 44px;
  border-left: 1px solid var(--border);
}

.about-content h2 {
  margin: 0 0 18px;
  color: var(--heading);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.about-content h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
}

.about-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 56ch;
}

.about-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-version {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(62, 214, 37, 0.1);
  border: 1px solid rgba(62, 214, 37, 0.28);
  border-radius: 999px;
  font-size: 0.85rem;
  color: #2d9b1a;
  font-weight: 600;
}

.about-version::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(62, 214, 37, 0.2);
}

.contact-grid,
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
}

.section-contact {
  padding-top: 0;
  padding-bottom: 72px;
  background: var(--bg);
}

.contact-panel {
  align-items: stretch;
}

.contact-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-white);
  border-radius: calc(var(--radius) + 2px);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 32px rgba(26, 42, 74, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(26, 42, 74, 0.1);
}

.contact-card-app {
  background: linear-gradient(145deg, #f8fbff 0%, #fff 55%, #f3f8ff 100%);
  border-color: rgba(64, 135, 241, 0.18);
}

.contact-card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(64, 135, 241, 0.16), rgba(64, 135, 241, 0.06));
}

.contact-card-icon-app {
  background: linear-gradient(135deg, rgba(62, 214, 37, 0.16), rgba(64, 135, 241, 0.1));
}

.contact-card-icon img {
  width: 26px;
  height: 26px;
}

.contact-card-body {
  flex: 1;
  min-width: 0;
}

.contact-card h3 {
  margin: 0 0 10px;
  color: var(--heading);
  font-size: 1.08rem;
}

.contact-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-email {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s;
}

.contact-email:hover {
  color: #2d6fd4;
  text-decoration: underline;
}

.contact-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #152238 0%, var(--brand-navy) 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 52px 0 28px;
}

.footer-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  width: 520px;
  height: 200px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(62, 214, 37, 0.14), transparent 70%);
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-tagline {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 22px;
}

.footer-nav a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--brand-green);
}

.footer-cta {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(62, 214, 37, 0.16);
  border: 1px solid rgba(62, 214, 37, 0.45);
  color: var(--brand-green) !important;
  font-weight: 600;
}

.footer-cta:hover {
  background: rgba(62, 214, 37, 0.26);
  color: #fff !important;
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
  margin: 6px 0;
}

.footer-disclaimer {
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.42) !important;
}

/* Dark theme section tweaks */
html[data-theme="dark"] .section-features {
  background: linear-gradient(180deg, var(--bg) 0%, #0f172a 100%);
}

html[data-theme="dark"] .section-markets {
  background: var(--bg);
}

html[data-theme="dark"] .section-platform {
  background: linear-gradient(180deg, #0f172a 0%, var(--bg) 100%);
}

html[data-theme="dark"] .section-contact {
  background: #0f172a;
}

html[data-theme="dark"] .stat-item {
  background: var(--bg-white);
  border-color: var(--border);
}

html[data-theme="dark"] .coin-ticker-icon-img {
  background: transparent;
}

html[data-theme="dark"] .platform-item {
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .platform-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .contact-card-app {
  background: linear-gradient(145deg, #1a2740 0%, var(--bg-white) 55%, #17243d 100%);
  border-color: rgba(64, 135, 241, 0.28);
}

html[data-theme="dark"] .mini-card {
  background: #1a2740;
  border-color: var(--border);
}

html[data-theme="dark"] .phone-screen {
  background: #0f172a;
  border-color: var(--border);
}

html[data-theme="dark"] .lang-panel {
  background: var(--bg-white);
  border-color: var(--border);
}

html[data-theme="dark"] .feature-num {
  color: rgba(255, 255, 255, 0.06);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive */
@media (max-width: 1280px) {
  .site-nav a {
    padding: 8px 8px;
    font-size: 0.82rem;
  }

  .header-actions .btn-primary {
    padding: 9px 14px;
    font-size: 0.84rem;
  }

  .brand-logo {
    max-width: min(28vw, 150px);
  }
}

@media (max-width: 1100px) {
  .site-nav a {
    padding: 8px 7px;
    font-size: 0.8rem;
  }

  .brand-logo {
    max-width: min(24vw, 130px);
  }

  .header-actions {
    gap: 6px;
  }

  .lang-toggle {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
}

@media (max-width: 960px) {
  .hero {
    padding-bottom: 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-inline: 8px;
  }

  .hero-badge {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.2);
    font-size: 0.78rem;
    margin-bottom: 14px;
  }

  .hero-desc {
    margin-inline: auto;
    max-width: 26rem;
    padding-inline: 4px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
  }

  .hero-actions {
    justify-content: center;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    gap: 10px;
  }

  .hero .btn-primary {
    background: linear-gradient(180deg, #4ae030 0%, var(--brand-green) 100%);
    box-shadow: 0 6px 18px rgba(62, 214, 37, 0.28);
  }

  .hero .btn-primary:hover {
    background: linear-gradient(180deg, #42c928 0%, #35b01f 100%);
  }

  .hero .btn-outline {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
  }

  .hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .hero-visual {
    order: -1;
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
  }

  .phone-mock {
    width: min(78vw, 268px);
  }

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

  .coin-tickers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cards-3,
  .markets-grid,
  .about-panel,
  .contact-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .platform-grid,
  .platform-panel {
    grid-template-columns: repeat(3, 1fr);
  }

  .platform-panel {
    padding: 16px;
  }

  .about-brand {
    padding: 36px 24px;
  }

  .about-content {
    padding: 32px 28px;
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .about-content p {
    max-width: none;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

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

  .header-actions .btn-primary {
    display: none;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    justify-content: flex-start;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 16px 20px;
    box-shadow: var(--shadow);
    z-index: 99;
  }

  html[data-theme="dark"] .site-nav {
    background: var(--bg-white);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    border-radius: 10px;
    padding: 14px 8px;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding-inline: 16px;
  }

  .header-inner {
    gap: 6px;
  }

  .brand-logo {
    max-width: min(38vw, 112px);
    height: 30px;
  }

  .lang-toggle {
    max-width: 76px;
    padding: 6px 8px;
    font-size: 0.75rem;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
    flex-shrink: 0;
  }

  .lang-panel {
    right: -8px;
  }

  .hero {
    padding: calc(var(--header-h) + 16px) 0 80px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-content {
    padding-inline: 10px;
  }

  .hero h1 {
    font-size: clamp(1.38rem, 5.5vw, 1.65rem);
    line-height: 1.42;
    margin-bottom: 10px;
    letter-spacing: 0.01em;
  }

  .hero-desc {
    font-size: 0.86rem;
    margin-bottom: 22px;
    max-width: 22rem;
    padding-inline: 6px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
    padding-inline: 0;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    border-radius: 12px;
    font-size: 0.9rem;
  }

  .phone-mock {
    width: min(76vw, 252px);
    padding: 10px 10px 12px;
    border-radius: 30px;
  }

  .hero-visual::before {
    display: none;
  }

  .section {
    padding: 56px 0;
  }

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

  .contact-card {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-card-actions .btn {
    width: 100%;
  }

  .stats-grid {
    padding: 16px;
    gap: 8px;
  }

  .stat-value {
    font-size: 1.35rem;
  }

  .coin-ticker-card {
    padding: 12px 14px;
  }

  .coin-ticker-price {
    font-size: 0.92rem;
  }
}

.site-footer-compact {
  padding-top: 24px;
  padding-bottom: 24px;
}

.site-footer-compact .footer-bottom {
  border-top: none;
  padding-top: 0;
}

/* Download page */
.page-download {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.download-page {
  flex: 1;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 32px) 0 48px;
}

.download-page-inner {
  width: 100%;
  max-width: 480px;
}

.download-hero {
  text-align: center;
  margin-bottom: 36px;
}

.download-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 14px;
}

.download-title {
  margin: 0 0 6px;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--heading);
}

.download-sub {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.download-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0;
  background: transparent;
  border: none;
}

.download-item-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.download-item-icon svg {
  width: 44px;
  height: 44px;
  display: block;
}

.download-item-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
}

.download-item-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 11px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  font-family: inherit;
  text-align: center;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.download-item-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.download-item-btn:hover {
  color: var(--heading);
  border-color: rgba(64, 135, 241, 0.45);
  background: rgba(64, 135, 241, 0.06);
}

.download-foot {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.download-foot a {
  font-size: 0.84rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.download-foot a:hover {
  color: var(--brand-blue);
}

@media (max-width: 768px) {
  .download-page {
    align-items: flex-start;
    padding-top: calc(var(--header-h) + 24px);
  }

  .download-page-inner {
    max-width: 320px;
    margin: 0 auto;
  }

  .download-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .download-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0;
  }

  .download-item-head {
    flex-direction: row;
    flex: 1;
    gap: 12px;
    min-width: 0;
  }

  .download-item-icon svg {
    width: 36px;
    height: 36px;
  }

  .download-item-btn {
    width: auto;
    min-width: 96px;
    flex-shrink: 0;
    padding: 10px 16px;
  }

  .download-foot {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 14px;
  }

  .brand-logo {
    max-width: 96px;
    height: 28px;
  }

  .lang-toggle {
    max-width: 64px;
    font-size: 0.72rem;
  }

  .hero {
    padding-bottom: 88px;
  }

  .hero h1 {
    font-size: 1.32rem;
  }

  .hero-desc {
    font-size: 0.84rem;
    max-width: 100%;
  }

  .stats {
    margin-top: -20px;
  }

  .coin-tickers-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
