:root {
  --bg-base: #09090b;
  --bg-elevated: #0f0f12;
  --bg-surface: #131316;
  --bg-card: #131316;
  --bg-card-hover: #18181c;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent: #3b82f6;
  --accent-dim: #2563eb;
  --accent-green: #22c55e;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --section-y: clamp(5rem, 10vw, 7.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 56px;
  display: flex;
  align-items: center;
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

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

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.4375rem 0.875rem;
  background: var(--text-primary);
  color: var(--bg-base);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
  transition: opacity 0.15s ease;
}

.nav-cta:hover {
  opacity: 0.88;
}

/* Hero */
.hero {
  padding: calc(56px + clamp(4rem, 12vw, 7rem)) 0 clamp(4rem, 8vw, 6rem);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-inner {
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
  font-weight: 400;
}

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

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6875rem 1.25rem;
  background: var(--text-primary);
  color: var(--bg-base);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  transition: opacity 0.15s ease;
}

.hero-cta:hover {
  opacity: 0.88;
}

.hero-cta svg {
  width: 16px;
  height: 16px;
}

.hero-cta-secondary {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.hero-cta-secondary:hover {
  color: var(--text-primary);
}

.hero-features {
  display: flex;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-feature-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.hero-feature-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Sections */
.section {
  padding: var(--section-y) 0;
}

.section-header {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
}

.section-title {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 0.875rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-description {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Capabilities Grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.capability-card {
  background: var(--bg-card);
  padding: 2rem;
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s ease;
}

.capability-card:nth-child(3n) {
  border-right: none;
}

.capability-card:nth-last-child(-n+3) {
  border-bottom: none;
}

.capability-card:hover {
  background: var(--bg-card-hover);
}

.capability-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.capability-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.capability-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Differentiators */
.differentiators {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.differentiator-card {
  background: var(--bg-card);
  padding: 2rem;
  transition: background 0.15s ease;
}

.differentiator-card:hover {
  background: var(--bg-card-hover);
}

.differentiator-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.differentiator-content p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Use Cases */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.use-case-card {
  background: var(--bg-card);
  padding: 2rem 1.5rem;
  transition: background 0.15s ease;
}

.use-case-card:hover {
  background: var(--bg-card-hover);
}

.use-case-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.use-case-description {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  padding: 1.5rem 0;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.step-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* FAQ */
.faq {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
}

.faq-container {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  font-family: var(--font-main);
  transition: color 0.15s ease;
  letter-spacing: -0.01em;
}

.faq-question:hover {
  color: var(--text-secondary);
}

.faq-icon {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-icon svg {
  width: 18px;
  height: 18px;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.faq-answer.active {
  max-height: 400px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.9375rem;
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  height: 20px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.75rem;
}

.footer-bottom a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-card:nth-child(3n) {
    border-right: 1px solid var(--border-subtle);
  }

  .capability-card:nth-child(2n) {
    border-right: none;
  }

  .capability-card:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--border-subtle);
  }

  .capability-card:nth-last-child(-n+2) {
    border-bottom: none;
  }

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

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

@media (max-width: 768px) {
  .nav-links .nav-link {
    display: none;
  }

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

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

  .capability-card {
    border-right: none !important;
  }

  .capability-card:not(:last-child) {
    border-bottom: 1px solid var(--border-subtle);
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-features {
    flex-direction: column;
    gap: 1.25rem;
  }
}
