/* =============================================
   EVERYWHERE WALLET — Premium Redesign
   Exclusive Emerald / Sovereign Fintech
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ─── DARK MODE (default) ────────────────────── */
:root {
  --green:          #39e68c;
  --green-bright:   #5ef3a6;
  --green-mid:      #2cbf76;
  --green-dim:      #1a6644;
  --green-deep:     #0d3d28;
  --green-glow:     rgba(57,230,140,0.18);
  --green-glow-sm:  rgba(57,230,140,0.08);
  --green-glow-xs:  rgba(57,230,140,0.04);
  --bg:             #080c0f;
  --bg2:            #0c1015;
  --bg3:            #101519;
  --surface:        #141a20;
  --surface2:       #1a2028;
  --surface3:       #1e2630;
  --glass:          rgba(20,26,32,0.65);
  --glass2:         rgba(14,20,26,0.80);
  --border:         rgba(57,230,140,0.09);
  --border-mid:     rgba(57,230,140,0.18);
  --border-bright:  rgba(57,230,140,0.32);
  --text:           #b8d0c4;
  --text-dim:       #5e7a6a;
  --text-muted:     #2e3e36;
  --heading:        #e0f2e8;
  --shadow:         rgba(0,0,0,0.7);
  --shadow-sm:      rgba(0,0,0,0.4);
  --shadow-green:   rgba(57,230,140,0.15);
  --font-head:  'Rajdhani', sans-serif;
  --font-body:  'Space Grotesk', sans-serif;
  --font-alt:   'Inter', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;
  --radius:     8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
  --blur:       blur(18px) saturate(180%);
}

/* ─── LIGHT MODE ─────────────────────────────── */
[data-theme="light"] {
  --green:          #0e8c52;
  --green-bright:   #0a7042;
  --green-mid:      #10a360;
  --green-dim:      #086035;
  --green-deep:     #e8f7ef;
  --green-glow:     rgba(14,140,82,0.12);
  --green-glow-sm:  rgba(14,140,82,0.07);
  --green-glow-xs:  rgba(14,140,82,0.04);
  --bg:             #f0f5f2;
  --bg2:            #e8ede9;
  --bg3:            #dde5df;
  --surface:        #ffffff;
  --surface2:       #f5f9f6;
  --surface3:       #eff4f0;
  --glass:          rgba(255,255,255,0.75);
  --glass2:         rgba(240,245,242,0.90);
  --border:         rgba(14,140,82,0.11);
  --border-mid:     rgba(14,140,82,0.20);
  --border-bright:  rgba(14,140,82,0.32);
  --text:           #243028;
  --text-dim:       #4a6454;
  --text-muted:     #8aa494;
  --heading:        #0c1810;
  --shadow:         rgba(0,0,0,0.10);
  --shadow-sm:      rgba(0,0,0,0.06);
  --shadow-green:   rgba(14,140,82,0.12);
  --input-bg:       #f5f9f6;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Fine noise texture overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.18;
}
[data-theme="light"] body::before { opacity: 0.05; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--green-dim); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }
::selection { background: var(--green); color: #000; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.025em;
  color: var(--heading);
  transition: color 0.3s;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.08rem; font-weight: 600; }
p { color: var(--text); transition: color 0.3s; font-size: 0.96rem; }
a { color: var(--green); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--green-bright); }

code, .mono {
  font-family: var(--font-mono);
  font-size: 0.81em;
  background: var(--bg3);
  border: 1px solid var(--border-mid);
  border-radius: 4px;
  padding: 0.12em 0.45em;
  color: var(--green);
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 1.75rem; }
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-dim { color: var(--text-dim); }
.text-muted { color: var(--text-muted); }
.text-mono { font-family: var(--font-mono); }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2.5rem; }
.mb-5 { margin-bottom: 3.5rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.mt-5 { margin-top: 3.5rem; }

/* ─── THEME TOGGLE ─────────────────────────── */
.theme-toggle {
  width: 48px; height: 26px;
  background: var(--surface2);
  border: 1.5px solid var(--border-mid);
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  outline: none;
  padding: 0;
  display: flex;
  align-items: center;
}
.theme-toggle:hover { border-color: var(--green); box-shadow: 0 0 12px var(--green-glow); }
.theme-toggle-knob {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  position: absolute;
  left: 2px;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; line-height: 1;
  box-shadow: 0 1px 6px var(--shadow-green);
}
[data-theme="light"] .theme-toggle-knob { transform: translateX(22px); }

/* ─── NAVBAR ────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--glass2);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--border-mid);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 94px;
}
.nav-logo img {
  height: 78px;
  width: auto;
  display: block;
  transition: var(--transition);
  filter: drop-shadow(0 0 8px var(--green-glow));
}
.nav-logo:hover img { filter: drop-shadow(0 0 14px rgba(57,230,140,0.4)); }
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
.nav-links li a {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: var(--transition);
  position: relative;
}
.nav-links li a:hover, .nav-links li a.active {
  color: var(--heading);
  background: var(--green-glow-sm);
}
.nav-links li a.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.nav-cta {
  background: var(--green) !important;
  color: #000 !important;
  font-weight: 600 !important;
  padding: 0.42rem 1.1rem !important;
  border-radius: 6px !important;
  margin-left: 0.5rem;
  letter-spacing: 0.03em;
  font-size: 0.82rem !important;
  transition: var(--transition) !important;
  box-shadow: 0 2px 16px var(--shadow-green);
}
.nav-cta:hover {
  background: var(--green-bright) !important;
  box-shadow: 0 4px 24px rgba(57,230,140,0.35) !important;
  transform: translateY(-1px);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: 0.5rem;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-dim);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── HERO ──────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 94px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 30%, rgba(57,230,140,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(57,230,140,0.05) 0%, transparent 60%),
    linear-gradient(165deg, var(--bg) 0%, var(--bg2) 50%, var(--bg3) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(57,230,140,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,230,140,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 85% 70% at 55% 40%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 55% 40%, black 0%, transparent 75%);
}

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

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0 4rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(57,230,140,0.07);
  border: 1px solid var(--border-mid);
  border-radius: 100px;
  padding: 0.28rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}
.hero-eyebrow-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-content h1 {
  margin-bottom: 1.4rem;
  line-height: 1.08;
}
.hero-content h1 span {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 60%, #a8ffdb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 2.2rem;
  font-family: var(--font-alt);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 540px;
}
.hero-stat {
  padding: 1rem 0.75rem;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}
.hero-stat:last-child { border-right: none; }
.hero-stat-val {
  display: block;
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.hero-stat-label {
  display: block;
  font-size: 0.67rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
  font-family: var(--font-mono);
}

/* Hero visual panel */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-ring {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-ring::before, .hero-logo-ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
  animation: ring-rotate 20s linear infinite;
}
.hero-logo-ring::before {
  inset: 0;
  background: radial-gradient(circle, var(--green-glow-sm) 0%, transparent 70%);
}
.hero-logo-ring::after {
  inset: 28px;
  border-color: var(--border);
  animation-duration: 28s;
  animation-direction: reverse;
}
@keyframes ring-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-logo-inner {
  position: relative;
  z-index: 2;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(57,230,140,0.12) 0%, transparent 70%);
  filter: drop-shadow(0 0 40px rgba(57,230,140,0.25));
}
.hero-logo-inner img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  animation: float-logo 6s ease-in-out infinite;
}
@keyframes float-logo {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-orbit-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: orbit 8s linear infinite;
}
.hero-orbit-dot:nth-child(2) { animation-duration: 12s; animation-direction: reverse; opacity: 0.6; width: 5px; height: 5px; }
@keyframes orbit {
  from { transform: rotate(0deg) translateX(150px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}
.hero-badge-floating {
  position: absolute;
  bottom: 20px;
  right: -10px;
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 3;
  box-shadow: 0 8px 32px var(--shadow);
}
.hero-badge-floating .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse-dot 2s ease-in-out infinite; }
.hero-badge-floating span { font-family: var(--font-mono); font-size: 0.68rem; color: var(--green); letter-spacing: 0.05em; }

/* ─── TECH TICKER ─────────────────────────── */
.tech-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 35s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
.tech-item {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.85rem 1.8rem;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  transition: var(--transition);
}
.tech-item:hover { color: var(--green); background: var(--green-glow-xs); }
.tech-item.highlight { color: var(--green); }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── SECTION LABELS ──────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.section-label::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--green);
  opacity: 0.7;
}
.section-title { line-height: 1.15; margin-bottom: 1rem; }
.section-desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 540px;
  line-height: 1.75;
  font-family: var(--font-alt);
}

/* ─── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-lg { padding: 0.85rem 1.9rem; font-size: 0.94rem; }

.btn-primary {
  background: var(--green);
  color: #000;
  box-shadow: 0 2px 20px var(--shadow-green);
}
.btn-primary:hover {
  background: var(--green-bright);
  color: #000;
  box-shadow: 0 6px 32px rgba(57,230,140,0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--heading);
  border: 1px solid var(--border-mid);
}
.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-glow-sm);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--heading);
  border-color: var(--border-mid);
  background: var(--green-glow-xs);
}

/* ─── CARDS ───────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-glow-xs) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover { border-color: var(--border-mid); transform: translateY(-2px); box-shadow: 0 8px 32px var(--shadow-sm); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--green-glow-sm);
  border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  margin-bottom: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.card-icon svg { width: 22px; height: 22px; }
.card:hover .card-icon { background: var(--green-glow); box-shadow: 0 0 16px var(--green-glow); }

.card h4 { margin-bottom: 0.5rem; font-size: 1.0rem; }
.card p { font-size: 0.87rem; color: var(--text-dim); line-height: 1.65; }

/* Glass card variant */
.card-glass {
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

/* ─── GRIDS ─────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* ─── PAGE HEADER ─────────────────────────── */
.page-header {
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(57,230,140,0.07) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}
.page-header h1 { margin-bottom: 0.75rem; }

/* ─── DIVIDER ─────────────────────────────── */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid), transparent);
  margin: 0;
}

/* ─── FEATURE LIST ────────────────────────── */
.features-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.feature-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: var(--transition);
}
.feature-list li:hover { border-color: var(--border-mid); background: var(--surface2); }
.check {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green-glow-sm);
  border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 1px;
}
.fi-title { display: block; font-weight: 600; font-size: 0.9rem; color: var(--heading); margin-bottom: 0.2rem; font-family: var(--font-body); }
.fi-desc { display: block; font-size: 0.82rem; color: var(--text-dim); line-height: 1.6; font-family: var(--font-alt); }

/* ─── SECURITY NUMBERS ────────────────────── */
.sec-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  opacity: 0.55;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

/* ─── DOCS ───────────────────────────────── */
.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.doc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.doc-card:hover { border-color: var(--border-mid); transform: translateY(-2px); box-shadow: 0 8px 32px var(--shadow-sm); }
.doc-card:hover::after { opacity: 1; }
.doc-num { font-family: var(--font-mono); font-size: 0.68rem; color: var(--green); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.65rem; display: block; }
.doc-card h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.doc-card p { font-size: 0.84rem; color: var(--text-dim); line-height: 1.65; }
.doc-tag { display: inline-flex; font-family: var(--font-mono); font-size: 0.63rem; background: var(--green-glow-sm); border: 1px solid var(--border-mid); color: var(--green); padding: 0.18rem 0.55rem; border-radius: 4px; margin-right: 0.35rem; margin-top: 0.2rem; letter-spacing: 0.06em; }

/* ─── FAQ ─────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.22s;
}
.faq-item.open { border-color: var(--border-mid); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--heading);
  user-select: none;
  transition: var(--transition);
  line-height: 1.4;
}
.faq-q:hover { color: var(--green); background: var(--green-glow-xs); }
.faq-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--green); transition: transform 0.25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1);
}
.faq-a-inner {
  padding: 0 1.4rem 1.2rem;
  font-size: 0.87rem;
  color: var(--text-dim);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
  font-family: var(--font-alt);
}
.faq-a-inner strong { color: var(--heading); font-weight: 600; }

/* ─── DONATIONS ──────────────────────────── */
.addr-copy-btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: var(--surface2);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--green);
  cursor: pointer;
  width: 100%;
  text-align: left;
  word-break: break-all;
  transition: var(--transition);
  display: block;
  line-height: 1.5;
}
.addr-copy-btn:hover { background: var(--green-glow-sm); border-color: var(--green); box-shadow: 0 0 16px var(--green-glow); }

.donation-qr-wrap {
  width: 180px; height: 180px;
  background: var(--surface2);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

/* ─── CONTACT ────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3.5rem; max-width: 900px; margin: 0 auto; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.contact-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--green-glow-sm);
  border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.78rem; font-weight: 600; color: var(--heading); letter-spacing: 0.04em; font-family: var(--font-mono); text-transform: uppercase; }
.form-input, .form-textarea {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--heading);
  font-family: var(--font-body);
  font-size: 0.89rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus, .form-textarea:focus { border-color: var(--border-bright); box-shadow: 0 0 0 3px var(--green-glow-xs); background: var(--surface3); }
.form-textarea { resize: vertical; min-height: 130px; }

/* ─── DOWNLOAD ────────────────────────────── */
.checksum-box {
  background: var(--bg3);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.9;
  word-break: break-all;
}
.checksum-box .label { color: var(--green); font-weight: 600; }
.req-item { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.55rem 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.req-item:last-child { border-bottom: none; }
.req-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: 7px; box-shadow: 0 0 8px var(--green); }
.version-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--green-glow-sm);
  border: 1px solid var(--border-mid);
  border-radius: 100px;
  padding: 0.28rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: var(--green);
  letter-spacing: 0.05em;
}

/* ─── FOOTER ─────────────────────────────── */
.footer {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 80px; width: auto; display: block; margin-bottom: 1.2rem; filter: drop-shadow(0 0 12px var(--green-glow)); }
.footer-brand p { font-size: 0.83rem; color: var(--text-dim); line-height: 1.7; max-width: 260px; font-family: var(--font-alt); }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--heading);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { font-size: 0.84rem; color: var(--text-dim); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--green); padding-left: 3px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p { font-size: 0.79rem; color: var(--text-dim); font-family: var(--font-alt); }
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--green); }

/* ─── ANIMATIONS ─────────────────────────── */
.animate-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.4,0,0.2,1), transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.animate-in.visible { opacity: 1; transform: translateY(0); }
.animate-in[data-delay="80"] { transition-delay: 0.08s; }
.animate-in[data-delay="160"] { transition-delay: 0.16s; }
.animate-in[data-delay="240"] { transition-delay: 0.24s; }
.animate-in[data-delay="100"] { transition-delay: 0.10s; }
.animate-in[data-delay="200"] { transition-delay: 0.20s; }
.animate-in[data-delay="40"] { transition-delay: 0.04s; }
.animate-in[data-delay="60"] { transition-delay: 0.06s; }

/* ─── CTA BANNER ──────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, var(--green-glow-sm) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── MOBILE ─────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero-layout { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .hero-stats { max-width: 100%; }
  .features-intro { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 94px; left: 0; right: 0; background: var(--glass2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); padding: 1rem; gap: 0.25rem; border-bottom: 1px solid var(--border); z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 0.7rem 1rem; border-radius: var(--radius); display: block; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
}
