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

/* ═══════════════════════════════════════════
   THEME TOKENS
   ═══════════════════════════════════════════ */
:root {
  --teal:          #00c9b8;
  --teal-soft:     rgba(0,201,184,0.13);
  --electric:      #4f8eff;
  --electric-soft: rgba(79,142,255,0.12);
  --violet:        #9b6fff;
  --violet-soft:   rgba(155,111,255,0.11);
  --amber:         #f5a623;
  --amber-soft:    rgba(245,166,35,0.11);
  --rose:          #f5607a;
  --rose-soft:     rgba(245,96,122,0.11);
  --mint:          #3ddba0;
  --mint-soft:     rgba(61,219,160,0.11);
  --cyan:          #00b4d8;
  --cyan-soft:     rgba(0,180,216,0.11);
  --orange:        #ff7c3a;
  --orange-soft:   rgba(255,124,58,0.11);

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 8px 40px rgba(0,0,0,0.12);
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition:   0.3s cubic-bezier(.25,.8,.25,1);
}

/* ─── DARK THEME (default) ─── */
[data-theme="dark"] {
  --bg:           #070b18;
  --bg-alt:       #0c1226;
  --surface:      rgba(255,255,255,0.04);
  --surface-md:   rgba(255,255,255,0.07);
  --glass:        rgba(255,255,255,0.055);
  --glass-border: rgba(255,255,255,0.11);
  --text:         #eef2ff;
  --text-muted:   rgba(238,242,255,0.52);
  --text-faint:   rgba(238,242,255,0.18);
  --nav-bg:       rgba(7,11,24,0.72);
  --card-bg:      rgba(255,255,255,0.045);
  --card-border:  rgba(255,255,255,0.09);
  --divider:      rgba(255,255,255,0.07);
  --input-bg:     rgba(255,255,255,0.06);
  --mock-bg:      rgba(4,7,20,0.6);
  --shadow:       0 12px 50px rgba(0,0,0,0.4);

  /* Mock UI Elements */
  --mock-bg-canvas:      rgba(255, 255, 255, 0.03);
  --mock-bg-page:        rgba(255, 255, 255, 0.06);
  --mock-border-page:    rgba(255, 255, 255, 0.12);
  --mock-line-title:     rgba(255, 255, 255, 0.15);
  --mock-line-body:      rgba(255, 255, 255, 0.08);
  --mock-text-brackets:  rgba(255, 255, 255, 0.7);
  --mock-sidebar-item:   rgba(255, 255, 255, 0.04);
  --mock-panel-bg:       rgba(0, 0, 0, 0.15);
}

/* ─── LIGHT THEME ─── */
[data-theme="light"] {
  --bg:           #f4f6fc;
  --bg-alt:       #eaecf7;
  --surface:      rgba(255,255,255,0.75);
  --surface-md:   rgba(255,255,255,0.90);
  --glass:        rgba(255,255,255,0.65);
  --glass-border: rgba(15,22,48,0.12);
  --text:         #0a0f24;
  --text-muted:   rgba(15,22,48,0.72);
  --text-faint:   rgba(15,22,48,0.35);
  --nav-bg:       rgba(244,246,252,0.85);
  --card-bg:      rgba(255,255,255,0.82);
  --card-border:  rgba(15,22,48,0.10);
  --divider:      rgba(15,22,48,0.08);
  --input-bg:     rgba(255,255,255,0.95);
  --mock-bg:      rgba(240,243,252,0.95);
  --shadow:       0 12px 40px rgba(15,22,48,0.06);
  --shadow-card:  0 10px 30px rgba(15,22,48,0.05);

  /* High contrast colors for light theme text/indicators */
  --teal:          #008277;
  --teal-soft:     rgba(0,130,119,0.09);
  --electric:      #2b5bc7;
  --electric-soft: rgba(43,91,199,0.08);
  --violet:        #6333d9;
  --violet-soft:   rgba(99,51,217,0.08);
  --amber:         #9e6100;
  --amber-soft:    rgba(158,97,0,0.08);
  --rose:          #c4213d;
  --rose-soft:     rgba(196,33,61,0.08);
  --mint:          #10825c;
  --mint-soft:     rgba(16,130,92,0.08);
  --cyan:          #007490;
  --cyan-soft:     rgba(0,116,144,0.08);
  --orange:        #bc4c12;
  --orange-soft:   rgba(188,76,18,0.08);

  /* Mock UI Elements */
  --mock-bg-canvas:      rgba(0, 0, 0, 0.03);
  --mock-bg-page:        #ffffff;
  --mock-border-page:    rgba(0, 0, 0, 0.12);
  --mock-line-title:     rgba(0, 0, 0, 0.15);
  --mock-line-body:      rgba(0, 0, 0, 0.08);
  --mock-text-brackets:  rgba(15, 22, 48, 0.7);
  --mock-sidebar-item:   rgba(0, 0, 0, 0.04);
  --mock-panel-bg:       rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .mesh-orb  { opacity: 0.3 !important; }
[data-theme="light"] .hero-grid { opacity: 0.35 !important; }
[data-theme="light"] .ticker-wrap { background: rgba(0,0,0,0.03) !important; }

/* ═══════════════════════════════════════════
   KEYFRAME ANIMATIONS
═══════════════════════════════════════════ */
@keyframes pulse {
  0%,100% { box-shadow: 0 0 8px var(--teal), 0 0 20px rgba(0,201,184,0.3); }
  50%      { box-shadow: 0 0 22px var(--teal), 0 0 50px rgba(0,201,184,0.25); }
}
@keyframes slideUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes up {
  from { opacity:0; transform:translateY(26px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes linePulse {
  0%   { opacity:0; transform:scaleY(0); transform-origin:top; }
  50%  { opacity:1; }
  100% { opacity:0; transform:scaleY(1); }
}
@keyframes ticker {
  0%   { transform:translateX(0); }
  100% { transform:translateX(-50%); }
}
@keyframes wave {
  0%,100% { transform:scaleY(0.35); }
  50%      { transform:scaleY(1); }
}
@keyframes tdot {
  0%,100% { opacity:0.3; transform:translateY(0); }
  50%      { opacity:1; transform:translateY(-3px); }
}
@keyframes pulse-a {
  0%,100% { opacity:0.7; }
  50%      { opacity:1; }
}
@keyframes shimmer-move {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
}

/* Subtle noise texture overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

/* Floating mesh orbs */
.mesh-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
  opacity: 0.55;
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
nav.nav, .nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 1rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--nav-bg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo-pulse {
  width: 9px; height: 9px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--teal);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.logo-dark-only, .logo-light-only {
  height: 36px;
  width: auto;
}
[data-theme="dark"] .logo-light-only { display: none !important; }
[data-theme="dark"] .logo-dark-only { display: inline-block !important; }
[data-theme="light"] .logo-light-only { display: inline-block !important; }
[data-theme="light"] .logo-dark-only { display: none !important; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 400;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px; right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--teal), #009e90) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.4rem;
  border-radius: 100px;
  text-decoration: none;
  transition: box-shadow 0.2s !important;
  font-size: 0.875rem;
}
.nav-cta:hover { box-shadow: 0 0 24px rgba(0,201,184,0.4) !important; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* also keep .nav__toggle for backwards compat on other pages */
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav__logo-wrapper { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 38px; width: auto; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav__link:hover { color: var(--text); }
.nav__link--active { color: var(--text); }
.nav__link--active::after,
.nav__link:hover::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px; right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.nav__toggle { display: none; }

/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 7rem 3rem;
  position: relative;
  z-index: 1;
}
.text-center { text-align: center; }
.text-muted   { color: var(--text-muted); }

/* Section labels */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  width: 18px; height: 1.5px;
  background: var(--teal);
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text);
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
  max-width: 520px;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
}

.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--divider) 1px, transparent 1px),
    linear-gradient(90deg, var(--divider) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black, transparent);
  opacity: 0.8;
}

.hero-badge {
  position: relative; z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal-soft);
  border: 1px solid rgba(0,201,184,0.22);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 2.25rem;
  backdrop-filter: blur(10px);
  animation: slideUp 0.7s ease both;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.hero-h1 {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 8vw, 8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  color: var(--text);
  animation: slideUp 0.8s ease 0.1s both;
}
.hero-h1 em   { font-style: italic; color: var(--text-muted); font-weight: 600; }
.hero-h1 .hl  {
  background: linear-gradient(90deg, var(--teal), var(--electric), var(--teal));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer-move 4s linear infinite;
}

.hero-sub {
  position: relative; z-index: 1;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 3rem;
  font-weight: 300;
  line-height: 1.85;
  animation: slideUp 0.9s ease 0.2s both;
}

.hero-btns {
  position: relative; z-index: 1;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideUp 1s ease 0.3s both;
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-faint);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: slideUp 1s ease 0.9s both;
  z-index: 1;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: linePulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn-primary {
  background: linear-gradient(135deg, var(--teal), #009e90);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 2.2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s;
  font-family: var(--font-body);
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(0,201,184,0.4);
  transform: translateY(-3px);
  color: #fff;
}

.btn-outline {
  background: var(--glass);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  font-weight: 400;
  font-family: var(--font-body);
}
.btn-outline:hover { background: var(--surface-md); color: var(--text); }

/* Keep old class names for pages that already use them */
.btn { display: inline-flex; align-items: center; justify-content: center; font-size: 0.95rem; font-weight: 600; padding: 0.875rem 2rem; border-radius: 100px; text-decoration: none; cursor: pointer; transition: all var(--transition); border: 1px solid transparent; font-family: var(--font-body); }
.btn--primary { background: linear-gradient(135deg, var(--teal), #009e90); color: #fff; }
.btn--primary:hover { box-shadow: 0 0 40px rgba(0,201,184,0.4); transform: translateY(-3px); color: #fff; }
.btn--outline { background: var(--glass); backdrop-filter: blur(10px); color: var(--text); border-color: var(--glass-border); font-weight: 400; }
.btn--outline:hover { background: var(--surface-md); color: var(--text); }
.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   STATS STRIP
═══════════════════════════════════════════ */
.stats-strip {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.stat {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--divider);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat-n {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.3rem;
  background: linear-gradient(135deg, var(--teal), var(--electric));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-l { font-size: 0.82rem; color: var(--text-muted); font-weight: 300; }

/* ═══════════════════════════════════════════
   TICKER / MARQUEE
═══════════════════════════════════════════ */
.ticker-wrap {
  overflow: hidden;
  position: relative; z-index: 1;
  background: var(--surface);
  border-bottom: 1px solid var(--divider);
  padding: 0.9rem 0;
}
.ticker {
  display: flex;
  gap: 3rem;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.tick-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.tick-item strong { color: var(--text); font-weight: 500; }
.tick-dot { color: var(--teal); font-size: 0.7rem; }

/* ═══════════════════════════════════════════
   CARDS (glassmorphism)
═══════════════════════════════════════════ */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-card);
  border-color: rgba(0,201,184,0.2);
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--card-glow, rgba(0,201,184,0.04));
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }

/* Spotlight Hover Effect */
.card, .prod-card, .p-item {
  position: relative;
}
.card::after, .prod-card::after, .p-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(0, 201, 184, 0.08),
    transparent 40%
  );
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.card:hover::after, .prod-card:hover::after, .p-item:hover::after {
  opacity: 1;
}

/* Hero Visual Showcase */
.hero-visual-wrapper {
  margin: 3.5rem auto 0 auto;
  max-width: 1000px;
  width: 90%;
  position: relative;
  z-index: 5;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
}
.hero-visual-frame {
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
}
/* ─── HERO LIVE DASHBOARD MOCK ─── */
.dash-mock {
  background: var(--mock-bg);
  color: var(--text);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  height: 400px;
  overflow: hidden;
  transition: transform 0.5s ease;
}
.hero-visual-wrapper {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-visual-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 201, 184, 0.15);
}
.dash-header {
  height: 40px;
  padding: 0 1rem;
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid var(--divider);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dash-title-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.5rem;
}
.dash-status-badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(74, 222, 128, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  border: 1px solid rgba(74, 222, 128, 0.2);
}
.pulse-green {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-g 1.5s infinite;
}
@keyframes pulse-g {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.dash-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}
.dash-sidebar {
  width: 140px;
  background: rgba(0, 0, 0, 0.08);
  border-right: 1px solid var(--divider);
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.dash-nav-item {
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.dash-nav-item:hover, .dash-nav-item.active {
  color: var(--text);
  background: var(--divider);
}
.dash-nav-icon {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2px;
  flex-shrink: 0;
}
.dash-content {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
}
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.dash-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--divider);
  color: var(--teal);
  flex-shrink: 0;
}
.card-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2px;
}
.card-num {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.card-status {
  font-size: 0.68rem;
  color: var(--text-muted);
}
.active-pulse {
  color: var(--teal);
  font-weight: 500;
}
.dash-inner-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  flex: 1;
}
.dash-editor-pane, .dash-chart-pane {
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pane-header {
  background: rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.45rem 0.75rem;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: monospace;
}
.code-view {
  margin: 0;
  padding: 0.75rem;
  font-size: 0.72rem;
  font-family: monospace;
  line-height: 1.6;
  color: var(--text-muted);
  overflow-x: auto;
  text-align: left;
}
.col-key { color: var(--electric); }
.col-val { color: var(--mint); }
.dash-chart-pane {
  display: flex;
  flex-direction: column;
}
.chart-container {
  flex: 1;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chart-svg {
  width: 100%;
  height: 100%;
  max-height: 120px;
  overflow: visible;
}
.chart-pulse {
  transform-origin: 240px 20px;
  animation: pulse-c 2s infinite;
}
@keyframes pulse-c {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

[data-theme="light"] .dash-sidebar {
  background: rgba(0, 0, 0, 0.02);
}
[data-theme="light"] .dash-editor-pane,
[data-theme="light"] .dash-chart-pane {
  background: rgba(255, 255, 255, 0.5);
}
[data-theme="light"] .dash-header {
  background: rgba(0, 0, 0, 0.03);
}

@media (max-width: 900px) {
  .dash-sidebar { display: none; }
  .dash-metrics { grid-template-columns: 1fr; gap: 0.5rem; }
  .dash-inner-grid { grid-template-columns: 1fr; }
  .dash-mock { height: auto; max-height: 500px; overflow-y: auto; }
}

/* Case Study Showcase */
.case-study-card {
  padding: 0 !important;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
  min-height: 480px;
}
.case-study-visual {
  background: var(--bg-alt);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--divider);
}
.case-study-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  border: 1px solid var(--glass-border);
  transition: transform var(--transition);
}
.case-study-card:hover .case-study-visual img {
  transform: translateY(-4px) scale(1.01);
}
.case-study-details {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 900px) {
  .case-study-card {
    grid-template-columns: 1fr;
  }
  .case-study-visual {
    border-right: none;
    border-bottom: 1px solid var(--divider);
    padding: 2rem;
  }
  .case-study-details {
    padding: 2.5rem;
  }
  .hero-visual-wrapper {
    width: 95%;
    margin-top: 2rem;
  }
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.card__desc { font-size: 0.88rem; color: var(--text-muted); font-weight: 300; line-height: 1.75; }

/* Grid layout for card groups */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* ═══════════════════════════════════════════
   STATUS TAGS
═══════════════════════════════════════════ */
.status-tag {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.status-tag--active { background: var(--teal-soft); color: var(--teal); border: 1px solid rgba(0,201,184,0.2); }
.status-tag--beta   { background: var(--electric-soft); color: var(--electric); border: 1px solid rgba(79,142,255,0.2); }
.status-tag--stable { background: var(--mint-soft); color: var(--mint); border: 1px solid rgba(61,219,160,0.2); }
.status-tag--idle   { background: rgba(148,163,184,0.1); color: #94a3b8; border: 1px solid rgba(148,163,184,0.2); }

/* ═══════════════════════════════════════════
   HOW IT WORKS (process steps)
═══════════════════════════════════════════ */
.process { display: flex; flex-direction: column; gap: 1.5rem; max-width: 800px; margin: 0 auto; }

.process-step {
  display: flex;
  gap: 2rem;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.process-step::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 0;
  background: linear-gradient(to bottom, var(--teal), var(--electric));
  transition: height 0.4s ease;
  border-radius: 3px;
}
.process-step:hover { transform: translateX(6px); border-color: rgba(0,201,184,0.25); }
.process-step:hover::before { height: 100%; }

.step-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--electric));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 24px rgba(0,201,184,0.3);
}
.step-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.step-desc  { font-size: 0.88rem; color: var(--text-muted); font-weight: 300; line-height: 1.65; }

/* ═══════════════════════════════════════════
   FORMS
═══════════════════════════════════════════ */
.form-group    { margin-bottom: 1.5rem; }
.label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.input, .textarea, .select {
  width: 100%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  backdrop-filter: blur(10px);
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:focus, .textarea:focus, .select:focus {
  border-color: rgba(0,201,184,0.45);
  box-shadow: 0 0 0 3px rgba(0,201,184,0.1);
  background: var(--input-bg);
}
.textarea { resize: vertical; min-height: 130px; }
.select option { background: var(--bg); }

/* ═══════════════════════════════════════════
   SECTION HEADER (centered)
═══════════════════════════════════════════ */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}
.section-header__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.section-header__label::before {
  content: '';
  width: 18px; height: 1.5px;
  background: var(--teal);
  display: block;
}
.section-header__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text);
}
.section-header__desc {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-weight: 300;
  line-height: 1.85;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer, .footer {
  position: relative; z-index: 1;
  background: var(--bg-alt);
  padding: 4rem 3rem 2rem;
  border-top: 1px solid var(--divider);
}
.footer-grid, .foot-grid {
  max-width: 1100px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
}
.foot-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.footer-desc, .foot-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
  max-width: 260px;
}
.footer-logo-wrap { margin-bottom: 1.5rem; }
.footer-logo-wrap .logo-img, .foot-logo img { height: 38px; }

.footer-title, .foot-col-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.footer-links, .foot-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-links a, .foot-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover, .foot-links a:hover { color: var(--teal); }

.footer-bottom, .foot-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--divider);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ═══════════════════════════════════════════
   THEME TOGGLE BUTTON
═══════════════════════════════════════════ */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(10px);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.04em;
}
.theme-toggle:hover {
  background: var(--teal-soft);
  border-color: rgba(0,201,184,0.3);
  color: var(--teal);
}
.theme-toggle .toggle-icon { font-size: 0.9rem; transition: transform 0.3s ease; }
.theme-toggle:hover .toggle-icon { transform: rotate(20deg); }

/* ═══════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.vis { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: 0.1s; }
.rd2 { transition-delay: 0.2s; }
.rd3 { transition-delay: 0.3s; }
.rd4 { transition-delay: 0.4s; }
.rd5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════
   PRODUCT / PORTFOLIO PAGES
═══════════════════════════════════════════ */
.page-header {
  position: relative; z-index: 1;
  padding: 9rem 3rem 4rem;
  text-align: center;
  overflow: hidden;
}
.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal-soft);
  border: 1px solid rgba(0,201,184,0.22);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  animation: up 0.7s ease both;
}
.page-title {
  font-family: var(--font-display);
  position: relative; z-index: 1;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  animation: up 0.8s ease 0.1s both;
  color: var(--text);
}
.page-title em { font-style: italic; color: var(--text-muted); }
.page-sub {
  position: relative; z-index: 1;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 3rem;
  font-weight: 300;
  line-height: 1.8;
  animation: up 0.9s ease 0.2s both;
}

/* Product section 2-col layout */
.prod-section {
  padding: 5rem 3rem;
  position: relative; z-index: 1;
  border-top: 1px solid var(--divider);
}
.prod-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.prod-wrap.reversed { direction: rtl; }
.prod-wrap.reversed > * { direction: ltr; }

/* Mock frames */
.mock-frame {
  background: var(--mock-bg);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.08);
}
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--divider);
}
.dot-row { display: flex; gap: 0.4rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-title-text { font-size: 0.78rem; font-weight: 500; color: var(--text-muted); margin-left: 0.5rem; }

/* Waveform bars */
.wb { width: 3px; border-radius: 2px; background: var(--teal); animation: wave 0.9s ease-in-out infinite; }
.wb:nth-child(1){height:8px;animation-delay:0s;}
.wb:nth-child(2){height:16px;animation-delay:0.1s;}
.wb:nth-child(3){height:24px;animation-delay:0.2s;}
.wb:nth-child(4){height:12px;animation-delay:0.3s;}
.wb:nth-child(5){height:20px;animation-delay:0.4s;}
.wb:nth-child(6){height:8px;animation-delay:0.5s;}
.wb:nth-child(7){height:18px;animation-delay:0.15s;}
.wb:nth-child(8){height:10px;animation-delay:0.35s;}

/* Typing dots */
.t-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); animation: tdot 1.2s ease-in-out infinite; }
.t-dot:nth-child(2){animation-delay:0.2s;}
.t-dot:nth-child(3){animation-delay:0.4s;}

/* Portfolio items */
.p-item {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  margin-bottom: 3rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.p-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: rgba(0,201,184,0.25); }
.p-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--divider);
  padding: 1.25rem 2rem;
  background: var(--bg-alt);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}
.p-body { display: grid; grid-template-columns: 3fr 2fr; }
.p-desc { padding: 3rem; border-right: 1px solid var(--divider); }
.p-metrics { padding: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-content: start; background: var(--bg-alt); }
.metric {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.metric-val {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.5rem;
  line-height: 1;
}
.metric-label { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }

/* CTA section */
.cta-section {
  position: relative; z-index: 1;
  padding: 9rem 3rem;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--divider);
}
.cta-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 60% at 50% 50%, rgba(0,201,184,0.08), transparent 65%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--font-display);
  position: relative; z-index: 1;
  font-size: clamp(3rem, 6.5vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.cta-title em { font-style: italic; color: var(--text-muted); }
.cta-sub { position: relative; z-index: 1; font-size: 1rem; color: var(--text-muted); max-width: 440px; margin: 0 auto 3rem; font-weight: 300; line-height: 1.8; }
.cta-btns { position: relative; z-index: 1; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   PRODUCTS PAGE COMPONENTS & MOCKUPS
   ═══════════════════════════════════════════ */
.product-nav {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  flex-wrap: wrap; padding: 0.5rem;
  background: var(--glass); backdrop-filter: blur(20px);
  border-radius: 100px; border: 1px solid var(--glass-border);
  width: fit-content; margin: 0 auto;
  animation: up 1s ease 0.3s both;
}
.pnav-item {
  font-size: 0.8rem; font-weight: 500; padding: 0.45rem 1.15rem;
  border-radius: 100px; text-decoration: none; color: var(--text-muted);
  transition: all 0.2s; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.pnav-item:hover {
  color: var(--text);
  background: var(--divider);
}
.pnav-item.active-pill {
  color: var(--teal) !important;
  background: var(--teal-soft) !important;
  border: 1px solid rgba(0, 201, 184, 0.2);
}
.pnav-icon {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none;
  stroke-width: 2px; flex-shrink: 0;
  transition: stroke 0.2s;
}

[data-theme="light"] .pnav-item:hover {
  background: rgba(15, 22, 48, 0.08);
}

.prod-num-bar { display: flex; align-items: center; gap: 0.6rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.75rem; }
.prod-num-bar::before { content: ''; width: 16px; height: 2px; background: currentColor; }
.prod-title { font-family: var(--font-display); font-size: clamp(2.2rem, 3.5vw, 3.2rem); font-weight: 700; line-height: 1.0; letter-spacing: -0.02em; margin-bottom: 1.1rem; color: var(--text); }
.prod-desc { font-size: 0.97rem; color: var(--text-muted); font-weight: 300; line-height: 1.85; margin-bottom: 1.75rem; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 2rem; }
.feat-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }
.fi { width: 20px; height: 20px; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 0.62rem; flex-shrink: 0; margin-top: 0.12rem; }
.price-chip { display: inline-flex; align-items: baseline; gap: 0.3rem; border-radius: 100px; padding: 0.55rem 1.2rem; margin-bottom: 1.5rem; backdrop-filter: blur(8px); border: 1px solid; }
.price-chip .amt { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.price-chip .per { font-size: 0.78rem; color: var(--text-muted); }
.prod-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-demo { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.75rem 1.6rem; border-radius: 100px; font-size: 0.88rem; font-weight: 600; text-decoration: none; border: none; cursor: pointer; font-family: var(--font-body); transition: all 0.2s; }
.btn-demo:hover { transform: translateY(-2px); }
.btn-ghost-sm { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.75rem 1.4rem; border-radius: 100px; font-size: 0.88rem; font-weight: 400; text-decoration: none; border: 1px solid var(--glass-border); background: var(--glass); color: var(--text); font-family: var(--font-body); transition: all 0.2s; cursor: pointer; }
.btn-ghost-sm:hover { background: var(--divider); }
.mock-badge { font-size: 0.66rem; font-weight: 600; padding: 0.18rem 0.55rem; border-radius: 4px; margin-left: auto; }

/* Calling Mock */
.call-screen { padding: 1.5rem; }
.call-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--divider); }
.call-av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), #009e90); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: #fff; flex-shrink: 0; }
.call-meta strong { display: block; font-size: 0.9rem; font-weight: 500; color: var(--text); }
.call-meta span { font-size: 0.75rem; color: var(--text-muted); }
.call-status { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; animation: pulse 1.5s infinite; }
.call-status span { font-size: 0.75rem; color: #4ade80; }
.transcript-area { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1rem; }
.t-line { display: flex; gap: 0.5rem; align-items: flex-start; }
.t-who { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; width: 42px; flex-shrink: 0; padding-top: 0.2rem; }
.t-text { font-size: 0.8rem; color: var(--text-muted); line-height: 1.45; }
.waveform { display: flex; align-items: center; gap: 2px; padding: 0.75rem 1rem; background: rgba(0,201,184,0.06); border: 1px solid rgba(0,201,184,0.15); border-radius: 8px; }
.call-footer { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.72rem; color: var(--text-muted); }

/* MailMind Mock */
.mail-screen { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.mail-row { display: flex; align-items: center; gap: 0.75rem; }
.mail-av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--electric), #5a4fd6); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 600; color: #fff; flex-shrink: 0; }
.mail-from { font-size: 0.82rem; font-weight: 500; color: var(--text); }
.mail-time { font-size: 0.7rem; color: var(--text-muted); margin-left: auto; }
.mail-subject { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.mail-body-text { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }
.audio-strip { display: flex; align-items: center; gap: 0.75rem; background: var(--teal-soft); border: 1px solid rgba(0,201,184,0.18); border-radius: 10px; padding: 0.75rem 1rem; }
.audio-vis { display: flex; align-items: center; gap: 2px; flex: 1; height: 24px; }
.av-b { width: 3px; border-radius: 2px; background: var(--teal); animation: wave 0.9s ease-in-out infinite; }
.ai-summary { background: var(--electric-soft); border: 1px solid rgba(79,142,255,0.2); border-radius: 10px; padding: 1rem; }
.ai-label { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--electric); margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.35rem; }
.ai-label::before { content: '✦'; }
.ai-body { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
.ai-btns { display: flex; gap: 0.4rem; margin-top: 0.65rem; flex-wrap: wrap; }
.ai-btn { font-size: 0.7rem; font-weight: 500; padding: 0.3rem 0.75rem; border-radius: 6px; border: 1px solid rgba(79,142,255,0.22); background: rgba(79,142,255,0.08); color: var(--electric); font-family: var(--font-body); cursor: pointer; }

/* Task Mock */
.task-screen { overflow: hidden; }
.task-header-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--divider); font-size: 0.82rem; font-weight: 500; color: var(--text); }
.t-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.25rem; border-bottom: 1px solid var(--divider); }
.t-cb { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--text-faint); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 9px; color: #fff; }
.t-cb.done { background: #4ade80; border-color: #4ade80; }
.t-label { font-size: 0.82rem; flex: 1; color: var(--text); }
.t-done .t-label { text-decoration: line-through; color: var(--text-muted); }
.t-src { font-size: 0.65rem; padding: 0.18rem 0.5rem; border-radius: 4px; font-weight: 500; }
.t-footer { padding: 0.9rem 1.25rem; border-top: 1px solid var(--divider); display: flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; color: var(--text-muted); }
.sync-chip { font-size: 0.7rem; background: var(--glass); border: 1px solid var(--glass-border); padding: 0.2rem 0.6rem; border-radius: 4px; }

/* RAG Mock */
.rag-screen { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.85rem; }
.rag-top { display: flex; align-items: center; gap: 0.5rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--divider); }
.docs-chip { font-size: 0.7rem; background: var(--violet-soft); border: 1px solid rgba(155,111,255,0.2); padding: 0.22rem 0.65rem; border-radius: 100px; color: var(--violet); }
.chat-q { display: flex; gap: 0.5rem; align-items: flex-start; }
.chat-u { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--electric), #5a4fd6); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 700; color: #fff; }
.q-bubble { background: var(--violet-soft); border: 1px solid rgba(155,111,255,0.2); border-radius: 10px 10px 10px 2px; padding: 0.5rem 0.85rem; font-size: 0.8rem; color: var(--text); }
.a-bubble { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 2px 10px 10px 10px; padding: 0.6rem 0.85rem; font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; margin-left: 2rem; }
.rag-sources { display: flex; gap: 0.4rem; margin-left: 2rem; flex-wrap: wrap; }
.src-chip { font-size: 0.65rem; background: var(--violet-soft); border: 1px solid rgba(155,111,255,0.18); padding: 0.18rem 0.55rem; border-radius: 4px; color: var(--violet); }
.typing-row { display: flex; gap: 0.35rem; align-items: center; margin-left: 2rem; }
.t-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); animation: tdot 1.2s ease-in-out infinite; }
.t-dot:nth-child(2){animation-delay:0.2s;} .t-dot:nth-child(3){animation-delay:0.4s;}
.rag-input { display: flex; gap: 0.5rem; align-items: center; padding-top: 0.75rem; border-top: 1px solid var(--divider); }
.rag-inp { flex: 1; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 8px; padding: 0.5rem 0.85rem; font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-body); }
.rag-send { background: var(--violet); color: #fff; border: none; border-radius: 7px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; cursor: pointer; flex-shrink: 0; }

/* Object Detection Mock */
.od-screen { padding: 1.25rem; }
.od-canvas { position: relative; background: rgba(0,0,0,0.2); border-radius: 10px; overflow: hidden; margin-bottom: 1rem; height: 170px; display: flex; align-items: center; justify-content: center; }
.od-canvas-label { font-size: 0.72rem; color: var(--text-faint); position: relative; z-index: 1; }
.od-results { display: flex; flex-direction: column; gap: 0.5rem; }
.od-row { display: flex; align-items: center; gap: 0.75rem; }
.od-color { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.od-name { font-size: 0.82rem; min-width: 60px; color: var(--text); }
.od-bar-track { flex: 1; height: 6px; background: var(--glass); border-radius: 3px; overflow: hidden; }
.od-bar-fill { height: 100%; border-radius: 3px; }
.od-pct { font-size: 0.72rem; font-weight: 600; min-width: 36px; text-align: right; color: var(--text); }
.od-footer { margin-top: 1rem; font-size: 0.72rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; padding-top: 0.75rem; border-top: 1px solid var(--divider); }

/* Agent Mock */
.agent-screen { }
.agent-header-bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--divider); font-size: 0.82rem; font-weight: 500; color: var(--text); }
.agent-step { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.8rem 1.25rem; border-bottom: 1px solid var(--divider); }
.step-icon { width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; margin-top: 0.1rem; }
.step-info { flex: 1; }
.step-name { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.15rem; }
.step-detail { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }
.step-status { font-size: 0.63rem; padding: 0.15rem 0.5rem; border-radius: 4px; margin-left: auto; font-weight: 700; flex-shrink: 0; border: 1px solid; letter-spacing: 0.06em; text-transform: uppercase; }
.ss-done { background: rgba(74,222,128,0.1); color: #4ade80; border-color: rgba(74,222,128,0.2); }
.ss-run  { background: var(--amber-soft); color: var(--amber); border-color: rgba(245,166,35,0.2); animation: pulse-a 1.4s ease infinite; }
.ss-wait { background: var(--glass); color: var(--text-faint); border-color: var(--glass-border); }
.agent-progress { padding: 0.85rem 1.25rem; border-top: 1px solid var(--divider); display: flex; align-items: center; gap: 0.75rem; font-size: 0.72rem; color: var(--text-muted); }
.prog-track { flex: 1; height: 5px; background: var(--glass); border-radius: 3px; overflow: hidden; }
.prog-fill { height: 100%; background: linear-gradient(90deg, var(--rose), var(--violet)); border-radius: 3px; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid, .foot-grid { grid-template-columns: 1fr 1fr; }
  .prod-wrap { gap: 3rem; }
  .p-body { grid-template-columns: 1fr; }
  .p-desc { border-right: none; border-bottom: 1px solid var(--divider); }
  .p-metrics { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  nav.nav, .nav { padding: 1rem 1.5rem; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; }
  nav[data-open="true"] .nav-links,
  .nav-links.active { display: flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem; right: 1rem;
    flex-direction: column;
    gap: 0.2rem;
    background: var(--nav-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 0.6rem;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(28px);
  }
  .nav-links a { display: flex; padding: 0.65rem 0.75rem; border-radius: 10px; }
  .nav-links a:hover { background: var(--divider); }
  .nav__menu {
    position: fixed;
    top: 70px; left: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(28px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 90;
  }
  .nav__menu.active { transform: translateY(0); }
  .nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px; height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
  }
  .nav__toggle span { width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.2s; }

  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .grid, .prod-wrap { grid-template-columns: 1fr; }
  .prod-wrap.reversed { direction: ltr; }
  .section { padding: 5rem 1.5rem; }
  .footer-grid, .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom, .foot-bottom { flex-direction: column; text-align: center; }
  .p-metrics { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero-h1 { font-size: clamp(3rem, 10vw, 5rem); }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .p-metrics { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
