/* ============================================
   PIPESTASH — Premium Dark
   ============================================ */

@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700,900&f[]=cabinet-grotesk@500,700,800&display=swap');

/* --- Design Tokens --- */
:root {
  --void: #08080d;
  --surface-0: #0f0f18;
  --surface-1: #161622;
  --surface-2: #1c1c2b;
  --surface-3: #232335;
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text-primary: #ededf0;
  --text-secondary: #9295a5;
  --text-tertiary: #5f6275;
  --accent-indigo: #818cf8;
  --accent-cyan: #67e8f9;
  --accent-violet: #a78bfa;
  --accent-warm: #FD775A;
  --gradient-primary: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan));
  --gradient-warm: linear-gradient(135deg, var(--accent-violet), var(--accent-indigo));
  --gradient-glow: linear-gradient(135deg, rgba(129, 140, 248, 0.1), rgba(103, 232, 249, 0.05));
  --font-display: 'Cabinet Grotesk', 'Satoshi', system-ui, sans-serif;
  --font-body: 'Satoshi', system-ui, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1140px;
  --section-pad: clamp(5rem, 12vh, 9rem);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-secondary);
  background: var(--void);
  line-height: 1.7;
  font-size: 1.0625rem;
  overflow-x: hidden;
}

/* Noise texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

::selection {
  background: rgba(129, 140, 248, 0.25);
  color: var(--text-primary);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.375rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

p + p { margin-top: 1.25rem; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-indigo);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent-indigo);
  border-radius: 1px;
  flex-shrink: 0;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  transition: all 0.5s var(--ease-out-expo);
}

.nav.scrolled {
  background: rgba(8, 8, 13, 0.85);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-logo .pipe {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background: var(--gradient-primary);
  border-radius: 2px;
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: color 0.3s ease;
}

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

.nav-cta {
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: var(--void) !important;
  background: var(--text-primary);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  transition: all 0.3s var(--ease-out-expo) !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(253, 119, 90, 0.18);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--void);
  background: var(--text-primary);
  padding: 0.875rem 2rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  min-height: 48px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(253, 119, 90, 0.15), 0 4px 15px rgba(255, 255, 255, 0.06);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  min-height: 48px;
}

.btn-secondary:hover {
  border-color: var(--accent-indigo);
  background: rgba(129, 140, 248, 0.05);
  transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 7rem 2rem 5rem;
  overflow: hidden;
}

/* Ambient gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  top: 10%;
  left: 15%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.08) 0%, transparent 70%);
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  top: 30%;
  right: 10%;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.05) 0%, transparent 70%);
}

.hero-orb-3 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: 40%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.06) 0%, transparent 70%);
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--void), transparent);
  z-index: 1;
}

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

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-bottom: 1.75rem;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
}

.hero h1 .line-inner {
  display: block;
}

.hero h1 .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hero .btn-primary {
  font-size: 1rem;
  padding: 1rem 2.5rem;
  min-height: 52px;
}

.hero-trust {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
  max-width: 400px;
}

/* --- Section Base --- */
section {
  padding: var(--section-pad) 0;
  position: relative;
}

/* --- GSAP Reveal Base --- */
.gs-reveal {
  opacity: 0;
}

/* --- Problem Section --- */
.problem-content {
  max-width: 680px;
}

.problem-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.problem-kicker {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--accent-indigo);
  line-height: 1.4;
}

/* --- Demo Split Layout --- */
.demo-split {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1.25rem;
  margin: 2.5rem 0 3rem;
  align-items: start;
}

.demo-panel {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.demo-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* --- Chat Window --- */
.chat-window {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #0c0c14;
  display: flex;
  flex-direction: column;
}

.chat-bar {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--border-subtle);
}

.chat-channel {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.chat-hash {
  color: var(--text-tertiary);
  font-weight: 400;
}

.chat-body {
  padding: 1.25rem;
  height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-msg {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  opacity: 0;
}

.chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-body);
}

.chat-avatar.human {
  background: rgba(129, 140, 248, 0.15);
  color: var(--accent-indigo);
}

.chat-avatar.bot {
  background: rgba(103, 232, 249, 0.12);
  color: var(--accent-cyan);
}

.chat-msg-content {
  flex: 1;
  min-width: 0;
}

.chat-msg-name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-msg-name .chat-time {
  font-weight: 400;
  font-size: 0.625rem;
  color: var(--text-tertiary);
}

.chat-msg-text {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.chat-msg-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.chat-msg-text .chat-source {
  color: var(--accent-cyan);
  font-size: 0.75rem;
  opacity: 0.7;
}

.chat-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0.5rem 0;
}

.chat-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-tertiary);
  animation: typingDot 1.2s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

@media (max-width: 900px) {
  .demo-split {
    grid-template-columns: 1fr;
  }
}

/* --- Terminal Demo --- */
.terminal {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #0c0c14;
  font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.terminal-dots span:first-child { background: rgba(255, 87, 87, 0.6); }
.terminal-dots span:nth-child(2) { background: rgba(255, 196, 56, 0.6); }
.terminal-dots span:last-child { background: rgba(56, 209, 106, 0.5); }

.terminal-title {
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

.terminal-body {
  padding: 1.25rem 1.5rem;
  height: 280px;
  overflow-y: auto;
  font-size: 0.75rem;
  line-height: 1.75;
  color: var(--text-secondary);
  opacity: 0.75;
}

.terminal-body .t-prompt {
  color: var(--accent-indigo);
}

.terminal-body .t-cmd {
  color: var(--text-primary);
}

.terminal-body .t-dim {
  color: var(--text-tertiary);
}

.terminal-body .t-success {
  color: #38d16a;
}

.terminal-body .t-cyan {
  color: var(--accent-cyan);
}

.terminal-body .t-violet {
  color: var(--accent-violet);
}

.terminal-body .t-warm {
  color: var(--accent-warm);
}

.terminal-body .t-line {
  display: block;
  min-height: 1.75em;
}

.terminal-body .t-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--accent-indigo);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
  margin-left: 1px;
}

@keyframes blink {
  50% { opacity: 0; }
}

.terminal-body .t-indent {
  padding-left: 1.25rem;
}

.terminal-body .t-gap {
  display: block;
  height: 0.5em;
}

@media (max-width: 768px) {
  .terminal-body {
    padding: 1rem;
    font-size: 0.625rem;
    height: 220px;
    overflow: auto;
  }

  .chat-body {
    height: 320px;
    padding: 1rem;
  }

  .chat-msg-text {
    font-size: 0.75rem;
  }
}

/* --- Knowledge Graph --- */
.graph-container {
  margin: 2.5rem 0 3rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.015);
  position: relative;
}

.graph-container canvas {
  display: block;
  width: 100%;
  height: 340px;
}

@media (max-width: 768px) {
  .graph-container canvas {
    height: 240px;
  }
}

/* --- Solution Section --- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
  position: relative;
}

.solution-card {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  position: relative;
  transition: all 0.5s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(253, 119, 90, 0.06), 0 20px 50px rgba(0, 0, 0, 0.25);
}

.solution-card .layer-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-indigo);
  margin-bottom: 1.25rem;
  opacity: 0.8;
}

.solution-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.solution-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Arrow connectors between cards */
.solution-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 1.25rem;
  opacity: 0.3;
  align-self: center;
}

/* --- Differentiator Section --- */
.diff-content {
  max-width: 680px;
}

.diff-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.diff-callout {
  margin-top: 2.5rem;
  padding: 2rem 2.25rem;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-medium);
  border-left: none;
  border-radius: 12px;
}

.diff-callout p {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.6;
}

/* --- Timeline Section --- */
.timeline {
  margin-top: 3.5rem;
  position: relative;
  max-width: 680px;
}

.timeline-line {
  position: absolute;
  left: 19px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--border-subtle);
  border-radius: 2px;
  overflow: hidden;
}

.timeline-line-fill {
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, var(--accent-indigo), var(--accent-cyan));
  border-radius: 2px;
  transition: height 0.3s ease;
}

.timeline-item {
  position: relative;
  padding-left: 56px;
  padding-bottom: 3rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--void);
  border: 2px solid var(--border-medium);
  z-index: 1;
  transition: all 0.4s ease;
}

.timeline-dot.active {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 16px rgba(129, 140, 248, 0.25);
}

.timeline-week {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-indigo);
  margin-bottom: 0.375rem;
  opacity: 0.7;
}

.timeline-item h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 540px;
}

/* --- Who It's For --- */
.audience-content {
  max-width: 640px;
}

.audience-list {
  list-style: none;
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.audience-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.audience-list li .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(129, 140, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.audience-list li .check svg {
  width: 10px;
  height: 10px;
  stroke: var(--accent-indigo);
  stroke-width: 2.5;
  fill: none;
}

/* --- Use Cases Grid --- */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
  align-items: stretch;
}

.usecase-card {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: all 0.5s var(--ease-out-expo);
}

.usecase-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(253, 119, 90, 0.06), 0 12px 40px rgba(0, 0, 0, 0.2);
}

.usecase-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.usecase-card p { font-size: 0.9375rem; line-height: 1.7; }

/* --- Social Proof --- */
.testimonial-block {
  max-width: 660px;
  margin: 3.5rem auto 0;
  text-align: center;
  position: relative;
}

.testimonial-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
  font-style: italic;
  position: relative;
  padding: 0 1rem;
}

.testimonial-block blockquote::before {
  content: '\201C';
  font-size: 4rem;
  position: absolute;
  top: -1.75rem;
  left: -0.75rem;
  color: var(--accent-indigo);
  line-height: 1;
  font-style: normal;
  opacity: 0.25;
}

.testimonial-attribution {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* --- Pricing Section --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
  align-items: stretch;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(253, 119, 90, 0.06), 0 20px 50px rgba(0, 0, 0, 0.25);
}

.pricing-card.featured {
  border-color: rgba(129, 140, 248, 0.25);
  background: var(--surface-2);
  overflow: hidden;
}

.pricing-card.featured::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: radial-gradient(ellipse at 50% -20px, rgba(129, 140, 248, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-badge {
  position: absolute;
  top: -1px;
  right: 1.75rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--accent-indigo);
  padding: 0.3rem 0.875rem;
  border-radius: 0 0 8px 8px;
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.pricing-amount .dollar {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.pricing-amount .period {
  font-size: 0.9375rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

.pricing-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  min-height: 48px;
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-style: italic;
}

/* --- FAQ Section --- */
.faq-list {
  max-width: 680px;
  margin-top: 3rem;
}

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

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.375rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  list-style: none;
  transition: color 0.3s ease;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--accent-indigo); }

.faq-item summary .chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease-out-expo);
}

.faq-item summary .chevron svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-tertiary);
  stroke-width: 2;
  fill: none;
}

.faq-item[open] summary .chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 1.375rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 600px;
}

/* --- Footer CTA --- */
.footer-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}

.footer-cta-orb {
  position: absolute;
  width: 500px;
  height: 300px;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(129, 140, 248, 0.06) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.footer-cta h2 {
  max-width: 560px;
  margin: 0 auto 2rem;
}

.email-form {
  display: flex;
  gap: 0.625rem;
  max-width: 440px;
  margin: 0 auto 1.25rem;
}

.email-form input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.875rem 1.25rem;
  background: var(--surface-2);
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.email-form input::placeholder { color: var(--text-tertiary); }

.email-form input:focus {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.08);
}

.email-form .btn-primary {
  white-space: nowrap;
  padding: 0.875rem 1.5rem;
}

.footer-trust {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

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

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer p {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.site-footer a {
  color: var(--text-tertiary);
  transition: color 0.25s ease;
}

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

/* --- Utilities --- */
.text-center { text-align: center; }
.text-center .section-label { justify-content: center; }
.section-label.text-center { justify-content: center; }

/* Pricing section gets extra top breathing room */
#pricing {
  padding-top: clamp(6rem, 14vh, 11rem);
}

/* --- Responsive --- */

/* Tablet */
@media (max-width: 900px) {
  :root {
    --section-pad: clamp(3.5rem, 8vh, 6rem);
  }

  .solution-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .solution-arrow { display: none; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero {
    padding: 6rem 1.5rem 4rem;
    min-height: 90vh;
  }

  .hero-sub {
    font-size: 1rem;
    max-width: 500px;
  }

  .testimonial-block blockquote {
    font-size: 1.25rem;
  }

  h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 13, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out-expo);
    z-index: 1000;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links a {
    font-size: 1.25rem;
    color: var(--text-secondary);
  }

  .nav-links .nav-cta {
    font-size: 1rem !important;
    padding: 0.75rem 2rem;
  }

  .mobile-toggle { display: block; }

  .hero {
    padding: 5.5rem 1.25rem 3rem;
    min-height: 85vh;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    letter-spacing: -0.04em;
  }

  .hero-sub {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 2rem;
  }

  .hero .btn-primary {
    font-size: 0.9375rem;
    padding: 0.875rem 2rem;
    min-height: 48px;
    width: 100%;
    max-width: 320px;
  }

  .hero-trust {
    font-size: 0.75rem;
    max-width: 300px;
  }

  .hero-orb { display: none; }

  /* Sections */
  section { padding: clamp(3rem, 8vh, 5rem) 0; }
  #pricing { padding-top: clamp(3rem, 8vh, 5rem); }

  .container {
    padding: 0 1.25rem;
  }

  /* Typography */
  h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 1rem;
  }

  h3 {
    font-size: 1.125rem;
  }

  .section-label {
    font-size: 0.75rem;
  }

  /* Problem */
  .problem-content {
    max-width: 100%;
  }

  .problem-content p {
    font-size: 1rem;
  }

  .problem-kicker {
    font-size: 1.125rem;
    margin-top: 1.75rem;
  }

  /* Solution cards */
  .solution-card {
    padding: 1.5rem 1.25rem;
  }

  /* Differentiator */
  .diff-content {
    max-width: 100%;
  }

  .diff-callout {
    padding: 1.5rem;
  }

  .diff-callout p {
    font-size: 1rem;
  }

  /* Timeline */
  .timeline {
    margin-top: 2.5rem;
    max-width: 100%;
  }

  .timeline-item {
    padding-left: 44px;
    padding-bottom: 2.25rem;
  }

  .timeline-line {
    left: 15px;
  }

  .timeline-dot {
    left: 8px;
    top: 3px;
    width: 14px;
    height: 14px;
  }

  .timeline-item p {
    font-size: 0.875rem;
    max-width: 100%;
  }

  /* Audience */
  .audience-content {
    max-width: 100%;
  }

  .audience-list li {
    font-size: 0.9375rem;
    gap: 0.625rem;
  }

  /* Use cases */
  .usecase-card {
    padding: 1.5rem 1.25rem;
  }

  .usecase-card p {
    font-size: 0.875rem;
  }

  /* Pricing */
  .pricing-grid {
    max-width: 100%;
  }

  .pricing-card {
    padding: 1.75rem 1.5rem;
  }

  .pricing-amount .dollar {
    font-size: 2rem;
  }

  .pricing-desc {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }

  .pricing-card .btn-primary,
  .pricing-card .btn-secondary {
    min-height: 44px;
    font-size: 0.875rem;
  }

  /* FAQ */
  .faq-list {
    max-width: 100%;
    margin-top: 2rem;
  }

  .faq-item summary {
    font-size: 0.9375rem;
    padding: 1.125rem 0;
  }

  .faq-answer {
    font-size: 0.875rem;
    max-width: 100%;
  }

  /* Footer CTA */
  .email-form {
    flex-direction: column;
    max-width: 100%;
  }

  .email-form input {
    font-size: 1rem;
    padding: 0.875rem 1rem;
    min-height: 48px;
  }

  .email-form .btn-primary {
    width: 100%;
    min-height: 48px;
  }

  .footer-trust {
    font-size: 0.75rem;
    padding: 0 1rem;
  }

  /* Footer */
  .site-footer .container {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  /* Testimonial */
  .testimonial-block {
    margin-top: 2rem;
  }

  .testimonial-block blockquote {
    font-size: 1.125rem;
    padding: 0;
  }

  .testimonial-block blockquote::before {
    display: none;
  }
}

/* Small phones */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .container {
    padding: 0 1rem;
  }

  .pricing-card {
    padding: 1.5rem 1.25rem;
  }
}
