/* ============================================================
   Blue Spinnaker — SRE-in-a-Box Website
   ============================================================ */

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

:root {
  --blue-900: #0a1628;
  --blue-800: #0d1f3c;
  --blue-700: #1a3158;
  --blue-600: #1e4080;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --blue-200: #93c5fd;
  --blue-100: #dbeafe;

  --teal-500: #0ea5e9;
  --teal-400: #38bdf8;

  --gray-950: #030712;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white: #ffffff;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.2);
  --shadow-glow: 0 0 40px rgba(37,99,235,0.25);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.logo-mark {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.logo-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-word-blue {
  color: #93c5fd;
}

.logo-word-spin {
  color: #22d3ee;
}

.logo-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--teal-400);
  font-family: var(--font-mono);
  opacity: 0.85;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--gray-300);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  line-height: 1;
}

.btn-primary {
  background: var(--blue-500);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-400);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-300);
  border: 1.5px solid var(--gray-700);
}

.btn-ghost:hover {
  color: var(--white);
  border-color: var(--gray-500);
}

.btn-full {
  width: 100%;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--blue-900);
  overflow: hidden;
  padding: 160px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.4);
  border-radius: 100px;
  color: var(--blue-300);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-family: var(--font-mono);
}

.hero-title {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue-300) 0%, var(--teal-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-cta .btn {
  padding: 14px 28px;
  font-size: 15px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-mono);
  letter-spacing: -1px;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-700);
}

/* ── Sections ───────────────────────────────────────────────── */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--gray-50);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-sub {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* ── Two Col ────────────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.prose p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
}

.prose strong {
  color: var(--gray-900);
  font-weight: 600;
}

.inline-link {
  color: var(--blue-500);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.inline-link:hover {
  text-decoration: underline;
}

.problem-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.problem-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.problem-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.problem-card p {
  font-size: 14px;
  color: var(--gray-700);
  font-weight: 500;
}

/* ── Services Grid ──────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.2s;
}

.service-card:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.service-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card ul li {
  font-size: 13px;
  color: var(--gray-600);
  padding-left: 16px;
  position: relative;
}

.service-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue-400);
  font-weight: 700;
}

/* ── Steps ──────────────────────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 36px;
  top: 48px;
  bottom: 48px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-500), var(--teal-400));
}

.step {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  align-items: flex-start;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--blue-900);
  border: 2px solid var(--blue-500);
  color: var(--blue-300);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content {
  padding-top: 16px;
}

.step-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.step-content p {
  font-size: 15px;
  color: var(--gray-500);
  max-width: 520px;
  line-height: 1.7;
}

/* ── Pricing ────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
}

.pricing-card-featured {
  background: var(--blue-900);
  border-color: var(--blue-500);
  transform: scale(1.03);
  box-shadow: var(--shadow-glow), 0 0 0 1px var(--blue-500);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-500);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.pricing-card-featured .pricing-tier {
  color: var(--blue-300);
}

.pricing-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -2px;
  margin-bottom: 12px;
  line-height: 1;
}

.pricing-card-featured .pricing-price {
  color: var(--white);
}

.pricing-price span {
  font-size: 18px;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0;
}

.pricing-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 28px;
  min-height: 54px;
}

.pricing-card-featured .pricing-desc {
  color: var(--gray-400);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-400);
  font-weight: 700;
}

.pricing-card-featured .pricing-features li {
  color: var(--gray-300);
}

.pricing-card-featured .btn-outline {
  border-color: rgba(255,255,255,0.25);
}

/* ── Why Grid ───────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  padding: 32px 24px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  transition: all 0.2s;
}

.why-card:hover {
  background: var(--white);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
}

.why-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ── Contact ────────────────────────────────────────────────── */
.section-contact {
  background: var(--blue-900);
}

.section-contact .section-label {
  color: var(--blue-300);
}

.section-contact .section-title {
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-text p {
  color: var(--gray-400);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-300);
  font-size: 14px;
}

.contact-icon {
  font-size: 20px;
  flex-shrink: 0;
}

/* ── Form ───────────────────────────────────────────────────── */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-300);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--white);
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-600);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue-400);
}

.form-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 12px;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--gray-950);
  padding: 64px 0 0;
  border-top: 1px solid var(--gray-800);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  margin-bottom: 48px;
}

.footer-brand .logo-mark {
  height: 34px;
  width: auto;
}

.footer-brand p {
  font-size: 14px;
  color: var(--gray-600);
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--gray-500);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray-700);
}

/* ── Options Grid ───────────────────────────────────────────── */
.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 0;
}

.option-card {
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  position: relative;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  transition: box-shadow 0.25s;
}

.option-card:hover {
  box-shadow: var(--shadow-lg);
}

.option-human {
  border-top: 4px solid var(--blue-500);
}

.option-agent {
  border-top: 4px solid var(--teal-500);
}

.option-number {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.option-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(37,99,235,0.1);
  color: var(--blue-600);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.option-tag-ai {
  background: rgba(14,165,233,0.1);
  color: #0284c7;
}

.option-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.option-desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 28px;
}

.option-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.option-highlights li {
  font-size: 14px;
  color: var(--gray-700);
  padding-left: 20px;
  position: relative;
  font-weight: 500;
}

.option-highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-500);
  font-weight: 700;
}

.option-agent .option-highlights li::before {
  color: var(--teal-500);
}

.option-best-for {
  font-size: 13px;
  color: var(--gray-500);
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 28px;
  line-height: 1.6;
  border-left: 3px solid var(--gray-300);
}

.best-for-label {
  font-weight: 700;
  color: var(--gray-700);
  margin-right: 6px;
}

.btn-blue {
  background: var(--blue-500);
  color: var(--white);
}
.btn-blue:hover {
  background: var(--blue-400);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}

.btn-teal {
  background: var(--teal-500);
  color: var(--white);
}
.btn-teal:hover {
  background: var(--teal-400);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(14,165,233,0.35);
}

.compare-bar {
  margin-top: 36px;
  text-align: center;
  font-size: 15px;
  color: var(--gray-500);
}

.compare-bar a {
  color: var(--blue-500);
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
}

.compare-bar a:hover { text-decoration: underline; }

/* ── Option Detail Headers ───────────────────────────────────── */
.option-detail-header {
  margin-bottom: 48px;
}

.detail-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  background: rgba(37,99,235,0.1);
  color: var(--blue-600);
}

.detail-tag-ai {
  background: rgba(14,165,233,0.15);
  color: #0284c7;
}

.section-title.white { color: var(--white); }
.section-sub.light   { color: rgba(255,255,255,0.55); }

/* ── SRE Agent Section ──────────────────────────────────────── */
.section-agent {
  background: var(--blue-900);
}

.section-agent .detail-tag-ai {
  background: rgba(14,165,233,0.2);
  color: var(--teal-400);
}

.agent-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.agent-capabilities {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.agent-cap-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.2s;
}

.agent-cap-card:hover {
  border-color: rgba(14,165,233,0.4);
}

.agent-cap-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.agent-cap-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.agent-cap-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.agent-integrations {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 88px;
}

.integrations-box,
.agent-flow-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.integrations-box h4,
.agent-flow-box h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.integrations-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.int-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

.int-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.int-dot.blue   { background: var(--blue-400); }
.int-dot.teal   { background: var(--teal-400); }
.int-dot.purple { background: #a78bfa; }

.agent-flow-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aflow-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.aflow-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(14,165,233,0.2);
  border: 1px solid var(--teal-500);
  color: var(--teal-400);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
}

.aflow-step p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  padding-top: 3px;
}

/* ── Compare Table ──────────────────────────────────────────── */
.compare-table-wrap {
  margin-top: 0;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table thead th {
  padding: 20px 24px;
  text-align: left;
  background: var(--gray-50);
  font-weight: 700;
  font-size: 15px;
  color: var(--gray-900);
  border-bottom: 2px solid var(--gray-200);
}

.compare-table thead th:first-child {
  color: var(--gray-400);
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.th-tag {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 6px;
  font-family: var(--font-mono);
}

.th-tag-ai {
  color: var(--teal-500);
}

.th-human { border-top: 3px solid var(--blue-500); }
.th-agent { border-top: 3px solid var(--teal-500); }

.compare-table tbody tr {
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.15s;
}

.compare-table tbody tr:hover {
  background: var(--gray-50);
}

.compare-table tbody tr:last-child {
  border-bottom: none;
}

.compare-table td {
  padding: 16px 24px;
  color: var(--gray-600);
  vertical-align: middle;
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--gray-700);
}

.compare-table td.check {
  color: var(--gray-800);
  font-weight: 500;
}

.compare-table td.check::before {
  content: '✓ ';
  color: var(--blue-500);
  font-weight: 700;
}

.compare-table td.partial {
  color: var(--gray-500);
  font-style: italic;
}

/* ── Pricing Toggle ─────────────────────────────────────────── */
.pricing-toggle {
  display: inline-flex;
  background: var(--gray-200);
  border-radius: 100px;
  padding: 4px;
  margin-bottom: 48px;
}

.toggle-btn {
  padding: 10px 24px;
  border-radius: 100px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all 0.2s;
}

.toggle-btn.active {
  background: var(--white);
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
}

.pricing-panel { display: block; }
.pricing-panel.hidden { display: none; }

/* ── Form select ────────────────────────────────────────────── */
.form-group select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--white);
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-group select:focus {
  border-color: var(--blue-400);
}

.form-group select option {
  background: var(--blue-900);
  color: var(--white);
}

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

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

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

  .pricing-card-featured {
    transform: none;
    order: -1;
  }
}

@media (max-width: 1024px) {
  .options-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .agent-layout {
    grid-template-columns: 1fr;
  }

  .agent-integrations {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--blue-900);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
  }

  .nav-links .btn {
    margin: 8px 24px;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 120px 0 80px;
    min-height: auto;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .agent-integrations {
    grid-template-columns: 1fr;
  }

  .pricing-toggle {
    width: 100%;
  }

  .toggle-btn {
    flex: 1;
    text-align: center;
  }

  .compare-table thead th,
  .compare-table td {
    padding: 12px 14px;
    font-size: 13px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px 24px;
  }

  .steps::before {
    display: none;
  }

  .step {
    flex-direction: column;
    gap: 16px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    gap: 40px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .problem-cards {
    grid-template-columns: 1fr;
  }

  .hero-title {
    letter-spacing: -1px;
  }

  .section-title {
    letter-spacing: -0.5px;
  }
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-inner > * {
  animation: fadeInUp 0.6s ease both;
}

.hero-badge { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.2s; }
.hero-subtitle { animation-delay: 0.3s; }
.hero-cta { animation-delay: 0.4s; }
.hero-stats { animation-delay: 0.5s; }
