/* ═══ Reset & Base ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #080b14;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ═══ Design Tokens ═══ */
:root {
  --blue:   #3b82f6;
  --purple: #8b5cf6;
  --cyan:   #06b6d4;
  --grad:   linear-gradient(135deg, var(--blue), var(--purple));
  --grad2:  linear-gradient(135deg, var(--purple), var(--cyan));
  --surface: rgba(255,255,255,0.04);
  --border:  rgba(255,255,255,0.08);
  --text-muted: #94a3b8;
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ═══ Utility ═══ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 16px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
}

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 30px rgba(59,130,246,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 48px rgba(59,130,246,0.55); }
.btn-ghost {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface); border-color: rgba(255,255,255,0.18); }
.btn-nav {
  background: var(--grad);
  color: #fff;
  padding: 9px 20px;
  font-size: 0.875rem;
  border-radius: 8px;
}
.btn-nav:hover { opacity: 0.88; }
.btn-large { padding: 16px 36px; font-size: 1.05rem; border-radius: 12px; }

/* ═══ Nav ═══ */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8,11,20,0.72);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 500;
  flex-shrink: 0;
}
.logo-icon { font-size: 1.3rem; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: #fff; }
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #e2e8f0;
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: auto;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px;
  gap: 14px;
  border-top: 1px solid var(--border);
  background: rgba(8,11,20,0.95);
}
.mobile-menu a { font-size: 0.95rem; color: var(--text-muted); }
.mobile-menu a:hover { color: #fff; }
.mobile-menu.open { display: flex; }

/* ═══ Hero ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  text-align: center;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero-orb-1 { width: 500px; height: 500px; background: rgba(59,130,246,0.18); top: -100px; left: -150px; }
.hero-orb-2 { width: 400px; height: 400px; background: rgba(139,92,246,0.18); top: 100px; right: -120px; }
.hero-orb-3 { width: 300px; height: 300px; background: rgba(6,182,212,0.12); bottom: 0; left: 50%; transform: translateX(-50%); }

.hero-content { position: relative; z-index: 2; max-width: 780px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #93c5fd;
  margin-bottom: 28px;
  animation: fadeDown 0.6s ease both;
}
.badge-dot {
  width: 7px; height: 7px;
  background: #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 8px #3b82f6;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
@keyframes fadeDown { from { opacity:0; transform:translateY(-16px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeUp   { from { opacity:0; transform:translateY(24px); }  to { opacity:1; transform:translateY(0); } }
@keyframes slideIn  { from { opacity:0; transform:translateX(40px); } to { opacity:1; transform:translateX(0); } }

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-subtitle strong { color: #e2e8f0; }
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeUp 0.7s 0.3s ease both;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  animation: fadeUp 0.7s 0.4s ease both;
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 1.7rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ═══ Hero Mockup ═══ */
.hero-mockup {
  position: relative;
  z-index: 2;
  margin-top: 64px;
  animation: fadeUp 0.8s 0.5s ease both;
}
.mockup-card {
  background: rgba(15,20,35,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 20px;
  width: 300px;
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(59,130,246,0.08), inset 0 1px 0 rgba(255,255,255,0.06);
  margin: 0 auto;
}
.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.mockup-logo { font-size: 0.8rem; font-weight: 700; color: #c4b5fd; }
.mockup-badge { background: rgba(139,92,246,0.25); color: #c4b5fd; font-size: 0.65rem; padding: 2px 6px; border-radius: 4px; margin-left: 4px; }
.mockup-controls { display: flex; gap: 6px; }
.ctrl-dot { width: 10px; height: 10px; border-radius: 50%; }
.ctrl-yellow { background: #fbbf24; }
.ctrl-green  { background: #34d399; }
.mockup-label { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 6px; }
.mockup-input, .mockup-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 0.75rem;
  color: #e2e8f0;
  width: 100%;
}
.mockup-divider { height: 1px; background: var(--border); margin: 14px 0; }
.mockup-btn {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  margin-bottom: 8px;
  text-align: center;
}
.mockup-btn-primary { background: var(--grad); color: #fff; }
.mockup-btn-alt { background: rgba(255,255,255,0.06); color: #e2e8f0; border: 1px solid var(--border); }
.mockup-progress { display: flex; gap: 14px; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.mockup-ring-wrap { position: relative; width: 60px; height: 60px; flex-shrink: 0; }
.mockup-ring { width: 60px; height: 60px; transform: rotate(-90deg); }
.ring-bg  { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 6; }
.ring-fill { fill: none; stroke: url(#mockRingGrad); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 201; stroke-dashoffset: 44; transition: stroke-dashoffset 1s ease; }
.mockup-pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: #93c5fd; }
.mockup-prog-label { font-size: 0.72rem; font-weight: 600; color: #e2e8f0; }
.mockup-prog-detail { font-size: 0.65rem; color: var(--text-muted); margin-top: 3px; }

/* ═══ Trusted Bar ═══ */
.trusted-bar { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.015); }
.trusted-label { text-align: center; font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.trusted-logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.trusted-item { font-size: 0.85rem; color: #64748b; font-weight: 500; transition: color var(--transition); }
.trusted-item:hover { color: #94a3b8; }

/* ═══ Features ═══ */
.features { padding: 100px 0; }
.features .section-title, .features .section-label { display: block; text-align: center; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.feature-card:hover::before { opacity: 0.04; }
.feature-card-large { grid-column: span 2; }
.feat-icon-wrap { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; position: relative; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; position: relative; }
.feat-tag { display: inline-block; margin-top: 14px; font-size: 0.7rem; font-weight: 600; background: rgba(59,130,246,0.15); color: #93c5fd; border-radius: 6px; padding: 3px 10px; }
.feat-tag-green { background: rgba(52,211,153,0.15); color: #6ee7b7; }

/* ═══ How It Works ═══ */
.how-it-works { padding: 100px 0; background: rgba(255,255,255,0.01); }
.how-it-works .section-label, .how-it-works .section-title { display: block; text-align: center; }
.steps { display: flex; align-items: flex-start; gap: 0; margin-top: 64px; }
.step { flex: 1; padding: 0 20px; }
.step-num {
  font-size: 3rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p  { font-size: 0.875rem; color: var(--text-muted); }
.step-connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: var(--grad);
  margin-top: 28px;
  opacity: 0.4;
}

/* ═══ Privacy & Data Usage ═══ */
.data-usage-section,
.privacy-section { padding: 100px 0; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.privacy-text .section-label { display: block; text-align: left; }
.privacy-text .section-title { text-align: left; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.privacy-text > p { color: var(--text-muted); margin-bottom: 28px; }
.privacy-list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.privacy-list li { display: flex; gap: 14px; align-items: flex-start; }
.privacy-check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: rgba(52,211,153,0.15);
  color: #34d399;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}
.privacy-list strong { color: #e2e8f0; }
.privacy-list div { font-size: 0.88rem; color: var(--text-muted); }

.privacy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.privacy-card::after {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 70%);
}
.pcard-icon { font-size: 3rem; margin-bottom: 16px; }
.pcard-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 28px; }
.pcard-flow { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 16px; }
.pcard-node {
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  color: #93c5fd;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
}
.pcard-arrow { color: var(--blue); font-size: 1.2rem; }
.pcard-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 24px; }
.pcard-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pcard-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(139,92,246,0.12);
  color: #c4b5fd;
  border: 1px solid rgba(139,92,246,0.2);
}

/* ═══ FAQ ═══ */
.faq-section { padding: 100px 0; background: rgba(255,255,255,0.01); }
.faq-section .section-label, .faq-section .section-title { display: block; text-align: center; }
.faq-list { max-width: 720px; margin: 56px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: rgba(59,130,246,0.3); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color var(--transition);
}
.faq-q:hover { color: #93c5fd; }
.faq-arrow { transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  transition: max-height 0.35s ease, padding 0.3s ease;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 20px 18px; }
.faq-a code { background: rgba(255,255,255,0.07); padding: 1px 6px; border-radius: 4px; font-size: 0.83rem; color: #93c5fd; }

/* ═══ CTA Banner ═══ */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(59,130,246,0.05) 50%, transparent);
}
.cta-orb { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.cta-orb-1 { width: 400px; height: 400px; background: rgba(59,130,246,0.18); left: -100px; top: -100px; }
.cta-orb-2 { width: 400px; height: 400px; background: rgba(139,92,246,0.18); right: -100px; bottom: -100px; }
.cta-inner { position: relative; text-align: center; }
.cta-inner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 16px; }
.cta-inner > p { color: var(--text-muted); margin-bottom: 36px; font-size: 1.05rem; }
.cta-sub { font-size: 0.82rem; color: var(--text-muted); margin-top: 16px; }

/* ═══ Footer ═══ */
.site-footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 500; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: #e2e8f0; }
.footer-copy { font-size: 0.78rem; color: #475569; width: 100%; text-align: center; }

/* ═══ Responsive ═══ */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-large { grid-column: span 2; }
  .privacy-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-connector { width: 2px; height: 32px; margin: 0 0 0 28px; }
}
@media (max-width: 640px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: block; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card-large { grid-column: span 1; }
  .hero-stats { gap: 16px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
