/* ═══════════════════════════════════════════════════
   VISNEO v4 — REFINED, COMPETITIVE, INVESTOR-GRADE
   Black · White · Green (#00E87A)
   Inter + JetBrains Mono
   ═══════════════════════════════════════════════════ */

:root {
  --bg:       #090C10;
  --surface:  #0F1318;
  --surface2: #151A21;
  --border:   rgba(255,255,255,0.06);
  --border-h: rgba(255,255,255,0.10);

  --white:    #FFFFFF;
  --text:     #E4E6EB;
  --muted:    #9CA3AF;
  --faint:    #4B5563;

  --green:    #00E87A;
  --green-h:  #00CC6A;
  --green-dim:rgba(0,232,122,0.08);
  --green-b:  rgba(0,232,122,0.20);

  --red:      #EF4444;
  --red-dim:  rgba(239,68,68,0.10);

  --font:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:     'JetBrains Mono', 'Consolas', monospace;

  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --radius:   10px;
  --radius-sm:6px;
  --radius-lg:14px;
}

/* ── GLOBAL ── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ── FULL-PAGE CONSTELLATION ── */
#constellation {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

main, footer, .nav {
  position: relative;
  z-index: 1;
}

/* ── SCROLL ANIMATION ── */
.anim { opacity: 0; transform: translateY(12px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.anim.visible { opacity: 1; transform: translateY(0); }


/* ═══════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9,12,16,0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 clamp(1.25rem,4vw,3rem);
}
.nav-brand {
  font-weight: 700; font-size: 1.2rem; color: var(--white);
  letter-spacing: -0.02em; text-decoration: none;
}
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: color 180ms var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 4px; padding: 8px;
  cursor: pointer; background: none; border: none;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--muted); border-radius: 1px; transition: all 200ms; }

.nav-mobile {
  display: none; flex-direction: column; gap: 0.25rem;
  padding: 1rem clamp(1.25rem,4vw,3rem) 1.25rem;
  border-bottom: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1rem; font-weight: 500; color: var(--muted);
  text-decoration: none; padding: 0.5rem 0;
}
.nav-mobile a:hover { color: var(--white); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}


/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font); font-weight: 600; white-space: nowrap;
  cursor: pointer; text-decoration: none; border: none;
  transition: all 180ms var(--ease);
  font-size: 0.875rem; padding: 0.65rem 1.35rem; border-radius: 8px;
}
.btn-primary { background: var(--green); color: #000; }
.btn-primary:hover { background: var(--green-h); box-shadow: 0 0 20px rgba(0,232,122,0.2); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border-h); }
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.20); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.8125rem; }
.arr { font-size: 1.1em; }


/* ═══════════════════════════════════════════
   TAGS / EYEBROWS / PILLS
   ═══════════════════════════════════════════ */
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.08em; color: var(--muted);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 100px; padding: 0.35rem 0.9rem;
}
.pill-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:0.4} }

.eyebrow {
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.12em; color: var(--faint); text-transform: uppercase;
  display: block; margin-bottom: 1rem;
}

.accent { color: var(--green); }


/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  padding: clamp(7rem, 14vw, 11rem) 0 clamp(4rem, 8vw, 6rem);
  position: relative;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 160px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none; z-index: 0;
}
.hero > .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 4vw, 4.5rem);
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--white);
  margin: 1.25rem 0;
}

.hero-sub {
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 0.65rem; flex-wrap: wrap; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; max-width: 500px; }
}


/* ═══════════════════════════════════════════
   DASHBOARD MOCKUP
   ═══════════════════════════════════════════ */
.hero-visual { position: relative; overflow: visible; }

.dm {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 1.8vw, 1.5rem);
  font-size: 0.8125rem;
  overflow: visible;
}
.dm-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 1rem;
}
.dm-label {
  font-family: var(--mono); font-size: 0.5625rem; font-weight: 500;
  letter-spacing: 0.1em; color: var(--faint); display: block;
}
.dm-title {
  font-weight: 700; font-size: 0.9375rem; color: var(--white); display: block; margin-top: 0.1rem;
}
.tag-live {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-family: var(--mono); font-size: 0.5625rem; font-weight: 500;
  letter-spacing: 0.08em; color: var(--green);
  background: var(--green-dim); border: 1px solid var(--green-b);
  border-radius: 100px; padding: 0.15rem 0.5rem;
}

.dm-rows { border-top: 1px solid var(--border); }
.dm-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.55rem 0; border-bottom: 1px solid var(--border);
  color: var(--muted); font-size: 0.75rem;
}
.dm-val {
  font-family: var(--mono); font-weight: 500; color: var(--white);
  font-size: 0.75rem; display: flex; align-items: center; gap: 0.4rem;
  font-feature-settings: 'tnum';
}
.delta {
  font-size: 0.625rem; font-weight: 500; border-radius: 3px; padding: 0.1rem 0.3rem;
}
.delta.up { color: var(--green); background: var(--green-dim); }
.delta.dn { color: var(--red); background: var(--red-dim); }

.dm-chart {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border);
}
.dm-chart-label {
  font-family: var(--mono); font-size: 0.5rem; letter-spacing: 0.1em;
  color: var(--faint); display: block; margin-bottom: 0.6rem;
}
.dm-bars { display: flex; align-items: flex-end; gap: 0.35rem; height: 50px; }
.dm-bar-col {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 0.25rem; height: 100%; justify-content: flex-end;
}
.dm-bar-col span { font-size: 0.5rem; color: var(--faint); font-family: var(--mono); }
.dm-bar {
  width: 100%; border-radius: 2px 2px 0 0; background: var(--surface2);
}
.dm-bar.hi { background: rgba(0,232,122,0.4); }
.dm-bar.bright { background: var(--green); }

.dm-toast {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 0.85rem; padding: 0.5rem 0.65rem;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.6875rem;
}
.dm-toast-icon { font-size: 0.8rem; }
.dm-toast strong { color: var(--white); display: block; font-size: 0.6875rem; }
.dm-toast span { color: var(--faint); font-size: 0.625rem; font-family: var(--mono); }

.dm-float {
  position: absolute; top: -0.75rem; right: -0.75rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.5rem 0.7rem; text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.dm-float-num {
  font-family: var(--mono); font-weight: 700; font-size: 1.1rem;
  color: var(--green); display: block; font-feature-settings: 'tnum';
}
.dm-float-label {
  font-size: 0.4375rem; color: var(--faint); letter-spacing: 0.08em; text-transform: uppercase;
  font-family: var(--mono);
}


/* ═══════════════════════════════════════════
   STATS — CENTERED
   ═══════════════════════════════════════════ */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(2.5rem, 4vw, 3.5rem) 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem;
  text-align: center;
}
.stat-num {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--white); display: block; line-height: 1;
  font-feature-settings: 'tnum';
}
.stat-label {
  font-size: 0.8125rem; color: var(--muted); margin-top: 0.5rem; display: block;
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; gap: 2rem; }
}


/* ═══════════════════════════════════════════
   THE PROBLEM — LEFT-ALIGNED
   ═══════════════════════════════════════════ */
.problem {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}
.problem-content {
  max-width: 700px;
}
.problem-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.03em;
  color: var(--white); margin-bottom: 1.25rem;
}
.problem-content p {
  font-size: clamp(0.9375rem, 1.1vw, 1rem);
  line-height: 1.7; color: var(--muted); max-width: 560px;
}


/* ═══════════════════════════════════════════
   THREE PILLARS
   ═══════════════════════════════════════════ */
.pillars {
  padding: 0 0 clamp(4.5rem, 8vw, 7rem);
}
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.pillar-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: border-color 300ms var(--ease);
}
.pillar-card:hover { border-color: var(--border-h); }
.pillar-card.highlight {
  border-color: var(--green-b);
  background: linear-gradient(180deg, rgba(0,232,122,0.03) 0%, var(--surface) 100%);
}
.pillar-num {
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 500;
  color: var(--faint); letter-spacing: 0.05em; display: block;
  margin-bottom: 1rem;
}
.pillar-card h3 {
  font-size: 1.0625rem; font-weight: 700; color: var(--white);
  margin-bottom: 0.5rem;
}
.pillar-card p {
  font-size: 0.875rem; color: var(--muted); line-height: 1.65;
}

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


/* ═══════════════════════════════════════════
   COMPARISON
   ═══════════════════════════════════════════ */
.compare {
  padding: 0 0 clamp(4.5rem, 8vw, 7rem);
}
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.compare-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(1.25rem, 2.5vw, 1.75rem);
}
.compare-card.with {
  border-color: var(--green-b);
}
.compare-head {
  font-family: var(--mono); font-size: 0.625rem; font-weight: 500;
  letter-spacing: 0.1em; color: var(--faint);
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.compare-dot { width: 7px; height: 7px; border-radius: 50%; }
.compare-dot.red { background: var(--red); }
.compare-dot.green { background: var(--green); }
.compare-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.65rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.875rem; color: var(--muted);
}
.compare-row:last-child { border-bottom: none; }
.cv {
  font-family: var(--mono); font-weight: 600; font-feature-settings: 'tnum';
  font-size: 0.875rem;
}
.cv.red { color: var(--red); }
.cv.green { color: var(--green); }

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


/* ═══════════════════════════════════════════
   PLATFORM — LEFT-ALIGNED
   ═══════════════════════════════════════════ */
.platform {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--border);
}
.section-h {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.03em;
  color: var(--white); margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.plat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
}
.plat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(1.25rem, 2vw, 1.75rem);
  transition: border-color 300ms var(--ease);
}
.plat-card:hover { border-color: var(--border-h); }
.plat-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.25rem;
}
.plat-icon-wrap {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--muted);
}
.plat-badge {
  font-family: var(--mono); font-size: 0.5rem; font-weight: 500;
  letter-spacing: 0.08em; padding: 0.15rem 0.5rem;
  border-radius: 4px; border: 1px solid;
}
.plat-badge.live { color: var(--green); border-color: var(--green-b); background: var(--green-dim); }
.plat-badge.ai, .plat-badge.auto {
  color: var(--muted); border-color: var(--border-h); background: rgba(255,255,255,0.03);
}

.plat-card h3 {
  font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.4rem;
}
.plat-card p {
  font-size: 0.8125rem; color: var(--muted); line-height: 1.6;
}

/* Visualizations */
.plat-viz {
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border);
}
.plat-viz-label {
  font-family: var(--mono); font-size: 0.5rem; letter-spacing: 0.1em;
  color: var(--faint); display: block; margin-bottom: 0.6rem;
}

.stock-bars { display: flex; gap: 0.3rem; align-items: flex-end; height: 36px; }
.sbar { flex: 1; border-radius: 2px 2px 0 0; }
.sbar.low  { background: rgba(239,68,68,0.35); height: 90%; }
.sbar.low:nth-child(2) { height: 80%; }
.sbar.low:nth-child(3) { height: 70%; }
.sbar.low:nth-child(4) { height: 55%; }
.sbar.low:nth-child(5) { height: 40%; }
.sbar.low:nth-child(6) { height: 28%; }
.sbar.mid  { background: rgba(0,232,122,0.2); height: 45%; }
.sbar.mid:nth-child(8) { height: 55%; }
.sbar.high { background: rgba(0,232,122,0.5); height: 70%; }
.sbar.high:nth-child(10) { height: 80%; }
.sbar.high:nth-child(11) { background: var(--green); height: 95%; }
.stock-meta {
  display: flex; justify-content: space-between; margin-top: 0.4rem;
  font-size: 0.625rem; color: var(--faint);
}
.stock-trigger { color: var(--green); font-family: var(--mono); font-size: 0.5625rem; }

.forecast-bars { display: flex; align-items: flex-end; gap: 0.25rem; height: 40px; }
.fbar { flex: 1; background: var(--surface2); border-radius: 2px 2px 0 0; }
.fbar.hi { background: var(--green); }

.margin-viz { display: flex; align-items: center; gap: 0.75rem; }
.margin-bar { flex: 1; height: 5px; background: var(--surface2); border-radius: 3px; overflow: hidden; }
.margin-fill { width: 68%; height: 100%; background: linear-gradient(90deg, var(--green-dim), var(--green)); border-radius: 3px; }
.margin-label { font-family: var(--mono); font-size: 0.75rem; color: var(--green); white-space: nowrap; }

.ops-viz {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0.4rem;
  border-top: none; padding-top: 0;
}
.ops-block {
  background: var(--surface2); border-radius: var(--radius-sm);
  padding: 0.65rem; text-align: center;
}
.ops-num {
  font-family: var(--mono); font-weight: 700; font-size: 1.1rem;
  color: var(--white); display: block; font-feature-settings: 'tnum';
}
.ops-lbl { font-size: 0.5625rem; color: var(--faint); margin-top: 0.1rem; display: block; }

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


/* ═══════════════════════════════════════════
   INTELLIGENCE SECTION
   ═══════════════════════════════════════════ */
.intelligence {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--border);
}
.intel-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 5vw, 5rem); align-items: start;
}
.intel-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.03em;
  color: var(--white); margin-bottom: 1.25rem;
}
.intel-text p {
  font-size: clamp(0.875rem, 1vw, 0.9375rem);
  line-height: 1.7; color: var(--muted); max-width: 480px;
}
.intel-bottom {
  margin-top: 1rem;
  color: var(--green) !important;
  font-weight: 500;
}

.intel-signals {
  display: flex; flex-direction: column; gap: 1rem;
}
.signal {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); transition: border-color 300ms var(--ease);
}
.signal:hover { border-color: var(--border-h); }
.signal-icon {
  flex-shrink: 0;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  background: var(--green-dim); border: 1px solid var(--green-b);
  border-radius: var(--radius-sm); color: var(--green);
}
.signal-title {
  font-size: 0.875rem; font-weight: 600; color: var(--white); display: block;
}
.signal-desc {
  font-size: 0.8125rem; color: var(--muted); display: block; margin-top: 0.15rem;
}

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


/* ═══════════════════════════════════════════
   INTEGRATIONS — CATEGORIZED
   ═══════════════════════════════════════════ */
.integrations {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--border);
}
.int-sub {
  font-size: 0.9375rem; color: var(--muted); line-height: 1.6;
  max-width: 500px; margin-bottom: clamp(2rem, 3vw, 3rem);
}
.int-categories {
  display: flex; flex-direction: column; gap: 1.5rem;
}
.int-category { }
.int-cat-label {
  font-family: var(--mono); font-size: 0.625rem; font-weight: 500;
  letter-spacing: 0.1em; color: var(--faint); text-transform: uppercase;
  display: block; margin-bottom: 0.6rem;
}
.int-row {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.int-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.55rem 1rem;
  font-size: 0.8125rem; font-weight: 500; color: var(--text);
  transition: border-color 200ms var(--ease);
}
.int-chip:hover { border-color: var(--border-h); }
.int-chip.more {
  color: var(--faint); border-style: dashed; font-family: var(--mono);
  font-size: 0.75rem;
}
.int-abbr {
  font-family: var(--mono); font-weight: 700; font-size: 0.6875rem;
  color: var(--green); background: var(--green-dim); border: 1px solid var(--green-b);
  border-radius: 4px; padding: 0.15rem 0.35rem;
  display: flex; align-items: center; justify-content: center;
  min-width: 24px; text-align: center;
}

@media (max-width: 480px) {
  .int-row { gap: 0.5rem; }
  .int-chip { font-size: 0.75rem; padding: 0.5rem 0.85rem; }
}


/* ═══════════════════════════════════════════
   ENTERPRISE
   ═══════════════════════════════════════════ */
.enterprise {
  padding: clamp(4rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--border);
}
.ent-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.ent-num {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--white); display: block; line-height: 1;
}
.ent-label { font-size: 0.8125rem; color: var(--muted); margin-top: 0.4rem; display: block; }
.ent-rule { height: 1px; background: var(--border); margin-bottom: 1.5rem; }

.pills {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}

@media (max-width: 768px) { .ent-grid { grid-template-columns: repeat(2,1fr); } }


/* ═══════════════════════════════════════════
   CTA / WAITLIST — CENTERED
   ═══════════════════════════════════════════ */
.cta-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  border-top: 1px solid var(--border);
}
.cta-center {
  max-width: 600px; text-align: center;
}
.cta-center h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--white); line-height: 1.1;
  margin-bottom: 1rem;
}
.cta-sub {
  font-size: clamp(0.875rem, 1vw, 0.9375rem);
  line-height: 1.7; color: var(--muted); margin-bottom: 2rem;
}
.cta-form {
  display: flex; gap: 0.5rem; justify-content: center; max-width: 420px; margin: 0 auto;
}
.cta-note {
  font-size: 0.75rem; color: var(--faint); margin-top: 0.6rem;
}

@media (max-width: 540px) {
  .cta-form { flex-direction: column; }
}


/* ═══════════════════════════════════════════
   INPUTS
   ═══════════════════════════════════════════ */
.input {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.65rem 0.9rem;
  font-size: 0.875rem; color: var(--white); outline: none;
  font-family: var(--font); width: 100%;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.input::placeholder { color: var(--faint); }
.input:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-dim); }
.textarea { resize: vertical; min-height: 90px; }


/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact {
  padding: clamp(4rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 4vw, 4.5rem); align-items: start;
}
.contact-left h2 {
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--white); margin: 0.6rem 0;
}
.contact-left p {
  font-size: 0.9375rem; color: var(--muted); line-height: 1.7;
}
.contact-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(1.25rem, 2vw, 1.75rem);
  display: flex; flex-direction: column; gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.contact-form .btn { align-self: flex-start; }
.form-note { font-size: 0.75rem; color: var(--faint); min-height: 1rem; }

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


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--border);
}
.footer-logo {
  font-weight: 700; font-size: 1.1rem; color: var(--white);
  display: block; margin-bottom: 0.6rem; letter-spacing: -0.02em;
}
.footer-brand p {
  font-size: 0.8125rem; color: var(--faint); line-height: 1.6;
  max-width: 280px; margin-bottom: 0.75rem;
}
.footer-status {
  font-family: var(--mono); font-size: 0.5625rem; letter-spacing: 0.08em;
  color: var(--green); display: flex; align-items: center; gap: 0.35rem;
}
.footer-col-title {
  font-family: var(--mono); font-size: 0.625rem; font-weight: 500;
  letter-spacing: 0.1em; color: var(--faint);
  display: block; margin-bottom: 0.75rem;
}
.footer-col a {
  display: block; font-size: 0.875rem; color: var(--muted);
  text-decoration: none; padding: 0.3rem 0;
  transition: color 180ms var(--ease);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 1.25rem; font-size: 0.75rem; color: var(--faint);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}


/* ═══════════════════════════════════════════
   IPAD BREAKPOINT (1024px)
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .intel-layout { gap: 2.5rem; }
  .ent-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { order: -1; max-width: 480px; }
  .intel-layout { grid-template-columns: 1fr; }
}
