/* ============================================
   OpsPilot — Modern SaaS Landing
   Premium dark theme, glassmorphism, refined depth
   ============================================ */

:root {
  /* Dark base — slightly warm, rich */
  --bg: #0b0b10;
  --bg-elevated: #131318;
  --bg-surface: #18181f;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-card-hover: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.1);
  --border-focus: rgba(255, 255, 255, 0.2);

  /* Text — improved contrast & hierarchy */
  --text: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-dim: #52525b;

  /* Accent — refined cyan–violet, less neon */
  --accent: #38bdf8;
  --accent-muted: #0ea5e9;
  --accent-secondary: #a78bfa;
  --gradient-start: #38bdf8;
  --gradient-mid: #818cf8;
  --gradient-end: #c084fc;
  --glow: rgba(56, 189, 248, 0.2);
  --glow-strong: rgba(56, 189, 248, 0.35);
  --glow-purple: rgba(167, 139, 250, 0.15);

  /* Shadows — layered depth */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05);
  --shadow-glow: 0 0 40px -8px var(--glow);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.15s;
  --duration: 0.25s;
  --duration-slow: 0.4s;

  /* Typography — professional SaaS */
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  /* Spacing & layout */
  --container: min(1200px, 92vw);
  --section-padding: clamp(4rem, 10vw, 7rem);
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: none;
  border-radius: var(--radius);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

::selection {
  background: rgba(56, 189, 248, 0.2);
  color: var(--text);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out), background var(--duration) var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 100%);
  color: #0b0b10;
  box-shadow: var(--shadow-sm), 0 0 24px -4px var(--glow);
}

.btn-primary:hover {
  box-shadow: var(--shadow-md), 0 0 32px -4px var(--glow-strong);
}

.btn-secondary {
  background: var(--bg-card-hover);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-focus);
}

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

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--accent);
  color: var(--accent);
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(11, 11, 16, 0.72);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  transition: background var(--duration-slow) var(--ease-out);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}

.logo-icon {
  color: var(--accent);
  font-size: 1.1em;
}

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

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
}

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

.nav-cta {
  color: var(--text) !important;
  font-weight: 600;
}

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

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* ========== Glass ========== */
.glass {
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 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)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero-gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: float 18s var(--ease-in-out) infinite;
}

.hero-gradient-1 {
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, var(--gradient-start) 0%, var(--gradient-mid) 50%, transparent 70%);
  top: -25%;
  right: -12%;
  animation-delay: 0s;
}

.hero-gradient-2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--gradient-mid) 0%, var(--gradient-end) 40%, transparent 70%);
  bottom: -15%;
  left: -18%;
  animation-delay: -8s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 45%, black 20%, transparent 70%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  50% { transform: translate(24px, -16px) scale(1.03); opacity: 0.4; }
}

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

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  animation: fadeInUp 0.6s var(--ease-out) both;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  background: linear-gradient(145deg, #ffffff 0%, #e4e4e7 50%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.6s var(--ease-out) 0.1s both;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 420px;
  margin-inline: auto;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s var(--ease-out) 0.2s both;
}

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

.hero-visual {
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

/* ========== Hero DevOps illustration ========== */
.hero-illustration {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 2rem;
  color: var(--text-secondary);
  animation: fadeInUp 0.6s var(--ease-out) 0.35s both;
}

.hero-illustration .ill-hero {
  width: 100%;
  height: auto;
  display: block;
}

.hero-illustration .ill-server { color: var(--text-muted); }
.hero-illustration .ill-code { color: var(--text-muted); }
.hero-illustration .ill-deploy { color: var(--accent); }
.hero-illustration .ill-arrow { color: var(--accent); }

/* ========== Works with (tech strip) ========== */
.works-with {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  animation: fadeInUp 0.6s var(--ease-out) 0.5s both;
}

.works-with-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-align: center;
}

.works-with-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.tech-pill {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.35rem 0.75rem;
  background: var(--bg-card-hover);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.tech-pill:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.chat-mockup {
  max-width: 520px;
  margin-inline: auto;
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--border), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.chat-mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
}

.chat-dot:nth-child(1) { background: #f87171; }
.chat-dot:nth-child(2) { background: #fbbf24; }
.chat-dot:nth-child(3) { background: #34d399; }

.chat-label {
  margin-left: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.chat-mockup-body {
  padding: 1.25rem;
}

.chat-message {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.chat-avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.chat-avatar.user {
  background: var(--bg-surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.chat-avatar.ai {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
  color: #0b0b10;
  box-shadow: 0 0 12px -2px var(--glow);
}

.chat-message p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.chat-message.user p {
  color: var(--text);
}

.chat-message.highlight p {
  color: var(--accent);
}

.chat-message code {
  font-size: 0.85em;
  padding: 0.15em 0.4em;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
}

.chat-input-mock {
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-card-hover);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.chat-typing {
  font-size: 0.85rem;
  color: var(--text-dim);
}

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

/* ========== Section common ========== */
.section {
  padding-block: var(--section-padding);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

/* ========== How It Works ========== */
.how-it-works {
  background: linear-gradient(180deg, transparent 0%, rgba(56, 189, 248, 0.025) 50%, transparent 100%);
}

.how-illustration {
  width: 100%;
  max-width: 380px;
  margin: 0 auto 2rem;
}

.how-illustration .ill-pipeline {
  width: 100%;
  height: auto;
  display: block;
}

.how-illustration .ill-pipeline-path {
  animation: pipeline-dash 12s linear infinite;
}

.how-illustration [id="pipeGrad"] stop:first-child { stop-color: var(--gradient-start); }
.how-illustration [id="pipeGrad"] stop:last-child { stop-color: var(--gradient-mid); }

@keyframes pipeline-dash {
  to { stroke-dashoffset: -40; }
}

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

.step {
  padding: 2rem;
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* ========== Features ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  transition: transform var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* ========== Integrations / DevOps stack ========== */
.integrations {
  background: linear-gradient(180deg, transparent 0%, rgba(56, 189, 248, 0.02) 50%, transparent 100%);
}

.integrations-illustration {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 2.5rem;
}

.integrations-illustration .ill-stack {
  width: 100%;
  height: auto;
  display: block;
}

.integrations-illustration .ill-center {
  filter: drop-shadow(0 0 12px var(--glow));
}

.integrations-illustration .ill-orb {
  transition: transform var(--duration) var(--ease-out);
}

.integrations-illustration .ill-orb:hover {
  transform: scale(1.05);
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.integration-card {
  padding: 1.75rem;
  transition: transform var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.integration-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.integration-icon {
  display: inline-block;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.integration-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.integration-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ========== Chat Example + Terminal ========== */
.chat-example {
  background: linear-gradient(180deg, transparent 0%, var(--glow-purple) 50%, transparent 100%);
}

.chat-example-box {
  max-width: 560px;
  margin-inline: auto;
  padding: 2rem;
}

.chat-line {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.chat-line:last-child {
  border-bottom: none;
}

.chat-line-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.chat-line.user .chat-line-label { color: var(--text-muted); }
.chat-line.ai .chat-line-label { color: var(--accent); }

.chat-line p {
  font-size: 1rem;
  color: var(--text);
}

/* Terminal mockup */
.terminal-mockup {
  max-width: 560px;
  margin-inline: auto;
  margin-top: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-dim);
}

.terminal-dot:nth-child(1) { background: #f87171; }
.terminal-dot:nth-child(2) { background: #fbbf24; }
.terminal-dot:nth-child(3) { background: #34d399; }

.terminal-title {
  margin-left: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.terminal-body {
  padding: 1rem 1.25rem;
}

.terminal-body pre {
  margin: 0;
  font-family: ui-monospace, "SF Mono", "Cascadia Code", monospace;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-secondary);
  overflow-x: auto;
}

.terminal-body code {
  background: none;
  padding: 0;
  border: none;
}

.term-prompt {
  color: var(--accent);
  font-weight: 600;
}

.term-ok {
  color: #34d399;
  margin-right: 0.25rem;
}

/* ========== Pricing ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  max-width: 1000px;
  margin-inline: auto;
}

.pricing-card {
  position: relative;
  padding: 2rem;
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.pricing-card.featured {
  border-color: rgba(56, 189, 248, 0.25);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(56, 189, 248, 0.15), 0 0 32px -8px var(--glow);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0b0b10;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.currency {
  font-size: 1.25rem;
  opacity: 0.8;
}

.price-suffix {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.pricing-card ul {
  margin-bottom: 1.75rem;
}

.pricing-card li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pricing-card .btn {
  width: 100%;
  padding: 0.85rem;
}

/* ========== Social Proof ========== */
.social-proof .section-subtitle {
  margin-bottom: 2rem;
}

.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.logo-placeholder {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  background: var(--bg-card-hover);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.testimonial {
  max-width: 640px;
  margin-inline: auto;
  padding: 2rem 2.5rem;
  text-align: center;
}

.testimonial p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.testimonial footer {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ========== CTA Section ========== */
.cta-section {
  padding-block: clamp(3rem, 8vw, 5rem);
}

.cta-box {
  text-align: center;
  padding: 3.5rem 2rem;
  max-width: 640px;
  margin-inline: auto;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.cta-box .hero-ctas {
  margin-bottom: 0;
}

/* ========== Footer ========== */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding-top: 3.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 3rem;
  align-items: start;
}

.footer-brand .logo {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 220px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  transition: color var(--duration-fast) var(--ease-out);
}

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 3rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

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

  .footer-social {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .works-with-list {
    gap: 0.4rem;
  }

  .tech-pill {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }

  .terminal-body pre {
    font-size: 0.75rem;
  }

  .hero-illustration {
    max-width: 320px;
    margin-bottom: 1.5rem;
  }

  .how-illustration {
    max-width: 300px;
  }

  .integrations-illustration {
    max-width: 240px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* Mobile menu (optional open state) */
.nav.open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(18, 18, 26, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav.open .nav-links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}
