/* ═══════════════════════════════════════════════════════════
   ELIZA AI Solutions — Shared Stylesheet
   Brand: Deep Navy + Electric Cyan + Neon Green
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Orbitron:wght@400;500;600;700;800&display=swap');

:root {
  --navy:        #050D1F;
  --navy-2:      #0A1628;
  --navy-3:      #0D1B3E;
  --navy-4:      #112040;
  --cyan:        #00D4FF;
  --cyan-dim:    rgba(0,212,255,0.15);
  --cyan-glow:   rgba(0,212,255,0.35);
  --green:       #00FF88;
  --green-dim:   rgba(0,255,136,0.12);
  --green-glow:  rgba(0,255,136,0.3);
  --white:       #F8FAFC;
  --muted:       #94A3B8;
  --muted-2:     #64748B;
  --glass-bg:    rgba(255,255,255,0.03);
  --glass-bg-2:  rgba(255,255,255,0.06);
  --glass-border:rgba(0,212,255,0.15);
  --glass-border-hover: rgba(0,212,255,0.4);
  --radius:      16px;
  --radius-sm:   10px;
  --transition:  all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
.font-display { font-family: 'Orbitron', monospace; }

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

h1,h2,h3,h4,h5 { line-height: 1.2; }
a { color: inherit; text-decoration: none; }

/* ─── ANIMATED BACKGROUND ────────────────────────────────── */
.bg-animated {
  background: linear-gradient(-45deg, #050D1F, #0A1628, #0D1B3E, #050D1F);
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ─── PARTICLE GRID ──────────────────────────────────────── */
.particle-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(0,212,255,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
  0%   { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

/* ─── GLOW ORBS ──────────────────────────────────────────── */
.glow-orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  pointer-events: none; animation: orbFloat 8s ease-in-out infinite;
}
.glow-orb-cyan  { background: rgba(0,212,255,0.15); }
.glow-orb-green { background: rgba(0,255,136,0.1); animation-delay: -4s; }

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(5,13,31,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,212,255,0.08);
  transition: var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--glass-border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.nav-container {
  max-width: 1280px; margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
}
/* Row 1: logo left, CTA right — fixed height so logo doesn't bleed */
.nav-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 116px;        /* matches logo height + padding */
  padding: 8px 0 4px;
}
/* Row 2: links — aligned left, offset to sit under "Operating" */
.nav-row-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 10px 0 12px;
  padding-left: 220px;
  gap: 0;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Orbitron', monospace; font-size: 1.2rem; font-weight: 700;
  cursor: pointer; flex-shrink: 0;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.nav-links {
  display: flex; align-items: center;
  gap: 18px; list-style: none; flex-wrap: nowrap; justify-content: flex-start;
  overflow: hidden;
}
.nav-links a {
  font-size: 0.82rem; font-weight: 500; color: var(--muted);
  transition: var(--transition); white-space: nowrap;
}
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
  display: flex; gap: 12px; align-items: center; flex-shrink: 0;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: rgba(5,13,31,0.97);
  backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.5rem; font-weight: 600; color: var(--white);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--cyan); }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: var(--transition); border: none; font-family: inherit;
  text-decoration: none;
}
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #0099CC);
  color: var(--navy);
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0,212,255,0.5);
}

.btn-green {
  background: linear-gradient(135deg, var(--green), #00CC66);
  color: var(--navy);
  box-shadow: 0 0 20px rgba(0,255,136,0.25);
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0,255,136,0.4);
}

.btn-ghost {
  background: var(--glass-bg-2);
  color: var(--white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,212,255,0.08);
}

.btn-outline-cyan {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
}
.btn-outline-cyan:hover {
  background: rgba(0,212,255,0.1);
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
}

/* ─── GLASS CARDS ────────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}
.glass-card:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-2);
  box-shadow: 0 0 30px rgba(0,212,255,0.1), 0 20px 60px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}
.glass-card-green:hover {
  border-color: rgba(0,255,136,0.4);
  box-shadow: 0 0 30px rgba(0,255,136,0.1), 0 20px 60px rgba(0,0,0,0.3);
}

/* ─── SECTION STYLES ─────────────────────────────────────── */
section { position: relative; overflow: hidden; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 24px; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: block;
  width: 24px; height: 1px; background: var(--cyan);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.15;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1.05rem; color: var(--muted);
  max-width: 580px; line-height: 1.7;
}

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
}

/* ─── STAT COUNTERS ──────────────────────────────────────── */
.stat-card {
  text-align: center; padding: 32px 24px;
}
.stat-number {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem; font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }

/* ─── BADGE PILLS ────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 500;
}
.badge-cyan {
  background: rgba(0,212,255,0.1); color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.25);
}
.badge-green {
  background: rgba(0,255,136,0.1); color: var(--green);
  border: 1px solid rgba(0,255,136,0.25);
}

/* ─── SERVICE CARDS ──────────────────────────────────────── */
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(0,212,255,0.05));
  border: 1px solid rgba(0,212,255,0.2);
}
.service-icon svg { width: 24px; height: 24px; stroke: var(--cyan); }

/* ─── PRICING CARDS ──────────────────────────────────────── */
.pricing-card {
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative; overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(0,212,255,0.15), 0 30px 80px rgba(0,0,0,0.4);
}
.pricing-card.popular {
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(0,255,136,0.04));
  box-shadow: 0 0 30px rgba(0,212,255,0.2);
}
.popular-badge {
  position: absolute; top: -1px; right: 28px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: var(--navy); font-size: 0.72rem; font-weight: 700;
  padding: 6px 16px; border-radius: 0 0 10px 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.price-amount {
  font-family: 'Orbitron', monospace;
  font-size: 2.8rem; font-weight: 700; line-height: 1;
}
.price-period { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.feature-list { list-style: none; margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--muted);
}
.check-icon { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--cyan); margin-top: 1px; }

/* ─── WORKFLOW DIAGRAM ───────────────────────────────────── */
.workflow-node {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  cursor: default;
}
.workflow-icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-bg-2);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  position: relative;
}
.workflow-icon:hover, .workflow-icon.active {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,212,255,0.4);
  background: rgba(0,212,255,0.08);
}
.workflow-icon svg { width: 28px; height: 28px; }
.workflow-label { font-size: 0.78rem; font-weight: 500; color: var(--muted); text-align: center; max-width: 72px; }
.workflow-arrow {
  color: var(--cyan); display: flex; align-items: center;
  animation: arrowPulse 2s ease-in-out infinite;
}
@keyframes arrowPulse {
  0%,100% { opacity: 0.4; transform: translateX(0); }
  50%      { opacity: 1; transform: translateX(4px); }
}

/* ─── INDUSTRY CARDS ─────────────────────────────────────── */
.industry-card {
  padding: 28px 24px; text-align: center; cursor: default;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  transition: var(--transition);
}
.industry-card:hover {
  border-color: var(--green);
  box-shadow: 0 0 25px rgba(0,255,136,0.15);
  transform: translateY(-4px);
}
.industry-card:hover .industry-icon { border-color: var(--green); box-shadow: 0 0 15px rgba(0,255,136,0.3); }
.industry-icon {
  width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.2);
  transition: var(--transition);
}
.industry-icon svg { width: 26px; height: 26px; stroke: var(--green); }

/* ─── WHY ELIZA ──────────────────────────────────────────── */
.why-item {
  display: flex; gap: 16px; align-items: flex-start; padding: 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: var(--transition);
}
.why-item:hover { border-color: var(--glass-border); background: var(--glass-bg); }
.why-num {
  font-family: 'Orbitron', monospace; font-size: 1.5rem; font-weight: 700;
  color: var(--cyan); opacity: 0.3; flex-shrink: 0; width: 40px; line-height: 1;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--navy-2);
  border-top: 1px solid var(--glass-border);
  padding: 72px 0 32px;
}
.footer-logo { font-family: 'Orbitron', monospace; font-size: 1.4rem; font-weight: 700; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.9rem; color: var(--muted); transition: var(--transition); }
.footer-links a:hover { color: var(--cyan); }
.footer-heading { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  cursor: pointer; transition: var(--transition);
}
.social-link:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 12px rgba(0,212,255,0.25); }
.social-link svg { width: 18px; height: 18px; }

/* ─── WHATSAPP FLOAT ─────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: var(--transition); border: none;
  animation: waPulse 2.5s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 6px 30px rgba(37,211,102,0.7); }
.wa-float svg { width: 30px; height: 30px; fill: white; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50%      { box-shadow: 0 4px 35px rgba(37,211,102,0.8), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ─── PROGRESS BAR ───────────────────────────────────────── */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  z-index: 2000; transition: width 0.1s linear; width: 0;
}

/* ─── GRID UTILITIES ─────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 24px; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100vw; }

/* Navbar always full-width, never overflow */
.navbar { width: 100%; max-width: 100vw; overflow: hidden; }
.nav-container { width: 100%; box-sizing: border-box; }

@media (max-width: 1024px) {
  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; padding: 10px; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
  .nav-container { max-width: 100%; padding: 0 16px; }
  .nav-row-links { display: none; }
  .nav-row-top { min-height: auto; padding: 8px 0; }

  /* Grids */
  .grid-4 { grid-template-columns: repeat(2,1fr); }

  /* Hero two-column → single column */
  #cin-hero .cin-inner { grid-template-columns: 1fr !important; }
  #cin-hero .cin-right { display: none !important; }

  /* Second hero section */
  section .container > div[style*="grid-template-columns:1fr 1fr"] {
    display: flex !important; flex-direction: column !important; gap: 40px !important;
  }

  /* Why section two-col */
  .why-section-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  /* Grids */
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); gap: 16px; }

  /* Spacing */
  .section-pad { padding: 56px 0; }
  .section-pad-sm { padding: 40px 0; }
  .container { padding: 0 16px; }

  /* Cards */
  .pricing-card { padding: 28px 20px; }
  .glass-card { padding: 20px !important; }

  /* Footer */
  .footer { padding: 48px 0 24px; }
  .footer > .container > div[style*="grid-template-columns"] {
    display: flex !important; flex-direction: column !important; gap: 32px !important;
  }
  .footer-links a { padding: 8px 0; display: block; min-height: 44px; display: flex; align-items: center; }

  /* Workflow nodes — wrap and shrink */
  .workflow-node { min-width: 60px; }
  .workflow-icon { width: 48px; height: 48px; }
  .workflow-arrow { font-size: 0.8rem; }

  /* Why section */
  section[aria-labelledby="why-heading"] .container > div {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  section[aria-labelledby="why-heading"] .container > div > div:last-child {
    display: none;
  }

  /* Stats section badges */
  .stats-section .container > div:first-child {
    gap: 8px !important;
  }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .section-title { font-size: 1.7rem; }

  /* Hero text */
  .cin-h1 { font-size: 2rem !important; }
  h1[style*="clamp"] { font-size: 2rem !important; }

  /* Buttons stack on very small screens */
  .cin-btns { flex-direction: column; }
  .cin-btns .btn { width: 100%; justify-content: center; }

  /* Pricing */
  .grid-3 { grid-template-columns: 1fr; }

  /* Ticker hide on tiny screens to prevent layout issues */
  .cin-ticker-wrap { display: none; }

  /* Footer bottom bar */
  .footer .container > div:last-child > div:first-child {
    flex-direction: column !important; align-items: flex-start !important;
  }
}

/* ─── INLINE GRID OVERRIDES FOR MOBILE ──────────────────── */
@media (max-width: 900px) {
  .hero-grid    { grid-template-columns: 1fr !important; gap: 40px !important; }
  .why-grid     { grid-template-columns: 1fr !important; gap: 40px !important; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .footer-grid  { grid-template-columns: 1fr 1fr !important; gap: 32px !important; }

  /* LIVE AI DASHBOARD card — constrain to viewport */
  .reveal-right { width: 100% !important; max-width: 100% !important; transform: none !important; overflow: hidden; }
  .reveal-right .glass-card { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }

  /* Dashboard inner row — prevent text pushing card wide */
  .reveal-right .glass-card > div { min-width: 0; }
  .reveal-right .glass-card p { word-break: break-word; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }

  /* Dashboard chat bubbles — fit small screens */
  .reveal-right .glass-card { padding: 16px !important; }
  .reveal-right .glass-card > div > div[style*="flex-direction:column"] > div { max-width: 100% !important; }
}

/* ─── PAGE HERO ──────────────────────────────────────────── */
.page-hero {
  padding: 220px 0 80px;
  background: linear-gradient(180deg, var(--navy-3) 0%, var(--navy) 100%);
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
  position: relative; overflow: hidden;
}

/* ─── DIVIDER LINE ───────────────────────────────────────── */
.cyan-divider {
  width: 60px; height: 2px; margin: 20px 0;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

/* ─── GLOW LINE ──────────────────────────────────────────── */
.glow-line {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  margin: 48px 0;
}

/* ─── COMPREHENSIVE MOBILE FIX ───────────────────────────── */
/* Applies to all phones — 375px (SE), 360px (Android), 320px (small) */
@media (max-width: 767px) {

  /* Force every section and container within viewport */
  section, .container, .container-sm {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  /* Hero section two-column → single column */
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Hide the right-side dashboard card on mobile — it overflows */
  .hero-grid .reveal-right {
    display: none !important;
  }

  /* Second hero (cinematic) — already handled by cin-inner media query */

  /* Why Us section two-column → single column */
  .why-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  /* Hide the stats cards on the right in Why section on mobile */
  .why-grid .reveal-right {
    display: none !important;
  }

  /* Footer grid → single column */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Workflow nodes — wrap and shrink */
  section[aria-labelledby="workflow-heading"] .reveal > div {
    flex-wrap: wrap !important;
    gap: 4px !important;
    justify-content: center !important;
  }
  .workflow-node { min-width: 56px; max-width: 70px; }
  .workflow-icon { width: 44px !important; height: 44px !important; }
  .workflow-icon svg { width: 20px !important; height: 20px !important; }
  .workflow-label { font-size: 0.65rem !important; max-width: 64px; }
  .workflow-arrow { font-size: 0.75rem !important; }

  /* Pricing grid → single column */
  .grid-3 { grid-template-columns: 1fr !important; }

  /* Prevent any inline-styled grids from overflowing */
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Buttons — full width on small screens */
  .cin-btns {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .cin-btns .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Trust bar — wrap cleanly */
  .cin-trust { gap: 12px !important; }
  .cin-divider { display: none; }

  /* Section padding tighter on phones */
  .section-pad { padding: 48px 0 !important; }
  .section-pad-sm { padding: 32px 0 !important; }
  .container { padding: 0 16px !important; }

  /* Glow orbs — clip so they don't cause phantom scroll */
  .glow-orb { max-width: 100vw; overflow: hidden; }

  /* Stat cards — 2 col on phones */
  .grid-4 { grid-template-columns: repeat(2,1fr) !important; gap: 12px !important; }
}
