/* ═══════════════════════════════════════════════════════
   EQUINOX INFORMATION SYSTEMS — GLOBAL STYLESHEET
   Version 3.0 · March 2026
═══════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --teal:        #14b8a6;
  --teal-bright: #2dd4bf;
  --teal-dim:    rgba(20,184,166,0.10);
  --teal-glow:   rgba(20,184,166,0.18);
  --charcoal:    #0b0b0f;
  --surface-1:   #111118;
  --surface-2:   #17171f;
  --surface-3:   #1e1e28;
  --border:      rgba(255,255,255,0.07);
  --border-teal: rgba(20,184,166,0.20);
  --text:        #e2e2ea;
  --text-mid:    #9898aa;
  --text-dim:    #8888a0;
  --navy:        #1e3a5f;
  --coral:       #ff6b5e;
  --amber:       #ffa94d;
  --white:       #ffffff;
  --nav-h:       70px;
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--charcoal);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── TYPOGRAPHY ── */
.font-display { font-family: 'Barlow Condensed', 'Barlow', sans-serif; }
.font-mono    { font-family: 'DM Mono', monospace; }

/* ── UTILITIES ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--teal-dim);
  border: 1px solid var(--border-teal);
  border-radius: 100px;
  padding: 5px 16px;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--teal);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.pulse-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); box-shadow: 0 0 0 0 rgba(20,184,166,0.4); }
  50%      { opacity:.6; transform:scale(1.3); box-shadow: 0 0 0 6px rgba(20,184,166,0); }
}

.section-label {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
  display: block;
}

.section-heading {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1.05;
}
.section-heading em { font-style: normal; color: var(--teal); }

.section-sub {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
  font-weight: 300;
  max-width: 580px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--teal); color: var(--white);
  padding: 14px 30px; border-radius: 8px;
  font-size: 0.9rem; font-family: 'DM Sans', sans-serif;
  font-weight: 500; letter-spacing: 0.2px;
  transition: all 0.25s;
  box-shadow: 0 0 32px rgba(20,184,166,0.25);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--teal-bright);
  box-shadow: 0 0 48px rgba(20,184,166,0.45);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); padding: 14px 28px; border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.9rem; font-family: 'DM Sans', sans-serif;
  font-weight: 400; transition: all 0.25s; white-space: nowrap;
}
.btn-ghost:hover {
  border-color: var(--border-teal);
  color: var(--teal);
  background: var(--teal-dim);
}

.btn-teal-outline {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal); padding: 11px 24px; border-radius: 7px;
  border: 1px solid var(--border-teal);
  font-size: 0.85rem; font-family: 'DM Sans', sans-serif;
  font-weight: 500; transition: all 0.25s;
  background: var(--teal-dim);
}
.btn-teal-outline:hover { background: rgba(20,184,166,0.18); }

/* ── NAV ── */
#nav {
  position: fixed; top:0; left:0; right:0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px;
  background: rgba(11,11,15,0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
#nav.scrolled {
  background: rgba(11,11,15,0.96);
  border-bottom-color: var(--border-teal);
}

.nav-logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-logo-icon { width: 38px; height: 38px; }
.nav-wordmark {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 1.55rem; letter-spacing: 5px;
  color: var(--white); line-height: 1;
}

.nav-links {
  display: flex; gap: 0; list-style: none;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links li a {
  display: block; padding: 0 22px;
  height: var(--nav-h); line-height: var(--nav-h);
  font-size: 0.85rem; color: var(--text-mid);
  letter-spacing: 0.3px; transition: color 0.2s;
  position: relative;
}
.nav-links li a::after {
  content: ''; position: absolute;
  bottom: 0; left: 22px; right: 22px; height: 2px;
  background: var(--teal);
  transform: scaleX(0); transition: transform 0.2s;
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--white); }
.nav-links li a:hover::after,
.nav-links li a.active::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-login {
  font-size: 0.82rem; color: var(--text-mid);
  padding: 8px 16px; transition: color 0.2s;
}
.nav-login:hover { color: var(--teal); }
.nav-demo {
  background: var(--teal); color: var(--white);
  padding: 9px 22px; border-radius: 6px;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.2px;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(20,184,166,0.2);
}
.nav-demo:hover {
  background: var(--teal-bright);
  box-shadow: 0 0 30px rgba(20,184,166,0.4);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 130px 60px 80px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20,184,166,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,184,166,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 100% at 30% 50%, black 30%, transparent 100%);
}
.page-hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(20,184,166,0.08) 0%, transparent 65%);
  top: -150px; right: -100px;
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; max-width: 760px; }
.page-hero-content .eyebrow { margin-bottom: 24px; }
.page-hero h1 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 400; letter-spacing: 2px;
  color: var(--white); line-height: 1.0;
  margin-bottom: 24px;
}
.page-hero h1 em { font-style: normal; color: var(--teal); }
.page-hero p {
  font-size: 1.1rem; color: var(--text-mid);
  line-height: 1.72; font-weight: 300;
  max-width: 560px; margin-bottom: 36px;
}

/* ── SECTION WRAPPERS ── */
.section        { padding: 100px 60px; }
.section-dark   { padding: 100px 60px; background: var(--surface-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-navy   { padding: 100px 60px; background: rgba(30,58,95,0.15); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ── GRID HELPERS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.align-center { align-items: center; }

/* ── CARDS ── */
.card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  transition: all 0.25s;
  position: relative; overflow: hidden;
}
.card:hover { background: var(--surface-2); border-color: var(--border-teal); }
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--teal-dim); border: 1px solid var(--border-teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 20px;
}
.card-label {
  font-family: 'DM Mono', monospace; font-size: 0.62rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 8px;
}
.card-title {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif; font-size: 1.5rem;
  letter-spacing: 1px; color: var(--white); margin-bottom: 12px;
}
.card-body {
  font-size: 0.9rem; color: var(--text-mid);
  line-height: 1.65; font-weight: 300;
}
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Mono', monospace; font-size: 0.68rem;
  color: var(--teal); letter-spacing: 1px; text-transform: uppercase;
  margin-top: 20px; transition: gap 0.2s;
}
.card-link:hover { gap: 14px; }
.card-link::after { content: '→'; }

/* ── SCREENSHOT PLACEHOLDER ── */
.screenshot-placeholder {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
}
.screenshot-placeholder .sp-label {
  font-family: 'DM Mono', monospace; font-size: 0.62rem;
  color: var(--text-dim); letter-spacing: 2px; text-transform: uppercase;
  text-align: center;
}
.screenshot-placeholder .sp-note {
  font-family: 'DM Mono', monospace; font-size: 0.52rem;
  color: rgba(255,255,255,0.12); letter-spacing: 1px;
}

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── STATS BAND ── */
.stats-band {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface-1);
  display: grid; grid-template-columns: repeat(4,1fr);
}
.stat-item {
  padding: 44px 52px; border-right: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.stat-item::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.stat-item:hover::after { opacity: 0.7; }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif; font-size: 3.2rem;
  letter-spacing: 2px; color: var(--teal); line-height: 1; margin-bottom: 8px;
}
.stat-label { font-size: 0.85rem; color: var(--text-mid); font-weight: 300; line-height: 1.5; }

/* ── CTA BAND ── */
.cta-band {
  padding: 80px 60px;
  position: relative; overflow: hidden; text-align: center;
}
.cta-band-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(20,184,166,0.07) 0%, transparent 70%);
}
.cta-band-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20,184,166,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,184,166,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.cta-band-content {
  position: relative; z-index: 2; max-width: 640px; margin: 0 auto;
}
.cta-band h2 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem); letter-spacing: 2px;
  color: var(--white); line-height: 1.05; margin-bottom: 16px;
}
.cta-band h2 em { font-style: normal; color: var(--teal); }
.cta-band p {
  font-size: 1rem; color: var(--text-mid); line-height: 1.7;
  margin-bottom: 36px; font-weight: 300;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  padding: 72px 60px 40px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 60px;
  padding-bottom: 56px; border-bottom: 1px solid var(--border); margin-bottom: 36px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand-desc {
  font-size: 0.875rem; color: var(--text-dim); line-height: 1.7;
  font-weight: 300; max-width: 260px;
}
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact-item {
  font-family: 'DM Mono', monospace; font-size: 0.7rem;
  color: var(--text-dim); letter-spacing: 0.5px; transition: color 0.2s;
}
.footer-contact-item:hover { color: var(--teal); }
.footer-col h4 {
  font-family: 'DM Mono', monospace; font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--white); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a {
  font-size: 0.875rem; color: var(--text-dim); transition: color 0.2s; font-weight: 300;
}
.footer-col ul a:hover { color: var(--teal); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy {
  font-family: 'DM Mono', monospace; font-size: 0.65rem;
  color: var(--text-dim); letter-spacing: 0.5px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-family: 'DM Mono', monospace; font-size: 0.65rem;
  color: var(--text-dim); transition: color 0.2s;
}
.footer-legal a:hover { color: var(--teal); }

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* ── INLINE TAG ── */
.tag-inline {
  display: inline-block;
  background: var(--teal-dim); border: 1px solid var(--border-teal);
  border-radius: 4px; padding: 2px 10px;
  font-family: 'DM Mono', monospace; font-size: 0.65rem;
  color: var(--teal); letter-spacing: 1px; text-transform: uppercase;
}

/* ── HERO (homepage only) ── */
.hero {
  min-height:100vh; padding:130px 60px 80px;
  display:grid; grid-template-columns:1fr 1fr; gap:60px;
  align-items:center; position:relative; overflow:hidden;
}
.hero-grid {
  position:absolute; inset:0;
  background-image: linear-gradient(rgba(20,184,166,0.03) 1px,transparent 1px), linear-gradient(90deg,rgba(20,184,166,0.03) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse 80% 80% at 50% 50%,black 40%,transparent 100%);
}
.hero-glow-1 { position:absolute;width:800px;height:800px;background:radial-gradient(circle,rgba(20,184,166,0.09) 0%,transparent 65%);top:-200px;right:-200px;pointer-events:none; }
.hero-glow-2 { position:absolute;width:500px;height:500px;background:radial-gradient(circle,rgba(30,58,95,0.35) 0%,transparent 70%);bottom:-100px;left:-80px;pointer-events:none; }
.hero-left { position:relative;z-index:2;display:flex;flex-direction:column;gap:0; }
.hero-eyebrow { margin-bottom:30px; }
.hero-h1 { font-family:'Barlow Condensed','Barlow',sans-serif;font-size:clamp(3.4rem,5.5vw,5.2rem);font-weight:400;line-height:1.0;letter-spacing:2px;color:#fff;margin-bottom:10px; }
.hero-h1 .line-teal { color:var(--teal);display:block; }
.hero-sub { font-size:1.05rem;color:var(--text-mid);line-height:1.72;font-weight:300;max-width:500px;margin-bottom:40px;margin-top:20px; }
.hero-actions { display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:52px; }
.hero-trust { display:flex;align-items:center;gap:20px;padding-top:36px;border-top:1px solid var(--border); }
.trust-label { font-family:'DM Mono',monospace;font-size:0.65rem;letter-spacing:2px;text-transform:uppercase;color:var(--text-dim);white-space:nowrap; }
.trust-names { display:flex;gap:24px;align-items:center;flex-wrap:wrap; }
.trust-name { font-family:'DM Mono',monospace;font-size:0.72rem;letter-spacing:1.5px;text-transform:uppercase;color:var(--text-dim);transition:color 0.2s; }
.trust-name:hover { color:var(--text-mid); }
.hero-right { position:relative;z-index:2; }

/* Dashboard widget */
.dashboard-wrap { position:relative; }
.dashboard-card { background:var(--surface-2);border:1px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:0 50px 100px rgba(0,0,0,0.6),0 0 0 1px rgba(20,184,166,0.08),inset 0 1px 0 rgba(255,255,255,0.04);transform:perspective(1200px) rotateY(-4deg) rotateX(2deg);transition:transform 0.5s ease; }
.dashboard-card:hover { transform:perspective(1200px) rotateY(-1deg) rotateX(0deg); }
.db-topbar { background:var(--surface-3);padding:12px 18px;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--border); }
.db-dot { width:10px;height:10px;border-radius:50%; }
.db-title { margin-left:10px;font-family:'DM Mono',monospace;font-size:0.65rem;color:rgba(255,255,255,0.25);letter-spacing:1px; }
.db-status { margin-left:auto;display:flex;align-items:center;gap:6px;font-family:'DM Mono',monospace;font-size:0.6rem;color:var(--teal);letter-spacing:1px; }
.db-body { padding:20px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px; }
.db-stat { background:var(--surface-1);border:1px solid var(--border);border-radius:10px;padding:16px;position:relative;overflow:hidden; }
.db-stat::before { content:'';position:absolute;top:0;left:0;right:0;height:2px;background:var(--teal);opacity:0.4; }
.db-stat.highlight::before { opacity:1; }
.db-stat-label { font-family:'DM Mono',monospace;font-size:0.58rem;text-transform:uppercase;letter-spacing:1.5px;color:var(--text-dim);margin-bottom:8px; }
.db-stat-val { font-family:'Barlow Condensed','Barlow',sans-serif;font-size:1.9rem;letter-spacing:1px;color:#fff;line-height:1;margin-bottom:4px; }
.db-stat.highlight .db-stat-val { color:var(--teal); }
.db-stat.alert .db-stat-val { color:var(--coral); }
.db-stat-change { font-family:'DM Mono',monospace;font-size:0.6rem;color:var(--text-dim);letter-spacing:0.5px; }
.db-stat-change.up { color:var(--teal); }
.db-stat-change.flag { color:var(--amber); }
.db-progress { margin-top:8px;height:3px;background:rgba(255,255,255,0.06);border-radius:2px;overflow:hidden; }
.db-progress-fill { height:100%;background:var(--teal);border-radius:2px; }
.db-chart { grid-column:1/-1;background:var(--surface-1);border:1px solid var(--border);border-radius:10px;padding:16px; }
.db-chart-header { display:flex;justify-content:space-between;align-items:center;margin-bottom:14px; }
.db-chart-title { font-family:'DM Mono',monospace;font-size:0.6rem;text-transform:uppercase;letter-spacing:1.5px;color:var(--text-dim); }
.db-chart-legend { display:flex;gap:12px; }
.db-legend-item { display:flex;align-items:center;gap:5px;font-family:'DM Mono',monospace;font-size:0.55rem;color:var(--text-dim);letter-spacing:0.5px; }
.db-legend-dot { width:6px;height:6px;border-radius:50%; }
.db-sparkline { display:flex;align-items:flex-end;gap:5px;height:56px; }
.spark-col { flex:1;display:flex;flex-direction:column;align-items:center;gap:3px; }
.spark-bar { width:100%;border-radius:2px 2px 0 0; }
.spark-bar.resolved { background:var(--teal);opacity:0.7; }
.spark-bar.found { background:var(--coral);opacity:0.5; }
.db-table { grid-column:1/-1;background:var(--surface-1);border:1px solid var(--border);border-radius:10px;overflow:hidden; }
.db-table-head { display:grid;grid-template-columns:2fr 1fr 1fr 1fr;padding:8px 14px;background:var(--surface-3);border-bottom:1px solid var(--border); }
.db-th { font-family:'DM Mono',monospace;font-size:0.56rem;text-transform:uppercase;letter-spacing:1.5px;color:var(--text-dim); }
.db-table-row { display:grid;grid-template-columns:2fr 1fr 1fr 1fr;padding:9px 14px;border-bottom:1px solid var(--border);align-items:center; }
.db-table-row:last-child { border-bottom:none; }
.db-td { font-family:'DM Mono',monospace;font-size:0.65rem;color:var(--text-mid); }
.db-badge { display:inline-block;padding:2px 8px;border-radius:100px;font-family:'DM Mono',monospace;font-size:0.55rem;letter-spacing:0.5px;text-transform:uppercase; }
.badge-ok  { background:rgba(20,184,166,0.12);color:var(--teal);border:1px solid rgba(20,184,166,0.25); }
.badge-err { background:rgba(255,107,94,0.10);color:var(--coral);border:1px solid rgba(255,107,94,0.25); }
.badge-warn{ background:rgba(255,169,77,0.10);color:var(--amber);border:1px solid rgba(255,169,77,0.25); }
.db-footer { padding:10px 18px;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;background:var(--surface-3); }
.db-footer-text { font-family:'DM Mono',monospace;font-size:0.58rem;color:var(--text-dim);letter-spacing:0.5px; }
.db-float-badge { position:absolute;top:-14px;right:28px;background:var(--teal);color:#fff;border-radius:6px;padding:6px 14px;font-family:'DM Mono',monospace;font-size:0.62rem;letter-spacing:1px;text-transform:uppercase;box-shadow:0 8px 24px rgba(20,184,166,0.35);white-space:nowrap; }


/* ═══════════════════════════════════
   V2 DESIGN OVERRIDES
═══════════════════════════════════ */
/* ═══════════════════════════════════════════════════
   EQUINOX V2 — REBUILT WITH RELIABLE RENDERING
   No body::before/after. No position:fixed for deco.
   All blobs are real divs inside their sections.
═══════════════════════════════════════════════════ */

:root {
  --bg:          #0d1117;
  --surface-1:   #161b27;
  --surface-2:   #1c2333;
  --border:      rgba(255,255,255,0.1);
  --teal:        #2dd4bf;
  --teal-bright: #5eead4;
  --white:       #f1f5f9;
  --text-mid:    #cbd5e1;
  --text-dim:    #64748b;
}

body { background: var(--bg); }

/* ── NAV ── */
#nav {
  background: rgba(13,17,23,0.82) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
}
#nav.scrolled {
  background: rgba(13,17,23,0.97) !important;
  box-shadow: 0 1px 0 rgba(45,212,191,0.25), 0 8px 40px rgba(0,0,0,0.5) !important;
}
.nav-demo {
  background: linear-gradient(135deg, #0d9488, #2dd4bf) !important;
  color: #071411 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 16px rgba(45,212,191,0.4) !important;
}
.nav-demo:hover {
  box-shadow: 0 4px 28px rgba(45,212,191,0.6) !important;
  transform: translateY(-1px);
}

/* ── SECTION LABELS — bigger, proper color ── */
.section-label {
  font-size: 0.82rem !important;
  letter-spacing: 3px !important;
  color: var(--teal-bright) !important;
  opacity: 1 !important;
}

/* ── EYEBROW PILL ── */
.eyebrow, .hero-eyebrow {
  display: inline-flex !important;
  width: auto !important;
  max-width: fit-content !important;
  white-space: nowrap !important;
  color: var(--teal-bright) !important;
  background: rgba(45,212,191,0.1) !important;
  border: 1px solid rgba(45,212,191,0.35) !important;
  font-size: 0.75rem !important;
  letter-spacing: 2.5px !important;
}

/* ═══════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════ */
.hero {
  overflow: visible !important;
  clip-path: none !important;
}

/* Teal glow blob — upper left, punchy and close */
.hero-glow-1 {
  position: absolute !important;
  width: 650px !important; height: 650px !important;
  background: radial-gradient(circle, rgba(45,212,191,0.4) 0%, rgba(45,212,191,0.18) 35%, transparent 65%) !important;
  top: -80px !important; left: -80px !important;
  filter: blur(45px) !important;
  animation: drift1 14s ease-in-out infinite alternate !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* Sky blue blob — upper right */
.hero-glow-2 {
  position: absolute !important;
  width: 550px !important; height: 550px !important;
  background: radial-gradient(circle, rgba(56,189,248,0.32) 0%, rgba(56,189,248,0.14) 35%, transparent 65%) !important;
  top: 30px !important; right: -30px !important; left: auto !important;
  filter: blur(45px) !important;
  animation: drift2 17s ease-in-out infinite alternate !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

@keyframes drift1 { from{transform:translate(0,0)} to{transform:translate(60px,40px)} }
@keyframes drift2 { from{transform:translate(0,0)} to{transform:translate(-40px,55px)} }

/* Grid — hidden in v2 */
.hero-grid {
  display: none !important;
}

/* Hero headline */
.hero-h1 {
  font-size: clamp(3.4rem, 6vw, 5.8rem) !important;
  color: #f8fafc !important;
  position: relative !important;
  z-index: 2 !important;
}
.hero-h1 .line-teal {
  display: block !important;
  background: linear-gradient(110deg, #2dd4bf 0%, #38bdf8 50%, #c084fc 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  background-size: 200% !important;
  animation: gradshift 5s ease-in-out infinite alternate;
  color: transparent !important;
}
@keyframes gradshift { 0%{background-position:0%} 100%{background-position:100%} }

.hero-sub { color: #cbd5e1 !important; }

/* Gradient em in headings */
.section-heading em, h2 em {
  font-style: normal;
  background: linear-gradient(110deg, #2dd4bf 0%, #38bdf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-heading, h2 { color: #f1f5f9 !important; }

/* Pulse dot */
.pulse-dot { background: var(--teal-bright) !important; }

/* ── HERO RIGHT — pills container ── */
.hero-right { position: relative !important; z-index: 2 !important; overflow: visible !important; }

.v2-hero-pills {
  position: absolute;
  top: 0px;
  right: -50px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-end;
  pointer-events: none;
  z-index: 0;
  width: 120%;
}
.v2-pill { height: 20px; border-radius: 100px; flex-shrink: 0; }

.dashboard-wrap { position: relative !important; z-index: 2 !important; }

/* Dashboard card */
.dashboard-card {
  background: #161b27 !important;
  border: 1px solid rgba(45,212,191,0.3) !important;
  box-shadow:
    0 50px 120px rgba(0,0,0,0.6),
    0 0 80px rgba(45,212,191,0.1),
    inset 0 1px 0 rgba(255,255,255,0.06) !important;
}
.db-float-badge {
  background: rgba(45,212,191,0.12) !important;
  border: 1px solid rgba(45,212,191,0.35) !important;
  box-shadow: 0 4px 20px rgba(45,212,191,0.2) !important;
}
.db-progress-fill {
  background: linear-gradient(90deg, #0d9488, #2dd4bf) !important;
  box-shadow: 0 0 10px rgba(45,212,191,0.5) !important;
  animation: fillbar 1.6s cubic-bezier(0.16,1,0.3,1) both;
  animation-delay: 0.6s;
}
@keyframes fillbar { from { width: 0 !important; } }

/* ═══════════════════════════════════
   STATS BAND
═══════════════════════════════════ */
.stats-band {
  background: var(--surface-1) !important;
  border-top: 1px solid rgba(255,255,255,0.07) !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  padding: 60px !important;
  overflow: hidden !important;
  position: relative !important;
}
/* Actual visible teal sweep */
.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(45,212,191,0.07) 0%,
    rgba(56,189,248,0.05) 40%,
    rgba(192,132,252,0.06) 100%);
  pointer-events: none;
  z-index: 0;
}
/* Right-side glow orb */
.stats-band::after {
  content: '';
  position: absolute;
  right: -60px; top: 50%; transform: translateY(-50%);
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,191,0.25) 0%, transparent 65%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}
.stat-item { position: relative; z-index: 1; }
.stat-num {
  font-size: 3.8rem !important;
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  line-height: 1 !important;
  margin-bottom: 10px !important;
}
.stat-label { color: #94a3b8 !important; font-size: 0.83rem !important; }

/* ═══════════════════════════════════
   EQUINOX 13 SECTION
   Violet glow blob bottom-right
═══════════════════════════════════ */
.v2-e13-section {
  position: relative;
  overflow: hidden;
}
.v2-blob-violet {
  position: absolute !important;
  bottom: -80px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,132,252,0.28) 0%, transparent 60%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* ═══════════════════════════════════
   CLEARIO SECTION + COLOR ORBS
═══════════════════════════════════ */
.cleario-section {
  background: var(--surface-1) !important;
  border-top: 1px solid rgba(45,212,191,0.12) !important;
  border-bottom: 1px solid rgba(45,212,191,0.12) !important;
  overflow: hidden !important;
  position: relative !important;
}
.v2-orb {
  position: absolute !important;
  border-radius: 50%;
  pointer-events: none;
}
.v2-orb-a {
  width: 320px; height: 320px;
  top: -60px; right: 40px;
  background: radial-gradient(circle, rgba(251,191,36,0.35) 0%, transparent 60%);
  filter: blur(60px);
  z-index: 0;
}
.v2-orb-b {
  width: 240px; height: 240px;
  bottom: -40px; right: 120px;
  background: radial-gradient(circle, rgba(192,132,252,0.32) 0%, transparent 60%);
  filter: blur(50px);
  z-index: 0;
}
/* Capability tiles */
.cleario-section [style*="surface-2"] {
  background: linear-gradient(135deg, rgba(45,212,191,0.1), rgba(56,189,248,0.06)) !important;
  border: 1px solid rgba(45,212,191,0.25) !important;
  border-radius: 14px !important;
  box-shadow: inset 0 1px 0 rgba(45,212,191,0.12) !important;
  transition: all 0.3s ease !important;
  position: relative; z-index: 1;
}
.cleario-section [style*="surface-2"]:hover {
  background: linear-gradient(135deg, rgba(45,212,191,0.18), rgba(56,189,248,0.1)) !important;
  border-color: rgba(45,212,191,0.5) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 32px rgba(45,212,191,0.18) !important;
}

/* ═══════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════ */
.testi-section {
  overflow: hidden !important;
  position: relative !important;
}
/* Top gradient hairline */
.testi-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(192,132,252,0.6) 30%,
    rgba(45,212,191,0.6) 70%,
    transparent 100%);
  pointer-events: none;
  z-index: 2;
}
/* Violet glow bloom */
.testi-section::after {
  content: '';
  position: absolute;
  top: -100px; left: 20%;
  width: 700px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(192,132,252,0.1) 0%, transparent 65%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* Cards */
.tc-card {
  background: var(--surface-2) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 16px !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.28s ease !important;
  z-index: 1;
}
.tc-card::before {
  content: '\201C';
  position: absolute; top: 8px; left: 18px;
  font-size: 7rem; line-height: 1;
  color: rgba(45,212,191,0.12);
  font-family: Georgia, serif;
  pointer-events: none;
}
.tc-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(45,212,191,0.3) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3) !important;
}
.tc-card::after {
  content: '';
  position: absolute; left: 0; top: 15%; bottom: 15%; width: 2px;
  background: linear-gradient(180deg, transparent, #2dd4bf, transparent);
  opacity: 0; transition: opacity 0.3s;
}
.tc-card:hover::after { opacity: 1; }
.tc-quote { color: #cbd5e1 !important; }
.tc-name  { color: #f1f5f9 !important; font-weight: 600 !important; }
.tc-company { color: var(--teal-bright) !important; }
.tc-attr { border-top: 1px solid rgba(255,255,255,0.08) !important; }
.tc-btn { background: var(--surface-2) !important; border: 1px solid rgba(255,255,255,0.12) !important; color: #94a3b8 !important; }
.tc-btn:hover { background: rgba(45,212,191,0.12) !important; border-color: rgba(45,212,191,0.4) !important; color: var(--teal-bright) !important; }
.tc-dot { background: rgba(255,255,255,0.15) !important; }
.tc-dot.active { background: var(--teal-bright) !important; width: 28px !important; }

/* ═══════════════════════════════════
   LEGACY BAND
═══════════════════════════════════ */
.legacy-band-v2 {
  padding: 80px 60px !important;
  background: var(--surface-1) !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  display: grid !important;
  grid-template-columns: 1fr 2px 1fr 2px 1fr !important;
  gap: 60px !important;
  align-items: center !important;
  overflow: hidden !important;
  position: relative !important;
}
.legacy-band-v2::after {
  content: '';
  position: absolute;
  right: -60px; top: 50%; transform: translateY(-50%);
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,191,0.1) 0%, transparent 65%);
  filter: blur(70px); pointer-events: none;
}
.legacy-band-v2 [style*="font-size:4rem"] {
  font-size: 5rem !important;
  -webkit-text-fill-color: #f8fafc !important;
}
.legacy-band-v2 [style*="color:var(--teal)"] {
  color: var(--teal-bright) !important;
  -webkit-text-fill-color: var(--teal-bright) !important;
  text-shadow: 0 0 40px rgba(45,212,191,0.45);
}

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, #0d9488, #2dd4bf) !important;
  color: #071411 !important; font-weight: 700 !important; border: none !important;
  box-shadow: 0 4px 24px rgba(45,212,191,0.45) !important;
  transition: all 0.25s ease !important;
}
.btn-primary:hover { transform: translateY(-2px) !important; box-shadow: 0 10px 36px rgba(45,212,191,0.6) !important; }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.2) !important;
  background: rgba(255,255,255,0.05) !important; color: #e2e8f0 !important;
  transition: all 0.25s ease !important;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1) !important; transform: translateY(-2px) !important; }

/* ── CTA BAND ── */
.cta-band { overflow: hidden !important; }
.cta-band-bg {
  background: linear-gradient(135deg,
    rgba(45,212,191,0.22),
    rgba(56,189,248,0.14) 40%,
    rgba(192,132,252,0.18)) !important;
}

/* ── CARDS ── */
.card, .diff-card {
  background: var(--surface-2) !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  border-radius: 16px !important;
  transition: all 0.28s ease !important;
}
.card:hover, .diff-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(45,212,191,0.3) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3) !important;
}

/* ── FOOTER ── */
footer { background: #0a0e18 !important; border-top: 1px solid rgba(255,255,255,0.07) !important; }

/* ── TRUST NAMES ── */
.trust-name { color: #64748b !important; }
.trust-name:hover { color: var(--teal-bright) !important; }

/* ── FADE UP ── */
.fade-up { opacity:0; transform:translateY(22px); transition:opacity 0.65s cubic-bezier(0.16,1,0.3,1),transform 0.65s cubic-bezier(0.16,1,0.3,1); }
.fade-up.visible { opacity:1; transform:translateY(0); }



/* ── CLEARIO DIAGRAM — bigger ── */
.v2-e13-section svg,
section svg[viewBox="0 0 460 460"] {
  width: min(580px, 100%) !important;
  height: auto !important;
}
/* Give the diagram column more breathing room */
.v2-e13-section > div > div:last-child,
.v2-e13-section [class*="fade-up"]:last-child {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ═══════════════════════════════════
   INNER PAGE HERO BLOBS
═══════════════════════════════════ */
.page-hero {
  position: relative !important;
  overflow: visible !important;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(45,212,191,0.28) 0%, rgba(45,212,191,0.1) 35%, transparent 65%);
  top: -150px; left: -150px;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: drift1 16s ease-in-out infinite alternate;
}

.page-hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(192,132,252,0.22) 0%, rgba(192,132,252,0.08) 40%, transparent 65%);
  top: 0; right: -80px;
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
  animation: drift2 19s ease-in-out infinite alternate;
}

/* Ensure hero content sits above blobs */
.page-hero > * {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════
   CAPABILITY TILES — SVG icon upgrade
═══════════════════════════════════ */
/* Hover glow on tiles */
.fade-up [style*="surface-2"][style*="border-radius:14px"]:hover {
  border-color: rgba(45,212,191,0.4) !important;
  background: rgba(45,212,191,0.06) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(45,212,191,0.12);
}

/* Make tile SVG icons pulse subtly on hover */
.fade-up [style*="surface-2"][style*="border-radius:14px"]:hover svg {
  filter: drop-shadow(0 0 8px rgba(45,212,191,0.6));
}

/* ── Inner page hero — reduce padding so content is visible above fold ── */
.page-hero {
  padding-top: 80px !important;
  padding-bottom: 60px !important;
  min-height: auto !important;
}

/* ── Fix fade-up on inner page heroes — trigger immediately on load ── */
.page-hero .fade-up {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ── Fix inner page hero layout — glow was pushing content down ── */
section.page-hero {
  padding-top: 100px !important;
  padding-bottom: 80px !important;
}

/* The built-in glow div — keep it decorative but don't let it affect layout */
.page-hero-glow {
  position: absolute !important;
  top: -100px !important;
  left: -200px !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* Content above glow */
.page-hero-content {
  position: relative !important;
  z-index: 2 !important;
}

/* Grid also absolute */
.page-hero-grid {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  height: 100% !important;
}

/* ═══════════════════════════════════
   CUSTOMER LOGO MARQUEE
═══════════════════════════════════ */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-track {
  will-change: transform;
}

.logo-track:hover {
  animation-play-state: paused !important;
}

/* Hero left content — always visible, no fade needed */
.hero-left,
.hero-left .fade-up {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Logo marquee images — bright white treatment ── */
.logo-track img {
  filter: brightness(0) invert(1) !important;
  opacity: 0.6 !important;
  transition: opacity 0.2s !important;
}
.logo-track img:hover {
  opacity: 1 !important;
}

/* Prevent ClearIO from being uppercased in eyebrow pills */
.eyebrow span[style*="text-transform:none"],
.eyebrow .brand-name {
  text-transform: none !important;
}

/* Hero right — always visible */
.hero-right,
.hero-right.fade-up {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Eyebrow pill: prevent text-transform from mangling brand names ── */
.eyebrow {
  text-transform: none !important;
  letter-spacing: 2px !important;
  font-size: 0.68rem !important;
}
/* Keep the uppercase feel with manual uppercase for non-brand text */
.eyebrow span[style*="text-transform:none"] {
  text-transform: none !important;
  letter-spacing: inherit !important;
}

/* ═══════════════════════════════════════════════════
   MOBILE NAV — hamburger button (injected via JS)
═══════════════════════════════════════════════════ */
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  padding: 0; z-index: 301;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — TABLET (max-width: 900px)
═══════════════════════════════════════════════════ */
@media (max-width: 900px) {

  /* ── NAV ── */
  #nav { padding: 0 24px !important; }
  .nav-hamburger { display: flex !important; }
  .nav-links {
    position: fixed !important; top: 0 !important; right: -280px !important;
    left: auto !important; transform: none !important;
    width: 280px; height: 100vh !important;
    background: rgba(13,17,23,0.98) !important;
    backdrop-filter: blur(24px) !important;
    flex-direction: column !important; gap: 0 !important;
    padding: 90px 0 40px !important;
    border-left: 1px solid var(--border) !important;
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1) !important;
    z-index: 300 !important;
    overflow-y: auto !important;
  }
  .nav-links.open { right: 0 !important; }
  .nav-links li a {
    height: auto !important; line-height: 1 !important;
    padding: 18px 32px !important; font-size: 1rem !important;
    border-bottom: 1px solid var(--border) !important;
  }
  .nav-right { gap: 8px !important; }
  .nav-login { display: none !important; }
  .nav-demo { font-size: 0.75rem !important; padding: 8px 16px !important; }

  /* ── HERO (homepage) ── */
  .hero {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding: 100px 32px 60px !important;
    gap: 40px !important;
  }
  .hero-right { display: none !important; }
  .hero-h1 { font-size: clamp(2.6rem, 8vw, 3.8rem) !important; }
  .hero-sub { font-size: 0.95rem !important; }
  .hero-trust { flex-wrap: wrap !important; gap: 12px !important; }
  .trust-names { gap: 16px !important; }

  /* ── PAGE HERO (inner pages) ── */
  .page-hero, section.page-hero {
    padding: 90px 32px 50px !important;
  }
  .page-hero h1 { font-size: clamp(2.2rem, 7vw, 3rem) !important; }
  .page-hero p { font-size: 1rem !important; }

  /* ── SECTIONS — reduce padding ── */
  .section, .section-dark, .section-navy { padding: 60px 32px !important; }
  .cta-band { padding: 60px 32px !important; }

  /* ── GRIDS — collapse ── */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; gap: 24px !important; }

  /* ── STATS BAND ── */
  .stats-band {
    grid-template-columns: 1fr 1fr !important;
    padding: 40px 32px !important;
  }
  .stat-item { padding: 28px 24px !important; }
  .stat-item:nth-child(2) { border-right: none !important; }
  .stat-num { font-size: 2.8rem !important; }

  /* ── FOOTER ── */
  footer { padding: 48px 32px 32px !important; }
  .footer-top {
    grid-template-columns: 1fr 1fr !important;
    gap: 36px !important;
  }
  .footer-brand { grid-column: 1 / -1 !important; }

  /* ── CARDS ── */
  .card { padding: 28px !important; }

  /* ── LEGACY BAND ── */
  .legacy-band-v2 {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 60px 32px !important;
  }
  .legacy-band-v2 > div[style*="width:2px"] { display: none !important; }
  .legacy-band-v2 [style*="font-size:4rem"],
  .legacy-band-v2 [style*="font-size:5rem"] { font-size: 3.4rem !important; }

  /* ── TESTIMONIALS ── */
  .tc-slide { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* ── CTA ── */
  .cta-actions { flex-direction: column !important; align-items: center !important; gap: 12px !important; }
  .cta-actions .btn-primary,
  .cta-actions .btn-ghost { width: 100% !important; text-align: center !important; justify-content: center !important; }

  /* ── INDEX — Equinox 13 section ── */
  [style*="grid-template-columns:1fr 1fr"][style*="gap:80px"],
  [style*="grid-template-columns:1fr 1fr"][style*="gap:60px"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  [style*="grid-template-columns:repeat(5,1fr)"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }

  /* ── LOGO MARQUEE ── */
  .logo-track img {
    height: 22px !important;
    max-width: 100px !important;
  }

  /* ── PLATFORM-SOLUTIONS ── */
  .module-grid { grid-template-columns: 1fr !important; }
  .product-layout { grid-template-columns: 1fr !important; gap: 40px !important; }
  .product-stats { grid-template-columns: 1fr 1fr 1fr !important; }
  .cap-grid-2 { grid-template-columns: 1fr !important; gap: 16px !important; }
  .cap-grid-3 { grid-template-columns: 1fr !important; gap: 16px !important; }
  .did-stats { grid-template-columns: 1fr 1fr 1fr !important; }
  .coming-soon-row { grid-template-columns: 1fr !important; }
  .upgrade-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .integrations-grid { grid-template-columns: repeat(3, 1fr) !important; }
  [style*="grid-template-columns:1fr auto 1fr auto 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  [style*="grid-template-columns:1fr auto 1fr auto 1fr"] > [style*="width:1px"] { display: none !important; }
  [style*="grid-template-columns:1fr 1fr"][style*="gap:48px"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* ── COMPANY ── */
  .values-grid { grid-template-columns: 1fr 1fr !important; }
  .team-grid { grid-template-columns: 1fr 1fr !important; }
  .vs-layout { grid-template-columns: 1fr !important; gap: 40px !important; }
  .vs-stats { grid-template-columns: 1fr 1fr !important; }
  [style*="grid-template-columns:repeat(3,1fr)"][style*="gap:24px"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* ── CONTACT ── */
  .contact-layout {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
    padding: 80px 32px !important;
  }
  .contact-form-wrap { padding: 32px !important; }
  .form-row { grid-template-columns: 1fr !important; gap: 0 !important; }
  .support-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .support-section { padding: 60px 32px !important; }
  .emergency-bar { flex-direction: column !important; text-align: center !important; gap: 12px !important; }

  /* ── RESOURCES ── */
  .featured-article { grid-template-columns: 1fr !important; }
  .resources-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .pr-item { grid-template-columns: 1fr !important; gap: 4px !important; }
  .pr-item .pr-date { text-align: left !important; }

  /* ── ARTICLE PAGES ── */
  .article-wrap { padding: 90px 24px 60px !important; }
  .related-section { padding: 60px 24px !important; }
  .related-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* ── CHECKLIST ── */
  .checklist-wrap { padding: 90px 24px 60px !important; }

  /* ── SECTION HEADINGS ── */
  .section-heading { font-size: clamp(2rem, 5vw, 3rem) !important; }
  .cta-band h2 { font-size: clamp(2rem, 5vw, 3rem) !important; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — PHONE (max-width: 480px)
═══════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* ── NAV ── */
  #nav { padding: 0 16px !important; }
  .nav-logo img { height: 34px !important; }
  .nav-demo { font-size: 0.7rem !important; padding: 7px 12px !important; }

  /* ── HERO ── */
  .hero { padding: 90px 20px 48px !important; }
  .hero-h1 { font-size: clamp(2.2rem, 10vw, 3rem) !important; }
  .hero-sub { font-size: 0.9rem !important; max-width: 100% !important; }
  .hero-actions { flex-direction: column !important; width: 100% !important; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100% !important; text-align: center !important; justify-content: center !important;
  }

  /* ── PAGE HERO ── */
  .page-hero, section.page-hero { padding: 80px 20px 40px !important; }
  .page-hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem) !important; }

  /* ── SECTIONS ── */
  .section, .section-dark, .section-navy { padding: 48px 20px !important; }
  .cta-band { padding: 48px 20px !important; }

  /* ── STATS BAND ── */
  .stats-band {
    grid-template-columns: 1fr !important;
    padding: 24px 20px !important;
  }
  .stat-item { border-right: none !important; border-bottom: 1px solid var(--border) !important; padding: 20px !important; }
  .stat-item:last-child { border-bottom: none !important; }
  .stat-num { font-size: 2.4rem !important; }

  /* ── FOOTER ── */
  footer { padding: 36px 20px 24px !important; }
  .footer-top { grid-template-columns: 1fr !important; gap: 28px !important; }
  .footer-bottom { flex-direction: column !important; text-align: center !important; gap: 12px !important; }
  .footer-legal { justify-content: center !important; }

  /* ── CONTACT ── */
  .contact-layout { padding: 60px 20px !important; gap: 36px !important; }
  .contact-form-wrap { padding: 24px !important; border-radius: 14px !important; }
  .form-type-toggle { flex-direction: column !important; }
  .ftt-btn { text-align: center !important; }
  .support-section { padding: 48px 20px !important; }

  /* ── PLATFORM-SOLUTIONS ── */
  .integrations-grid { grid-template-columns: 1fr 1fr !important; }
  .product-stats, .did-stats { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:repeat(5,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* ── COMPANY ── */
  .values-grid, .team-grid { grid-template-columns: 1fr !important; }
  .vs-stats { grid-template-columns: 1fr !important; }

  /* ── ARTICLE ── */
  .article-wrap { padding: 80px 16px 48px !important; }
  .article-title { font-size: clamp(1.8rem, 7vw, 2.4rem) !important; }
  .related-section { padding: 48px 16px !important; }

  /* ── LEGACY BAND ── */
  .legacy-band-v2 { padding: 48px 20px !important; }
  .legacy-band-v2 [style*="font-size:4rem"],
  .legacy-band-v2 [style*="font-size:5rem"] { font-size: 2.6rem !important; }

  /* ── CARDS ── */
  .card { padding: 22px !important; }

  /* ── DASHBOARD — hide on small phones ── */
  .dashboard-wrap { transform: none !important; }
  .dashboard-card { transform: none !important; border-radius: 12px !important; }
  .db-body { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .db-table-head, .db-table-row {
    grid-template-columns: 2fr 1fr 1fr !important;
  }
  .db-table-head .db-th:last-child,
  .db-table-row .db-td:last-child { display: none !important; }

  /* ── BREADCRUMBS ── */
  .article-breadcrumb { font-size: 0.58rem !important; }

  /* ── LOGO MARQUEE ── */
  .logo-track { gap: 32px !important; }
  .logo-track img {
    height: 18px !important;
    max-width: 80px !important;
  }
}
