/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #3375BB;
  --blue-vivid:  #2668E3;
  --blue-dark:   #1A4A9A;
  --blue-build:  #0A14F0;
  --green:       #00D4AA;
  --text:        #0D1421;
  --text-sec:    #64748B;
  --text-light:  #94A3B8;
  --border:      #E2E8F0;
  --bg-light:    #F8FAFC;
  --white:       #FFFFFF;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.14);
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font); }
ul { list-style: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.header .container,
.hero .container,
.stats-bar .container {
  max-width: 1388px;
  padding: 0 32px;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  height: 80px;
  gap: 28px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 154px;
  height: auto;
  display: block;
}

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

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  transition: background .18s, color .18s;
  white-space: nowrap;
}

.nav-links a:hover { background: var(--bg-light); color: var(--blue-vivid); }

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

.btn-icon {
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
}
.btn-icon:hover { background: var(--bg-light); }

.btn-language {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  transition: border-color .18s, background .18s;
}
.btn-language:hover { border-color: var(--blue-vivid); background: #F0F4FF; }

.download-trigger {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.btn-download-nav {
  background: var(--blue-vivid);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .18s, transform .12s;
  display: inline-block;
}
.btn-download-nav:hover { background: var(--blue-dark); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  display: block;
  transition: transform .2s, opacity .2s;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: #fff;
  z-index: 199;
  padding: 24px 28px;
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav ul a {
  display: block;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

/* ===== HERO ===== */
.hero {
  padding: 62px 0 26px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(560px, 1.08fr);
  gap: 56px;
  align-items: center;
}

.hero-text {
  max-width: 660px;
}

.hero-text h1 {
  font-size: clamp(48px, 5.35vw, 66px);
  font-weight: 900;
  line-height: 1.01;
  letter-spacing: -2.4px;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text);
  line-height: 1.5;
  max-width: 620px;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-pill-outline {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 2px solid #1E25FF;
  border-radius: 999px;
  padding: 16px 28px;
  background: #fff;
  color: #1E25FF;
  font-size: 13px;
  min-width: 245px;
  transition: border-color .18s, box-shadow .18s, transform .12s;
}
.btn-pill-outline:hover {
  border-color: var(--blue-vivid);
  box-shadow: 0 8px 24px rgba(38,104,227,.12);
  transform: translateY(-1px);
}

.pill-label {
  font-size: 14px;
  font-weight: 500;
  color: #1E25FF;
  line-height: 1.2;
}
.pill-sub {
  font-size: 17px;
  font-weight: 500;
  color: #1E25FF;
  line-height: 1.2;
}

/* ===== HERO DESKTOP MOCKUP ===== */
.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.desktop-mockup-wrap {
  position: relative;
  width: min(670px, 100%);
  max-width: 100%;
  min-height: 420px;
}

.desktop-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: .85;
  animation: floatY 5s ease-in-out infinite;
}

.desktop-orb-a {
  width: 72px;
  height: 72px;
  top: 20px;
  right: 18px;
  background: radial-gradient(circle at 30% 30%, #4ADE80, #2563EB);
}

.desktop-orb-b {
  width: 52px;
  height: 52px;
  bottom: 74px;
  left: 22px;
  background: radial-gradient(circle at 30% 30%, #60A5FA, #1D4ED8);
  animation-delay: .8s;
}

.desktop-orb-c {
  width: 38px;
  height: 38px;
  top: 128px;
  left: 2px;
  background: radial-gradient(circle at 30% 30%, #FDE68A, #F59E0B);
  animation-delay: 1.6s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.laptop-mockup {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 8px;
}

.laptop-bezel {
  position: relative;
  background: linear-gradient(180deg, #111827 0%, #020617 100%);
  border-radius: 20px 20px 12px 12px;
  padding: 10px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, .24);
}

.laptop-camera {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
}

.laptop-screen {
  background: #F8FAFC;
  min-height: 300px;
  border-radius: 14px 14px 10px 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 96px 1fr;
}

.desktop-sidebar {
  background: linear-gradient(180deg, #101828 0%, #172036 60%, #111827 100%);
  color: #fff;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.desktop-brand {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}

.desktop-nav-item {
  font-size: 10px;
  color: rgba(255,255,255,.72);
  padding: 7px 9px;
  border-radius: 10px;
}

.desktop-nav-item.active {
  background: rgba(59, 130, 246, .18);
  color: #fff;
}

.desktop-card-mini {
  margin-top: auto;
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(251,146,60,.22), rgba(59,130,246,.24));
  border: 1px solid rgba(255,255,255,.08);
}

.desktop-card-mini span {
  display: block;
  font-size: 9px;
  color: rgba(255,255,255,.72);
}

.desktop-card-mini strong {
  display: block;
  font-size: 12px;
  margin-top: 2px;
}

.desktop-main {
  padding: 14px 14px 12px;
}

.desktop-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.desktop-topbar h3 {
  font-size: 16px;
  font-weight: 800;
}

.desktop-userbar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--text-sec);
}

.desktop-avatar {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #A855F7;
}

.desktop-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 12px;
}

.desktop-eyebrow {
  display: block;
  font-size: 10px;
  color: var(--text-sec);
  margin-bottom: 3px;
}

.desktop-summary strong {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.5px;
}

.desktop-actions-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.desktop-action {
  border: 0;
  border-radius: 9px;
  padding: 8px 13px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.desktop-action-blue { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.desktop-action-dark { background: #111827; }
.desktop-action-green { background: linear-gradient(135deg, #4ADE80, #16A34A); }

.desktop-content-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 12px;
}

.desktop-panel {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px;
}

.desktop-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.desktop-panel-head strong {
  font-size: 12px;
}

.desktop-panel-head span {
  font-size: 9px;
  color: var(--text-sec);
}

.desktop-token-row,
.desktop-activity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}

.desktop-token-row + .desktop-token-row,
.desktop-activity-row + .desktop-activity-row {
  border-top: 1px solid #EDF2F7;
}

.desktop-token-left,
.desktop-activity-row > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-token-left strong,
.desktop-activity-row strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.desktop-token-left small,
.desktop-token-right small,
.desktop-activity-row small {
  display: block;
  font-size: 9px;
  color: var(--text-sec);
  line-height: 1.25;
}

.desktop-token-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
}

.desktop-token-icon.xrp { background: #4066C7; }
.desktop-token-icon.gold { background: #C89B2D; }
.desktop-token-icon.dark { background: #334155; }
.desktop-token-icon.amber { background: #D97706; }

.desktop-token-right {
  text-align: right;
}

.desktop-token-right strong {
  display: block;
  font-size: 11px;
  line-height: 1.2;
}

.desktop-status {
  font-size: 9px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 7px;
}

.desktop-status.success {
  color: #15803D;
  background: #DCFCE7;
}

.desktop-status.fail {
  color: #B91C1C;
  background: #FEE2E2;
}

.laptop-base {
  width: calc(100% + 28px);
  height: 16px;
  margin: -2px auto 0;
  margin-left: -14px;
  background: linear-gradient(180deg, #4B5563 0%, #1F2937 100%);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 12px 20px rgba(15, 23, 42, .16);
}

.laptop-trackpad {
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  width: 78px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
}
  justify-content: space-around;
  margin-bottom: 12px;
}

.s-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.s-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #EEF2FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-vivid);
}

.s-action span {
  font-size: 8.5px;
  color: var(--text-sec);
  font-weight: 500;
}

.s-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  margin-bottom: 8px;
}

.s-tab {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-sec);
  background: none;
  border: none;
  padding: 0 0 4px;
}
.s-tab.active {
  color: var(--blue-vivid);
  border-bottom: 2px solid var(--blue-vivid);
  margin-bottom: -7px;
}

/* Coin list */
.coin-list { display: flex; flex-direction: column; gap: 7px; }

.coin-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.coin-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.coin-ico.btc  { background: #F7931A; }
.coin-ico.bnb  { background: #F3BA2F; }
.coin-ico.eth  { background: #627EEA; }
.coin-ico.usdt { background: #26A17B; }

.coin-meta { flex: 1; }
.coin-name { display: block; font-size: 9.5px; font-weight: 700; color: var(--text); line-height: 1.2; }
.coin-sub  { display: block; font-size: 8px; color: var(--text-sec); }

.coin-right { text-align: right; }
.coin-val   { display: block; font-size: 9.5px; font-weight: 600; color: var(--text); line-height: 1.2; }
.coin-pct   { font-size: 8.5px; font-weight: 500; }
.coin-pct.pos { color: #16A34A; }
.coin-pct.neg { color: #DC2626; }

/* Buy popup (on back phone) */
.buy-popup {
  margin-top: 9px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 9px;
  box-shadow: 0 4px 14px rgba(0,0,0,.09);
}
.popup-body {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 5px;
}
.popup-body span {
  font-size: 8px;
  color: var(--text);
  line-height: 1.5;
}
.popup-cta {
  font-size: 8px;
  font-weight: 700;
  color: var(--blue-vivid);
  display: block;
  text-align: right;
}

/* ===== STATS BAR ===== */
.stats-bar {
  border-bottom: 1px solid var(--border);
  padding: 26px 0 24px;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1px;
  flex: 1 1 0;
}

.stat-txt {
  font-size: 14px;
  color: var(--text-sec);
  font-weight: 500;
}

.stat-num {
  font-size: 22px;
  font-weight: 900;
  color: var(--blue-vivid);
  line-height: 1.1;
}

.stars {
  font-size: 20px;
  color: var(--blue-vivid);
  letter-spacing: 2px;
  line-height: 1;
}

.stat-div {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===== BUILDING ON TRUST ===== */
.build-section { padding: 60px 0; }

.build-card {
  background: var(--blue-build);
  border-radius: 28px;
  padding: 60px 60px 60px 68px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Subtle radial highlight inside card */
.build-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: 180px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  pointer-events: none;
}

.build-text h2 {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}

.build-text p {
  font-size: 15.5px;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  max-width: 530px;
  margin-bottom: 30px;
}

.btn-white-pill {
  display: inline-block;
  background: #fff;
  color: var(--text);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .18s, box-shadow .18s;
}
.btn-white-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.build-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== ONE PLATFORM ===== */
.platform-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #0028FF 0%, #0095FF 55%, #00D4FF 100%);
  text-align: center;
}

.platform-h2 {
  font-size: 46px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.platform-sub {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  margin-bottom: 52px;
}

.asset-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.asset-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 22px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  min-width: 92px;
  cursor: pointer;
  transition: background .18s, transform .18s;
}
.asset-card:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-4px);
}

.asset-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 800;
  color: #fff;
}

.asset-card span {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

/* ===== DESKTOP BANNER ===== */
.desktop-banner {
  padding: 64px 0;
  background: linear-gradient(135deg, #0D1421 0%, #1A2A4A 50%, #0D1421 100%);
}

.desktop-banner-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.desktop-banner-badge {
  display: inline-block;
  background: linear-gradient(90deg, #3375BB, #00D4AA);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.desktop-banner-inner h2 {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.6px;
  margin-bottom: 16px;
}

.desktop-banner-inner > p {
  font-size: 15.5px;
  color: rgba(255,255,255,.68);
  line-height: 1.75;
  margin-bottom: 32px;
}

.desktop-banner-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.desktop-banner-cta .btn-download-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.btn-store-outline {
  border-color: rgba(255,255,255,.35) !important;
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
}
.btn-store-outline:hover {
  background: rgba(255,255,255,.16) !important;
  border-color: rgba(255,255,255,.6) !important;
}

.desktop-banner-note {
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

/* ===== FEATURES ===== */
.features-section {
  padding: 90px 0;
  background: var(--bg-light);
}

.section-title {
  font-size: 40px;
  font-weight: 900;
  text-align: center;
  letter-spacing: -.8px;
  margin-bottom: 10px;
}

.section-sub {
  text-align: center;
  font-size: 16px;
  color: var(--text-sec);
  margin-bottom: 48px;
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.65;
}

.feature-card-cta {
  background: linear-gradient(135deg, #EEF2FF 0%, #F0FDF4 100%);
  border-color: #C7D7F8;
}

.feature-card-btns {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: #F3F4F7;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 30px;
  margin-bottom: 52px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  width: 170px;
  height: auto;
  display: block;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: .2px;
}
.footer-col .mt-18 { margin-top: 18px; }

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul a {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color .18s;
}
.footer-col ul a:hover { color: var(--blue-vivid); }

.badge {
  background: #EEF2FF;
  color: var(--blue-vivid);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: .4px;
}

.footer-certs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  flex-shrink: 0;
}

.footer-cert-img {
  width: 74px;
  height: auto;
  display: block;
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 1px solid var(--border);
  padding-top: 36px;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-dl strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.footer-dl p {
  font-size: 14px;
  color: var(--text-sec);
  margin-bottom: 18px;
}

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

.btn-store {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  transition: border-color .18s, background .18s;
  font-family: var(--font);
}
.btn-store:hover { border-color: var(--blue-vivid); background: #F0F4FF; }

.footer-social strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.social-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background .18s, border-color .18s, color .18s;
}
.social-btn:hover {
  background: var(--blue-vivid);
  border-color: var(--blue-vivid);
  color: #fff;
}

.footer-legal {
  border-top: 1px solid var(--border);
  margin-top: 32px;
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--text-sec);
  text-align: center;
}

/* ===== DARK MODE ===== */
body.dark {
  --text:     #F0F4F8;
  --text-sec: #94A3B8;
  --border:   #1E293B;
  --bg-light: #0F172A;
  --white:    #060D1A;
}
body.dark .header    { background: rgba(6,13,26,.97); }
body.dark .screen    { background: #1A2236; }
body.dark .s-balance, body.dark .s-wallet-title, body.dark .coin-name { color: #E8F0FE; }
body.dark .feature-card { background: #0F172A; }
body.dark .footer        { background: #060D1A; }
body.dark .btn-store, body.dark .social-btn { background: #0F172A; }
body.dark .btn-pill-outline { background: #0F172A; }
body.dark .buy-popup  { background: #1A2236; border-color: #334155; }
body.dark .popup-body span { color: #CBD5E1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-text h1 { font-size: 44px; }
  .hero-grid { gap: 24px; }
  .desktop-mockup-wrap {
    width: min(520px, 100%);
    min-height: 320px;
  }
  .nav-logo-img { width: 144px; }
  .header .container,
  .hero .container,
  .stats-bar .container {
    padding: 0 28px;
  }
  .footer-top { grid-template-columns: 160px 1fr; }
  .footer-certs { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-text h1 { font-size: 38px; }
  .build-card {
    grid-template-columns: 1fr;
    padding: 44px 36px;
    text-align: center;
  }
  .build-visual { display: none; }
  .build-text p { max-width: 100%; }
  .platform-h2 { font-size: 36px; }
}

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .btn-language { display: none; }
  .hamburger  { display: flex; }
  .nav-logo-img { width: 134px; }

  .hero { padding: 56px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-visual { display: none; }

  .stats-inner { justify-content: center; gap: 28px; flex-wrap: wrap; }
  .stat-div { display: none; }

  .footer-top  { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; }

  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .hero-text h1 { font-size: 30px; letter-spacing: -1px; }
  .platform-h2  { font-size: 28px; }
  .footer-cols  { grid-template-columns: 1fr; }
  .build-card   { padding: 32px 24px; }
  .build-text h2 { font-size: 28px; }
}
