:root {
  --dark: #0f0e17;
  --dark-light: #1a1926;
  --accent: #2cb67d;
  --accent-hover: #25a36f;
  --cta: #e53170;
  --cta-hover: #cc2a63;
  --surface: #fffffe;
  --surface-muted: #f4f4f8;
  --text: #0f0e17;
  --text-muted: #94a1b2;
  --white: #fffffe;
  --border: #e4e4e8;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --max-width: 1200px;
  /* Legacy aliases for inline styles */
  --gray-50: #f4f4f8;
  --gray-100: #e4e4e8;
  --indigo-900: #1a1926;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15, 14, 23, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo span {
  background: linear-gradient(135deg, var(--accent), #06d6a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--cta);
  color: var(--white);
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s;
}
.nav-cta:hover { background: var(--cta-hover); transform: translateY(-1px); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  background: var(--dark);
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu a {
  display: block;
  color: rgba(255,255,255,0.6);
  padding: 12px 0;
  font-weight: 500;
  font-size: 16px;
}
.mobile-menu a.active { color: var(--accent); }

.mobile-menu.open { display: block; }

/* ─── Hero ─── */
.hero {
  background: var(--dark);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -15%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(44, 182, 125, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; max-width: 800px; }

.hero h1 {
  font-size: 68px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -2.5px;
  margin-bottom: 28px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), #06d6a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 20px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 44px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--cta);
  color: var(--white);
  padding: 15px 36px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(229, 49, 112, 0.3);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  padding: 15px 36px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: inherit;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}

/* ─── Sections ─── */
.section { padding: 120px 0; }
.section-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 64px;
  line-height: 1.7;
}

/* ─── Product Grid ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.35s;
  display: block;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--cta));
  opacity: 0;
  transition: opacity 0.35s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.08);
  border-color: transparent;
}
.product-card:hover::before { opacity: 1; }

.product-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--accent), #06d6a0);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 24px;
}

.product-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.product-card .tagline {
  color: var(--cta);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.product-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.product-card:hover .product-link { gap: 10px; }

/* ─── Steps ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
}
.step { text-align: center; }
.step-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--accent), #06d6a0);
  color: var(--white);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 24px;
}
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* ─── Stats ─── */
.stats-bar {
  background: var(--dark);
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat h4 {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #06d6a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}
.stat p { color: rgba(255,255,255,0.45); font-size: 15px; margin-top: 8px; }

/* ─── Product Detail Hero ─── */
.product-hero {
  background: var(--dark);
  color: var(--white);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.product-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.product-hero::after {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(44, 182, 125, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.product-hero .container { position: relative; z-index: 2; }

.product-hero .product-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.product-hero .tagline-label {
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.product-hero h1 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}
.product-hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), #06d6a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.product-hero p {
  font-size: 20px;
  color: rgba(255,255,255,0.55);
  max-width: 640px;
  line-height: 1.7;
}
.product-hero .btn-primary { margin-top: 28px; }

/* ─── Features ─── */
.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px;
  background: var(--surface-muted);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.feature-item:hover {
  background: var(--white);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.feature-item .check-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item h4 { font-weight: 700; margin-bottom: 6px; color: var(--text); }
.feature-item p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ─── Use Cases ─── */
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.use-case-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  border-color: transparent;
}
.use-case-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.use-case-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ─── Back Link ─── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  margin-top: 48px;
  transition: gap 0.2s;
}
.back-link:hover { gap: 12px; }

/* ─── Story / Timeline ─── */
.story-hero {
  background: var(--dark);
  color: var(--white);
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.story-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.story-hero::after {
  content: '';
  position: absolute;
  bottom: -20%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(44, 182, 125, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.story-hero .container { position: relative; z-index: 2; }

.story-hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.5px;
}
.story-hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), #06d6a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.story-hero p {
  font-size: 20px;
  color: rgba(255,255,255,0.5);
  margin-top: 20px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.story-body {
  max-width: 760px;
  margin: 0 auto;
}
.story-body p {
  font-size: 18px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.9;
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 64px auto 0;
  padding-left: 48px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--cta));
}
.timeline-item {
  position: relative;
  padding-bottom: 44px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -52px; top: 6px;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(44, 182, 125, 0.2);
}
.timeline-item h4 { font-weight: 700; font-size: 18px; margin-bottom: 8px; color: var(--text); }
.timeline-item p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* ─── CTA Section ─── */
.cta-section {
  background: var(--dark);
  color: var(--white);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.cta-section h2 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
  position: relative;
}
.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
  position: relative;
}

/* ─── Footer ─── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.4);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 20px; display: inline-block; }
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 300px; }
.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 32px;
  font-size: 13px;
  text-align: center;
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-menu-btn { display: block; }

  .hero { min-height: auto; padding: 140px 0 80px; }
  .hero h1 { font-size: 42px; letter-spacing: -1px; }
  .hero p { font-size: 17px; }

  .product-hero h1 { font-size: 36px; }
  .story-hero h1 { font-size: 36px; }

  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-list { grid-template-columns: 1fr; }
  .use-case-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }

  .section { padding: 80px 0; }
  .section-title { font-size: 32px; }
  .cta-section h2 { font-size: 32px; }
}