/* ==========================================================================
   machefAI Main Stylesheet — by Quitebold
   ========================================================================== */

/* --- Custom Properties & Design Tokens --- */
:root {
  /* Colors */
  --bg-obsidian: #050508;
  --bg-card: #0c0c0e;
  --bg-card-hover: #121217;
  --text-primary: #f5f5f7;
  --text-muted: rgba(245, 245, 247, 0.6);
  --text-dim: rgba(245, 245, 247, 0.35);
  
  /* HSL Tailored Brand Accents (Trustworthy Blue & Teal) */
  --cobalt-hue: 221;
  --cobalt: hsl(var(--cobalt-hue), 83%, 53%); /* Royal Blue #2563EB */
  --cobalt-glow: hsla(var(--cobalt-hue), 83%, 53%, 0.12);
  --cobalt-glow-strong: hsla(var(--cobalt-hue), 83%, 53%, 0.28);
  --cobalt-rgb: 37, 99, 235;
  
  --tuscan-sun-hue: 162;
  --tuscan-sun: hsl(var(--tuscan-sun-hue), 75%, 45%); /* Trust Teal #10B981 */
  --tuscan-sun-glow: hsla(var(--tuscan-sun-hue), 75%, 45%, 0.12);
  
  --coral-hue: 195;
  --coral: hsl(var(--coral-hue), 70%, 50%); /* Soft Sky Blue #0EA5E9 */
  --coral-glow: hsla(var(--coral-hue), 70%, 50%, 0.12);
  
  --border: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(255, 255, 255, 0.12);
  
  /* Fonts */
  --font-headings: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'DM Mono', monospace;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background-color: var(--bg-obsidian);
}

body {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.625;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
  background: #15151c;
  border-radius: 5px;
  border: 2px solid var(--bg-obsidian);
}
::-webkit-scrollbar-thumb:hover {
  background: #25252f;
}

/* --- Noise & Dot Grid Overlay (Inspired by Creative Tech Aesthetics) --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: -1;
}

/* --- Layout Utility Classes --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Scroll Reveal Logic --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Navigation Bar --- */
.navbar {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 880px;
  height: 54px;
  padding: 0 6px 0 16px;
  margin: 0 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background-color: rgba(10, 10, 12, 0.65);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.02);
  pointer-events: auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  text-decoration: none;
  user-select: none;
}

/* --- machefAI Hero — Big Statement --- */
.hero-problem {
  font-family: var(--font-headings);
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.hero-machefai {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: clamp(80px, 13vw, 160px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #ffffff 25%, var(--cobalt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 28px;
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.btn-hero-big {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  padding: 0 40px;
  background-color: var(--cobalt);
  color: #fff;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 17px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(var(--cobalt-rgb), 0.4);
  transition: var(--transition-fast);
}

.btn-hero-big:hover {
  background-color: hsl(var(--cobalt-hue), 90%, 58%);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(var(--cobalt-rgb), 0.55);
}

.btn-hero-big:hover .btn-arrow {
  transform: translateX(4px);
}

.hero-whatsapp-link {
  font-size: 13.5px;
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.15);
  transition: var(--transition-fast);
}

.hero-whatsapp-link:hover {
  color: var(--text-muted);
}

.hero-trust-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-trust-strip span {
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-check {
  color: var(--tuscan-sun);
  font-weight: 700;
  font-size: 14px;
}

/* --- How It Works --- */
.how-simple-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
  background-color: #070709;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background-color: var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 32px;
}

.how-step {
  background-color: var(--bg-card);
  padding: 48px 36px;
  text-align: center;
  transition: var(--transition-fast);
}

.how-step:hover {
  background-color: var(--bg-card-hover);
}

.how-step-num {
  font-family: var(--font-headings);
  font-size: 64px;
  font-weight: 700;
  color: var(--cobalt);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.how-step h3 {
  font-family: var(--font-headings);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.how-step p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .how-steps {
    grid-template-columns: 1fr;
  }
}

/* --- Solution / Benefits --- */
.solution-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.benefit-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  transition: var(--transition-smooth);
}

.benefit-card:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.benefit-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-family: var(--font-headings);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.benefit-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.benefit-proof {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 12px;
  font-weight: 600;
  color: var(--cobalt);
  background: var(--cobalt-glow);
  border: 1px solid rgba(var(--cobalt-rgb), 0.2);
  border-radius: 100px;
  padding: 5px 14px;
}

.solution-more {
  margin-top: 28px;
  text-align: center;
}

.solution-more p {
  font-size: 13.5px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  display: inline-block;
  padding: 10px 24px;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .hero-machefai {
    font-size: clamp(60px, 18vw, 120px);
  }
}

/* --- Logo Wordmark --- */
.logo-wordmark {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
}

.logo-ai-highlight {
  color: var(--cobalt);
}

.logo-tld {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0;
  margin-left: 1px;
}

.footer-brand-sub {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
  letter-spacing: -0.01em;
}

.nav-link:hover {
  color: var(--text-primary);
  text-shadow: 0 0 12px rgba(255,255,255,0.2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-badge {
  font-family: var(--font-headings);
  font-size: 10px;
  font-weight: 500;
  color: var(--tuscan-sun);
  background-color: var(--tuscan-sun-glow);
  border: 1px solid rgba(255, 162, 26, 0.25);
  border-radius: 100px;
  padding: 3px 10px;
  letter-spacing: 0.04em;
}

.btn-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background-color: var(--cobalt);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(var(--cobalt-rgb), 0.2);
  transition: var(--transition-fast);
}

.btn-nav-cta:hover {
  background-color: hsl(var(--cobalt-hue), 90%, 57%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(var(--cobalt-rgb), 0.35);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-line {
  width: 100%;
  height: 1.5px;
  background-color: var(--text-primary);
  border-radius: 4px;
  transition: var(--transition-fast);
}

/* Mobile Dropdown Container */
.mobile-menu {
  position: fixed;
  top: 80px;
  left: 16px;
  right: 16px;
  z-index: 999;
  display: none;
  background-color: rgba(12, 12, 14, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-fast);
}

.mobile-link:hover {
  color: var(--text-primary);
}

.btn-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background-color: var(--cobalt);
  border-radius: 12px;
  text-decoration: none;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}

/* Radial Glows */
.hero-glow-top {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(var(--cobalt-rgb), 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.hero-glow-bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 1200px;
  height: 600px;
  background: radial-gradient(ellipse at bottom, rgba(255, 162, 26, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.badge-accent {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: var(--cobalt);
  color: #fff;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 9px;
  border-radius: 3px;
}

.badge-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-title {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: clamp(38px, 6.5vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
  max-width: 860px;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 40%, var(--cobalt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 19px);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 28px;
}

/* CTA Input Capsule */
.hero-cta-container {
  width: 100%;
  max-width: 460px;
  margin-bottom: 20px;
}

.hero-cta-form {
  display: flex;
  align-items: center;
  background-color: #0c0c0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition: var(--transition-fast);
}

.hero-cta-form:focus-within {
  border-color: var(--cobalt-glow-strong);
  box-shadow: 0 0 0 4px var(--cobalt-glow), 0 16px 40px rgba(0, 0, 0, 0.4);
}

.hero-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  min-width: 0;
}

.hero-input::placeholder {
  color: var(--text-dim);
}

.btn-hero-submit {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: 100px;
  background-color: var(--text-primary);
  color: var(--bg-obsidian);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-hero-submit:hover {
  background-color: #fff;
  transform: translateX(1px);
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn-hero-submit:hover .btn-arrow {
  transform: translateX(3px);
}

.hero-subtext {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* --- Hero Product Preview Card --- */
.hero-product-preview {
  margin-top: 28px;
  width: 100%;
  max-width: 640px;
  background-color: #0a0a0d;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.03);
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background-color: #070709;
  border-bottom: 1px solid var(--border);
}

.preview-dots {
  display: flex;
  gap: 5px;
}

.preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2a2a30;
}

.preview-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  flex: 1;
  text-align: center;
}

.preview-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--tuscan-sun);
}

.preview-live-dot {
  width: 6px;
  height: 6px;
  background-color: var(--tuscan-sun);
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
}

.preview-body {
  padding: 8px 0;
}

.preview-agent {
  display: grid;
  grid-template-columns: 12px 1fr 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: background-color 0.2s;
}

.preview-agent:last-child {
  border-bottom: none;
}

.preview-agent:hover {
  background-color: rgba(255,255,255,0.02);
}

.preview-agent-status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.preview-agent-status.running {
  background-color: var(--tuscan-sun);
  box-shadow: 0 0 6px var(--tuscan-sun);
  animation: pulse-glow 2s infinite;
}

.preview-agent-name {
  font-family: var(--font-headings);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

.preview-agent-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-agent-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.preview-agent-badge.success {
  color: var(--tuscan-sun);
  background-color: var(--tuscan-sun-glow);
}

.preview-agent-badge.pending {
  color: var(--cobalt);
  background-color: var(--cobalt-glow);
}

.preview-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 16px;
  background-color: #070709;
  border-top: 1px solid var(--border);
}

.preview-stat {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
}

.preview-stat-val {
  color: var(--text-primary);
  font-weight: 600;
}

.preview-divider {
  width: 1px;
  height: 14px;
  background-color: var(--border);
}

/* --- Tools Strip --- */
.clients-section {
  padding: 36px 24px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  background-color: #050508;
}

.clients-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.clients-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
}

.client-name {
  font-family: var(--font-headings);
  font-size: 15px;
  font-weight: 600;
  color: rgba(245, 245, 247, 0.35);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.client-name:hover {
  color: rgba(245, 245, 247, 0.65);
}

.clients-sep {
  color: var(--border-hover);
  font-size: 14px;
}

/* --- Agents Bento Grid --- */
.agents-bento {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.agent-featured {
  width: 100%;
}

.agent-featured-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.agent-featured-content {
  display: flex;
  flex-direction: column;
}

.agent-stat-row {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.agent-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.agent-stat-val {
  font-family: var(--font-headings);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.agent-stat-lbl {
  font-size: 11.5px;
  color: var(--text-dim);
}

/* Mini terminal inside featured agent */
.agent-featured-terminal {
  background-color: #040406;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.mini-term-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background-color: #070709;
  border-bottom: 1px solid var(--border);
}

.mini-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.mini-dot.r { background-color: #ef4444; }
.mini-dot.y { background-color: #f59e0b; }
.mini-dot.g { background-color: #10b981; }

.mini-term-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  margin-left: 4px;
}

.mini-term-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-line {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-muted);
}

.mt-ts { color: #3b82f6; }
.mt-ok { color: #10b981; }
.mt-ai { color: #06b6d4; }

.agents-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.agents-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 980px) {
  .agent-featured-inner {
    grid-template-columns: 1fr;
  }
  .agents-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .agents-grid-3 {
    grid-template-columns: 1fr;
  }
  .hero-product-preview {
    display: none;
  }
  .agent-stat-row {
    flex-direction: column;
    gap: 16px;
  }
}

/* --- Marquee/Integrations Section --- */
.marquee-section {
  position: relative;
  background-color: #070709;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 0 54px;
  overflow: hidden;
}

.marquee-gradient-left,
.marquee-gradient-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  pointer-events: none;
  z-index: 2;
}

.marquee-gradient-left {
  left: 0;
  background: linear-gradient(90deg, #070709 0%, transparent 100%);
}

.marquee-gradient-right {
  right: 0;
  background: linear-gradient(-90deg, #070709 0%, transparent 100%);
}

.marquee-label {
  text-align: center;
  font-size: 13px;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.marquee-track-container {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  gap: 20px;
  white-space: nowrap;
  animation: scroll-loop 36s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 18px;
  font-family: var(--font-headings);
  font-size: 14px;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.marquee-item:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-card-hover);
}

/* Logo Icons */
.tool-icon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* CSS Drawn Badges */
.n8n-logo { background-color: #ff6d5a; border-radius: 50%; }
.anthropic-logo { background-color: #d97706; border-radius: 3px; }
.whatsapp-logo { background-color: #22c55e; border-radius: 50%; }
.gmail-logo { background-color: #ef4444; }
.slack-logo { background-color: #4a154b; }
.stripe-logo { background-color: #6366f1; }
.sheets-logo { background-color: #10b981; }
.hubspot-logo { background-color: #f97316; }
.activecampaign-logo { background-color: #3b82f6; }
.drive-logo { background-color: #facc15; }

/* Real client indicators */
.client-tag {
  color: var(--tuscan-sun) !important;
  border-color: rgba(255, 162, 26, 0.2) !important;
}

@keyframes scroll-loop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Walkthrough / Simulator --- */
.demo-section {
  padding: 72px 0;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.demo-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.section-title {
  font-family: var(--font-headings);
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 15px;
}

/* Simulator Card Frame */
.simulator-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  border: 1px solid var(--border);
  border-radius: 20px;
  background-color: var(--bg-card);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  min-height: 480px;
}

.simulator-sidebar {
  border-right: 1px solid var(--border);
  background-color: #070709;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-muted);
}

.sim-tab:hover {
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
}

.sim-tab.active {
  background-color: var(--bg-card-hover);
  border-color: var(--border);
  color: var(--text-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

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

.sim-tab-text {
  display: flex;
  flex-direction: column;
}

.sim-tab-title {
  font-size: 13px;
  font-weight: 600;
}

.sim-tab-desc {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 1px;
}

.simulator-main {
  display: flex;
  flex-direction: column;
  background-color: #040406;
}

.sim-window-header {
  height: 44px;
  border-bottom: 1px solid var(--border);
  background-color: #070709;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.sim-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.sim-window-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.sim-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cobalt);
  font-weight: 500;
}

.sim-status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--cobalt);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cobalt);
  animation: pulse-glow 2s infinite;
}

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

/* Terminal Console styling */
.sim-terminal {
  flex: 1;
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
  overflow-y: auto;
  transition: opacity 0.15s ease-in-out;
}

.terminal-slide {
  display: none;
}

.terminal-slide.active {
  display: block;
}

.terminal-line {
  margin-bottom: 12px;
  white-space: pre-wrap;
}

.terminal-block {
  margin-top: 10px;
  margin-left: 20px;
  background-color: #07070a;
  border-left: 2px solid var(--cobalt);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  color: var(--text-muted);
}

/* Terminal Highlight Colors */
.t-blue { color: #3b82f6; }
.t-green { color: #10b981; }
.t-yellow { color: var(--tuscan-sun); }
.t-cyan { color: #06b6d4; }

/* --- Section Formatting --- */
.section-tag {
  font-family: var(--font-headings);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cobalt);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-h2 {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: clamp(30px, 4.5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc-light {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 28px;
}

/* --- Problem Cards --- */
.problem-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.problem-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.card-num {
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.card-icon {
  width: 44px;
  height: 44px;
  background-color: var(--cobalt-glow);
  border: 1px solid rgba(var(--cobalt-rgb), 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 24px;
}

.problem-card h3 {
  font-family: var(--font-headings);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Before vs After Comparison Block --- */
.comparison-block {
  margin-top: 60px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.comparison-header {
  text-align: center;
  margin-bottom: 32px;
}

.comparison-header h3 {
  font-family: var(--font-headings);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.comparison-header p {
  font-size: 14px;
  color: var(--text-muted);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  position: relative;
}

.comparison-grid::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background-color: var(--border);
  transform: translateX(-50%);
}

.comp-col {
  padding: 8px;
}

.comp-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.comp-dot-red {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 10px #ef4444;
}

.comp-dot-green {
  width: 8px;
  height: 8px;
  background-color: var(--tuscan-sun);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--tuscan-sun);
}

.comp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comp-list li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.comp-list-icon {
  font-size: 16px;
  line-height: 1.2;
}

.comp-list li strong {
  color: var(--text-primary);
}

.comp-list li p, .comp-list li div {
  color: var(--text-muted);
}

/* --- Agent Cards --- */
.product-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.agent-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  transition: var(--transition-smooth);
}

.agent-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.agent-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cobalt);
  background-color: var(--cobalt-glow);
  border: 1px solid rgba(var(--cobalt-rgb), 0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

.agent-icon {
  font-size: 28px;
  margin-bottom: 20px;
  display: block;
}

.agent-card h3 {
  font-family: var(--font-headings);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 4px;
}

.agent-tech {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--tuscan-sun);
  margin-bottom: 16px;
}

.agent-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Specific Badge Colors */
#agent-card-1 .agent-badge,
#agent-card-6 .agent-badge {
  color: var(--coral);
  background-color: var(--coral-glow);
  border-color: rgba(216, 90, 48, 0.15);
}

#agent-card-2 .agent-badge,
#agent-card-5 .agent-badge {
  color: var(--cobalt);
  background-color: var(--cobalt-glow);
  border-color: rgba(var(--cobalt-rgb), 0.15);
}

#agent-card-3 .agent-badge {
  color: #a855f7;
  background-color: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.15);
}

#agent-card-4 .agent-badge {
  color: var(--tuscan-sun);
  background-color: var(--tuscan-sun-glow);
  border-color: rgba(255, 162, 26, 0.15);
}

/* --- Method Section --- */
.how-section {
  padding: 72px 0;
  background-color: #070709;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background-color: var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 28px;
}

.step-card {
  background-color: var(--bg-card);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition-fast);
}

.step-card:hover {
  background-color: var(--bg-card-hover);
}

.step-num {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-primary);
  background-color: #070709;
}

.step-card h4 {
  font-family: var(--font-headings);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Proof & Case Study Section --- */
.proof-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.quotes-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.quote-card {
  background-color: var(--bg-card);
  border-left: 3px solid var(--cobalt);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 16px 16px 0;
  padding: 36px;
}

.quote-text {
  font-size: 16px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--cobalt-glow);
  border: 1px solid rgba(var(--cobalt-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--cobalt);
  user-select: none;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  font-size: 13.5px;
  font-weight: 600;
}

.author-info span {
  font-size: 11px;
  color: var(--text-dim);
}

/* Metrics counters */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background-color: var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.metric-box {
  background-color: var(--bg-card);
  padding: 32px;
  text-align: center;
  transition: var(--transition-fast);
}

.metric-box:hover {
  background-color: var(--bg-card-hover);
}

.metric-value {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.metric-unit {
  color: var(--cobalt);
}

.metric-label {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 180px;
  margin: 0 auto;
}

/* --- Target Sectors Section --- */
.target-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.target-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: var(--transition-fast);
}

.target-card:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-card-hover);
}

.target-icon-small {
  font-size: 24px;
  margin-bottom: 14px;
  display: block;
}

.target-card h4 {
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.target-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Pricing Section --- */
.pricing-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 28px;
}

.price-card {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

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

.price-card.featured {
  border-color: var(--cobalt);
  background: linear-gradient(180deg, rgba(var(--cobalt-rgb), 0.04) 0%, rgba(12, 12, 14, 0) 100%), var(--bg-card);
  box-shadow: 0 24px 64px rgba(var(--cobalt-rgb), 0.1);
}

.price-featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--cobalt);
  color: #fff;
  font-family: var(--font-headings);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(var(--cobalt-rgb), 0.4);
}

.price-header {
  margin-bottom: 24px;
}

.price-plan-name {
  font-family: var(--font-headings);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
  margin-bottom: 8px;
}

.price-card.featured .price-plan-name {
  color: var(--cobalt);
}

.price-header h3 {
  font-family: var(--font-headings);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.price-plan-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.price-box {
  margin-bottom: 32px;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 0;
  margin-bottom: 8px;
}

.price-value-prefix {
  font-family: var(--font-headings);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  margin-right: 6px;
}

.price-currency {
  font-family: var(--font-headings);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 2px;
  align-self: flex-start;
  padding-top: 6px;
}

.price-value {
  font-family: var(--font-headings);
  font-size: 64px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 6px;
}

.price-setup {
  font-size: 12.5px;
  color: var(--text-dim);
  display: block;
}

.pricing-trust {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 36px;
  letter-spacing: 0.01em;
}

.pricing-universal {
  margin-top: 32px;
  text-align: center;
}

.pricing-universal p {
  font-size: 13px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  display: inline-block;
  padding: 10px 28px;
  line-height: 1.6;
}

.price-divider {
  height: 1px;
  background-color: var(--border);
  margin-bottom: 32px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  flex: 1;
}

.price-features li {
  position: relative;
  font-size: 13.5px;
  color: var(--text-muted);
  padding-left: 20px;
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cobalt);
  font-weight: 700;
  font-size: 13px;
}

.btn-price-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.02);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-price-cta:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.price-card.featured .btn-price-cta {
  background-color: var(--text-primary);
  color: var(--bg-obsidian);
  border: none;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.price-card.featured .btn-price-cta:hover {
  background-color: #fff;
  transform: translateY(-1px);
}

/* --- About Section --- */
.about-section {
  padding: 72px 0;
  background-color: #070709;
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.about-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-desc strong {
  color: var(--text-primary);
  font-weight: 500;
}

.partner-badges {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.partner-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.about-stats-container {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background-color: var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.about-stat-row {
  background-color: var(--bg-card);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

.about-stat-val {
  font-family: var(--font-headings);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
}

.cta-glow {
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(var(--cobalt-rgb), 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.text-gradient-coral {
  background: linear-gradient(135deg, #ffffff 30%, var(--cobalt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-desc {
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.btn-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 40px;
  background-color: var(--cobalt);
  color: #fff;
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  transition: var(--transition-fast);
  box-shadow: 0 8px 32px rgba(var(--cobalt-rgb), 0.4);
}

.btn-cta-primary:hover {
  background-color: hsl(var(--cobalt-hue), 90%, 58%);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(var(--cobalt-rgb), 0.55);
}

.btn-cta-secondary {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 100px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-cta-secondary:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.arrow-up-right {
  transition: transform 0.2s ease;
}

.btn-cta-secondary:hover .arrow-up-right {
  transform: translate(2px, -2px);
}

.cta-contacts {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-dim);
}

/* --- FAQ Section --- */
.faq-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.faq-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background-color: var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.faq-item {
  background-color: var(--bg-card);
  transition: background-color 0.2s ease;
}

.faq-item.open {
  background-color: var(--bg-card-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
  gap: 24px;
}

.faq-question:hover {
  color: #fff;
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--cobalt);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
  padding: 0 32px 28px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 720px;
}

@media (max-width: 768px) {
  .faq-question {
    padding: 20px 20px;
    font-size: 15px;
  }
  .faq-answer p {
    padding: 0 20px 20px;
  }
}

/* --- Footer --- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background-color: #050508;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font-family: var(--font-headings);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.footer-brand span {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.footer-copy {
  font-size: 11.5px;
  color: var(--text-dim);
}

.footer-copy a {
  color: var(--text-dim);
  text-decoration: none;
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 980px) {
  .simulator-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .simulator-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
    flex-direction: row;
    overflow-x: auto;
    padding: 12px;
  }

  .sim-tab {
    padding: 8px 12px;
    flex-shrink: 0;
  }

  .sim-tab-desc {
    display: none;
  }

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

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

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

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

@media (max-width: 768px) {
  /* --- Navigation --- */
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* --- Global section padding reduction --- */
  .problem-section,
  .solution-section,
  .how-simple-section,
  .proof-section,
  .pricing-section,
  .faq-section {
    padding: 48px 0;
  }

  .cta-section {
    padding: 64px 0;
  }

  /* --- Hero --- */
  .hero-section {
    min-height: 100svh;
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .hero-subtitle br {
    display: none;
  }

  /* Full-width CTA button */
  .btn-hero-big {
    width: 100%;
    max-width: 400px;
    height: 58px;
    font-size: 16px;
    justify-content: center;
  }

  /* Bigger tap target for WhatsApp link */
  .hero-whatsapp-link {
    padding: 10px 0;
    font-size: 14px;
  }

  /* Trust strip: tighter on tablet */
  .hero-trust-strip {
    gap: 16px;
  }

  /* --- Grids to single column --- */
  .problem-grid,
  .agents-grid,
  .quotes-container,
  .target-grid {
    grid-template-columns: 1fr;
  }

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

  .steps-container {
    grid-template-columns: 1fr;
  }

  /* --- How It Works steps --- */
  .how-steps {
    grid-template-columns: 1fr;
  }

  .how-step {
    padding: 36px 24px;
  }

  /* --- Proof / Quote --- */
  .quote-card {
    padding: 24px 20px;
  }

  .quote-text {
    font-size: 15px;
  }

  /* --- Pricing --- */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  .price-card {
    padding: 36px 28px;
  }

  /* Pricing universal pill: block, left-aligned on mobile */
  .pricing-universal p {
    border-radius: 12px;
    display: block;
    text-align: left;
    padding: 16px 20px;
    line-height: 1.8;
  }

  /* --- CTA section --- */
  .btn-cta-primary {
    width: 100%;
    max-width: 360px;
  }

  /* Old form elements (kept for safety) */
  .hero-cta-form {
    border-radius: 18px;
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }

  .hero-input {
    width: 100%;
    text-align: center;
    padding: 4px 0;
  }

  .btn-hero-submit {
    width: 100%;
    height: 48px;
    border-radius: 12px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .btn-cta-secondary {
    width: 100%;
  }

  /* --- Footer --- */
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

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

@media (max-width: 480px) {
  /* Container tighter padding */
  .container {
    padding: 0 16px;
  }

  /* Metric boxes stack */
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metric-box {
    padding: 24px 16px;
  }

  /* Trust strip: 2 × 2 grid */
  .hero-trust-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    justify-items: start;
    width: 100%;
    max-width: 320px;
  }

  .hero-trust-strip span {
    font-size: 12px;
  }

  /* Hero machefAI tighter on very small screens */
  .hero-machefai {
    font-size: clamp(58px, 17vw, 100px);
  }

  /* Pricing trust text: separate with line breaks */
  .pricing-trust {
    font-size: 12.5px;
    line-height: 2;
  }

  /* Price card more compact */
  .price-card {
    padding: 28px 20px;
  }

  /* FAQ tap target */
  .faq-question {
    padding: 20px 16px;
    font-size: 15px;
  }

  .faq-answer p {
    padding: 0 16px 20px;
  }
}
