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

:root {
  --primary: #1A6FA8;
  --primary-dark: #0F4F7A;
  --green: #5CB82E;
  --cyan: #0D9FC7;
  --text: #111827;
  --text-secondary: #6B7280;
  --bg: #FFFFFF;
  --bg-alt: #F3F8FC;
  --border: #D6EAF2;
  --radius: 16px;
  --glow-blue: rgba(26, 111, 168, 0.35);
  --glow-cyan: rgba(13, 159, 199, 0.35);
  --glow-green: rgba(92, 184, 46, 0.35);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ─────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(214, 234, 242, 0.6);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); text-decoration: none; }

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: opacity 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 4px 14px var(--glow-blue);
}
.nav-cta:hover { opacity: 0.9; box-shadow: 0 6px 20px var(--glow-cyan); }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  text-align: center;
  padding: 100px 24px 80px;
  overflow: hidden;
  background: #050d18;
}

/* Animated gradient orbs */
.hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,111,168,0.45) 0%, transparent 70%);
  top: -200px;
  left: -150px;
  animation: orb1 10s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92,184,46,0.3) 0%, transparent 70%);
  bottom: -200px;
  right: -100px;
  animation: orb2 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-orb-mid {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,159,199,0.25) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orb3 14s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes orb1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(80px, 60px) scale(1.15); }
}
@keyframes orb2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-60px, -80px) scale(1.2); }
}
@keyframes orb3 {
  from { transform: translate(-50%, -50%) scale(1); }
  to   { transform: translate(-45%, -55%) scale(1.1); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  letter-spacing: 0.03em;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  max-width: 780px;
  margin: 0 auto 24px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 50%, #7eb8f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: textShimmer 4s linear infinite;
}

@keyframes textShimmer {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}

.hero p {
  font-size: 19px;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #fff;
  box-shadow: 0 8px 24px var(--glow-cyan), 0 0 0 0 var(--glow-cyan);
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 8px 24px var(--glow-cyan); }
  50%       { box-shadow: 0 8px 32px rgba(13,159,199,0.6), 0 0 60px rgba(92,184,46,0.2); }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(13,159,199,0.7);
  text-decoration: none;
}

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  text-decoration: none;
  transform: translateY(-2px);
}

/* Hero mockup */
.hero-mockup {
  position: relative;
  display: inline-block;
  max-width: 340px;
  width: 100%;
}

.hero-mockup img {
  width: 100%;
  border-radius: 0;
  display: block;
}

.mockup-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50px;
  background: radial-gradient(ellipse, rgba(13,159,199,0.2) 0%, transparent 70%);
  z-index: -1;
  animation: mockupGlow 4s ease-in-out infinite alternate;
}

@keyframes mockupGlow {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1; transform: scale(1.05); }
}

.screenshot-placeholder {
  width: 280px;
  aspect-ratio: 9/19;
  background: rgba(255,255,255,0.05);
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 60px rgba(13,159,199,0.15);
}

/* ── Stats bar ─────────────────────────────────────── */
.stats {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item { text-align: center; }

.stat-number {
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── Features ─────────────────────────────────────── */
.features {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 64px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  position: relative;
  background: rgba(243, 248, 252, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,111,168,0.04) 0%, rgba(13,159,199,0.04) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--radius);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(26,111,168,0.12), 0 0 0 1px rgba(13,159,199,0.2);
  border-color: rgba(13,159,199,0.3);
}

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

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(26,111,168,0.12), rgba(13,159,199,0.12));
  border: 1px solid rgba(13,159,199,0.2);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── How it works ──────────────────────────────────── */
.how-it-works {
  padding: 100px 24px;
  background: #050d18;
  overflow: hidden;
  position: relative;
}

.how-it-works::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92,184,46,0.12) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.how-it-works .section-label { color: rgba(255,255,255,0.5); -webkit-text-fill-color: unset; }
.how-it-works .section-title { color: #fff; }
.how-it-works .section-subtitle { color: rgba(255,255,255,0.5); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.step-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13,159,199,0.3);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3), 0 0 30px rgba(13,159,199,0.1);
}

.step-number {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.step-card h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.step-card p  { font-size: 15px; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* ── CTA ──────────────────────────────────────────── */
.cta {
  position: relative;
  text-align: center;
  padding: 100px 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #0D6E8A 100%);
  background-size: 200% 200%;
  animation: ctaGradient 8s ease infinite;
}

@keyframes ctaGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.cta::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92,184,46,0.2) 0%, transparent 70%);
  bottom: -200px;
  left: -100px;
  pointer-events: none;
}

.cta::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,159,199,0.2) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  pointer-events: none;
}

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

.cta h2 {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 48px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  text-decoration: none;
}

/* ── Footer ───────────────────────────────────────── */
footer {
  background: #050d18;
  padding: 48px 24px 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.85); text-decoration: none; }

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

/* ── Legal pages ───────────────────────────────────── */
.legal-hero {
  background: #050d18;
  padding: 60px 24px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,111,168,0.3) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.legal-hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  color: #fff;
  position: relative;
  z-index: 1;
}

.legal-hero .updated {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.legal-wrap h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--text);
}

.legal-wrap p {
  font-size: 16px;
  color: #374151;
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-wrap ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-wrap ul li {
  font-size: 16px;
  color: #374151;
  margin-bottom: 10px;
  line-height: 1.7;
}

.legal-wrap a { color: var(--primary); }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { gap: 16px; }
  .nav-cta { display: none; }
  .hero { padding: 72px 20px 64px; }
  .stats-grid { gap: 40px; }
  .features, .how-it-works { padding: 72px 20px; }
  .cta { padding: 72px 20px; }
}

@media (max-width: 480px) {
  .nav-links .hide-mobile { display: none; }
  .hero h1 { font-size: 36px; }
  .steps-grid { grid-template-columns: 1fr; }
}
