/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #0a0e17;
  --bg-2:       #0f1420;
  --fg:         #e8ecf4;
  --fg-dim:     #94a3b8;
  --accent:     #6ee7b7;
  --accent-dim: #34d399;
  --accent-glow: rgba(110, 231, 183, 0.15);
  --border:     rgba(148, 163, 184, 0.12);
  --panel:      #111827;
  --panel-2:    #1e293b;
  --danger:     #f87171;
  --warn:       #fbbf24;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--panel-2); border-radius: 3px; }

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--fg);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--fg-dim);
  max-width: 640px;
  line-height: 1.7;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo svg {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  color: var(--fg-dim);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--fg);
  text-decoration: none;
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bg) !important;
  background: var(--accent);
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  transition: opacity 0.2s;
}

.nav-cta:hover {
  opacity: 0.9;
  text-decoration: none !important;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(110, 231, 183, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 80% 40% at 80% 100%, rgba(110, 231, 183, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

/* Subtle grid pattern */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(110, 231, 183, 0.08);
  border: 1px solid rgba(110, 231, 183, 0.15);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.hero-headline {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--fg);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-dim);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-dim);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  color: var(--fg);
  border-color: var(--fg-dim);
  text-decoration: none;
}

/* === TRUST BAR === */
.trust-bar {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

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

.trust-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  display: block;
}

.trust-label {
  font-size: 0.78rem;
  color: var(--fg-dim);
  margin-top: 0.25rem;
}

/* === PROBLEM === */
.problem {
  padding: 7rem 0;
  background: var(--bg-2);
}

.problem-header {
  text-align: center;
  margin-bottom: 4rem;
}

.problem-header .section-sub {
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.problem-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
}

.problem-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

.problem-icon--red {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.2);
}

.problem-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.problem-card p {
  font-size: 0.88rem;
  color: var(--fg-dim);
  line-height: 1.65;
}

/* === CAPABILITIES === */
.capabilities {
  padding: 7rem 0;
  background: var(--bg);
}

.capabilities-header {
  margin-bottom: 4rem;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.cap-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.cap-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.5;
}

.cap-number {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.cap-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.cap-card p {
  font-size: 0.9rem;
  color: var(--fg-dim);
  line-height: 1.7;
}

.cap-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(110, 231, 183, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-top: 1rem;
  letter-spacing: 0.02em;
}

/* === HOW IT WORKS === */
.workflow {
  padding: 7rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.workflow-header {
  text-align: center;
  margin-bottom: 4rem;
}

.workflow-header .section-sub {
  margin: 0 auto;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

/* Connecting line */
.workflow-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), var(--accent-dim), transparent);
  opacity: 0.3;
}

.workflow-step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--panel);
  border: 2px solid rgba(110, 231, 183, 0.25);
  position: relative;
  z-index: 2;
}

.workflow-step h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.workflow-step p {
  font-size: 0.82rem;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* === ICP / WHO IT'S FOR === */
.audience {
  padding: 7rem 0;
  background: var(--bg);
}

.audience-header {
  margin-bottom: 3rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.audience-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
}

.audience-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.audience-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.audience-card p {
  font-size: 0.82rem;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* === COMPARISON === */
.comparison {
  padding: 7rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.comparison-header {
  margin-bottom: 3rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  font-weight: 600;
  color: var(--fg-dim);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comparison-table td {
  color: var(--fg-dim);
}

.comparison-table td:first-child {
  font-weight: 500;
  color: var(--fg);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.highlight-row {
  color: var(--accent);
  font-weight: 500;
}

/* === CTA === */
.cta {
  padding: 8rem 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(110, 231, 183, 0.05) 0%, transparent 60%);
}

.cta-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.cta-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--fg-dim);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-note {
  font-size: 0.78rem;
  color: var(--fg-dim);
  margin-top: 1.5rem;
  opacity: 0.7;
}

/* === FOOTER === */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.footer-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--fg-dim);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--fg-dim);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--fg);
  text-decoration: none;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--fg-dim);
  opacity: 0.6;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }

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

  .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .workflow-steps::before {
    display: none;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .section-inner {
    padding: 0 1.25rem;
  }

  .hero {
    padding: 7rem 1.25rem 4rem;
  }

  .hero-headline {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary, .btn-secondary {
    justify-content: center;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
  }

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

  .trust-items {
    gap: 2rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

  .problem,
  .capabilities,
  .workflow,
  .audience,
  .comparison {
    padding: 5rem 0;
  }

  .cta {
    padding: 5rem 0;
  }
}
