/* ── QueryFuser Landing — Design System ──────────────────────────────────── */

:root {
  --bg:          #0a0e17;
  --bg-card:     #111827;
  --bg-card-alt: #161f31;
  --bg-code:     #1a2233;
  --border:      #1e293b;
  --border-glow: #2563eb30;
  --text:        #e2e8f0;
  --text-dim:    #94a3b8;
  --text-bright: #f8fafc;
  --accent:      #3b82f6;
  --accent-dim:  #2563eb;
  --accent-glow: #3b82f620;
  --green:       #22c55e;
  --green-dim:   #16a34a;
  --red:         #ef4444;
  --orange:      #f59e0b;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  --max-w:       1200px;
  --radius:      8px;
  --radius-lg:   12px;
}

/* ── Reset ────────────────────────────────────────────────────────────────── */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover { color: var(--text-bright); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  color: var(--text-bright);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 3.2rem; letter-spacing: -0.03em; }
h2 { font-size: 2rem; letter-spacing: -0.02em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { max-width: 65ch; }

code, pre {
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

pre {
  background: var(--bg-code);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  line-height: 1.6;
  color: var(--text-dim);
}

/* ── Layout ───────────────────────────────────────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

section + section {
  border-top: 1px solid var(--border);
}

/* ── Navigation ───────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(10, 14, 23, 0.92);
}

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

.nav-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: -0.02em;
}

.nav-brand span {
  color: var(--accent);
}

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

.nav-links a {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s;
}

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

.nav-links .btn-sm {
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-dim);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 24px var(--accent-glow);
}

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

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 0.5rem 0;
}
.btn-ghost:hover {
  color: var(--text-bright);
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero {
  padding: 8rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  margin-bottom: 1.5rem;
  position: relative;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 5rem;
  flex-wrap: wrap;
}

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

.hero-stat .value {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.03em;
}

.hero-stat .label {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

/* ── Cards ────────────────────────────────────────────────────────────────── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

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

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

a.card {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

a.tech-tag {
  text-decoration: none;
  color: var(--text-dim);
  transition: border-color 0.2s, color 0.2s;
}

a.tech-tag:hover {
  border-color: var(--accent);
  color: var(--text);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--accent-glow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-weight: 700;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* ── Section headers ──────────────────────────────────────────────────────── */

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .overline {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Tables ───────────────────────────────────────────────────────────────── */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

thead {
  background: var(--bg-card-alt);
}

th {
  text-align: left;
  padding: 0.9rem 1.25rem;
  font-weight: 600;
  color: var(--text-dim);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}

td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: var(--bg-card-alt);
}

td.green { color: var(--green); font-weight: 600; }
td.red   { color: var(--red); font-weight: 600; }
td.dim   { color: var(--text-dim); }
td.mono  { font-family: var(--font-mono); font-size: 0.85rem; }
td.right, th.right { text-align: right; }

/* ── Comparison block ─────────────────────────────────────────────────────── */

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.comparison-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.comparison-col.highlight {
  border-color: var(--green);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.06);
}

.comparison-col h4 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comparison-col ul {
  list-style: none;
  padding: 0;
}

.comparison-col li {
  padding: 0.4rem 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.comparison-col li strong {
  color: var(--text);
}

.savings-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* ── How It Works ─────────────────────────────────────────────────────────── */

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

.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

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

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent);
  margin: 0 auto 1.25rem;
}

.step h4 {
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 0 auto;
}

/* ── Pricing Cards ────────────────────────────────────────────────────────── */

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 0.2rem 1rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card .plan-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.1;
}

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

.pricing-card .price-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-card li {
  padding: 0.5rem 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}

.pricing-card li:last-child {
  border-bottom: none;
}

.pricing-card li::before {
  content: '\2713';
  color: var(--green);
  font-weight: 700;
  margin-right: 0.75rem;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* ── Calculation block ────────────────────────────────────────────────────── */

.calc-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.calc-block h3 {
  margin-bottom: 0.5rem;
}

.calc-block .scenario-desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.calc-block .scenario-note {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  line-height: 1.55;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.calc-row:last-child {
  border-bottom: none;
}

.calc-row .label {
  color: var(--text-dim);
}

.calc-row .value {
  font-weight: 600;
  font-family: var(--font-mono);
}

.calc-row.total {
  border-top: 2px solid var(--border);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-size: 1.05rem;
}

.calc-row.total .value {
  color: var(--green);
  font-size: 1.15rem;
}

.calc-row.without .value { color: var(--red); }
.calc-row.with .value    { color: var(--green); }

/* ── About / Team ─────────────────────────────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tech-tag {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* ── Architecture diagram ─────────────────────────────────────────────────── */

.arch-diagram {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
}

.arch-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.arch-node {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  text-align: center;
  min-width: 140px;
}

.arch-node.accent {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.arch-node h4 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.arch-node p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.arch-arrow {
  color: var(--text-dim);
  font-size: 1.5rem;
  padding: 0 1rem;
}

/* ── Get Started page ─────────────────────────────────────────────────────── */

.setup-steps {
  max-width: 720px;
  margin: 0 auto;
}

.setup-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.setup-step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.setup-step-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.setup-step-body p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  text-align: center;
}

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

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
}

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

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-legal a {
  color: var(--text-dim);
  font-size: 0.82rem;
  opacity: 0.7;
  transition: opacity 0.15s, color 0.15s;
}

.footer-legal a:hover {
  color: var(--text-bright);
  opacity: 1;
}

/* ── Legal Pages ──────────────────────────────────────────────────────────── */

.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  max-width: none;
}

.legal-content ul {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content ul li {
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--accent);
}

.legal-content strong {
  color: var(--text);
}

/* ── Utility ──────────────────────────────────────────────────────────────── */

.text-center { text-align: center; }
.text-dim    { color: var(--text-dim); }
.text-green  { color: var(--green); }
.text-accent { color: var(--accent); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.inline-code {
  background: var(--bg-code);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* ── Deployment page ───────────────────────────────────────────────────────── */

.deploy-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.deploy-option {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.deploy-option-accent {
  border-color: var(--green);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.06);
}

.deploy-option-header {
  margin-bottom: 1.25rem;
}

.deploy-option-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.deploy-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--accent-glow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.deploy-tag {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-cloud {
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent);
}

.tag-byoc {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
}

.deploy-desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: none;
}

.deploy-features {
  margin-bottom: 1.5rem;
}

.deploy-features h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.deploy-features ul {
  list-style: none;
  padding: 0;
}

.deploy-features li {
  padding: 0.35rem 0;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.deploy-features li::before {
  content: '\2713';
  color: var(--green);
  font-weight: 700;
  margin-right: 0.75rem;
}

.deploy-how {
  margin-bottom: 1.5rem;
}

.deploy-how h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.deploy-steps-mini {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.deploy-step-mini {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-dim);
}

.deploy-step-num-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--accent);
  flex-shrink: 0;
}

.deploy-option-accent .deploy-step-num-mini {
  color: var(--green);
}

.deploy-cta {
  margin-top: auto;
  padding-top: 1.5rem;
}

.deploy-cta-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

.choose-list {
  list-style: none;
  padding: 0;
}

.choose-list li {
  padding: 0.4rem 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.choose-list li::before {
  content: '\2192';
  margin-right: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

td.center, th.center {
  text-align: center;
}

/* ── Contact Page ─────────────────────────────────────────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form-wrapper h2,
.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-code);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
  opacity: 0.5;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-form .btn {
  align-self: flex-start;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.form-status {
  font-size: 0.9rem;
  color: var(--text-dim);
  min-height: 1.4em;
}

.form-status-success {
  color: var(--green);
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-info-card p {
  color: var(--text-dim);
  line-height: 1.7;
}

.contact-email {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.5rem;
}

.contact-email:hover {
  color: var(--text-bright);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }

  .deploy-compare { grid-template-columns: 1fr; }

  .nav-links { display: none; }
  .mobile-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1rem;
  }

  .hero { padding: 5rem 0 3rem; }
  .hero-stats { gap: 2rem; }

  .card-grid, .card-grid-3 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .comparison { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps { grid-template-columns: 1fr; }
  .arch-flow { flex-direction: column; }
  .arch-arrow { transform: rotate(90deg); padding: 0.5rem 0; }

  section { padding: 3rem 0; }
}
