/* ============================================
   AgentFlow — Premium Dark Landing
   Awwwards-grade · Space Grotesk · Electric Blue
   ============================================ */

/* --- Brand Palette --- */
:root {
  --brand-primary: #2563eb;
  --brand-primary-light: #3b82f6;
  --brand-secondary: #06b6d4;
  --brand-primary-rgb: 37,99,235;
  --brand-secondary-rgb: 6,182,212;
  --bg: #0a0a0a;
  --bg-2: #0f0f0f;
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.055);
  --border: rgba(255,255,255,0.07);
  --border-bright: rgba(37,99,235,0.35);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #475569;
  --green: #22c55e;
  --yellow: #eab308;
  --red: #ef4444;
  --radius: 12px;
  --radius-lg: 20px;
  --nav-bg: rgba(10,10,10,0.85);
  --gradient: linear-gradient(135deg, var(--brand-primary-light) 0%, var(--brand-secondary) 100%);
  --glow: radial-gradient(circle, rgba(37,99,235,0.14) 0%, transparent 70%);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto !important; }
body {
  font-family: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--brand-primary-light); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* --- Utilities --- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-primary-light);
  background: rgba(var(--brand-primary-rgb), 0.1);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.25);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--brand-primary);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--brand-primary-rgb), 0.4);
  background: #1d4ed8;
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--border-bright);
  background: rgba(var(--brand-primary-rgb), 0.05);
  color: var(--brand-primary-light);
}
.btn-lg { padding: 14px 28px; font-size: 0.95rem; border-radius: 10px; }
.btn-block { width: 100%; justify-content: center; }

/* --- Nav --- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}
nav.nav-scrolled {
  background: rgba(10,10,10,0.97);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.nav-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--brand-primary-light); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 20%, transparent 100%);
}
.hero-glow {
  position: absolute;
  top: 10%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: var(--glow);
  pointer-events: none;
  will-change: transform;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}
.hero-text { max-width: 540px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-primary-light);
  background: rgba(var(--brand-primary-rgb), 0.1);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.2);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(34,197,94,0); }
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.hero .subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.trust-note {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* --- Terminal --- */
.terminal-wrap {
  position: relative;
}
.terminal {
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(37,99,235,0.1);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: #161b22;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tb-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.tb-red { background: #ff5f56; }
.tb-yellow { background: #ffbd2e; }
.tb-green { background: #27c93f; }
.tb-title {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.72rem;
  color: #8b949e;
  margin-left: 8px;
}
.terminal-body {
  padding: 16px 20px;
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.72rem;
  line-height: 1.8;
  min-height: 140px;
}
.tline { color: #c9d1d9; }
.t-dim { color: #8b949e; }
.t-green { color: var(--green); }
.t-muted { color: #444; }
.t-agent { color: var(--brand-primary-light); }
.t-badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}
.t-badge.running {
  background: rgba(34,197,94,0.15);
  color: var(--green);
}
.tl-anim { min-height: 1.5em; }

/* --- Telegram widget --- */
.terminal-tg {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #0f1923;
}
.tg-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tg-icon { font-size: 1.1rem; }
.tg-name { font-size: 0.78rem; font-weight: 600; color: #e6edf3; }
.tg-sub { font-size: 0.65rem; color: #8b949e; }
.tg-status {
  margin-left: auto;
  font-size: 0.65rem;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 5px;
}
.tg-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
.tg-messages { padding: 10px 16px; display: flex; flex-direction: column; gap: 8px; }
.tg-msg { display: flex; align-items: flex-end; gap: 8px; }
.tg-msg.incoming { flex-direction: row; }
.tg-bubble {
  background: #1e2a38;
  border-radius: 10px 10px 10px 2px;
  padding: 8px 12px;
  font-size: 0.7rem;
  line-height: 1.5;
  color: #c9d1d9;
  max-width: 280px;
}
.tg-bubble strong { color: #e6edf3; display: block; margin-bottom: 2px; }
.tg-meta { color: #8b949e; font-size: 0.62rem; display: block; margin-top: 3px; }
.tg-time { font-size: 0.6rem; color: #444; white-space: nowrap; margin-bottom: 2px; }
.tg-new .tg-bubble {
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.2);
}

/* --- Stats Bar --- */
.stats-bar {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-number {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
  display: block;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Pain Section --- */
.pain { padding: 100px 0; }
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.pain-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s, background 0.3s;
  overflow: hidden;
}
.pain-card--full {
  grid-column: 1 / -1;
}
.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.pain-card:hover::before { transform: scaleX(1); }
.pain-card:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
}
.pain-icon { font-size: 1.8rem; margin-bottom: 14px; }
.pain-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.pain-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.pain-card em { color: var(--brand-primary-light); font-style: normal; }

/* --- Solution --- */
.solution {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s, background 0.3s;
  overflow: hidden;
}
.feature-card--featured {
  border-color: rgba(var(--brand-primary-rgb), 0.25);
  background: rgba(var(--brand-primary-rgb), 0.04);
}
.feature-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
}
.feature-icon { font-size: 1.8rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.feature-card > p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature-list li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brand-primary-light);
  font-size: 0.75rem;
}

/* --- How it Works --- */
.how { padding: 100px 0; }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 48px;
}
.step {
  flex: 1;
  text-align: center;
  padding: 28px 24px;
}
.step-number {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 12px;
}
.step-icon { font-size: 1.8rem; margin-bottom: 14px; }
.step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.step-connector {
  width: 60px;
  height: 1px;
  background: var(--gradient);
  margin-top: 60px;
  flex-shrink: 0;
  transform-origin: left center;
  opacity: 0.6;
}

/* --- Social Proof --- */
.testimonial {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(37,99,235,0.03) 50%, var(--bg) 100%);
}
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  margin-bottom: 56px;
}
.proof-card--tg {
  background: #0f1923;
  border: 1px solid rgba(37,99,235,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.proof-tg-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: #161b22;
}
.proof-tg-icon { font-size: 1.4rem; }
.proof-tg-name { font-size: 0.9rem; font-weight: 600; color: #e6edf3; }
.proof-tg-sub { font-size: 0.7rem; color: #8b949e; }
.proof-tg-live {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 5px;
}
.proof-tg-live .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
.proof-tg-msgs { padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.proof-msg {
  background: #1e2a38;
  border-radius: 10px 10px 10px 2px;
  padding: 12px 16px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #c9d1d9;
  border-left: 2px solid rgba(37,99,235,0.4);
}
.proof-msg strong { color: #e6edf3; display: block; margin-bottom: 4px; }
.proof-msg em { color: #8b949e; font-style: normal; font-size: 0.72rem; display: block; margin-top: 4px; }

.proof-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}
.proof-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.3s;
}
.proof-stat-card:hover { border-color: var(--border-bright); }
.proof-stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}
.proof-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.proof-stat-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.main-quote {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  max-width: 820px;
  margin: 0 auto;
}
.quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--brand-primary);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.main-quote p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin-bottom: 20px;
}
.main-quote cite {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-style: normal;
}
.main-quote cite strong { font-size: 0.9rem; color: var(--text); }
.main-quote cite span { font-size: 0.8rem; color: var(--text-dim); }

/* --- Pricing --- */
.pricing {
  padding: 100px 0;
  background: var(--bg-2);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
  border-color: rgba(var(--brand-primary-rgb), 0.35);
  background: rgba(var(--brand-primary-rgb), 0.04);
  box-shadow: 0 0 0 1px rgba(var(--brand-primary-rgb), 0.15), 0 20px 60px rgba(var(--brand-primary-rgb), 0.1);
}
.featured-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}
.pricing-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
  line-height: 1;
}
.pricing-currency { font-size: 1.4rem; vertical-align: top; margin-top: 8px; display: inline-block; }
.pricing-period { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.pricing-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  margin-top: 8px;
  line-height: 1.5;
}
.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li { font-size: 0.85rem; display: flex; align-items: center; gap: 10px; }
.pf-check {
  color: var(--green);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.pf-muted { color: var(--text-dim); flex-shrink: 0; }
.pricing-features li:has(.pf-muted) { color: var(--text-dim); }

/* --- FAQ --- */
.faq { padding: 100px 0; }
.faq-list {
  max-width: 720px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--brand-primary-light); }
.faq-arrow {
  color: var(--text-dim);
  transition: transform 0.3s;
  flex-shrink: 0;
  font-size: 1rem;
}
.faq-item.active .faq-arrow { transform: rotate(180deg); color: var(--brand-primary-light); }
.faq-item.active .faq-question { color: var(--brand-primary-light); }
.faq-answer {
  overflow: hidden;
  height: 0;
}
.faq-answer-inner {
  padding: 0 0 20px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-answer-inner strong { color: var(--text); }

/* --- Signup --- */
.signup { padding: 100px 0; }
.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.signup-benefits {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.signup-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.sb-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}
.form-group input,
.form-group select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus {
  border-color: rgba(var(--brand-primary-rgb), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.1);
}
.form-group input::placeholder { color: var(--text-dim); }
.form-group select option { background: #1a1a1a; color: var(--text); }
.form-trust {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 12px;
}
.success-message {
  text-align: center;
  padding: 32px 20px;
}
.success-icon { font-size: 2.5rem; margin-bottom: 12px; }
.success-message h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }
.success-message p { color: var(--text-muted); font-size: 0.9rem; }

/* --- Footer --- */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 260px; }
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
}
.footer-legal {
  font-size: 0.75rem !important;
  color: var(--text-dim) !important;
  margin-top: 6px !important;
}
.footer-links { display: flex; gap: 48px; }
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer-bottom a { color: var(--text-dim); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--brand-primary-light); }

/* ============================================
   RESPONSIVE — Mobile < 600px
   ============================================ */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 100px 20px 60px;
    gap: 40px;
  }
  .hero h1 { font-size: 2rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .terminal-wrap { order: -1; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

  .pain-grid { grid-template-columns: 1fr; }
  .pain-card--full { grid-column: auto; }

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

  .steps { flex-direction: column; gap: 0; }
  .step-connector { width: 2px; height: 32px; margin: 0 auto; }

  .proof-grid { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: 1fr 1fr; }

  .main-quote { padding: 28px 24px; }

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

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

  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 900px) and (min-width: 601px) {
  .hero-content { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; }
  .step-connector { width: 2px; height: 24px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .signup-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
}
