/* ============================================
   OMNISAGE — PREMIUM DESIGN SYSTEM
   OpenAI-level visual identity
   ============================================ */

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
  --black:      #000000;
  --black-rich: #0a0a0a;
  --black-soft: #111111;
  --black-card: #141414;
  --black-hover:#1a1a1a;
  --border:     rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.12);
  --white:      #ffffff;
  --white-90:   rgba(255,255,255,0.9);
  --white-70:   rgba(255,255,255,0.7);
  --white-50:   rgba(255,255,255,0.5);
  --white-30:   rgba(255,255,255,0.3);
  --white-10:   rgba(255,255,255,0.1);
  --white-05:   rgba(255,255,255,0.05);
  --indigo:     #6366f1;
  --indigo-l:   #818cf8;
  --violet:     #8b5cf6;
  --violet-l:   #a78bfa;
  --sky:        #38bdf8;
  --sky-l:      #7dd3fc;
  --teal:       #2dd4bf;
  --scovai:     #6366f1;
  --scovai-l:   #818cf8;
  --goconnect:  #06b6d4;
  --goconnect-l:#22d3ee;
  --font:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --shadow:     0 0 0 1px rgba(255,255,255,0.06), 0 8px 32px rgba(0,0,0,0.6);
  --shadow-lg:  0 0 0 1px rgba(255,255,255,0.08), 0 24px 64px rgba(0,0,0,0.8);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- TYPOGRAPHY HELPERS ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--white) 0%, var(--indigo-l) 50%, var(--violet-l) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.muted { color: var(--white-30); font-weight: 400; }
.hide-sm { display: inline; }
.centered { text-align: center; }

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- SECTION LABEL ---- */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-50);
  margin-bottom: 20px;
}
.section-headline {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--white-60, rgba(255,255,255,0.6));
  max-width: 540px;
  line-height: 1.65;
  margin: 0 auto 56px;
}
.section { padding: 120px 0; }

/* ===================================================
   NAVIGATION
   =================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.logo-mark {
  font-size: 1.25rem;
  color: var(--indigo-l);
  display: inline-block;
  transition: transform 0.4s ease;
}
.nav-logo:hover .logo-mark { transform: rotate(45deg); }
.logo-text { color: var(--white); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white-70);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  border: 1px solid var(--border-light);
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--white-05);
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.nav-cta:hover {
  background: var(--white-10);
  border-color: var(--white-30);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 20px;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--white-70);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 32px 24px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(20px);
  gap: 4px;
}
.nav-mobile a {
  padding: 12px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white-70);
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

/* ===================================================
   BUTTONS
   =================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--white);
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 9px;
  letter-spacing: 0.01em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.15));
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 32px rgba(255,255,255,0.15); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary.btn-large { padding: 16px 36px; font-size: 1rem; border-radius: 11px; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  color: var(--white-70);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 9px;
  transition: var(--transition);
}
.btn-ghost:hover { color: var(--white); }
.btn-product {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid transparent;
  margin-top: 32px;
}
.scovai-btn {
  background: rgba(99,102,241,0.12);
  color: var(--scovai-l);
  border-color: rgba(99,102,241,0.25);
}
.scovai-btn:hover {
  background: rgba(99,102,241,0.2);
  border-color: rgba(99,102,241,0.45);
  transform: translateX(3px);
}
.goconnect-btn {
  background: rgba(6,182,212,0.12);
  color: var(--goconnect-l);
  border-color: rgba(6,182,212,0.25);
}
.goconnect-btn:hover {
  background: rgba(6,182,212,0.2);
  border-color: rgba(6,182,212,0.45);
  transform: translateX(3px);
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
}
.glow-left {
  top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(99,102,241,0.22) 0%, transparent 70%);
}
.glow-right {
  bottom: -200px; right: -200px;
  background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 96px;
  padding-bottom: 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--white-70);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  margin-bottom: 40px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--indigo-l);
  box-shadow: 0 0 8px var(--indigo);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--indigo); }
  50%       { opacity: 0.6; box-shadow: 0 0 16px var(--indigo); }
}
.hero-headline {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--white-50);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 44px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  margin-top: 80px;
  display: flex;
  justify-content: center;
}
.scroll-line {
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, var(--white-30), transparent);
  animation: scroll-fade 2.5s ease infinite;
}
@keyframes scroll-fade {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* Hero dot grid canvas */
#heroCanvas {
  background: var(--black);
}

/* ===================================================
   WHAT IS OMNISAGE
   =================================================== */
.what { background: var(--black); border-top: 1px solid var(--border); }
.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.what-body {
  font-size: 1rem;
  color: var(--white-60, rgba(255,255,255,0.6));
  line-height: 1.75;
  margin-bottom: 20px;
}
.what-pillars {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.pillar:last-child { border-bottom: 1px solid var(--border); }
.pillar-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white-30);
  letter-spacing: 0.08em;
  min-width: 24px;
}
.pillar-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white-80, rgba(255,255,255,0.8));
}

/* ===================================================
   PHILOSOPHY
   =================================================== */
.philosophy { background: var(--black-rich); border-top: 1px solid var(--border); }
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.phil-card {
  background: var(--black-card);
  padding: 44px 40px;
  transition: background 0.3s;
}
.phil-card:hover { background: var(--black-hover); }
.phil-icon {
  font-size: 1.4rem;
  color: var(--indigo-l);
  margin-bottom: 20px;
  opacity: 0.7;
}
.phil-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.phil-desc {
  font-size: 0.92rem;
  color: var(--white-50);
  line-height: 1.65;
}

/* ===================================================
   PRODUCTS
   =================================================== */
.products { background: var(--black); border-top: 1px solid var(--border); }
.product-card {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color 0.3s;
  background: var(--black-card);
  position: relative;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  opacity: 0;
  transition: opacity 0.3s;
}
.scovai-card::before {
  background: linear-gradient(90deg, transparent, var(--scovai), transparent);
}
.goconnect-card::before {
  background: linear-gradient(90deg, transparent, var(--goconnect), transparent);
}
.scovai-card:hover { border-color: rgba(99,102,241,0.3); }
.scovai-card:hover::before { opacity: 1; }
.goconnect-card:hover { border-color: rgba(6,182,212,0.3); }
.goconnect-card:hover::before { opacity: 1; }
.product-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.product-card-inner.reverse { direction: rtl; }
.product-card-inner.reverse > * { direction: ltr; }
.product-left {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(255,255,255,0.02);
  border-left: 1px solid var(--border);
}
.product-card-inner.reverse .product-right {
  border-left: none;
  border-right: 1px solid var(--border);
}
.product-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.scovai-badge {
  background: rgba(99,102,241,0.12);
  color: var(--scovai-l);
  border: 1px solid rgba(99,102,241,0.2);
}
.goconnect-badge {
  background: rgba(6,182,212,0.12);
  color: var(--goconnect-l);
  border: 1px solid rgba(6,182,212,0.2);
}
.product-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 20px;
}
.product-desc {
  font-size: 0.93rem;
  color: var(--white-50);
  line-height: 1.7;
  margin-bottom: 28px;
}
.product-capabilities {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cap-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--white-70);
  font-weight: 500;
}
.cap-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.scovai-dot { background: var(--scovai-l); box-shadow: 0 0 6px var(--scovai); }
.goconnect-dot { background: var(--goconnect-l); box-shadow: 0 0 6px var(--goconnect); }

/* ---- UI Mockups ---- */
.product-visual { width: 100%; max-width: 380px; }
.visual-ui {
  background: #0d0d0d;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.ui-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--black-soft);
  border-bottom: 1px solid var(--border);
}
.ui-dots { display: flex; gap: 6px; }
.ui-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--white-10);
}
.ui-dots span:nth-child(1) { background: rgba(239,68,68,0.6); }
.ui-dots span:nth-child(2) { background: rgba(234,179,8,0.6); }
.ui-dots span:nth-child(3) { background: rgba(34,197,94,0.6); }
.ui-title { font-size: 0.72rem; color: var(--white-40, rgba(255,255,255,0.4)); flex: 1; text-align: center; letter-spacing: 0.02em; }
.ui-body { padding: 20px 16px; display: flex; flex-direction: column; gap: 12px; }
.ui-candidate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--black-hover);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.3s;
}
.ui-candidate.active { border-color: rgba(99,102,241,0.35); background: rgba(99,102,241,0.06); }
.cand-info { display: flex; align-items: center; gap: 10px; }
.cand-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  opacity: 0.85;
  flex-shrink: 0;
}
.cand-name { font-size: 0.8rem; font-weight: 600; color: var(--white-90); }
.cand-role { font-size: 0.7rem; color: var(--white-40, rgba(255,255,255,0.4)); margin-top: 1px; }
.cand-score { display: flex; align-items: center; gap: 10px; }
.score-bar { width: 70px; height: 3px; background: var(--white-10); border-radius: 2px; overflow: hidden; }
.score-fill { height: 100%; border-radius: 2px; }
.score-num { font-size: 0.75rem; font-weight: 700; color: var(--white-70); min-width: 20px; text-align: right; }
.ui-mike {
  margin-top: 4px;
  padding: 12px 14px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 10px;
}
.mike-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--scovai-l);
  margin-bottom: 6px;
}
.mike-text {
  font-size: 0.75rem;
  color: var(--white-60, rgba(255,255,255,0.6));
  line-height: 1.5;
}

/* GoConnect UI */
.gc-match {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--black-hover);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
}
.gc-left, .gc-right { flex: 1; }
.gc-right { text-align: right; }
.gc-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 4px;
}
.gc-tag.talent { background: rgba(6,182,212,0.15); color: var(--goconnect-l); }
.gc-tag.org    { background: rgba(99,102,241,0.15); color: var(--scovai-l); }
.gc-name { font-size: 0.82rem; font-weight: 600; color: var(--white-90); }
.gc-connector { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; min-width: 50px; }
.gc-line {
  width: 40px; height: 2px;
  background: var(--border-light);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}
.gc-pulse {
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--goconnect-l), transparent);
  animation: pulse-line 2s linear infinite;
}
@keyframes pulse-line {
  to { left: 100%; }
}
.gc-pct { font-size: 0.68rem; font-weight: 700; color: var(--goconnect-l); }
.gc-stats {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.gc-stat {
  flex: 1;
  padding: 12px;
  background: rgba(6,182,212,0.05);
  border: 1px solid rgba(6,182,212,0.15);
  border-radius: 10px;
  text-align: center;
}
.gc-stat-num { display: block; font-size: 1.1rem; font-weight: 800; color: var(--goconnect-l); letter-spacing: -0.02em; }
.gc-stat-label { font-size: 0.68rem; color: var(--white-40, rgba(255,255,255,0.4)); }

/* ===================================================
   WHY OMNISAGE
   =================================================== */
.why { background: var(--black-rich); border-top: 1px solid var(--border); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 56px;
}
.why-card {
  background: var(--black-card);
  padding: 44px 36px;
  transition: background 0.3s;
}
.why-card:hover { background: var(--black-hover); }
.why-icon { font-size: 1.5rem; color: var(--indigo-l); margin-bottom: 20px; display: block; transition: transform 0.4s ease; }
.why-card:hover .why-icon { transform: rotate(45deg); }
.why-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 12px; letter-spacing: -0.01em; }
.why-card p { font-size: 0.88rem; color: var(--white-50); line-height: 1.65; }

/* ===================================================
   VISION
   =================================================== */
.vision {
  background: var(--black);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.vision-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.vision-content { position: relative; z-index: 1; }
.vision-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-50);
  margin-bottom: 32px;
}
.vision-quote {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 32px;
  font-style: normal;
}
.vision-body {
  font-size: 1.05rem;
  color: var(--white-50);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ===================================================
   COMPANY INFO
   =================================================== */
.company { background: var(--black-rich); border-top: 1px solid var(--border); }
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.company-tagline {
  font-size: 1rem;
  color: var(--white-50);
  line-height: 1.6;
  margin-top: 16px;
}
.company-right { display: flex; flex-direction: column; gap: 32px; padding-top: 8px; }
.company-detail { display: flex; flex-direction: column; gap: 6px; }
.detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-30);
}
.detail-value {
  font-size: 0.95rem;
  color: var(--white-70);
  line-height: 1.6;
}
.detail-link { color: var(--indigo-l); transition: color 0.2s; }
.detail-link:hover { color: var(--white); }

/* ===================================================
   FINAL CTA
   =================================================== */
.final-cta { background: var(--black); border-top: 1px solid var(--border); padding: 100px 0; }
.cta-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  background: var(--black-card);
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-headline {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 20px;
}
.cta-sub {
  font-size: 1rem;
  color: var(--white-50);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: var(--black-rich);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-brand { }
.footer-tagline { font-size: 0.85rem; color: var(--white-30); margin-top: 10px; }
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-links a { font-size: 0.85rem; color: var(--white-40, rgba(255,255,255,0.4)); transition: color 0.2s; }
.footer-links a:hover { color: var(--white-70); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--white-30);
}
.footer-bottom a { color: var(--white-30); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--white-50); }
.footer-linkedin {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white-40, rgba(255,255,255,0.4));
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-linkedin:hover { color: var(--white-70); }

/* ===================================================
   PRODUCT PAGES — SHARED
   =================================================== */
.page-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}
.page-hero .hero-glow { filter: blur(120px); }
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.04);
  margin-bottom: 32px;
}
.page-hero-headline {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}
.page-hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--white-50);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 44px;
}
.page-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 56px;
}
.feature-card {
  background: var(--black-card);
  padding: 40px 32px;
  transition: background 0.3s;
}
.feature-card:hover { background: var(--black-hover); }
.feature-icon { font-size: 1.5rem; margin-bottom: 18px; display: block; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.feature-card p { font-size: 0.875rem; color: var(--white-50); line-height: 1.65; }

/* Split sections */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-section.reverse { }
.split-content { }
.split-content h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--white); margin-bottom: 20px; }
.split-content p { font-size: 0.95rem; color: var(--white-50); line-height: 1.75; margin-bottom: 16px; }
.split-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 56px;
}
.stat-item {
  background: var(--black-card);
  padding: 36px 28px;
  text-align: center;
}
.stat-num { display: block; font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px; }
.stat-label { font-size: 0.8rem; color: var(--white-40, rgba(255,255,255,0.4)); letter-spacing: 0.02em; }

/* Testimonial */
.testimonial-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 60px;
  background: var(--black-card);
  position: relative;
  overflow: hidden;
  margin-top: 48px;
}
.testimonial-block::before {
  content: '"';
  position: absolute;
  top: -20px; left: 40px;
  font-size: 12rem;
  color: var(--white-05);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.testimonial-text {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--white-80, rgba(255,255,255,0.8));
  line-height: 1.55;
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}
.testimonial-author { font-size: 0.85rem; color: var(--white-40, rgba(255,255,255,0.4)); }

/* ===================================================
   CONTACT PAGE
   =================================================== */
.contact-hero {
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding-top: 96px;
  padding-bottom: 0;
  border-bottom: 1px solid var(--border);
}
.contact-hero-content {
  padding-bottom: 72px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 80px 0;
}
.contact-left { }
.contact-info-block { margin-bottom: 48px; }
.contact-info-block h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; color: var(--white); margin-bottom: 16px; }
.contact-info-block p { font-size: 0.95rem; color: var(--white-50); line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-detail-item { display: flex; flex-direction: column; gap: 4px; }
.contact-detail-item .detail-label { color: var(--white-30); }
.contact-detail-item .detail-value { color: var(--white-70); font-size: 0.95rem; line-height: 1.55; }

/* Contact Form */
.contact-form-wrapper {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
}
.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--indigo), transparent);
  opacity: 0.5;
}
.form-title { font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.form-subtitle { font-size: 0.88rem; color: var(--white-50); margin-bottom: 36px; line-height: 1.55; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white-50);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--black-soft);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 13px 16px;
  font-size: 0.92rem;
  color: var(--white);
  font-family: var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--white-20, rgba(255,255,255,0.2)); }
.form-select { cursor: pointer; }
.form-select option { background: #1a1a1a; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--white);
  color: var(--black);
  font-size: 0.93rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.01em;
  font-family: var(--font);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}
.form-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,255,255,0.12); }
.form-submit:active { transform: translateY(0); }
.form-submit.loading { opacity: 0.7; pointer-events: none; }
.form-note { font-size: 0.76rem; color: var(--white-30); text-align: center; margin-top: 16px; line-height: 1.5; }
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.visible { display: block; }
.success-icon { font-size: 2.5rem; margin-bottom: 20px; }
.success-title { font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.success-text { font-size: 0.92rem; color: var(--white-50); line-height: 1.65; }

/* ===================================================
   SCOVAI PAGE SPECIFICS
   =================================================== */
.scovai-gradient { background: linear-gradient(135deg, var(--scovai) 0%, var(--violet-l) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.goconnect-gradient { background: linear-gradient(135deg, var(--goconnect) 0%, var(--sky-l) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Mike Feature Block */
.mike-feature {
  background: var(--black-card);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-xl);
  padding: 56px 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}
.mike-feature-left .section-label { color: var(--scovai-l); }
.mike-feature-left h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; color: var(--white); margin-bottom: 20px; }
.mike-feature-left p { font-size: 0.93rem; color: var(--white-50); line-height: 1.75; margin-bottom: 12px; }
.mike-ui {
  background: #0d0d0d;
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.mike-chat { padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; }
.mike-msg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.mike-msg.user { flex-direction: row-reverse; }
.msg-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}
.mike-msg .msg-avatar { background: rgba(99,102,241,0.25); color: var(--scovai-l); }
.mike-msg.user .msg-avatar { background: var(--white-10); color: var(--white-70); }
.msg-bubble {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.5;
  max-width: 220px;
}
.mike-msg .msg-bubble { background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2); color: var(--white-80, rgba(255,255,255,0.8)); }
.mike-msg.user .msg-bubble { background: var(--white-05); border: 1px solid var(--border); color: var(--white-60, rgba(255,255,255,0.6)); }

/* ===================================================
   UTILITY / MISC
   =================================================== */
.divider {
  width: 1px;
  height: 64px;
  background: var(--border);
  margin: 0 auto;
}
.inline-link { color: var(--indigo-l); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.inline-link:hover { color: var(--white); }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .product-card-inner { grid-template-columns: 1fr; }
  .product-right { border-left: none; border-top: 1px solid var(--border); padding: 48px 40px; }
  .product-card-inner.reverse { direction: ltr; }
  .product-card-inner.reverse .product-right { border-right: none; border-top: 1px solid var(--border); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .mike-feature { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-headline { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .hide-sm { display: none; }
  .what-grid { grid-template-columns: 1fr; gap: 40px; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrapper { padding: 36px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .cta-card { padding: 48px 28px; }
  .product-left { padding: 40px 32px; }
  .testimonial-block { padding: 40px 28px; }
  .mike-feature { padding: 40px 28px; }
  .page-hero { min-height: auto; padding-top: 100px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .stats-bar { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
