@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;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&display=swap');

:root {
  --bg: #04060f;
  --bg2: #080d1e;
  --surface: #0d1530;
  --surface2: #111b3a;
  --accent: #3b6cff;
  --accent2: #00e5ff;
  --accent-glow: rgba(59,108,255,0.35);
  --text: #e8edf8;
  --text-muted: #7a8aad;
  --border: rgba(255,255,255,0.07);
  --radius: 16px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NOISE 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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── HEADER ─── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(4,6,15,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.8; }
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-cta {
  background: linear-gradient(135deg, var(--accent), #5b8aff);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.02em;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.nav-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.burger {
  width: 36px; height: 36px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 6px;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.burger:hover span { background: var(--accent2); }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  position: fixed;
  top: 72px; right: -360px;
  width: 320px;
  height: calc(100vh - 72px);
  background: var(--bg2);
  border-left: 1px solid var(--border);
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  padding: 32px 24px;
}
.mobile-menu.open { right: 0; }
.mobile-menu nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-menu nav a:hover {
  color: var(--accent2);
  padding-left: 8px;
}
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}
.mobile-menu-overlay.open { display: block; }

/* ─── MODAL ─── */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 40px;
  width: 100%;
  max-width: 480px;
  position: relative;
  animation: modalIn 0.3s cubic-bezier(0.4,0,0.2,1);
}
@keyframes modalIn {
  from { opacity:0; transform:scale(0.92) translateY(20px); }
  to   { opacity:1; transform:scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: none; border-radius: 8px;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--surface2); color: var(--text); }
.modal h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 100px; }
.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), #5b8aff);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.25s;
  letter-spacing: 0.02em;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.form-legal {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
  text-align: center;
}
.form-legal a {
  color: var(--accent2);
  text-decoration: underline;
}

/* ─── PAGE WRAPPER ─── */
.page { padding-top: 72px; position: relative; z-index: 1; }

/* ─── HERO SECTION ─── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 80px 80px 60px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-glow-1 {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,108,255,0.18) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: floatGlow 8s ease-in-out infinite;
}
.hero-glow-2 {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,229,255,0.12) 0%, transparent 70%);
  bottom: 0; right: 10%;
  animation: floatGlow 10s ease-in-out infinite reverse;
}
@keyframes floatGlow {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(30px, -30px); }
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,108,255,0.12);
  border: 1px solid rgba(59,108,255,0.3);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 28px;
}
.hero-tag .dot {
  width: 6px; height: 6px;
  background: var(--accent2);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; }
  50% { opacity:0.3; }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), #5b8aff);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--accent-glow);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent2);
  transform: translateY(-2px);
}

/* ─── SECTIONS ─── */
section { padding: 96px 80px; position: relative; }
section:nth-child(even) { background: var(--bg2); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ─── GRID ─── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ─── CARD ─── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover {
  border-color: rgba(59,108,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(59,108,255,0.15), rgba(0,229,255,0.1));
  border: 1px solid rgba(59,108,255,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ─── STAT CARDS ─── */
.stat-card {
  background: linear-gradient(135deg, var(--surface), var(--surface2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { color: var(--text-muted); font-size: 14px; }

/* ─── STEP / TIMELINE ─── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 28px;
  position: relative;
  padding-bottom: 40px;
}
.step:last-child { padding-bottom: 0; }
.step-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent), #5b8aff);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  position: relative;
  z-index: 1;
}
.step-line {
  position: absolute;
  left: 24px; top: 48px;
  width: 1px;
  height: calc(100% - 8px);
  background: linear-gradient(to bottom, var(--accent), transparent);
}
.step:last-child .step-line { display: none; }
.step-content h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  padding-top: 10px;
}
.step-content p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ─── FEATURE ROW ─── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-img {
  aspect-ratio: 4/3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
  position: relative;
  overflow: hidden;
}
.feature-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,108,255,0.08), transparent);
}
.feature-text h2 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}
.feature-text p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ─── TAG LIST ─── */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(59,108,255,0.1);
  border: 1px solid rgba(59,108,255,0.2);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent2);
}

/* ─── CTA BAND ─── */
.cta-band {
  background: linear-gradient(135deg, rgba(59,108,255,0.12), rgba(0,229,255,0.06));
  border: 1px solid rgba(59,108,255,0.2);
  border-radius: 24px;
  padding: 64px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,108,255,0.15) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-band p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 36px;
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 80px 32px;
  position: relative; z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 15px;
  color: var(--text);
  padding: 6px 0;
  transition: color 0.2s, transform 0.2s;
}
.footer-col a:hover { color: var(--accent2); transform: translateX(4px); }
.footer-legal {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span { font-size: 14px; color: var(--text-muted); }

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── POLICY / TEXT PAGE ─── */
.prose-page { padding: 80px; max-width: 800px; margin: 0 auto; }
.prose-page h1 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
}
.prose-page .updated { color: var(--text-muted); font-size: 14px; margin-bottom: 48px; }
.prose-page h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 12px;
}
.prose-page p, .prose-page li {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.prose-page ul { padding-left: 20px; }
.prose-page li { margin-bottom: 8px; }
.prose-page a { color: var(--accent2); text-decoration: underline; }

/* ─── CONTACT FORM ─── */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  max-width: 600px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  header { padding: 0 24px; }
  .hero { padding: 60px 40px; }
  section { padding: 72px 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  footer { padding: 48px 40px 24px; }
  .cta-band { padding: 48px 40px; }
}
@media (max-width: 768px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; direction: ltr; }
  .hero { padding: 40px 24px; }
  section { padding: 56px 24px; }
  footer { padding: 40px 24px 20px; }
  .cta-band { padding: 40px 24px; }
  .cta-band h2 { font-size: 26px; }
  .prose-page { padding: 40px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
