:root {
  --bg: #0a0e1a;
  --bg-soft: #0f1526;
  --bg-card: #121a2f;
  --border: #1e2a47;
  --text: #e6ebf5;
  --text-muted: #94a3b8;
  --primary: #6366f1;
  --primary-2: #8b5cf6;
  --replenish: #2563eb;
  --replenish-soft: rgba(37, 99, 235, 0.12);
  --flirt: #ec4899;
  --flirt-soft: rgba(236, 72, 153, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4, h5, .brand-text { font-family: "Sora", "Inter", sans-serif; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-2);
  margin-bottom: 12px;
}
.eyebrow.center { text-align: center; }

.section { padding: 96px 0; }

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-sub {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 48px;
}
.section-title + .section-sub { margin-top: 0; }
.center + .section-sub { margin-left: auto; margin-right: auto; text-align: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 42, 71, 0.6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; }
.brand-text { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.site-nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
}
.hero-glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.grad-text {
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* Stats */
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.stat-num { display: block; font-family: "Sora", sans-serif; font-size: 1.9rem; font-weight: 700; }
.stat-label { color: var(--text-muted); font-size: 0.85rem; }

/* Products */
.products { background: var(--bg-soft); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-4px); }
.card-replenish:hover { border-color: var(--replenish); box-shadow: 0 16px 40px rgba(37, 99, 235, 0.15); }
.card-flirt:hover { border-color: var(--flirt); box-shadow: 0 16px 40px rgba(236, 72, 153, 0.15); }

.product-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.product-badge {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 999px;
}
.card-replenish .product-badge { background: var(--replenish-soft); color: #60a5fa; }
.card-flirt .product-badge { background: var(--flirt-soft); color: #f472b6; }
.product-logo { width: 46px; height: 46px; border-radius: 12px; }

.product-card h3 { font-size: 1.45rem; margin-bottom: 4px; }
.product-tag { color: var(--primary-2); font-weight: 600; font-size: 0.95rem; margin-bottom: 14px; }
.product-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 18px; }
.product-points { list-style: none; margin-bottom: 26px; display: grid; gap: 9px; }
.product-points li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.product-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.product-actions { margin-top: auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.link-out { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s; }
.link-out:hover { color: var(--text); }

/* Company */
.company-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.company-copy p { color: var(--text-muted); margin-bottom: 18px; }
.company-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 26px 0 22px;
}
.fact {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.fact strong { display: block; font-family: "Sora", sans-serif; font-size: 1.15rem; }
.fact span { color: var(--text-muted); font-size: 0.8rem; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.company-card {
  background: linear-gradient(160deg, var(--bg-card), #141d36);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  position: sticky;
  top: 90px;
}
.company-card h4 { margin-bottom: 18px; }
.entity { display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; margin-bottom: 22px; }
.entity dt { color: var(--text-muted); font-size: 0.88rem; }
.entity dd { font-weight: 600; font-size: 0.92rem; text-align: right; }
.entity a { color: var(--primary-2); }
.entity a:hover { text-decoration: underline; }

/* Investors */
.investors { background: var(--bg-soft); }
.investor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.investor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.inv-icon { font-size: 1.7rem; display: inline-block; margin-bottom: 12px; }
.investor-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.investor-card p { color: var(--text-muted); font-size: 0.94rem; }

/* Contact */
.contact-card {
  background: linear-gradient(160deg, var(--bg-card), #141d36);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 64px 40px;
  text-align: center;
}
.contact-card .section-sub { margin: 0 auto 36px; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 60px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 10px; max-width: 260px; }
.legal-line { font-size: 0.82rem !important; }
.footer-col h5 { margin-bottom: 14px; font-size: 0.95rem; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Legal pages */
.legal-wrap { padding: 80px 0 100px; max-width: 760px; }
.legal-wrap h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-wrap .updated { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 32px; }
.legal-wrap h2 { font-size: 1.25rem; margin: 32px 0 12px; }
.legal-wrap p, .legal-wrap li { color: var(--text-muted); margin-bottom: 12px; font-size: 0.95rem; }
.legal-wrap ul { padding-left: 20px; margin-bottom: 16px; }
.legal-wrap a { color: var(--primary-2); text-decoration: underline; }
.legal-wrap .back { display: inline-block; margin-bottom: 24px; color: var(--primary-2); font-weight: 600; }

/* 404 */
.err { text-align: center; padding: 120px 0; }
.err h1 { font-size: 4rem; margin-bottom: 8px; }
.err p { color: var(--text-muted); margin-bottom: 28px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .product-grid, .company-grid, .investor-grid, .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 60px; }
  .section { padding: 72px 0; }
  .company-card { position: static; }
  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 24px; border-bottom: 1px solid rgba(30,42,71,0.5); }
  .nav-toggle { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}