@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ─── Custom Properties ──────────────────────────────────────────────────── */
:root {
  --bg-900:    #04080f;
  --bg-800:    #080d1a;
  --bg-700:    #0c1220;
  --bg-600:    #101929;
  --bg-card:   #0e1728;
  --bg-card-h: #121f33;

  --indigo:      #6366f1;
  --indigo-lt:   #818cf8;
  --indigo-glow: rgba(99, 102, 241, 0.18);
  --indigo-bdr:  rgba(99, 102, 241, 0.25);

  --green:     #34d399;
  --green-glow: rgba(52, 211, 153, 0.15);
  --amber:     #fbbf24;

  --text-100: #f1f5f9;
  --text-200: #e2e8f0;
  --text-400: #94a3b8;
  --text-600: #475569;

  --border-0: rgba(255, 255, 255, 0.05);
  --border-1: rgba(99, 102, 241, 0.2);

  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;

  --shadow-card: 0 4px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 48px rgba(99, 102, 241, 0.14);

  --nav-h: 72px;
  --gap-section: 100px;
  --w-content: 1180px;
  --pad: clamp(20px, 5vw, 60px);
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-800);
  color: var(--text-200);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ─── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { color: var(--text-100); line-height: 1.2; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 600; }

/* ─── Container ──────────────────────────────────────────────────────────── */
.container { max-width: var(--w-content); margin: 0 auto; padding: 0 var(--pad); }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  background: var(--indigo); color: #fff;
  font-weight: 600; font-size: 0.95rem; border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--indigo-lt);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  background: transparent; color: var(--text-100);
  font-weight: 600; font-size: 0.95rem; border-radius: var(--r-md);
  border: 1px solid var(--border-1);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-outline:hover {
  background: var(--indigo-glow); border-color: var(--indigo);
  transform: translateY(-1px);
}

.btn-store {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px;
  background: var(--bg-600); color: var(--text-200);
  font-size: 0.88rem; font-weight: 500; border-radius: var(--r-md);
  border: 1px solid var(--border-0);
  transition: background 0.2s, border-color 0.2s;
}
.btn-store:hover { background: var(--bg-card-h); border-color: var(--border-1); }
.btn-store svg { flex-shrink: 0; }
.btn-store.disabled {
  opacity: 0.5; cursor: not-allowed; pointer-events: none;
}
.btn-store-soon {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--amber); margin-left: 2px;
}

/* ─── Badges ─────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 11px;
  border-radius: 100px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.badge-live  { background: var(--green-glow); color: var(--green); border: 1px solid rgba(52,211,153,0.3); }
.badge-soon  { background: rgba(251,191,36,0.1); color: var(--amber); border: 1px solid rgba(251,191,36,0.3); }
.badge-new   { background: var(--indigo-glow); color: var(--indigo-lt); border: 1px solid var(--border-1); }

/* ─── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(4, 8, 15, 0.82);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-0);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text-100);
}
.nav-logo-mark {
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 900; color: #fff; flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-400); transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-100); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; padding: 8px; width: 38px; height: 38px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--text-100); border-radius: 2px; transition: 0.3s;
}

/* ─── Sections ───────────────────────────────────────────────────────────── */
section { padding: var(--gap-section) 0; }

.section-eyebrow {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--indigo-lt); margin-bottom: 12px;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p  { color: var(--text-400); max-width: 580px; margin: 0 auto; font-size: 1.05rem; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: var(--nav-h) 0 0;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--bg-900);
}

/* Dot-grid backdrop */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(99,102,241,0.12) 1px, transparent 1px);
  background-size: 30px 30px;
  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;
}

/* Top-right glow orb */
.hero::after {
  content: '';
  position: absolute; top: -200px; right: -150px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 65%);
  animation: orb 12s ease-in-out infinite; pointer-events: none;
}
@keyframes orb {
  0%,100% { transform: translate(0,0) scale(1); }
  40%      { transform: translate(20px,-30px) scale(1.06); }
  70%      { transform: translate(-15px,20px) scale(0.95); }
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  padding: 80px 0;
  position: relative; z-index: 1;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 100px;
  background: var(--indigo-glow); border: 1px solid var(--border-1);
  font-size: 0.78rem; font-weight: 600; color: var(--indigo-lt);
  margin-bottom: 24px;
}
.hero-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.hero h1 {
  margin-bottom: 22px;
  background: linear-gradient(140deg, #f1f5f9 20%, #c7d2fe 80%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-400); max-width: 560px;
  margin-bottom: 40px; line-height: 1.75;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-row  { display: flex; flex-wrap: wrap; gap: 10px; }

/* System design SVG card */
.hero-diagram-wrap {
  position: relative;
}
.hero-diagram-wrap::before {
  content: '';
  position: absolute; inset: -40px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.1) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-diagram {
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.diagram-chrome {
  background: var(--bg-600);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border-0);
}
.chrome-dot { width: 10px; height: 10px; border-radius: 50%; }
.chrome-dot.r { background: #ff5f57; }
.chrome-dot.y { background: #febc2e; }
.chrome-dot.g { background: #28c840; }
.chrome-title { margin-left: auto; margin-right: auto; font-size: 0.75rem; color: var(--text-600); font-weight: 500; }

.diagram-svg { width: 100%; padding: 8px 12px 16px; }

/* ─── Products ───────────────────────────────────────────────────────────── */
.products-section { background: var(--bg-800); }

.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.product-card {
  background: var(--bg-card); border: 1px solid var(--border-0);
  border-radius: var(--r-lg); padding: 32px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.product-card::after {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--indigo-lt));
  opacity: 0; transition: opacity 0.25s;
}
.product-card.featured::after { opacity: 1; }
.product-card:hover { transform: translateY(-4px); border-color: var(--border-1); box-shadow: var(--shadow-glow); }
.product-card.muted { opacity: 0.68; }
.product-card.muted:hover { opacity: 0.88; }

.product-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.product-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: var(--indigo-glow); border: 1px solid var(--border-1);
  display: flex; align-items: center; justify-content: center; color: var(--indigo-lt);
}
.product-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.product-tag { font-size: 0.78rem; color: var(--indigo-lt); font-weight: 500; }
.product-card > p { font-size: 0.9rem; color: var(--text-400); line-height: 1.7; margin-bottom: 24px; }

.product-bullets { display: flex; flex-direction: column; gap: 8px; }
.product-bullet {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.83rem; color: var(--text-400);
}
.product-bullet svg { flex-shrink: 0; color: var(--green); }

/* ─── How It Works ───────────────────────────────────────────────────────── */
.how-section { background: var(--bg-700); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.step-card {
  background: var(--bg-card); border: 1px solid var(--border-0);
  border-radius: var(--r-lg); padding: 32px; position: relative;
}
.step-num {
  font-size: 3.5rem; font-weight: 900; line-height: 1;
  -webkit-text-stroke: 1.5px var(--indigo);
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}
.step-card h3 { margin-bottom: 10px; }
.step-card p  { font-size: 0.9rem; color: var(--text-400); line-height: 1.7; }

/* ─── Features ───────────────────────────────────────────────────────────── */
.features-section { background: var(--bg-800); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border-0);
  border-radius: var(--r-lg); padding: 28px;
  transition: border-color 0.25s, transform 0.2s;
}
.feature-card:hover { border-color: var(--border-1); transform: translateY(-2px); }
.feature-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--indigo-glow); border: 1px solid var(--border-1);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo-lt); margin-bottom: 16px;
}
.feature-card h3 { font-size: 0.95rem; margin-bottom: 8px; }
.feature-card p  { font-size: 0.86rem; color: var(--text-400); line-height: 1.7; }

/* ─── Pricing ────────────────────────────────────────────────────────────── */
.pricing-section { background: var(--bg-700); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 920px; margin: 0 auto;
}
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border-0);
  border-radius: var(--r-lg); padding: 32px;
  position: relative; transition: transform 0.25s;
}
.pricing-card.popular {
  border-color: var(--indigo);
  background: var(--bg-card-h);
  box-shadow: 0 0 48px rgba(99,102,241,0.12);
}
.popular-label {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 3px 16px;
  background: var(--indigo); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 100px; white-space: nowrap;
}
.pricing-tier { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-600); margin-bottom: 6px; }
.pricing-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.pricing-amount { font-size: 2.1rem; font-weight: 800; color: var(--text-100); margin-bottom: 4px; }
.pricing-amount span { font-size: 0.95rem; font-weight: 500; color: var(--text-400); }
.pricing-sub { font-size: 0.8rem; color: var(--text-400); margin-bottom: 20px; }
.pricing-desc { font-size: 0.88rem; color: var(--text-400); margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border-0); }
.pricing-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.pricing-item { display: flex; align-items: center; gap: 9px; font-size: 0.86rem; color: var(--text-200); }
.pricing-item svg { flex-shrink: 0; color: var(--green); }
.pricing-note { font-size: 0.75rem; color: var(--text-600); text-align: center; margin-top: 12px; }

/* ─── CTA Banner ─────────────────────────────────────────────────────────── */
.cta-section { background: var(--bg-800); }
.cta-banner {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-600) 100%);
  border: 1px solid var(--border-1); border-radius: var(--r-xl);
  padding: 72px 48px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 400px;
  background: radial-gradient(ellipse, var(--indigo-glow) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner h2  { margin-bottom: 14px; position: relative; }
.cta-banner > p { position: relative; color: var(--text-400); margin-bottom: 36px; max-width: 460px; margin-inline: auto; }
.cta-buttons    { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-900);
  border-top: 1px solid var(--border-0);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border-0); margin-bottom: 32px;
}
.footer-brand p { font-size: 0.86rem; color: var(--text-400); margin-top: 12px; max-width: 240px; line-height: 1.7; }
.footer-col h4 {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-600); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: 0.86rem; color: var(--text-400); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--text-100); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-600); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--text-600); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--text-200); }

/* ─── Inner Page Hero ────────────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 56px;
  background: var(--bg-900);
  border-bottom: 1px solid var(--border-0);
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 12px; }
.page-hero p  { color: var(--text-400); font-size: 1.05rem; max-width: 540px; }

/* ─── Content Body (legal + about) ──────────────────────────────────────── */
.content-section { padding: 80px 0; background: var(--bg-800); }
.content-body { max-width: 720px; }
.content-date { font-size: 0.82rem; color: var(--text-600); margin-bottom: 40px; }

.content-body h2 {
  font-size: 1.35rem; font-weight: 700;
  margin-top: 48px; margin-bottom: 16px; color: var(--text-100);
}
.content-body h2:first-of-type { margin-top: 0; }
.content-body p  { font-size: 0.94rem; color: var(--text-400); line-height: 1.8; margin-bottom: 16px; }
.content-body ul, .content-body ol {
  padding-left: 20px; margin-bottom: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.content-body ul { list-style: disc; }
.content-body ol { list-style: decimal; }
.content-body li { font-size: 0.94rem; color: var(--text-400); line-height: 1.7; }
.content-body strong { color: var(--text-200); font-weight: 600; }
.content-body a { color: var(--indigo-lt); text-decoration: underline; text-underline-offset: 3px; }

/* ─── About Page ─────────────────────────────────────────────────────────── */
.about-mission {
  background: var(--bg-800); padding: var(--gap-section) 0;
}
.about-mission-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.about-mission-text h2 { margin-bottom: 20px; }
.about-mission-text p  { color: var(--text-400); font-size: 1.02rem; line-height: 1.8; margin-bottom: 16px; }

.about-values { background: var(--bg-700); padding: var(--gap-section) 0; }
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.value-card {
  background: var(--bg-card); border: 1px solid var(--border-0);
  border-radius: var(--r-lg); padding: 32px;
}
.value-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--indigo-glow); border: 1px solid var(--border-1);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo-lt); margin-bottom: 16px;
}
.value-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.value-card p  { font-size: 0.89rem; color: var(--text-400); line-height: 1.75; }

.about-products { background: var(--bg-800); padding: var(--gap-section) 0; }

/* ─── Contact Page ───────────────────────────────────────────────────────── */
.contact-section { background: var(--bg-800); padding: var(--gap-section) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-card {
  background: var(--bg-card); border: 1px solid var(--border-1);
  border-radius: var(--r-xl); padding: 44px;
}
.contact-card h2 { font-size: 1.6rem; margin-bottom: 10px; }
.contact-card > p { color: var(--text-400); font-size: 0.95rem; margin-bottom: 28px; }
.contact-email-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 700; color: var(--indigo-lt);
  text-decoration: underline; text-underline-offset: 4px;
  transition: color 0.2s;
}
.contact-email-link:hover { color: #fff; }
.contact-note {
  margin-top: 24px; padding: 14px 18px;
  background: var(--indigo-glow); border: 1px solid var(--border-1);
  border-radius: var(--r-md); font-size: 0.86rem; color: var(--indigo-lt);
}

.contact-topics { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.contact-topic {
  background: var(--bg-card); border: 1px solid var(--border-0);
  border-radius: var(--r-md); padding: 20px 24px;
  display: flex; align-items: flex-start; gap: 14px;
}
.contact-topic-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--indigo-glow); border: 1px solid var(--border-1);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo-lt); flex-shrink: 0;
}
.contact-topic h3 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-topic p  { font-size: 0.85rem; color: var(--text-400); }

/* ─── Media Queries ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --gap-section: 72px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-diagram-wrap { display: none; }

  .products-grid,
  .steps-grid,
  .features-grid,
  .pricing-grid   { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .about-mission-inner { grid-template-columns: 1fr; }
  .values-grid         { grid-template-columns: 1fr; }
  .contact-grid        { grid-template-columns: 1fr; }

  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    background: var(--bg-900); border-bottom: 1px solid var(--border-0);
    flex-direction: column; align-items: flex-start;
    padding: 20px var(--pad) 28px; gap: 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-primary { display: none; }
}

@media (max-width: 560px) {
  :root { --gap-section: 56px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 24px; }
  .cta-banner { padding: 44px 24px; }
}
