@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300;1,9..40,400&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --teal: #00d4aa;
  --teal-dim: #00a88a;
  --teal-glow: rgba(0, 212, 170, 0.15);
  --teal-border: rgba(0, 212, 170, 0.25);
  --cyan: #00b4d8;
  --dark-bg: #0a0e1a;
  --surface-1: #111827;
  --surface-2: #1a2236;
  --surface-3: #222d44;
  --text: #e8ecf4;
  --text-muted: #8892a8;
  --text-dim: #5a6478;
  --amber: #f59e0b;
  --amber-bg: rgba(245, 158, 11, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) var(--dark-bg);
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════ NOISE OVERLAY ═══════════ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 14, 26, 0.7);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--teal-border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .vault-icon {
  width: 28px;
  height: 28px;
  border: 2px solid var(--teal);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  position: relative;
}

.nav-logo .vault-icon::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.nav-links a:hover { color: var(--teal); }

/* ═══════════ SHARED LAYOUT ═══════════ */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 100px 0; }

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--teal);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: orbFloat 18s ease-in-out infinite;
}

.hero-bg .orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  top: -200px;
  right: -150px;
  animation-delay: 0s;
}

.hero-bg .orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation-delay: -6s;
}

.hero-bg .grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 170, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 170, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

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

.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--teal);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}

.app-store-badge {
  height: 52px;
  transition: transform 0.3s ease, filter 0.3s ease;
  border-radius: 12px;
}

.app-store-badge:hover {
  transform: scale(1.05);
  filter: brightness(1.15);
}

.hero-privacy-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.hero-privacy-note .lock {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--teal-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════ FEATURES ═══════════ */
.features { background: var(--surface-1); }

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

.feature-card {
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-4px);
  background: var(--surface-3);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--teal-glow);
  border: 1px solid var(--teal-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ═══════════ PRIVACY BANNER ═══════════ */
.privacy-banner {
  position: relative;
  overflow: hidden;
}

.privacy-banner-inner {
  background: var(--surface-2);
  border: 1px solid var(--teal-border);
  border-radius: 24px;
  padding: 72px 56px;
  position: relative;
  overflow: hidden;
}

.privacy-banner-inner::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--teal-glow), transparent 70%);
  pointer-events: none;
}

.privacy-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.privacy-title .zero { color: var(--teal); }

.privacy-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.privacy-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.privacy-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-glow);
  border: 1.5px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

.privacy-item-text h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.privacy-item-text p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ═══════════ DISCLAIMER ═══════════ */
.disclaimer {
  background: var(--surface-1);
}

.disclaimer-box {
  background: var(--amber-bg);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 28px 32px;
  max-width: 800px;
}

.disclaimer-box h3 {
  font-family: 'Syne', sans-serif;
  color: var(--amber);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.disclaimer-box p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--teal-border);
}

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

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.25s;
}

.footer-links a:hover { color: var(--teal); }

.footer-copy {
  color: var(--text-dim);
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
}

/* ═══════════ LEGAL PAGES ═══════════ */
.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.legal-header {
  margin-bottom: 48px;
}

.legal-header h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.legal-header .legal-sub {
  color: var(--teal);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.lang-toggle {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.lang-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--teal-border);
  background: transparent;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn.active {
  background: var(--teal);
  color: var(--dark-bg);
  border-color: var(--teal);
  font-weight: 600;
}

.lang-btn:hover:not(.active) {
  border-color: var(--teal);
  color: var(--teal);
}

.legal-content { max-width: 780px; }

.legal-section {
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 16px;
}

.legal-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--teal-border);
}

.legal-section h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.legal-section p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  margin: 0 0 12px 22px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.legal-section li { margin-bottom: 6px; }

.legal-section .highlight {
  color: var(--teal);
  font-weight: 600;
}

.legal-warning {
  background: var(--amber-bg);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 24px;
  margin-bottom: 16px;
}

.legal-warning p {
  color: var(--amber);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
}

.legal-contact {
  text-align: center;
  margin-top: 40px;
  padding: 28px;
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px solid var(--teal-border);
}

.legal-contact p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.legal-contact a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
}

.legal-contact a:hover { text-decoration: underline; }

.legal-date {
  text-align: center;
  margin-top: 20px;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
}

.hidden { display: none; }

/* ═══════════ SCROLL REVEAL ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.78rem; }
  .container { padding: 0 20px; }
  section { padding: 72px 0; }

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

  .feature-card { padding: 24px 22px; }

  .privacy-banner-inner { padding: 40px 28px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 18px; }

  .disclaimer-box { padding: 20px 24px; }

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

  .legal-section { padding: 22px 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; }
  .nav-links { display: none; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
}
