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

:root {
  --blue: #3B6CF2;
  --blue-light: #5B8AF5;
  --blue-pale: #EEF2FF;
  --blue-glow: rgba(59,108,242,0.25);
  --bg: #FFFFFF;
  --surface: #F8FAFE;
  --surface-2: #EEF2FE;
  --border: rgba(59,108,242,0.12);
  --border-strong: rgba(59,108,242,0.22);
  --text: #0D1117;
  --text-muted: #4361A8;
  --text-faint: #94A3B8;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 0 0 1px rgba(59,108,242,0.07);
  --shadow-md: 0 4px 16px rgba(59,108,242,0.1), 0 1px 4px rgba(0,0,0,0.06), 0 0 0 1px rgba(59,108,242,0.08);
  --shadow-lg: 0 8px 40px rgba(59,108,242,0.18), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-btn: 0 4px 20px rgba(59,108,242,0.4), 0 1px 4px rgba(59,108,242,0.2);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

code {
  font-family: 'Courier New', monospace;
  font-size: 0.875em;
  background: var(--blue-pale);
  border: 1px solid var(--border-strong);
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--blue);
  font-weight: 500;
}

kbd {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.875em;
  font-family: var(--font);
  color: var(--blue);
  font-weight: 600;
  box-shadow: 0 2px 0 var(--border-strong);
}

/* gradient headline text */
.accent {
  background: linear-gradient(135deg, #3B6CF2 0%, #7B9CF4 50%, #3B6CF2 100%);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, #3B6CF2 0%, #5B8AF5 100%);
  color: #fff;
  box-shadow: var(--shadow-btn);
  flex-direction: column;
  gap: 3px;
  padding: 15px 30px;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #2d5fe0 0%, #4d7de8 100%);
  box-shadow: 0 8px 32px rgba(59,108,242,0.5), 0 2px 8px rgba(59,108,242,0.3);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow-btn); }
.btn-primary svg { width: 20px; height: 20px; }
.btn-sub { font-size: 0.72rem; font-weight: 400; opacity: 0.85; letter-spacing: 0.01em; }

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--border-strong);
  font-weight: 600;
}
.btn-ghost:hover {
  background: var(--blue-pale);
  border-color: var(--blue);
  transform: translateY(-1px);
}
.btn-ghost svg { width: 18px; height: 18px; }

.btn-large { padding: 18px 40px; font-size: 1.05rem; }
.btn-large .btn-sub { font-size: 0.78rem; }

.btn-paypal {
  background: linear-gradient(135deg, #003087, #009cde);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,156,222,0.3);
  padding: 14px 28px;
}
.btn-paypal:hover {
  background: linear-gradient(135deg, #003f9f, #00b4f5);
  box-shadow: 0 6px 24px rgba(0,156,222,0.45);
  transform: translateY(-1px);
}
.btn-paypal svg { width: 24px; height: 24px; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(135deg, #0D1B4B 0%, #152366 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(10, 20, 65, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07), 0 4px 24px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  letter-spacing: -0.02em;
  transition: opacity 0.2s;
  text-decoration: none;
}
.nav-logo:hover { opacity: 0.8; }
.logo-icon { width: 40px; height: 24px; flex-shrink: 0; }

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  transition: all 0.2s;
}
.nav-links a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav-cta {
  background: linear-gradient(135deg, #3B6CF2, #5B8AF5) !important;
  color: #fff !important;
  border-radius: 10px;
  margin-left: 10px;
  box-shadow: 0 2px 10px rgba(59,108,242,0.35);
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: linear-gradient(135deg, #2d5fe0, #4d7de8) !important;
  box-shadow: 0 4px 16px rgba(59,108,242,0.45) !important;
  transform: translateY(-1px);
}


/* ===== NAV ACTION BUTTONS (Donate / Sign In / Sign Up) ===== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn-donate {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #FF8080;
  border: 1.5px solid rgba(255,100,100,0.3);
  background: rgba(255,100,100,0.08);
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.nav-btn-donate:hover {
  background: rgba(255,100,100,0.16);
  border-color: rgba(255,120,120,0.55);
  color: #ffaaaa;
}

.nav-btn-signin {
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.nav-btn-signin:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.nav-btn-signup {
  padding: 7px 18px;
  background: #fff;
  color: #1a2d7a;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.nav-btn-signup:hover {
  background: #EEF2FF;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* Nav user pill (logged-in state — sits on dark blue nav) */
.nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}
.nav-user-avatar {
  width: 26px; height: 26px;
  background: linear-gradient(135deg, #5B8AF5, #7BA3F7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
}
.nav-signout {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 6px;
  font-family: var(--font);
  transition: color 0.2s;
}
.nav-signout:hover { color: #E53E3E; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.25s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  box-shadow: 0 8px 24px rgba(59,108,242,0.08);
}
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}
.mobile-menu a:hover { background: var(--blue-pale); color: var(--blue); }
.mobile-menu.open { display: block; }

/* ===== SECTION BASE ===== */
.section { padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-pale);
  border: 1px solid var(--border-strong);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  color: var(--text);
  line-height: 1.15;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 130px 0 80px;
  overflow: hidden;
  background: #fff;
}

/* Dot-grid background pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(59,108,242,0.18) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

/* Gradient orbs */
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-glow::before {
  content: '';
  position: absolute;
  top: -180px; left: -120px;
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(59,108,242,0.12) 0%, transparent 65%);
}
.hero-glow::after {
  content: '';
  position: absolute;
  bottom: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(91,138,245,0.1) 0%, transparent 65%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 13px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--blue-pale);
  border: 1px solid var(--border-strong);
  color: var(--blue);
}

.hero-headline {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  color: var(--text);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* ===== APP MOCKUP ===== */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.mock-window {
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(59,108,242,0.06);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #EEF2FE, #F8FAFE);
  border-bottom: 1px solid var(--border);
}
.mock-logo { width: 40px; height: 24px; }
.mock-title { flex: 1; font-size: 0.8rem; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.mock-controls { display: flex; gap: 6px; }
.mock-controls span {
  width: 11px; height: 11px; border-radius: 50%;
}
.mock-controls span:nth-child(1) { background: #FF5F57; }
.mock-controls span:nth-child(2) { background: #FEBC2E; }
.mock-controls span:nth-child(3) { background: #28C840; }

.mock-body { padding: 12px; display: flex; flex-direction: column; gap: 7px; }

.mock-drive-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.mock-drive-mounted {
  background: var(--blue-pale);
  border-color: var(--border-strong);
}
.mock-drive-icon { width: 28px; height: 28px; flex-shrink: 0; }
.mock-drive-info { flex: 1; min-width: 0; }
.mock-drive-name { display: block; font-size: 0.82rem; font-weight: 700; color: var(--text); }
.mock-drive-status { display: block; font-size: 0.72rem; color: var(--text-faint); }
.mock-drive-status.mounted { color: #16A34A; font-weight: 600; }
.mock-drive-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--border-strong);
  padding: 2px 9px;
  border-radius: 100px;
}
.mock-mount-btn {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  border: none;
  padding: 5px 12px;
  border-radius: 7px;
  cursor: pointer;
  font-family: var(--font);
  box-shadow: 0 2px 8px rgba(59,108,242,0.3);
}
.mock-add-row { padding: 2px 13px 4px; }
.mock-add-btn {
  width: 100%;
  padding: 8px;
  border-radius: 9px;
  border: 1.5px dashed var(--border-strong);
  background: transparent;
  color: var(--text-faint);
  font-size: 0.8rem;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
  font-weight: 500;
}
.mock-add-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }

.mock-explorer {
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-left: 24px;
}
.mock-explorer-titlebar {
  padding: 8px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.mock-explorer-body { padding: 8px; display: flex; flex-direction: column; gap: 3px; }
.mock-explorer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.mock-explorer-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.mock-explorer-item.highlight { background: var(--blue-pale); color: var(--text); font-weight: 600; }
.new-badge {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 800;
  color: #fff;
  background: var(--blue);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.35;
  animation: bounce 2.5s ease-in-out infinite;
}
.hero-scroll-hint svg { width: 30px; height: 30px; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== PROVIDERS ===== */
.providers-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.provider-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 16px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.provider-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.provider-icon { width: 48px; height: 48px; }
.provider-icon svg { width: 100%; height: 100%; }
.provider-name { font-size: 0.875rem; font-weight: 700; color: var(--text); }
.provider-auth {
  font-size: 0.7rem;
  color: var(--text-faint);
  background: var(--surface-2);
  padding: 2px 9px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-weight: 600;
}

.providers-footnote {
  text-align: center;
  margin-top: 36px;
  color: var(--text-faint);
  font-size: 0.875rem;
}

/* ===== HOW IT WORKS ===== */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.step {
  flex: 1;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.step-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 12px rgba(59,108,242,0.35);
}
.step-icon { width: 68px; height: 68px; }
.step-icon svg { width: 100%; height: 100%; }
.step h3 { font-size: 1.1rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.step p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

.step-connector {
  flex-shrink: 0;
  padding: 0 20px;
  margin-top: 60px;
  opacity: 0.35;
}
.step-connector svg { width: 44px; height: 16px; }

/* ===== FEATURES ===== */
.features-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
/* First two highlighted cards span 2 cols each on wide screens */
.feature-card-highlight:nth-child(1),
.feature-card-highlight:nth-child(2) {
  grid-column: span 2;
}

.feature-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.feature-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--blue-pale);
  border-radius: 12px;
  border: 1px solid var(--border-strong);
}
.feature-card h3 { font-size: 0.95rem; font-weight: 800; color: var(--text); margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }
.feature-card-highlight {
  border-color: var(--blue);
  background: linear-gradient(135deg, #f0f4ff 0%, #fff 100%);
  position: relative;
}
.feature-card-highlight::before {
  content: 'NEW';
  position: absolute;
  top: 14px; right: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 20px;
}

/* ===== INSTALL ===== */
.install-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.install-steps { list-style: none; display: flex; flex-direction: column; }
.install-steps li {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.install-steps li:last-child { border-bottom: none; }
.install-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--border-strong);
  line-height: 1;
  flex-shrink: 0;
  width: 38px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}
.install-steps strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}
.install-steps p { font-size: 0.875rem; color: var(--text-muted); }

.faq h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 15px 18px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.1rem;
  color: var(--blue);
  font-weight: 700;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { background: var(--blue-pale); }
.faq-item p {
  padding: 12px 18px 18px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== DOWNLOAD CTA (dark blue gradient section) ===== */
.download-section { padding: 0; }

.download-card {
  background: linear-gradient(135deg, #0D1B4B 0%, #1a2d7a 40%, #0D1B4B 100%);
  background-size: 200%;
  border-radius: 0;
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Grid pattern overlay on download section */
.download-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(91,138,245,0.2) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.download-glow {
  position: absolute;
  top: -150px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(91,138,245,0.35) 0%, transparent 65%);
  pointer-events: none;
}
.download-logo { width: 60px; height: 36px; position: relative; z-index: 1; }
.download-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  position: relative;
  z-index: 1;
}
.download-card > p { font-size: 0.95rem; color: rgba(255,255,255,0.6); position: relative; z-index: 1; }
.download-card .btn-primary {
  background: linear-gradient(135deg, #5B8AF5, #3B6CF2);
  box-shadow: 0 8px 32px rgba(59,108,242,0.6), 0 0 0 1px rgba(255,255,255,0.1);
  position: relative; z-index: 1;
}
.download-card .btn-primary:hover {
  box-shadow: 0 12px 40px rgba(59,108,242,0.7), 0 0 0 1px rgba(255,255,255,0.2);
}
.download-card .btn-ghost {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  position: relative; z-index: 1;
}
.download-card .btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

/* ===== DONATE ===== */
.donate-section { border-top: 1px solid var(--border); }

.donate-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 52px 60px;
  box-shadow: var(--shadow-md);
}
.donate-text h2 {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.donate-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  padding: 44px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-name { font-weight: 800; font-size: 0.95rem; letter-spacing: -0.02em; }
.footer-version {
  font-size: 0.7rem;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 2px 8px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  font-weight: 700;
}

.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue); }

.footer-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.07s; }
.fade-up:nth-child(3) { transition-delay: 0.14s; }
.fade-up:nth-child(4) { transition-delay: 0.21s; }
.fade-up:nth-child(5) { transition-delay: 0.28s; }
.fade-up:nth-child(6) { transition-delay: 0.35s; }
.fade-up:nth-child(7) { transition-delay: 0.42s; }
.fade-up:nth-child(8) { transition-delay: 0.49s; }

/* ===== AUTH PAGES — two-column layout ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;  /* allow right panel to grow taller than viewport */
  background: #fff;
}

/* LEFT panel — sticky so it stays in view while the form side scrolls */
.auth-left {
  flex: 1;
  min-width: 0;
  background: linear-gradient(145deg, #0D1B4B 0%, #1a2d7a 55%, #0f2060 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* dot-grid overlay on left panel */
.auth-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(91,138,245,0.22) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* gradient orb top-right */
.auth-left::after {
  content: '';
  position: absolute;
  top: -160px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(ellipse, rgba(91,138,245,0.3) 0%, transparent 65%);
  pointer-events: none;
}

.auth-left-content { position: relative; z-index: 1; }

.auth-left-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 52px;
  text-decoration: none;
}
.auth-left-logo span {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.auth-left-headline {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.auth-left-headline span {
  background: linear-gradient(135deg, #7BA3F7, #5B8AF5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-left-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 380px;
}

.auth-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.auth-feature-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(91,138,245,0.2);
  border: 1px solid rgba(91,138,245,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.auth-feature-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.auth-feature-text span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* RIGHT panel — soft tinted background so it's not a blank white slab */
.auth-right {
  flex: 0 0 46%;
  min-width: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 60px 48px;
  background: #EEF2FF;
  position: relative;
}

/* Floating white card — form lives inside here */
.auth-card {
  width: 100%;
  max-width: 440px;
  margin: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(59,108,242,0.10), 0 1px 4px rgba(0,0,0,0.05);
  padding: 44px 44px;
  box-sizing: border-box;
}

/* Back link inside right panel */
.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-faint);
  font-weight: 500;
  margin-bottom: 32px;
  transition: color 0.2s;
  text-decoration: none;
}
.auth-back:hover { color: var(--blue); }
.auth-back svg { width: 14px; height: 14px; }

/* .auth-card defined above with margin:auto centering */

.auth-orb-tl, .auth-orb-br { display: none; }

.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.auth-heading {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.2;
}

.auth-subheading {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.auth-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}

.form-field {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font);
  transition: all 0.2s;
  outline: none;
  appearance: none;
}
.form-field:hover { border-color: var(--border-strong); }
.form-field:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59,108,242,0.12);
}
.form-field::placeholder { color: var(--text-faint); }

.form-error {
  font-size: 0.8rem;
  color: #DC2626;
  display: none;
  font-weight: 500;
}
.form-error.show { display: block; }

.auth-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #3B6CF2, #5B8AF5);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-btn);
  margin-top: 4px;
  letter-spacing: -0.01em;
}
.auth-submit:hover {
  background: linear-gradient(135deg, #2d5fe0, #4d7de8);
  box-shadow: 0 8px 28px rgba(59,108,242,0.5);
  transform: translateY(-1px);
}
.auth-submit:active { transform: translateY(0); }
.auth-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-divider span { font-size: 0.75rem; color: var(--text-faint); font-weight: 500; }

.auth-switch {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.auth-switch a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}
.auth-switch a:hover { opacity: 0.8; text-decoration: underline; }

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-faint);
  font-weight: 500;
  margin-bottom: 28px;
  transition: color 0.2s;
  text-decoration: none;
}
.auth-back:hover { color: var(--blue); }
.auth-back svg { width: 14px; height: 14px; }

/* Alert box (success/error) */
.auth-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  display: none;
}
.auth-alert.show { display: block; }
.auth-alert.error { background: #FEF2F2; border: 1px solid #FCA5A5; color: #DC2626; }
.auth-alert.success { background: #F0FDF4; border: 1px solid #86EFAC; color: #16A34A; }

/* Password strength */
.password-strength {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}
.strength-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--border);
  transition: background 0.3s;
}
.strength-bar.weak { background: #EF4444; }
.strength-bar.fair { background: #F59E0B; }
.strength-bar.strong { background: #10B981; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 52px; }
  .hero-visual { order: -1; }
  .hero-text { text-align: center; }
  .hero-badge-row { justify-content: center; }
  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; }

  .providers-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-highlight:nth-child(1),
  .feature-card-highlight:nth-child(2) { grid-column: span 2; }

  .steps { flex-direction: column; align-items: center; gap: 24px; }
  .step-connector { transform: rotate(90deg); margin: 0; padding: 6px 0; }

  .install-inner { grid-template-columns: 1fr; gap: 44px; }
  .donate-inner { flex-direction: column; text-align: center; padding: 44px 32px; }
  .donate-text p { max-width: 100%; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-meta { justify-content: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  .providers-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card-highlight:nth-child(1),
  .feature-card-highlight:nth-child(2) { grid-column: span 1; }

  .download-card { padding: 72px 24px; }
  .donate-inner { padding: 36px 24px; }
  .btn-large { padding: 16px 24px; font-size: 0.95rem; }
  .mock-explorer { margin-left: 0; }

  /* Auth: stack on mobile */
  .auth-page { flex-direction: column; }
  .auth-left { display: none; }
  .auth-right { flex: 1; min-width: 0; padding: 32px 20px; }
  .auth-card { padding: 36px 24px; border-radius: 16px; }
}

@media (max-width: 900px) {
  /* Auth: hide left panel on tablet, give full width to form */
  .auth-left { display: none; }
  .auth-right { flex: 1; min-width: 0; padding: 48px 32px; }
  .auth-card { padding: 40px 36px; }

  /* Nav: hide 3-button group on medium screens, show hamburger */
  .nav-actions { gap: 6px; }
  .nav-btn-donate { display: none; }
}

@media (max-width: 400px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}

/* ===== ACCOUNT / DASHBOARD PAGE ===== */

.account-topbar {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--border), 0 4px 16px rgba(59,108,242,0.05);
}
.account-topbar-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.account-topbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.account-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.account-topbar-home {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  transition: all 0.2s;
  text-decoration: none;
}
.account-topbar-home:hover { background: var(--blue-pale); color: var(--blue); border-color: var(--border-strong); }

.account-signout-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: #DC2626;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(220,38,38,0.2);
  background: rgba(220,38,38,0.05);
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}
.account-signout-btn:hover { background: rgba(220,38,38,0.1); border-color: rgba(220,38,38,0.4); }

/* Hero banner */
.account-hero {
  background: linear-gradient(145deg, #0D1B4B 0%, #1a2d7a 55%, #0f2060 100%);
  padding: 72px 24px 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.account-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(91,138,245,0.2) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.account-hero::after {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(91,138,245,0.3) 0%, transparent 65%);
  pointer-events: none;
}

.account-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3B6CF2, #5B8AF5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
  border: 3px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 32px rgba(59,108,242,0.5);
  position: relative;
  z-index: 1;
}
.account-hero-name {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.account-hero-email {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.account-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  background: rgba(91,138,245,0.2);
  border: 1px solid rgba(91,138,245,0.35);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}
.account-hero-badge::before { content: '●'; color: #4ADE80; font-size: 0.6rem; }

/* Content area — lifts over hero */
.account-content {
  max-width: 860px;
  margin: -44px auto 0;
  padding: 0 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

/* Generic dashboard card */
.dash-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-md);
}
.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.dash-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.dash-card-subtitle {
  font-size: 0.82rem;
  color: var(--text-faint);
  font-weight: 500;
  margin-top: 2px;
}

/* Download card special treatment */
.dash-download {
  background: linear-gradient(135deg, #EEF2FF 0%, #F8FAFE 100%);
  border-color: var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 40px;
}
.dash-download-info { flex: 1; }
.dash-download-info h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.dash-download-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.dash-meta-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-pale);
  border: 1px solid var(--border-strong);
  padding: 3px 10px;
  border-radius: 100px;
}

/* Account details grid */
.dash-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.dash-detail-item label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.dash-detail-item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

/* Donate card */
.dash-donate {
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.dash-donate-text h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.dash-donate-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .account-hero { padding: 56px 24px 72px; }
  .account-content { padding: 0 16px 60px; }
  .dash-download { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .dash-donate { flex-direction: column; padding: 28px 24px; }
  .dash-detail-grid { grid-template-columns: 1fr; }
  .dash-card { padding: 24px; }
}

/* ===== SELECTION ===== */
::selection { background: rgba(59,108,242,0.15); color: var(--text); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-light); }
