/* ============ LANDING-ONLY TOKENS ============ */
:root {
  --green-token: #34d399;
  --red-html: #f87171;
  --gradient-gold: linear-gradient(135deg, #e8a838, #f5c563);
}

/* ============ NOISE TEXTURE OVERLAY ============ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

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

/* Hero grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 125, 210, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 125, 210, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}

/* Hero glow */
.hero::after {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 197, 0.12) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(45, 125, 210, 0.1);
  border: 1px solid rgba(45, 125, 210, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue-bright);
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease both;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s both;
}

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

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

.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  font-weight: 400;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--gradient-brand);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45, 125, 210, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--blue);
  background: rgba(45, 125, 210, 0.08);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  animation: fadeInUp 0.6s ease 0.5s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: 'JetBrains Mono', monospace;
}

.hero-stat-value.green { color: var(--green-token); }
.hero-stat-value.gold { color: var(--gold); }
.hero-stat-value.blue { color: var(--blue-bright); }

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ HERO CODE SNIPPET ============ */
.hero-code {
  max-width: 600px;
  margin: 2.5rem auto 0;
  animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-code-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.hero-code-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hero-code-block pre {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  white-space: pre;
  color: var(--text-secondary);
}

.hero-code-block .code-cmd { color: var(--green-token); font-weight: 500; }
.hero-code-block .code-flag { color: var(--blue-bright); }
.hero-code-block .code-url { color: var(--gold-light); }
.hero-code-block .code-str { color: var(--teal); }
.hero-code-block .code-key { color: var(--text-muted); }

/* ============ TRANSFORMATION DEMO ============ */
.demo-section {
  padding: 6rem 2rem;
  position: relative;
}

.demo-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 168, 56, 0.06) 0%, transparent 70%);
  bottom: -200px;
  left: -200px;
  pointer-events: none;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 560px;
  line-height: 1.7;
}

.demo-container {
  max-width: 1100px;
  margin: 0 auto;
}

.demo-header {
  margin-bottom: 3rem;
  text-align: center;
}

.demo-header .section-desc {
  margin: 0.5rem auto 0;
}

.transform-visual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.code-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.code-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid var(--border);
}

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

.code-panel-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-panel-dots span:nth-child(1) { background: #ff5f57; }
.code-panel-dots span:nth-child(2) { background: #febc2e; }
.code-panel-dots span:nth-child(3) { background: #28c840; }

.code-panel-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.code-panel-body {
  padding: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.8;
  overflow-x: auto;
  min-height: 320px;
}

.code-panel.html-panel .code-panel-body {
  color: var(--text-muted);
}

.code-panel.md-panel .code-panel-body {
  color: var(--text-primary);
}

.html-tag { color: var(--red-html); opacity: 0.6; }
.html-attr { color: #fbbf24; opacity: 0.5; }
.html-text { color: var(--text-secondary); }
.md-heading { color: var(--blue-bright); font-weight: 700; }
.md-text { color: var(--text-primary); }
.md-bold { color: var(--gold-light); font-weight: 700; }
.md-link { color: var(--teal); }

.transform-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
}

.arrow-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(45, 125, 210, 0.3);
  animation: arrowPulse 3s ease-in-out infinite;
}

.arrow-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: white;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arrow-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-bright);
  writing-mode: vertical-lr;
  display: none;
}

@keyframes arrowPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(45, 125, 210, 0.3); }
  50% { box-shadow: 0 0 50px rgba(45, 125, 210, 0.5); }
}

.token-savings-bar {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.savings-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: nowrap;
  font-weight: 500;
}

.savings-bar-track {
  flex: 1;
  height: 10px;
  background: rgba(248, 113, 113, 0.15);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.savings-bar-fill {
  height: 100%;
  width: 19%;
  background: var(--gradient-brand);
  border-radius: 100px;
  animation: fillBar 2s ease 1s both;
  position: relative;
}

.savings-bar-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(14, 165, 197, 0.5);
}

@keyframes fillBar {
  from { width: 100%; }
  to { width: 19%; }
}

.savings-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-token);
  white-space: nowrap;
}

/* ============ FEATURES ============ */
.features-section {
  padding: 6rem 2rem;
  position: relative;
}

.features-container {
  max-width: 1100px;
  margin: 0 auto;
}

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

.features-header .section-desc {
  margin: 0.5rem auto 0;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: rgba(45, 125, 210, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.feature-icon.blue { background: rgba(45, 125, 210, 0.12); }
.feature-icon.teal { background: rgba(14, 165, 197, 0.12); }
.feature-icon.gold { background: rgba(232, 168, 56, 0.12); }
.feature-icon.green { background: rgba(52, 211, 153, 0.12); }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ============ BUILD WITH UNWEB (ECOSYSTEM) ============ */
.ecosystem-section {
  padding: 6rem 2rem;
  background: var(--navy);
}

.ecosystem-container {
  max-width: 1100px;
  margin: 0 auto;
}

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

.ecosystem-header .section-desc {
  margin: 0.5rem auto 0;
}

.ecosystem-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.ecosystem-card {
  flex: 0 1 calc((100% - 3rem) / 3);
  min-width: 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ecosystem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s;
}

.ecosystem-card:hover {
  border-color: rgba(45, 125, 210, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.ecosystem-card:hover::before { opacity: 1; }

.ecosystem-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.ecosystem-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.ecosystem-card .ecosystem-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.ecosystem-install {
  background: var(--navy-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--teal);
  margin-bottom: 1rem;
  user-select: all;
  overflow-x: auto;
  white-space: nowrap;
}

.ecosystem-links {
  margin-top: auto;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.ecosystem-links a {
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.ecosystem-links a.ecosystem-link-primary {
  color: var(--blue-bright);
}

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

.ecosystem-links a.ecosystem-link-docs {
  color: var(--text-muted);
}

.ecosystem-links a.ecosystem-link-docs:hover {
  color: var(--text-secondary);
}

.ecosystem-btn {
  display: inline-block;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 1.1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s;
  margin-bottom: 1rem;
  text-align: center;
}

.ecosystem-btn:hover {
  background: var(--navy-light);
  border-color: rgba(45, 125, 210, 0.3);
}

/* ============ USE CASES ============ */
.usecases-section {
  padding: 6rem 2rem;
  background: var(--navy);
}

.usecases-container {
  max-width: 1100px;
  margin: 0 auto;
}

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

.usecases-header .section-desc {
  margin: 0.5rem auto 0;
}

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

.usecase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  transition: all 0.3s;
}

.usecase-card:hover {
  border-color: rgba(45, 125, 210, 0.3);
}

.usecase-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
}

.usecase-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* ============ HOW IT WORKS ============ */
.howitworks-section {
  padding: 6rem 2rem;
}

.howitworks-container {
  max-width: 1100px;
  margin: 0 auto;
}

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

.howitworks-header .section-desc {
  margin: 0.5rem auto 0;
}

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

.steps-row::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--blue), var(--teal), var(--border));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--surface);
  border: 2px solid var(--border);
  transition: all 0.3s;
}

.step:hover .step-circle {
  border-color: var(--blue);
  box-shadow: 0 0 30px rgba(45, 125, 210, 0.2);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ============ PRICING ============ */
.pricing-section {
  padding: 6rem 2rem;
  background: var(--navy);
  position: relative;
}

.pricing-section::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 125, 210, 0.06) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.pricing-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

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

.pricing-header .section-desc {
  margin: 0.5rem auto 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 60px rgba(45, 125, 210, 0.15);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  border-radius: 20px 20px 0 0;
}

.pricing-badge {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  background: rgba(45, 125, 210, 0.15);
  color: var(--blue-bright);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card .price-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features li .check {
  color: var(--green-token);
  font-weight: 700;
  margin-top: 2px;
  flex-shrink: 0;
}

.pricing-features li .coming {
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(232, 168, 56, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: auto;
  flex-shrink: 0;
}

.pricing-features li .beta {
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--teal);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: auto;
  flex-shrink: 0;
}

.pricing-features li .beta a {
  color: #fff;
  text-decoration: underline;
  text-decoration-style: dotted;
  font-size: 0.6rem;
  margin-left: 0.25rem;
}

.pricing-features li .beta a:hover {
  text-decoration-style: solid;
}

.pricing-features li .live-badge {
  color: #34d399;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(52, 211, 153, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: auto;
  flex-shrink: 0;
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 0.85rem;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
}

.pricing-btn.primary {
  background: var(--gradient-brand);
  color: white;
  border: none;
}

.pricing-btn.primary:hover {
  box-shadow: 0 8px 30px rgba(45, 125, 210, 0.35);
  transform: translateY(-1px);
}

.pricing-btn.outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.pricing-btn.outline:hover {
  border-color: var(--blue);
  background: rgba(45, 125, 210, 0.05);
}

/* ============ WORKS WITH ============ */
.workswith-pill {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  transition: border-color 0.2s, color 0.2s;
  cursor: default;
}
.workswith-pill:hover {
  border-color: var(--teal);
  color: var(--text-primary);
}

/* ============ EARLY ACCESS CTA ============ */
.cta-section {
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 197, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-container h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-container p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.cta-input {
  flex: 1;
  padding: 0.9rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.cta-input::placeholder { color: var(--text-muted); }
.cta-input:focus { border-color: var(--blue); }

.cta-submit {
  padding: 0.9rem 1.8rem;
  background: var(--gradient-brand);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.cta-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(45, 125, 210, 0.35);
}

.cta-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ============ TRUST CALLOUT ============ */
.trust-callout {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
}

.trust-callout-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.trust-callout-icon {
  font-size: 2rem;
  line-height: 1;
}

.trust-callout-headline {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.trust-callout-subtext {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 640px;
  line-height: 1.5;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 1rem;
  border: 1px solid var(--teal);
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--teal);
  background: transparent;
  letter-spacing: 0.02em;
}

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

  .transform-arrow {
    flex-direction: row;
    padding: 0.5rem 0;
  }

  .arrow-icon { width: 40px; height: 40px; }

  .arrow-icon svg { width: 18px; height: 18px; transform: rotate(90deg); }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .usecases-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 840px; margin: 0 auto; }
  .steps-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps-row::before { display: none; }

  .token-savings-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .savings-bar-track { width: 100%; }

  .hero-stats { gap: 1.5rem; }

  .hero-code { max-width: 100%; }

  .cta-form { flex-direction: column; }

  .trust-callout { padding: 1.5rem 0; }
  .trust-callout-headline { font-size: 1.1rem; }
  .trust-callout-subtext { font-size: 0.85rem; }

  .ecosystem-card { flex: 0 1 calc((100% - 1.5rem) / 2); min-width: 250px; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .ecosystem-card { flex: 1 1 100%; min-width: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }

  .hero-code-block { padding: 1rem; }
  .hero-code-block pre { font-size: 0.75rem; }

  .trust-callout { padding: 1.25rem 0; }
  .trust-callout-inner { gap: 0.5rem; }
  .trust-callout-headline { font-size: 1rem; }
  .trust-badges { gap: 0.5rem; }
  .trust-badge { font-size: 0.75rem; padding: 0.25rem 0.75rem; }
}
