/* ============================================================
   MODERN VITAL AI SITE — Main Stylesheet  v2
   Theme: Vital Flow AI (Blue-Indigo Dark)
   Font:  Plus Jakarta Sans
   ============================================================ */

/* ── CSS VARIABLES ────────────────────────────────────────── */
:root {
  --bg:            #050506;
  --bg2:           #080810;
  --surface:       rgba(255,255,255,0.02);
  --surface2:      rgba(255,255,255,0.05);
  --border:        rgb(30,41,59);
  --border2:       rgba(37,99,235,0.35);
  --accent:        #2563eb;
  --accent-light:  #60a5fa;
  --accent2:       #4f46e5;
  --accent3:       #818cf8;
  --accent4:       #a5b4fc;
  --text:          #f8fafc;
  --muted:         #94a3b8;
  --muted2:        #cbd5e1;
  --glow:          rgba(37,99,235,0.2);
  --glow2:         rgba(79,70,229,0.15);
  --nav-h:         72px;
  --nav-h-scrolled:56px;
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar              { width: 5px; }
::-webkit-scrollbar-track        { background: var(--bg); }
::-webkit-scrollbar-thumb        { background: rgb(30,41,59); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover  { background: var(--accent); }

/* ── PRELOADER ────────────────────────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner  { text-align: center; }
.preloader-logo   { font-weight: 800; font-size: 32px; letter-spacing: -1px; margin-bottom: 24px; color: var(--text); }
.preloader-logo span { color: var(--accent-light); }
.preloader-bar    { width: 180px; height: 2px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; margin: 0 auto; }
.preloader-fill   { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 4px; animation: preload 0.9s cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes preload { from { width: 0; } to { width: 100%; } }

/* ── CUSTOM CURSOR ────────────────────────────────────────── */
.cursor {
  width: 8px; height: 8px; background: var(--accent-light); border-radius: 50%;
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  transition: transform 0.1s; mix-blend-mode: screen;
}
.cursor-ring {
  width: 32px; height: 32px; border: 1px solid rgba(37,99,235,0.5); border-radius: 50%;
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998;
  transition: transform 0.25s cubic-bezier(0.2,1,0.3,1), width 0.2s, height 0.2s, border-color 0.2s;
}

/* ── DOT GRID BACKGROUND ──────────────────────────────────── */
.grid-bg {
  position: fixed; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 40px 40px; pointer-events: none; z-index: 0;
}

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes marquee          { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes shimmer          { 100% { background-position: 200% center; } }
@keyframes reveal-text-anim { 100% { opacity: 1; transform: translateY(0); } }
@keyframes retell-bar       { 0%,100% { height:30%; opacity:0.5; } 50% { height:100%; opacity:1; } }
@keyframes ping             { 75%,100% { transform: scale(2); opacity: 0; } }
@keyframes pulse            { 50% { opacity: 0.5; } }
@keyframes float            { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes spin             { to { transform: rotate(360deg); } }
@keyframes fillBar          { to { width: var(--target-width); } }
@keyframes msgFadeIn        { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

/* ── UTILITY CLASSES ──────────────────────────────────────── */
.shimmer-text {
  background: linear-gradient(90deg, #fff 0%, var(--accent-light) 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: shimmer 4s linear infinite;
}
.reveal-text {
  display: inline-block; opacity: 0; transform: translateY(20px);
  animation: reveal-text-anim 0.8s cubic-bezier(0.2,0,0.2,1) forwards;
}
.retell-bar {
  display: inline-block; width: 3px; background: var(--accent-light);
  border-radius: 2px; animation: retell-bar 1s ease-in-out infinite;
}
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2,1,0.3,1), transform 0.7s cubic-bezier(0.2,1,0.3,1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── NAV ──────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: var(--nav-h);
  background: rgba(5,5,6,0.9); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: height 0.3s ease, box-shadow 0.3s ease;
}
nav.scrolled { height: var(--nav-h-scrolled); box-shadow: 0 4px 32px rgba(0,0,0,0.4); }

.nav-logo {
  font-weight: 800; font-size: 18px; letter-spacing: -0.5px;
  color: var(--text); text-decoration: none; flex-shrink: 0;
}
.nav-logo span { color: var(--accent-light); }

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
  position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1.5px; background: var(--accent-light);
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.nav-links a:hover        { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active       { color: var(--accent-light); }
.nav-links a.active::after{ transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 16px; }

.nav-cta {
  background: linear-gradient(to right, var(--accent), var(--accent2));
  color: #fff; font-weight: 700; font-size: 13px;
  padding: 10px 24px; border: none; border-radius: 8px;
  text-decoration: none; cursor: pointer; transition: all 0.2s;
  box-shadow: 0 0 20px rgba(37,99,235,0.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(37,99,235,0.5); }

/* ── HAMBURGER ────────────────────────────────────────────── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; z-index: 101;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV DRAWER ────────────────────────────────────── */
.mobile-nav {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(5,5,6,0.98); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 24px 28px 36px;
  flex-direction: column; gap: 0;
  z-index: 99;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-nav ul   { list-style: none; display: flex; flex-direction: column; margin-bottom: 24px; }
.mobile-nav-link {
  display: block; padding: 14px 0; font-size: 16px; font-weight: 600;
  color: var(--muted); text-decoration: none;
  border-bottom: 1px solid var(--border); transition: color 0.2s;
}
.mobile-nav-link:hover { color: var(--text); }
.mobile-cta { text-align: center; display: block; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 50%, var(--accent2) 100%);
  color: #fff; font-weight: 700; font-size: 14px; padding: 14px 32px;
  border: none; border-radius: 10px; cursor: pointer; text-decoration: none;
  display: inline-block; transition: all 0.2s;
  box-shadow: 0 20px 40px rgba(37,99,235,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 25px 50px rgba(37,99,235,0.6); }

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.15); color: var(--text); font-weight: 600;
  font-size: 14px; padding: 14px 32px; background: rgba(255,255,255,0.05);
  border-radius: 10px; cursor: pointer; text-decoration: none;
  display: inline-block; transition: all 0.2s; backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* ── SECTION COMMON ───────────────────────────────────────── */
section { position: relative; z-index: 1; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 72px 60px; }

.section-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.25);
  padding: 5px 14px; border-radius: 100px;
}
.section-tag::before { content: ''; width: 6px; height: 6px; background: var(--accent-light); border-radius: 50%; flex-shrink: 0; }

.section-title {
  font-weight: 800; font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 20px;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 50%, var(--accent2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-sub { font-size: 15px; line-height: 1.8; color: var(--muted); max-width: 560px; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: calc(var(--nav-h) + 40px) 60px 56px;
  position: relative; z-index: 1; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; top: 10%; left: 30%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none; border-radius: 50%; filter: blur(40px);
}
.hero-tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 28px;
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.3);
  padding: 6px 16px; border-radius: 100px;
}
.hero-tag-dot { width: 6px; height: 6px; background: var(--accent-light); border-radius: 50%; position: relative; }
.hero-tag-dot::after {
  content: ''; position: absolute; inset: -3px;
  background: rgba(96,165,250,0.4); border-radius: 50%;
  animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
}
.hero h1 {
  font-weight: 800; font-size: clamp(48px, 6.5vw, 88px);
  line-height: 1.05; letter-spacing: -2px; margin-bottom: 28px; max-width: 860px;
}
.hero h1 .line2 { color: var(--muted); }
.hero-sub { font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 520px; margin-bottom: 44px; }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-stats {
  position: absolute; right: 60px; bottom: 80px;
  display: flex; flex-direction: column; gap: 28px; text-align: right;
}
.stat-item .num {
  font-weight: 800; font-size: 40px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1; letter-spacing: -2px;
}
.stat-item .label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 500; }
.hero-orbit { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); width: 300px; height: 300px; }
.orbit-ring { position: absolute; inset: 0; border: 1px dashed rgba(37,99,235,0.2); border-radius: 50%; animation: spin 20s linear infinite; }
.orbit-ring:nth-child(2) { inset:30px; animation-duration:15s; animation-direction:reverse; border-color:rgba(79,70,229,0.15); }
.orbit-ring:nth-child(3) { inset:60px; animation-duration:25s; border-color:rgba(96,165,250,0.15); }
.orbit-dot { position: absolute; width: 6px; height: 6px; background: var(--accent-light); border-radius: 50%; top: -3px; left: 50%; transform: translateX(-50%); box-shadow: 0 0 10px var(--accent-light); }

/* ── MARQUEE ──────────────────────────────────────────────── */
.marquee-wrap {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02); padding: 16px 0; overflow: hidden; position: relative; z-index: 1;
}
.marquee-track { display: flex; gap: 48px; animation: marquee 20s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 16px;
}
.marquee-item::after { content: '◆'; color: var(--accent-light); font-size: 7px; }

/* ── PROBLEM SECTION ──────────────────────────────────────── */
.problem-section { background: var(--bg); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.problem-card {
  background: rgba(255,255,255,0.02); padding: 36px;
  border: 1px solid var(--border); border-radius: 16px;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.problem-card:hover { background: rgba(37,99,235,0.06); border-color: rgba(37,99,235,0.3); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(37,99,235,0.15); }
.problem-card::before { content: ''; position: absolute; top:0; left:0; right:0; height:2px; background: linear-gradient(90deg, var(--accent), var(--accent2)); opacity: 0; transition: opacity 0.3s; border-radius: 16px 16px 0 0; }
.problem-card:hover::before { opacity: 1; }
.problem-icon { width: 44px; height: 44px; background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 20px; }
.problem-card h3 { font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.problem-card p  { font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ── SERVICES ─────────────────────────────────────────────── */
.services-section { background: var(--bg2); }
.services-grid { display: grid; gap: 12px; margin-top: 44px; }
.service-card {
  background: rgba(255,255,255,0.02);
  display: grid; grid-template-columns: 72px 1fr auto;
  align-items: start; gap: 28px; padding: 32px 36px;
  border: 1px solid var(--border); border-radius: 16px;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.service-card::after { content: ''; position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(135deg, rgba(37,99,235,0.05), transparent 60%); opacity: 0; transition: opacity 0.3s; }
.service-card:hover { border-color: rgba(37,99,235,0.4); background: rgba(37,99,235,0.04); transform: translateX(6px); box-shadow: 0 8px 30px rgba(37,99,235,0.15); }
.service-card:hover::after { opacity: 1; }
.service-num { font-weight: 800; font-size: 44px; background: linear-gradient(135deg, rgba(37,99,235,0.3), rgba(79,70,229,0.2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -3px; line-height: 1; }
.service-content h3      { font-weight: 700; font-size: 19px; margin-bottom: 8px; }
.service-content .problem { font-size: 11px; font-weight: 600; color: var(--accent-light); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.service-content p        { font-size: 14px; line-height: 1.7; color: var(--muted); margin-bottom: 16px; }
.service-tags             { display: flex; flex-wrap: wrap; gap: 8px; }
.service-result           { text-align: right; min-width: 130px; }
.service-result .metric   { font-weight: 800; font-size: 28px; letter-spacing: -1px; background: linear-gradient(135deg, var(--accent-light), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.service-result .metric-label { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ── TAGS ─────────────────────────────────────────────────── */
.tag { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; color: var(--accent-light); background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.25); padding: 4px 12px; border-radius: 100px; }
.tag.green  { color: #34d399; background: rgba(52,211,153,0.08); border-color: rgba(52,211,153,0.25); }
.tag.purple { color: var(--accent4); background: rgba(167,139,250,0.08); border-color: rgba(167,139,250,0.25); }

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.hiw-section { background: var(--bg); }
.hiw-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 72px; margin-top: 44px; counter-reset: step; }
.hiw-step { position: relative; }
.hiw-step::before { counter-increment: step; content: "0" counter(step); font-weight: 800; font-size: 72px; background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(79,70,229,0.05)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -4px; line-height: 1; position: absolute; top: -20px; right: 0; }
.step-num-inline { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 14px; }
.hiw-step h3 { font-weight: 700; font-size: 21px; margin-bottom: 12px; }
.hiw-step p  { font-size: 14px; line-height: 1.8; color: var(--muted); margin-bottom: 14px; }
.deliverable { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.deliverable span { color: var(--accent-light); }

/* ── CASE STUDIES ─────────────────────────────────────────── */
.cases-section { background: var(--bg2); }
.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.case-card {
  background: rgba(255,255,255,0.02); padding: 36px;
  border: 1px solid var(--border); border-radius: 20px;
  transition: all 0.3s; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 0;
}
.case-card:hover { border-color: rgba(37,99,235,0.35); background: rgba(37,99,235,0.04); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(37,99,235,0.12); }
.case-card::before { content: ''; position: absolute; top:0; left:0; right:0; height:3px; border-radius: 20px 20px 0 0; }
.case-card.blue::before   { background: linear-gradient(90deg, var(--accent-light), var(--accent2)); }
.case-card.green::before  { background: linear-gradient(90deg, #34d399, #059669); }
.case-card.purple::before { background: linear-gradient(90deg, var(--accent4), var(--accent3)); }
.case-card.red::before    { background: linear-gradient(90deg, #f87171, #dc2626); }
.case-industry { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.case-card h3  { font-weight: 700; font-size: 18px; margin-bottom: 4px; line-height: 1.3; }
.case-client   { font-size: 12px; color: var(--accent-light); margin-bottom: 16px; font-weight: 600; }
.case-desc     { font-size: 13px; line-height: 1.75; color: var(--muted); margin-bottom: 20px; }
.case-results  { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.case-result-item { font-size: 13px; color: var(--muted2); display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.case-result-item::before { content: '→'; color: var(--accent-light); flex-shrink: 0; font-weight: 700; }
.case-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials-section { background: var(--bg); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 44px;
}
.testimonial-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 36px 32px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 16px;
  transition: all 0.3s;
}
.testimonial-card::before {
  content: ''; position: absolute; top:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 20px 20px 0 0;
  opacity: 0; transition: opacity 0.3s;
}
.testimonial-card:hover { border-color: rgba(37,99,235,0.3); background: rgba(37,99,235,0.04); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(37,99,235,0.12); }
.testimonial-card:hover::before { opacity: 1; }
.testimonial-quote {
  font-size: 56px; line-height: 0.8; font-weight: 800;
  color: var(--accent); font-family: Georgia, serif;
  opacity: 0.4; user-select: none;
}
.testimonial-text { font-size: 14px; line-height: 1.8; color: var(--muted2); flex: 1; }
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px; border-top: 1px solid var(--border); margin-top: auto;
}
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: #fff;
}
.testimonial-name { font-weight: 700; font-size: 14px; color: var(--text); }
.testimonial-role { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ── DEMO TERMINAL ────────────────────────────────────────── */
.demo-section { background: var(--bg2); }
.demo-terminal { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 20px; margin-top: 44px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
.terminal-header { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.02); }
.dot        { width: 10px; height: 10px; border-radius: 50%; }
.dot.red    { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green  { background: #27C93F; }
.terminal-title { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 8px; }
.terminal-body  { padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; min-height: 320px; }
.demo-agent     { border-right: 1px solid var(--border); padding-right: 32px; }
.agent-header   { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.agent-dot { width: 8px; height: 8px; background: #34d399; border-radius: 50%; box-shadow: 0 0 8px #34d399; animation: pulse 2s infinite; }
.agent-name   { font-weight: 700; font-size: 14px; }
.agent-status { font-size: 10px; font-weight: 600; color: #34d399; letter-spacing: 0.1em; }
.chat-messages { display: flex; flex-direction: column; gap: 12px; min-height: 200px; }
.msg { max-width: 85%; font-size: 13px; line-height: 1.6; padding: 10px 14px; border-radius: 12px; animation: msgFadeIn 0.4s ease forwards; }
.msg.agent { background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.2); border-radius: 4px 12px 12px 12px; color: var(--text); align-self: flex-start; }
.msg.user  { background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 12px 4px 12px 12px; align-self: flex-end; text-align: right; color: var(--muted); }
.typing-indicator { display: flex; gap: 4px; align-items: center; padding: 10px 14px; background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.2); border-radius: 4px 12px 12px 12px; width: fit-content; animation: msgFadeIn 0.4s ease forwards; }
.typing-dot { width: 6px; height: 6px; background: var(--accent-light); border-radius: 50%; animation: retell-bar 1s ease-in-out infinite; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
.demo-metrics  { display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.metric-row    { display: flex; flex-direction: column; gap: 6px; }
.metric-row label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.metric-row label span { color: var(--accent-light); }
.progress-bar  { height: 4px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent-light), var(--accent2)); border-radius: 4px; animation: fillBar 2s ease-out forwards; width: 0; }
.score-box { margin-top: 16px; padding: 12px; background: rgba(37,99,235,0.08); border: 1px solid rgba(37,99,235,0.2); border-radius: 10px; }
.score-box .score-label { font-size: 10px; color: var(--accent-light); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; font-weight: 700; }
.score-box .score-value { font-weight: 800; font-size: 28px; letter-spacing: -1px; background: linear-gradient(135deg, var(--accent-light), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
