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

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #161616;
  --bg-4: #1c1c1c;
  --bg-5: #242424;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);
  --text: #f0f0f0;
  --text-2: #999;
  --text-3: #555;
  --accent: #9ca3af;
  --accent-light: #d1d5db;
  --accent-blue: #3b82f6;
  --accent-green: #22c55e;
  --accent-red: #ef4444;
  --font: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 4px 32px rgba(0,0,0,0.6);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-5); border-radius: 3px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.navbar.scrolled { border-bottom-color: var(--border); background: rgba(10,10,10,0.92); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; padding: 0 24px;
  max-width: 1200px; margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 36px; height: 36px;
  background: var(--bg-4);
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.nav-ghost-icon { width: 26px; height: 26px; object-fit: contain; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 700; font-size: 19px; letter-spacing: -0.3px;
  color: var(--text);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 7px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--text); background: var(--bg-4); }
.nav-links .nav-cta {
  background: var(--text); color: #000;
  font-weight: 600; padding: 8px 18px;
  border-radius: 8px;
}
.nav-links .nav-cta:hover { background: var(--accent-light); }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-2); border-radius: 2px;
  transition: var(--transition);
}
.nav-mobile {
  display: none; flex-direction: column;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border); gap: 4px;
}
.nav-mobile a {
  padding: 12px 16px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: var(--text-2);
  transition: var(--transition);
}
.nav-mobile a:hover { color: var(--text); background: var(--bg-4); }
.nav-mobile.open { display: flex; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 0 60px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 80%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.12; }
.glow-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #9ca3af 0%, transparent 70%);
  top: -100px; left: -100px;
}
.glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  bottom: -80px; right: 0;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 70px;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(156,163,175,0.08);
  border: 1px solid rgba(156,163,175,0.2);
  border-radius: 100px; padding: 6px 14px;
  font-size: 12px; font-weight: 500; color: var(--accent-light);
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-green);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 800; line-height: 1.1; letter-spacing: -2px;
  margin-bottom: 18px;
}
.gradient-text {
  background: linear-gradient(135deg, #9ca3af 0%, #d1d5db 50%, #6b7280 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc { font-size: 16px; color: var(--text-2); line-height: 1.7; margin-bottom: 24px; max-width: 480px; }

/* inline feature list */
.hero-features-inline { margin-bottom: 30px; display: flex; flex-direction: column; gap: 9px; }
.hfi {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-2);
}
.hfi svg { color: var(--accent-green); flex-shrink: 0; }

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text); color: #000;
  font-weight: 700; font-size: 14px;
  padding: 13px 26px; border-radius: 11px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(255,255,255,0.1);
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,255,255,0.15); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-2); font-weight: 500; font-size: 14px;
  padding: 13px 20px; border-radius: 11px;
  border: 1px solid var(--border); transition: var(--transition);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-hover); background: var(--bg-4); }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat strong {
  display: block; font-size: 21px; font-weight: 800;
  font-family: var(--font-display); color: var(--text);
}
.stat span { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-divider { width: 1px; height: 30px; background: var(--border); }

/* ===== HERO PHONE ===== */
.hero-phone { display: flex; justify-content: center; }
.phone-wrap {
  position: relative;
  animation: phonefloat 5s ease-in-out infinite;
}
@keyframes phonefloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.phone-frame {
  width: 252px;
  background: #111;
  border-radius: 42px;
  border: 1.5px solid rgba(255,255,255,0.1);
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.04), inset 0 1px 0 rgba(255,255,255,0.07);
}
.phone-status-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 18px 6px;
  background: #0a0a0a;
}
.psb-time { font-size: 11px; font-weight: 700; color: var(--text); }
.psb-icons { display: flex; align-items: center; gap: 5px; color: var(--text); }
.psb-battery {
  width: 20px; height: 10px; border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 2px; padding: 1px; position: relative;
}
.psb-battery::after {
  content: ''; position: absolute; right: -4px; top: 50%;
  transform: translateY(-50%);
  width: 2px; height: 5px; background: rgba(255,255,255,0.5); border-radius: 0 1px 1px 0;
}
.psb-battery-fill { height: 100%; background: white; border-radius: 1px; width: 90%; }
.phone-screen { background: #0a0a0a; overflow: hidden; }
.phone-screen-img { padding: 0; display: flex; }
.hero-screenshot-img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* App wallet screen in hero */
.wallet-screen { display: flex; flex-direction: column; height: 100%; }
.app-topbar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px 6px;
}
.app-avatar-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: #222; border: 1px solid #333;
  display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0;
}
.app-ghost-avatar { width: 20px; height: 20px; object-fit: contain; }
.app-address { flex: 1; font-size: 11px; font-weight: 600; color: var(--text); text-align: center; }
.app-topbar-icons { display: flex; gap: 6px; }
.topbar-icon {
  width: 24px; height: 24px; border-radius: 6px; background: #1a1a1a;
  display: flex; align-items: center; justify-content: center; color: #888;
}
.app-balance-block { padding: 12px 14px 10px; text-align: center; }
.app-balance-value { font-size: 28px; font-weight: 800; font-family: var(--font-display); letter-spacing: -1px; color: var(--text); }
.app-balance-change.zero { font-size: 11px; color: var(--accent-green); margin-top: 3px; }
.app-tabs {
  display: flex; padding: 0 10px;
  border-bottom: 1px solid #1e1e1e;
  overflow-x: auto; scrollbar-width: none;
}
.app-tabs::-webkit-scrollbar { display: none; }
.app-tab {
  font-size: 10px; font-weight: 500; color: #555;
  padding: 7px 8px; white-space: nowrap; position: relative; flex-shrink: 0;
}
.app-tab.active {
  color: var(--accent-blue);
}
.app-tab.active::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 2px; background: var(--accent-blue); border-radius: 2px 2px 0 0;
}
.app-search {
  display: flex; align-items: center; gap: 6px;
  margin: 8px 12px; padding: 7px 10px;
  background: #161616; border: 1px solid #222; border-radius: 8px;
  color: #444; font-size: 10px;
}
.app-section-label { padding: 4px 14px; font-size: 12px; font-weight: 700; color: var(--text); }
.app-network-label { padding: 2px 14px; font-size: 9px; color: #555; text-transform: uppercase; letter-spacing: 0.5px; }
.app-asset-row {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-bottom: 1px solid #111;
}
.asset-icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.eth-icon { background: linear-gradient(135deg, #627eea, #4a5fb5); }
.usdt-icon { background: linear-gradient(135deg, #26a17b, #1a7a5a); }
.asset-info { flex: 1; }
.asset-name { font-size: 11px; font-weight: 600; color: var(--text); }
.asset-sub { font-size: 9px; color: #555; }
.asset-value { text-align: right; }
.asset-usd { font-size: 10px; font-weight: 500; color: var(--text); }
.asset-pct { font-size: 9px; }
.asset-pct.pos { color: var(--accent-green); }
.app-bottom-nav {
  display: flex; border-top: 1px solid #1a1a1a;
  padding: 8px 0 4px; margin-top: auto;
}
.app-nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  font-size: 8px; color: #555; padding: 2px 0; position: relative;
}
.nav-badge {
  position: absolute; top: -2px; right: 10px;
  width: 13px; height: 13px; border-radius: 50%;
  background: #ef4444; color: #fff;
  font-size: 7px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.phone-shadow {
  position: absolute; bottom: -30px; left: 50%;
  transform: translateX(-50%);
  width: 160px; height: 40px;
  background: rgba(156,163,175,0.1);
  filter: blur(24px); border-radius: 50%;
}
.phone-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 320px; height: 420px;
  background: radial-gradient(ellipse, rgba(156,163,175,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 1;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--text-3));
  animation: scrollanim 2s ease-in-out infinite;
}
@keyframes scrollanim { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero-scroll span { font-size: 9px; color: var(--text-3); letter-spacing: 1.5px; text-transform: uppercase; }

/* ===== TRUSTED ===== */
.trusted {
  padding: 30px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.trusted-label { text-align: center; font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.trusted-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.proto-pill {
  background: var(--bg-4); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 16px;
  font-size: 12px; font-weight: 500; color: var(--text-3);
  transition: var(--transition);
}
.proto-pill:hover { color: var(--text); border-color: var(--border-hover); background: var(--bg-5); }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  background: rgba(156,163,175,0.08); border: 1px solid rgba(156,163,175,0.2);
  color: var(--accent-light); font-size: 11px; font-weight: 600;
  padding: 5px 14px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.section-tag.light { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.14); color: rgba(255,255,255,0.6); }
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 46px);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 14px;
}
.section-header p { font-size: 16px; color: var(--text-2); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ===== SCREENSHOTS SECTION ===== */
.screenshots-section { padding: 100px 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.screenshots-row {
  display: flex; gap: 32px; align-items: flex-end;
  justify-content: center; flex-wrap: wrap;
}
.screenshot-item { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.screenshot-label-top { font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 1px; }

/* ss-phone-frame: real phone silhouette */
.ss-phone-frame {
  width: 200px;
  background: #0a0a0a;
  border-radius: 36px;
  border: 1.5px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.ss-phone-frame:hover { transform: translateY(-6px); box-shadow: 0 40px 80px rgba(0,0,0,0.8); }
.ss-featured-frame {
  width: 230px;
  border-color: rgba(156,163,175,0.25);
  box-shadow: 0 40px 80px rgba(0,0,0,0.8), 0 0 40px rgba(156,163,175,0.06);
}
.ss-center { transform: translateY(-12px); }

/* Real screenshot frames */
.ss-real-frame {
  border-radius: 36px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  transition: transform var(--transition), box-shadow var(--transition);
  width: 200px;
}
.ss-real-frame:hover { transform: translateY(-6px); box-shadow: 0 40px 80px rgba(0,0,0,0.8); }
.ss-real-featured {
  width: 220px;
  border-color: rgba(156,163,175,0.25);
  box-shadow: 0 40px 80px rgba(0,0,0,0.8), 0 0 40px rgba(156,163,175,0.06);
}
.ss-real-img { width: 100%; display: block; }

.ss-status-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 14px 4px; background: #0a0a0a;
  font-size: 9px; font-weight: 700; color: white;
}
.simple-status { padding: 6px 14px 4px; }
.ss-status-icons { display: flex; align-items: center; gap: 4px; }
.ss-battery {
  width: 18px; height: 9px; border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 2px; padding: 1.5px;
}
.ss-battery div { height: 100%; background: white; border-radius: 1px; width: 85%; }
.ss-battery-full div { width: 100%; }
.ss-home-bar {
  height: 20px; display: flex; align-items: center; justify-content: center;
  background: #0a0a0a;
}
.ss-home-bar::after {
  content: ''; width: 80px; height: 4px;
  background: rgba(255,255,255,0.2); border-radius: 2px;
}

/* SPLASH SCREEN */
.ss-screen { display: flex; flex-direction: column; }
.splash-screen {
  height: 320px; background: #0a0a0a;
  justify-content: center; align-items: center;
}
.splash-center { display: flex; justify-content: center; align-items: center; }
.splash-ghost {
  width: 80px; height: 80px; object-fit: contain;
  animation: ghostbounce 3s ease-in-out infinite;
}
@keyframes ghostbounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* MAIN WALLET SCREEN */
.main-wallet-screen { background: #0a0a0a; min-height: 360px; position: relative; overflow: hidden; }
.ss-topbar {
  display: flex; align-items: center; gap: 6px; padding: 8px 12px 4px;
}
.ss-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: #1a1a1a; border: 1px solid #2a2a2a;
  display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0;
}
.ss-ghost-av { width: 19px; height: 19px; object-fit: contain; }
.ss-addr { flex: 1; font-size: 11px; font-weight: 600; color: var(--text); text-align: center; }
.ss-topbar-right { display: flex; gap: 4px; }
.ss-icon-btn {
  width: 22px; height: 22px; border-radius: 6px; background: #1a1a1a;
  display: flex; align-items: center; justify-content: center; color: #666;
}
.ss-balance { padding: 10px 12px 8px; text-align: center; }
.ss-bal-val { font-size: 26px; font-weight: 800; font-family: var(--font-display); letter-spacing: -1px; color: var(--text); }
.ss-bal-sub { font-size: 10px; margin-top: 2px; }
.zero-color { color: var(--accent-green); }
.ss-tabs-bar {
  display: flex; padding: 0 8px;
  border-bottom: 1px solid #1a1a1a;
  overflow-x: auto; scrollbar-width: none;
}
.ss-tabs-bar::-webkit-scrollbar { display: none; }
.ss-tab {
  font-size: 9px; font-weight: 500; color: #444;
  padding: 5px 7px; white-space: nowrap; flex-shrink: 0; position: relative;
}
.ss-tab-active { color: var(--accent-blue); }
.ss-tab-active::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 2px; background: var(--accent-blue); border-radius: 2px 2px 0 0;
}
.ss-tab-fade { opacity: 0.4; }
.ss-search {
  display: flex; align-items: center; gap: 5px;
  margin: 6px 10px; padding: 6px 8px;
  background: #141414; border: 1px solid #1e1e1e; border-radius: 7px;
  color: #333; font-size: 9px;
}
.ss-assets-label { padding: 2px 12px; font-size: 11px; font-weight: 700; color: var(--text); }
.ss-net-label { padding: 1px 12px; font-size: 8px; color: #444; text-transform: uppercase; letter-spacing: 0.5px; }
.ss-asset-row {
  display: flex; align-items: center; gap: 7px; padding: 5px 12px;
  border-bottom: 1px solid #0f0f0f;
}
.ss-asset-icon {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ss-eth { background: linear-gradient(135deg, #627eea, #4a5fb5); }
.ss-asset-info { flex: 1; }
.ss-asset-name { font-size: 10px; font-weight: 600; color: var(--text); }
.ss-asset-bal { font-size: 8px; color: #555; }
.ss-asset-right { text-align: right; }
.ss-asset-usd { font-size: 9px; color: var(--text); }
.ss-asset-pct { font-size: 8px; }
.ss-pos { color: var(--accent-green); }

/* ABOUT MODAL — exact match to screenshot */
.ss-modal-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.ss-modal {
  background: #1a1a1a; border-radius: 20px 20px 0 0;
  padding: 18px 16px 16px;
  border-top: 1px solid #2a2a2a;
}
.ss-modal-title { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 12px; font-family: var(--font-display); }
.ss-modal-card {
  background: #111; border-radius: 10px; padding: 11px 12px; margin-bottom: 14px;
  border: 1px solid #222;
}
.ss-modal-headline { font-size: 10px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.ss-modal-bullets div { font-size: 9px; color: #888; line-height: 1.8; }
.ss-modal-btn {
  background: white; color: #000; border-radius: 100px;
  text-align: center; font-size: 12px; font-weight: 700;
  padding: 10px; cursor: pointer;
}

/* ACTIVITY SCREEN */
.activity-screen { background: #0a0a0a; height: 360px; display: flex; flex-direction: column; }
.ss-activity-title {
  font-size: 14px; font-weight: 700; text-align: center;
  padding: 10px 0 8px; color: var(--text);
}
.ss-activity-divider { height: 1px; background: #1a1a1a; }
.ss-activity-empty {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
}
.ss-activity-ghost {
  width: 72px; height: 72px; object-fit: contain;
  opacity: 0.85;
  animation: ghostbounce 3s ease-in-out infinite;
}
.ss-activity-msg { font-size: 11px; color: #666; }
.ss-bottom-nav {
  display: flex; border-top: 1px solid #1a1a1a; padding: 7px 0 4px;
}
.ss-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 8px; color: #555; position: relative;
}
.ss-nav-active-bg {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1px;
}
.ss-badge {
  position: absolute; top: -2px; right: 10px;
  width: 13px; height: 13px; border-radius: 50%;
  background: #ef4444; color: #fff;
  font-size: 7px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.screenshot-caption { text-align: center; max-width: 200px; }
.screenshot-caption strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.screenshot-caption span { font-size: 12px; color: var(--text-3); line-height: 1.5; }

/* ===== FEATURES ===== */
.features { padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-large { grid-column: span 2; }
.feature-icon-wrap {
  width: 50px; height: 50px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-icon-wrap.green { background: rgba(34,197,94,0.1); color: #22c55e; border: 1px solid rgba(34,197,94,0.2); }
.feature-icon-wrap.blue { background: rgba(59,130,246,0.1); color: #3b82f6; border: 1px solid rgba(59,130,246,0.2); }
.feature-icon-wrap.purple { background: rgba(168,85,247,0.1); color: #a855f7; border: 1px solid rgba(168,85,247,0.2); }
.feature-icon-wrap.red { background: rgba(239,68,68,0.1); color: #ef4444; border: 1px solid rgba(239,68,68,0.2); }
.feature-icon-wrap.teal { background: rgba(20,184,166,0.1); color: #14b8a6; border: 1px solid rgba(20,184,166,0.2); }
.feature-icon-wrap.orange { background: rgba(249,115,22,0.1); color: #f97316; border: 1px solid rgba(249,115,22,0.2); }
.feature-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-2); font-size: 14px; line-height: 1.65; }
.feature-badge {
  display: inline-block; background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25); color: #22c55e;
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  border-radius: 6px; margin-top: 14px; letter-spacing: 0.3px;
}
.feature-badge.purple { background: rgba(168,85,247,0.1); border-color: rgba(168,85,247,0.25); color: #a855f7; }
.gas-visual { margin-top: 18px; }
.gas-meter {
  background: var(--bg-4); border: 1px solid var(--border);
  border-radius: 9px; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px; max-width: 260px;
}
.gas-label { font-size: 11px; color: var(--text-3); white-space: nowrap; }
.gas-bar { flex: 1; height: 4px; background: var(--bg-5); border-radius: 2px; overflow: hidden; }
.gas-fill { height: 100%; width: 0; background: linear-gradient(90deg, #22c55e, #3b82f6); border-radius: 2px; }
.gas-price { font-size: 12px; font-weight: 700; color: #22c55e; white-space: nowrap; }
.privacy-rings { position: relative; width: 90px; height: 90px; margin-top: 18px; }
.ring { position: absolute; border-radius: 50%; border: 1px solid; animation: ringpulse 3s ease-in-out infinite; }
.ring-1 { inset: 0; border-color: rgba(168,85,247,0.3); }
.ring-2 { inset: 12px; border-color: rgba(168,85,247,0.2); animation-delay: 0.4s; }
.ring-3 { inset: 24px; border-color: rgba(168,85,247,0.15); animation-delay: 0.8s; }
.ring-center { position: absolute; inset: 34px; display: flex; align-items: center; justify-content: center; }
@keyframes ringpulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.06);opacity:0.6} }

/* ===== DEFI SECTION ===== */
.defi-section { padding: 100px 0; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.defi-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.defi-content .section-tag { text-align: left; }
.defi-content h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 40px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 14px; }
.defi-content > p { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 28px; }
.defi-list { display: flex; flex-direction: column; gap: 14px; }
.defi-item { display: flex; gap: 12px; align-items: flex-start; }
.defi-item-icon {
  width: 34px; height: 34px; background: var(--bg-4); border: 1px solid var(--border);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.defi-item strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.defi-item span { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.defi-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.defi-stat-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 14px; text-align: center;
  transition: var(--transition);
}
.defi-stat-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.defi-stat-card.highlight { background: rgba(156,163,175,0.04); border-color: rgba(156,163,175,0.2); }
.defi-stat-card.highlight-2 { background: rgba(59,130,246,0.04); border-color: rgba(59,130,246,0.2); }
.dsc-icon { font-size: 18px; margin-bottom: 7px; }
.dsc-value { font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.dsc-label { font-size: 10px; color: var(--text-3); margin-top: 3px; }

/* ===== SECURITY ===== */
.security-section { padding: 100px 0; }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 36px; }
.sec-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 22px; transition: var(--transition);
}
.sec-card:hover { border-color: rgba(156,163,175,0.25); transform: translateY(-2px); box-shadow: var(--shadow); }
.sec-icon {
  width: 52px; height: 52px; background: var(--bg-4); border: 1px solid var(--border);
  border-radius: 13px; display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 18px;
}
.sec-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 9px; }
.sec-card p { font-size: 13px; color: var(--text-2); line-height: 1.65; margin-bottom: 14px; }
.sec-badge {
  display: inline-block;
  background: rgba(156,163,175,0.08); border: 1px solid rgba(156,163,175,0.2);
  color: var(--accent-light); font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 5px; text-transform: uppercase; letter-spacing: 0.5px;
}
.security-audit-bar {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 24px;
  padding: 22px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
}
.audit-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.audit-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-green); box-shadow: 0 0 6px var(--accent-green); }

/* ===== TOKENS ===== */
.tokens-section { padding: 100px 0; border-top: 1px solid var(--border); }
.tokens-showcase { position: relative; overflow: hidden; margin-bottom: 20px; }
.tokens-scroll-wrap { display: flex; flex-direction: column; gap: 10px; }
.tokens-row { display: flex; gap: 10px; animation: scrollrow 30s linear infinite; }
.tokens-row.row-2 { animation-direction: reverse; animation-duration: 24s; }
.tokens-row:hover { animation-play-state: paused; }
@keyframes scrollrow { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.token-chip {
  display: flex; align-items: center; gap: 9px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 11px; padding: 9px 14px;
  white-space: nowrap; flex-shrink: 0; transition: var(--transition);
}
.token-chip:hover { border-color: var(--border-hover); background: var(--bg-4); }
.tc-icon { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.eth-chip .tc-icon { background: linear-gradient(135deg, #627eea, #4a5fb5); color: #fff; }
.btc-chip .tc-icon { background: linear-gradient(135deg, #f7931a, #e07b00); color: #fff; }
.sol-chip .tc-icon { background: linear-gradient(135deg, #9945ff, #14f195); color: #fff; }
.matic-chip .tc-icon { background: linear-gradient(135deg, #8247e5, #6d3ab0); color: #fff; }
.bnb-chip .tc-icon { background: linear-gradient(135deg, #f0b90b, #d9a809); color: #000; }
.avax-chip .tc-icon { background: linear-gradient(135deg, #e84142, #c73536); color: #fff; }
.usdc-chip .tc-icon { background: linear-gradient(135deg, #2775ca, #1a5ba8); color: #fff; }
.usdt-chip .tc-icon { background: linear-gradient(135deg, #26a17b, #1a7a5a); color: #fff; }
.link-chip .tc-icon { background: linear-gradient(135deg, #375bd2, #2649a8); color: #fff; }
.arb-chip .tc-icon { background: linear-gradient(135deg, #213147, #12202e); color: #96bedc; }
.op-chip .tc-icon { background: linear-gradient(135deg, #ff0420, #cc0319); color: #fff; }
.dai-chip .tc-icon { background: linear-gradient(135deg, #f5ac37, #d9910a); color: #000; }
.aave-chip .tc-icon { background: linear-gradient(135deg, #b6509e, #2ebac6); color: #fff; font-size: 11px; }
.uni-chip .tc-icon { background: linear-gradient(135deg, #ff007a, #cc005e); color: #fff; font-size: 11px; }
.dot-chip .tc-icon { background: linear-gradient(135deg, #e6007a, #c2005e); color: #fff; }
.atom-chip .tc-icon { background: linear-gradient(135deg, #2e3148, #1a1c2e); color: #9ca3af; }
.tc-name { font-size: 13px; font-weight: 600; }
.tc-sym { font-size: 11px; color: var(--text-3); }
.tokens-fade-left, .tokens-fade-right { position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none; }
.tokens-fade-left { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.tokens-fade-right { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.tokens-more { text-align: center; font-size: 13px; color: var(--text-3); }

/* ===== HOW IT WORKS ===== */
.howit-section { padding: 100px 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.steps-wrap { display: flex; align-items: stretch; gap: 0; }
.step-card {
  flex: 1; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 26px; transition: var(--transition);
}
.step-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.step-num { font-family: var(--font-display); font-size: 48px; font-weight: 900; color: rgba(255,255,255,0.03); line-height: 1; margin-bottom: 6px; }
.step-icon { font-size: 30px; margin-bottom: 14px; }
.step-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 9px; }
.step-card p { font-size: 13px; color: var(--text-2); line-height: 1.65; }
.step-arrow { display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--text-3); padding: 0 14px; flex-shrink: 0; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { padding: 100px 0; border-top: 1px solid var(--border); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.testimonial-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px; transition: var(--transition); position: relative;
}
.testimonial-card.t-featured { background: rgba(156,163,175,0.04); border-color: rgba(156,163,175,0.2); }
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.t-ghost-mark { position: absolute; top: 20px; right: 20px; opacity: 0.5; }
.t-stars { color: #f59e0b; font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { font-size: 13px; color: var(--text-2); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 10px; }
.t-avatar { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; }
.av-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.av-2 { background: linear-gradient(135deg, #9ca3af, #6b7280); }
.av-3 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.t-name { font-size: 13px; font-weight: 600; }
.t-role { font-size: 11px; color: var(--text-3); }

/* ===== DOWNLOAD ===== */
.download-section { padding: 100px 0; position: relative; overflow: hidden; background: var(--bg-2); border-top: 1px solid var(--border); }
.download-bg { position: absolute; inset: 0; pointer-events: none; }
.dl-glow-1 { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(156,163,175,0.1) 0%, transparent 70%); top: -100px; left: -100px; filter: blur(70px); }
.dl-glow-2 { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%); bottom: -80px; right: -50px; filter: blur(70px); }
.download-inner { display: grid; grid-template-columns: 1fr auto; gap: 72px; align-items: center; position: relative; z-index: 1; }
.download-content .section-tag { text-align: left; }
.download-content h2 { font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 44px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 14px; }
.download-content > p { font-size: 16px; color: var(--text-2); line-height: 1.7; margin-bottom: 24px; }

/* About box — mirrors the in-app modal from screenshots */
.download-about-box {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 28px;
}
.dab-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.dab-items { display: flex; flex-direction: column; gap: 5px; }
.dab-item { font-size: 13px; color: var(--text-2); }

.download-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.dl-btn {
  display: flex; align-items: center; gap: 12px; padding: 14px 22px;
  border-radius: 12px; border: 1px solid; transition: var(--transition); min-width: 185px;
}
.dl-btn.primary-dl { background: var(--text); border-color: transparent; color: #000; box-shadow: 0 4px 24px rgba(255,255,255,0.1); }
.dl-btn.primary-dl:hover { background: var(--accent-light); transform: translateY(-2px); }
.dl-btn.secondary-dl { background: var(--bg-4); border-color: var(--border); color: var(--text); }
.dl-btn.secondary-dl:hover { border-color: var(--border-hover); background: var(--bg-5); transform: translateY(-2px); }
.dl-btn-icon { flex-shrink: 0; }
.dl-btn-text { text-align: left; }
.dl-small { font-size: 10px; opacity: 0.6; }
.dl-big { font-size: 16px; font-weight: 700; font-family: var(--font-display); letter-spacing: -0.3px; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 14px; }
.dl-meta-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); }
.dl-meta-item svg { color: var(--accent-green); flex-shrink: 0; }

/* Ghost visual + QR */
.download-ghost-visual { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.dl-ghost-wrap { position: relative; width: 140px; height: 140px; display: flex; align-items: center; justify-content: center; }
.dl-ghost-img { width: 80px; height: 80px; object-fit: contain; animation: ghostbounce 3s ease-in-out infinite; }
.dl-ghost-ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(156,163,175,0.15);
  animation: ringpulse 3s ease-in-out infinite;
}
.dl-ring-1 { inset: 0; }
.dl-ring-2 { inset: 15px; animation-delay: 0.5s; }
.dl-ring-3 { inset: 30px; animation-delay: 1s; }
.dl-qr-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
.qr-code { width: 120px; height: 120px; background: #fff; border-radius: 10px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.qr-grid { width: 100px; height: 100px; position: relative; background: repeating-linear-gradient(0deg, transparent, transparent 5px, #000 5px, #000 6px), repeating-linear-gradient(90deg, transparent, transparent 5px, #000 5px, #000 6px); background-size: 6px 6px; opacity: 0.12; }
.qr-corner { position: absolute; width: 26px; height: 26px; border: 2.5px solid #000; }
.qr-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; border-radius: 4px 0 0 0; }
.qr-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; border-radius: 0 4px 0 0; }
.qr-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; border-radius: 0 0 0 4px; }
.qr-center-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: #fff; padding: 3px; border-radius: 6px; }
.qr-label { font-size: 12px; font-weight: 600; color: var(--text); }

/* ===== FOOTER ===== */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 60px 0 28px; }
.footer-top { display: grid; grid-template-columns: 320px 1fr; gap: 72px; margin-bottom: 44px; }
.footer-brand p { font-size: 13px; color: var(--text-3); line-height: 1.7; margin: 14px 0 20px; max-width: 260px; }
.footer-logo { margin-bottom: 0; }
.social-links { display: flex; gap: 8px; }
.social-link {
  width: 36px; height: 36px; background: var(--bg-4); border: 1px solid var(--border);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  color: var(--text-3); transition: var(--transition);
}
.social-link:hover { color: var(--text); border-color: var(--border-hover); background: var(--bg-5); }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-3); margin-bottom: 9px; transition: color var(--transition); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: var(--text-3); }
.footer-tags { display: flex; gap: 6px; }
.footer-tags span { background: var(--bg-4); border: 1px solid var(--border); color: var(--text-3); font-size: 10px; padding: 3px 9px; border-radius: 5px; }

/* ===== SCROLL FADE IN ===== */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .defi-inner { gap: 44px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-large { grid-column: span 2; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .download-inner { gap: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero { padding: 88px 0 50px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-badge { justify-content: center; }
  .hero-desc { margin: 0 auto 20px; }
  .hero-features-inline { align-items: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-phone { order: -1; }
  .hero-scroll { display: none; }
  .phone-frame { width: 220px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-large { grid-column: span 1; }
  .defi-inner { grid-template-columns: 1fr; gap: 44px; }
  .defi-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: 1fr; }
  .steps-wrap { flex-direction: column; gap: 14px; }
  .step-arrow { transform: rotate(90deg); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .screenshots-row { flex-direction: column; align-items: center; }
  .ss-center { transform: none; }
  .download-inner { grid-template-columns: 1fr; gap: 36px; }
  .download-ghost-visual { flex-direction: row; justify-content: center; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-title { letter-spacing: -1.5px; }
  .hero-stats { flex-direction: column; gap: 10px; }
  .stat-divider { width: 36px; height: 1px; }
  .download-buttons { flex-direction: column; }
  .dl-btn { min-width: unset; width: 100%; }
  .security-audit-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .defi-stats-grid { grid-template-columns: 1fr 1fr; }
  .download-ghost-visual { flex-direction: column; }
}
