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

:root {
  --bg: #000;
  --bg-2: #0a0a0a;
  --bg-3: #111;
  --bg-4: #161616;
  --border: rgba(255,255,255,0.08);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --accent: #2997ff;
  --accent-2: #5ac8fa;
  --green: #30d158;
  --purple: #bf5af2;
  --orange: #ff9f0a;
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

/* ── Utility ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 14px 28px; border-radius: 980px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  transition: var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover {
  background: #1a85e8; transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(41,151,255,0.35);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--accent);
  padding: 14px 28px; border-radius: 980px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  transition: var(--transition); border: 1.5px solid rgba(41,151,255,0.4);
}
.btn-ghost:hover { background: rgba(41,151,255,0.08); border-color: var(--accent); }

/* ── NAV ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(0,0,0,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 52px; display: flex; align-items: center; gap: 32px;
}
.nav-logo { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); flex-shrink: 0; }
.nav-links { display: flex; gap: 28px; flex: 1; justify-content: center; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-2); transition: color 0.2s; letter-spacing: -0.01em; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-size: 13px; font-weight: 500; color: var(--accent);
  padding: 6px 16px; border: 1px solid rgba(41,151,255,0.4);
  border-radius: 980px; transition: var(--transition); flex-shrink: 0;
}
.nav-cta:hover { background: rgba(41,151,255,0.1); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.mobile-menu { display: none; flex-direction: column; background: rgba(0,0,0,0.95); backdrop-filter: blur(20px); border-top: 1px solid var(--border); padding: 12px 0 20px; }
.mobile-menu a { padding: 14px 24px; font-size: 15px; color: var(--text-2); transition: color 0.2s; }
.mobile-menu a:hover { color: var(--text); }
.mobile-menu .mobile-cta { margin: 8px 24px 0; padding: 12px 24px; background: var(--accent); color: #fff; border-radius: 980px; text-align: center; font-weight: 500; }
.mobile-menu.open { display: flex; }

/* ── HERO ── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35; }
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, #2997ff 0%, transparent 70%); top: -200px; left: -100px; animation: float 8s ease-in-out infinite; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, #bf5af2 0%, transparent 70%); bottom: 0; right: 0; animation: float 10s ease-in-out infinite reverse; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, #30d158 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); animation: pulse 6s ease-in-out infinite; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
@keyframes float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }
@keyframes pulse { 0%,100% { opacity: 0.2; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 0.35; transform: translate(-50%,-50%) scale(1.15); } }

.hero-content { position: relative; z-index: 2; max-width: 820px; padding: 0 24px; }
.hero-badge { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); background: rgba(41,151,255,0.1); border: 1px solid rgba(41,151,255,0.25); padding: 6px 16px; border-radius: 980px; margin-bottom: 32px; }
.hero-title { font-size: clamp(48px, 8vw, 96px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 24px; }
.hero-sub { font-size: clamp(16px, 2vw, 20px); color: var(--text-2); max-width: 560px; margin: 0 auto 40px; line-height: 1.7; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-3); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; z-index: 2; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--text-3), transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%,100% { opacity: 0.4; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.2); } }

/* ── SECTIONS ── */
section:not(#hero) { padding: 120px 0; }
.section-label { font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.section-title { font-size: clamp(44px, 6vw, 72px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 24px; }
.section-desc { font-size: 20px; color: var(--text-2); max-width: 600px; line-height: 1.75; font-weight: 300; margin-bottom: 72px; }

/* ── VISION ── */
#vision { background: var(--bg-2); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 32px; transition: var(--transition); opacity: 0; transform: translateY(24px); }
.pillar.visible { opacity: 1; transform: translateY(0); }
.pillar:hover { border-color: rgba(41,151,255,0.3); transform: translateY(-4px); background: var(--bg-4); }
.pillar-icon { width: 48px; height: 48px; color: var(--accent); margin-bottom: 20px; }
.pillar-icon svg { width: 100%; height: 100%; }
.pillar h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.pillar > p { font-size: 15px; color: var(--text-2); line-height: 1.65; margin-bottom: 20px; }

.pillar-list { display: flex; flex-direction: column; gap: 12px; }
.pillar-list li { font-size: 13px; color: var(--text-3); line-height: 1.6; padding-left: 0; }
.pill { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; margin-right: 6px; vertical-align: middle; }
.pill-green  { background: rgba(48,209,88,0.15);  color: var(--green);  }
.pill-blue   { background: rgba(41,151,255,0.15); color: var(--accent); }
.pill-purple { background: rgba(191,90,242,0.15); color: var(--purple); }

/* ── PRODUCTS ── */
#products { background: var(--bg); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.product-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 32px 40px; position: relative; transition: var(--transition); opacity: 0; transform: translateY(24px); }
.product-card.visible { opacity: 1; transform: translateY(0); }
.product-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.15); }
.product-card.featured { background: linear-gradient(145deg, #0d1b2e 0%, #0a1220 100%); border-color: rgba(41,151,255,0.35); transform: scale(1.02); }
.product-card.featured.visible { transform: scale(1.02) translateY(0); }
.product-card.featured:hover { transform: scale(1.02) translateY(-6px); border-color: rgba(41,151,255,0.6); box-shadow: 0 24px 60px rgba(41,151,255,0.15); }
.featured-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 16px; border-radius: 980px; white-space: nowrap; }

.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.product-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 980px; }
.tag-free      { background: rgba(48,209,88,0.12);  color: var(--green);  border: 1px solid rgba(48,209,88,0.25);  }
.tag-license   { background: rgba(41,151,255,0.12); color: var(--accent); border: 1px solid rgba(41,151,255,0.25); }
.tag-enterprise{ background: rgba(191,90,242,0.12); color: var(--purple); border: 1px solid rgba(191,90,242,0.25); }

.product-logo { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.card-zach    .product-logo { background: rgba(48,209,88,0.15); }
.card-ammp    .product-logo { background: rgba(41,151,255,0.15); }
.card-caplogix .product-logo { background: rgba(191,90,242,0.15); }
.logo-letter { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.card-zach    .logo-letter { color: var(--green);  }
.card-ammp    .logo-letter { color: var(--accent); }
.card-caplogix .logo-letter { color: var(--purple); }

.product-name { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 4px; }
.product-tagline { font-size: 14px; color: var(--text-3); margin-bottom: 16px; font-style: italic; }
.product-desc { font-size: 15px; color: var(--text-2); line-height: 1.65; margin-bottom: 24px; }
.product-features { margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.product-features li { font-size: 14px; color: var(--text-2); display: flex; align-items: center; gap: 10px; }
.product-features li::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.card-zach    .product-features li::before { background: var(--green);  }
.card-ammp    .product-features li::before { background: var(--accent); }
.card-caplogix .product-features li::before { background: var(--purple); }

.card-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-card-primary { flex: 1; text-align: center; padding: 12px 20px; border-radius: 980px; font-size: 14px; font-weight: 500; transition: var(--transition); border: none; cursor: pointer; font-family: inherit; }
.card-zach    .btn-card-primary { background: var(--green);  color: #000; }
.card-ammp    .btn-card-primary { background: var(--accent); color: #fff; }
.card-caplogix .btn-card-primary { background: var(--purple); color: #fff; }
.btn-card-primary:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-card-ghost { flex: 1; text-align: center; padding: 12px 20px; border-radius: 980px; font-size: 14px; font-weight: 500; background: transparent; border: 1.5px solid var(--border); color: var(--text-2); transition: var(--transition); cursor: pointer; font-family: inherit; }
.btn-card-ghost:hover { border-color: rgba(255,255,255,0.25); color: var(--text); }

/* ── STATS ── */
#stats { padding: 80px 0; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-number { font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -0.04em; background: linear-gradient(135deg, var(--text) 0%, var(--text-2) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 8px; }
.stat-label { font-size: 13px; color: var(--text-3); letter-spacing: 0.02em; }

/* ── CONTACT ── */
#contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text-2); letter-spacing: 0.02em; }
.form-group input, .form-group select, .form-group textarea { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15px; color: var(--text); font-family: inherit; transition: border-color 0.2s; outline: none; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-3); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--bg-3); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(41,151,255,0.12); }
.form-submit { align-self: flex-start; }
.form-success { display: none; color: var(--green); font-size: 14px; font-weight: 500; }
.form-success.show { display: block; }

.contact-info { display: flex; flex-direction: column; gap: 32px; padding-top: 8px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent); }
.contact-icon svg { width: 20px; height: 20px; }
.contact-label { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.contact-value { font-size: 15px; color: var(--text); font-weight: 500; }
a.contact-value:hover { color: var(--accent); }

/* ── FOOTER ── */
#footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 60px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 64px; margin-bottom: 48px; align-items: start; }
.footer-logo { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--text-3); max-width: 280px; line-height: 1.65; }
.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--text-2); transition: color 0.2s; cursor: pointer; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-3); }

/* ══════════════════════════════════════════════════════
   MODALS
══════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 24px 16px 40px;
  overflow-y: auto;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-panel {
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: 24px;
  width: 100%; max-width: 860px;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  overflow: hidden;
  margin-top: 20px;
}
.modal-overlay.open .modal-panel { transform: translateY(0); }

.modal-close {
  position: absolute; top: 20px; right: 20px; z-index: 10;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-2);
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.14); color: var(--text); }
.modal-close svg { width: 16px; height: 16px; }

/* Modal hero strip */
.modal-hero {
  padding: 56px 48px 44px;
  text-align: center;
  position: relative;
}
.modal-hero-zach    { background: linear-gradient(135deg, rgba(48,209,88,0.08) 0%, rgba(0,0,0,0) 60%); border-bottom: 1px solid rgba(48,209,88,0.12); }
.modal-hero-ammp    { background: linear-gradient(135deg, rgba(41,151,255,0.08) 0%, rgba(0,0,0,0) 60%); border-bottom: 1px solid rgba(41,151,255,0.12); }
.modal-hero-caplogix{ background: linear-gradient(135deg, rgba(191,90,242,0.08) 0%, rgba(0,0,0,0) 60%); border-bottom: 1px solid rgba(191,90,242,0.12); }

.modal-logo-lg {
  width: 72px; height: 72px; border-radius: 20px;
  font-size: 36px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.logo-zach     { background: rgba(48,209,88,0.15);  color: var(--green);  }
.logo-ammp     { background: rgba(41,151,255,0.15); color: var(--accent); }
.logo-caplogix { background: rgba(191,90,242,0.15); color: var(--purple); }

.modal-tag { display: inline-block; margin-bottom: 16px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 14px; border-radius: 980px; }
.modal-title { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 12px; }
.modal-subtitle { font-size: 16px; color: var(--text-2); max-width: 540px; margin: 0 auto 28px; line-height: 1.6; font-weight: 300; }
.modal-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.modal-hero-actions .btn-primary { padding: 12px 24px; font-size: 14px; }
.modal-hero-actions .btn-ghost   { padding: 12px 24px; font-size: 14px; }

/* Modal body */
.modal-body { padding: 0 48px 48px; }
.modal-section { margin-top: 40px; }
.modal-section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.modal-text { font-size: 15px; color: var(--text-2); line-height: 1.75; }
.modal-text strong { color: var(--text); font-weight: 600; }
.modal-text a { color: var(--accent); }

/* Science grid */
.science-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.science-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 22px; }
.science-card-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 10px; letter-spacing: -0.01em; }
.science-card-body { font-size: 13px; color: var(--text-2); line-height: 1.65; }
.formula { margin-top: 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; font-family: 'Courier New', monospace; font-size: 12px; color: var(--text); letter-spacing: 0.01em; }

/* Feature list grid */
.feature-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.feat-dot { display: block; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.feat-green  { background: var(--green);  }
.feat-blue   { background: var(--accent); }
.feat-purple { background: var(--purple); }

/* Use case chips */
.usecase-row { display: flex; flex-wrap: wrap; gap: 10px; }
.usecase-chip { font-size: 13px; color: var(--text-2); background: var(--bg-3); border: 1px solid var(--border); padding: 6px 14px; border-radius: 980px; }

/* Modal CTA bar */
.modal-cta-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.modal-cta-bar .btn-primary { padding: 13px 28px; font-size: 15px; }
.modal-cta-bar .btn-ghost   { padding: 13px 28px; font-size: 15px; }

/* ── SCREENSHOT GALLERY ── */
.screenshot-gallery {
  background: var(--bg-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.ss-main-wrap {
  position: relative;
  background: #0a0a0a;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  /* Fake browser chrome bar */
  padding-top: 32px;
}
.ss-main-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 32px;
  background: #1a1a1a;
  border-bottom: 1px solid var(--border);
}
.ss-main-wrap::after {
  content: '● ● ●';
  position: absolute;
  top: 0; left: 14px;
  height: 32px;
  line-height: 32px;
  font-size: 9px;
  letter-spacing: 4px;
  color: #444;
}
.ss-main-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: top;
  transition: opacity 0.25s ease;
}
.ss-main-img.fading { opacity: 0; }

.ss-caption {
  padding: 12px 20px;
  font-size: 13px;
  color: var(--text-3);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
  min-height: 42px;
}

.ss-thumbs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.ss-thumbs::-webkit-scrollbar { display: none; }

.ss-thumb {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
  min-width: 110px;
  max-width: 150px;
}
.ss-thumb:last-child { border-right: none; }
.ss-thumb:hover { background: rgba(255,255,255,0.04); }
.ss-thumb.active { background: rgba(255,255,255,0.06); }
.ss-thumb img {
  width: 100%;
  height: 52px;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.ss-thumb.active img { border-color: rgba(255,255,255,0.3); }
.ss-thumb span {
  font-size: 11px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}
.ss-thumb.active span { color: var(--text-2); }

/* ── SCROLL GLOW ── */
#scroll-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.sg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0;
  transition: opacity 1.2s ease, transform 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 1.4s ease;
  will-change: transform, opacity;
}
.sg-orb-a {
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--sg-color-a, #2997ff) 0%, transparent 70%);
  left: -200px; top: -200px;
}
.sg-orb-b {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--sg-color-b, #bf5af2) 0%, transparent 70%);
  right: -150px; bottom: -150px;
}
body.glow-active .sg-orb { opacity: 0.18; }

/* per-section glow colours set via JS classes on body */
body.glow-hero    .sg-orb-a { --sg-color-a:#2997ff; }
body.glow-hero    .sg-orb-b { --sg-color-b:#bf5af2; }
body.glow-vision  .sg-orb-a { --sg-color-a:#30d158; }
body.glow-vision  .sg-orb-b { --sg-color-b:#2997ff; }
body.glow-products .sg-orb-a { --sg-color-a:#bf5af2; }
body.glow-products .sg-orb-b { --sg-color-b:#2997ff; }
body.glow-stats   .sg-orb-a { --sg-color-a:#ff9f0a; }
body.glow-stats   .sg-orb-b { --sg-color-b:#30d158; }
body.glow-contact .sg-orb-a { --sg-color-a:#2997ff; }
body.glow-contact .sg-orb-b { --sg-color-b:#30d158; }

/* ══════════════════════════════════════════════════════
   WOW — CUSTOM CURSOR
══════════════════════════════════════════════════════ */
#cursor-dot, #cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  z-index: 10000;
}
#cursor-dot {
  width: 5px; height: 5px;
  background: #fff;
  mix-blend-mode: difference;
  top: 0; left: 0;
}
#cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(41,151,255,0.55);
  top: 0; left: 0;
  transition: width 0.22s ease, height 0.22s ease,
              border-color 0.22s ease, background 0.22s ease,
              margin 0.22s ease;
}
body.cursor-hover #cursor-ring {
  width: 56px; height: 56px;
  border-color: rgba(41,151,255,0.85);
  background: rgba(41,151,255,0.07);
  margin: -9px 0 0 -9px;
}
body.cursor-click #cursor-ring {
  width: 28px; height: 28px;
  margin: 5px 0 0 5px;
  background: rgba(41,151,255,0.2);
}
@media (pointer: coarse) {
  #cursor-dot, #cursor-ring { display: none; }
}

/* ══════════════════════════════════════════════════════
   WOW — CURSOR SPOTLIGHT
══════════════════════════════════════════════════════ */
#cursor-spotlight {
  position: fixed;
  width: 600px; height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle,
    rgba(41,151,255,0.06) 0%,
    rgba(41,151,255,0.02) 30%,
    transparent 70%);
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: opacity 0.5s ease;
}

/* ══════════════════════════════════════════════════════
   WOW — HERO CANVAS PARTICLES
══════════════════════════════════════════════════════ */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.6;
  z-index: 1;
}

/* ══════════════════════════════════════════════════════
   WOW — ANIMATED GRADIENT TEXT
══════════════════════════════════════════════════════ */
@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.gradient-text {
  background: linear-gradient(135deg,
    var(--accent) 0%, var(--accent-2) 25%, #a78bfa 50%, var(--green) 75%, var(--accent) 100%);
  background-size: 300% 300%;
  animation: gradShift 6s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════════════
   WOW — HERO BADGE PULSE
══════════════════════════════════════════════════════ */
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(41,151,255,0.35); }
  60%       { box-shadow: 0 0 0 10px rgba(41,151,255,0); }
}
.hero-badge { animation: badgePulse 3.5s ease-in-out infinite; }

/* ══════════════════════════════════════════════════════
   WOW — ANIMATED CONIC GRADIENT BORDER (featured card)
══════════════════════════════════════════════════════ */
@property --bg-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes rotateBorder { to { --bg-angle: 360deg; } }

.product-card.featured {
  background:
    linear-gradient(var(--bg-4), var(--bg-4)) padding-box,
    conic-gradient(from var(--bg-angle) at 50% 50%,
      #2997ff 0%,
      #bf5af2 30%,
      #30d158 60%,
      #ff9f0a 80%,
      #2997ff 100%) border-box;
  border: 1.5px solid transparent;
  animation: rotateBorder 4s linear infinite;
}
.product-card.featured:hover {
  animation: rotateBorder 1.8s linear infinite;
}

/* ══════════════════════════════════════════════════════
   WOW — 3D CARD TILT
══════════════════════════════════════════════════════ */
.product-card {
  transform-style: preserve-3d;
  will-change: transform;
}
.card-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card:hover .card-shine { opacity: 1; }
.product-card > * { position: relative; z-index: 2; }

/* ══════════════════════════════════════════════════════
   WOW — PRODUCT LOGO GLOW ON HOVER
══════════════════════════════════════════════════════ */
.product-logo { transition: box-shadow 0.35s ease, transform 0.35s ease; }
.card-zach:hover    .product-logo { box-shadow: 0 0 28px rgba(48,209,88,0.55);  transform: scale(1.08); }
.card-ammp:hover    .product-logo { box-shadow: 0 0 28px rgba(41,151,255,0.55); transform: scale(1.08); }
.card-caplogix:hover .product-logo{ box-shadow: 0 0 28px rgba(191,90,242,0.55); transform: scale(1.08); }

/* ══════════════════════════════════════════════════════
   WOW — NAV LINK UNDERLINE ANIMATION
══════════════════════════════════════════════════════ */
.nav-links a { position: relative; padding-bottom: 2px; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%; right: 50%;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: left 0.3s ease, right 0.3s ease;
}
.nav-links a:hover::after { left: 0; right: 0; }

/* ══════════════════════════════════════════════════════
   WOW — PILLAR TOP ACCENT LINE
══════════════════════════════════════════════════════ */
.pillar { overflow: hidden; }
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.pillar.visible::before { opacity: 0.7; transform: scaleX(1); }

/* ══════════════════════════════════════════════════════
   WOW — STAT NUMBER STYLE
══════════════════════════════════════════════════════ */
.stat-number {
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #fff 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════════════
   WOW — MAGNETIC BUTTON BASE
══════════════════════════════════════════════════════ */
.btn-primary, .btn-ghost, .btn-card-primary, .btn-card-ghost {
  transition: var(--transition), transform 0.15s ease !important;
}

/* ══════════════════════════════════════════════════════
   WOW — SECTION LABEL GLOW
══════════════════════════════════════════════════════ */
.section-label {
  position: relative;
  display: inline-block;
}
.section-label::before {
  content: '';
  position: absolute;
  left: -12px; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent), 0 0 16px var(--accent);
  animation: badgePulse 2s ease-in-out infinite;
}

/* ══════════════════════════════════════════════════════
   WOW — HERO SCROLL HINT ANIMATION (refined)
══════════════════════════════════════════════════════ */
.scroll-line {
  background: linear-gradient(to bottom, var(--accent), transparent);
}

/* ══════════════════════════════════════════════════════
   WOW — CONTACT FORM INPUTS GLOW
══════════════════════════════════════════════════════ */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(41,151,255,0.12),
              0 0 20px rgba(41,151,255,0.08);
}

/* ══════════════════════════════════════════════════════
   WOW — FOOTER BRAND GRADIENT
══════════════════════════════════════════════════════ */
.footer-logo {
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════════════
   WOW — MODAL HERO SHINE
══════════════════════════════════════════════════════ */
.modal-hero::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; right: 100%; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transition: left 0.6s ease, right 0.6s ease;
  pointer-events: none;
}
.modal-overlay.open .modal-hero::after {
  left: 100%; right: -100%;
}

/* ══════════════════════════════════════════════════════
   WOW — CARD FEATURES BULLET DOTS PULSE
══════════════════════════════════════════════════════ */
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.6; }
}
.product-card:hover .product-features li::before {
  animation: dotPulse 1.5s ease-in-out infinite;
}

/* ══════════════════════════════════════════════════════
   WOW — STATS SECTION BACKGROUND
══════════════════════════════════════════════════════ */
#stats {
  position: relative;
  overflow: hidden;
}
#stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 120% at 50% 50%,
    rgba(41,151,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════
   WOW — BUTTON SHINE SWEEP
══════════════════════════════════════════════════════ */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-15deg);
  transition: left 0.5s ease;
}
.btn-primary:hover::after { left: 150%; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE — cursor off on touch
══════════════════════════════════════════════════════ */

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .pillars { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card.featured { transform: none; }
  .product-card.featured.visible { transform: translateY(0); }
  .product-card.featured:hover { transform: translateY(-6px); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .science-grid { grid-template-columns: 1fr; }
  .feature-list-grid { grid-template-columns: 1fr; }
  .modal-hero { padding: 44px 24px 32px; }
  .modal-body { padding: 0 24px 36px; }
}

@media (max-width: 600px) {
  section:not(#hero) { padding: 80px 0; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .modal-panel { margin-top: 0; border-radius: 16px; }
  .modal-title { font-size: 28px; }
}
