@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --ink: #f8fafc;
  --muted: #94a3b8;
  --surface: rgba(15, 23, 42, 0.65);
  --surface-solid: #0f172a;
  --surface-soft: #030712;
  --line: rgba(255, 255, 255, 0.08);
  --line-glow: rgba(6, 182, 212, 0.15);
  --dark: #030712;
  --dark-2: #0b1528;
  --teal: #0d9488;
  --teal-glow: rgba(13, 148, 136, 0.3);
  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.35);
  --blue: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.3);
  --green: #10b981;
  --amber: #f59e0b;
  --purple: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.3);
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.55);
  --glass-blur: blur(16px);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--surface-soft);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  border: 2px solid var(--surface-soft);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

body {
  margin: 0;
  background:
    linear-gradient(115deg, rgba(6, 182, 212, 0.06), transparent 24%),
    linear-gradient(245deg, rgba(245, 158, 11, 0.05), transparent 22%),
    linear-gradient(180deg, #030712 0%, #07111f 38%, #030712 100%);
  color: var(--ink);
  font-family: 'Be Vietnam Pro', ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(120deg, rgba(16, 185, 129, 0.07), transparent 35%, rgba(139, 92, 246, 0.07) 72%, transparent);
  background-size: 70px 70px, 70px 70px, 100% 100%;
  opacity: 0.6;
  animation: ambientGrid 18s linear infinite;
}

@keyframes ambientGrid {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 70px 70px, -70px 70px, 0 0; }
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button,
input {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 5vw;
  background: rgba(3, 7, 18, 0.75);
  border-bottom: 1px solid rgba(94, 234, 212, 0.18);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(6, 182, 212, 0.4);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
  transition: var(--transition);
}

.brand:hover img {
  transform: rotate(10deg) scale(1.08);
  border-color: var(--cyan);
  box-shadow: 0 0 22px rgba(6, 182, 212, 0.6);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

nav a {
  position: relative;
  padding: 8px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transition: var(--transition);
  border-radius: 2px;
}

nav a:hover {
  color: #ffffff;
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: calc(95vh - 76px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.16), transparent 34%),
    linear-gradient(35deg, transparent 50%, rgba(139, 92, 246, 0.13) 78%, transparent 100%),
    linear-gradient(155deg, transparent 46%, rgba(245, 158, 11, 0.11) 66%, transparent 100%),
    linear-gradient(90deg, rgba(3, 7, 18, 0.98) 0%, rgba(3, 7, 18, 0.88) 50%, rgba(3, 7, 18, 0.5) 100%),
    url("assets/screen1.png") right 8vw center / min(420px, 42vw) auto no-repeat,
    linear-gradient(135deg, #030712 0%, #0d1527 50%, #030712 100%);
  color: #f8fafc;
}

.hero::before {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.26), rgba(16, 185, 129, 0.18), rgba(245, 158, 11, 0.16), rgba(139, 92, 246, 0.22));
  filter: blur(34px);
  opacity: 0.72;
  transform: translateY(45%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.07) 37%, transparent 38% 100%);
  animation: scanLight 7s ease-in-out infinite;
}

@keyframes scanLight {
  0%, 100% { transform: translateX(-45%); opacity: 0; }
  45%, 55% { opacity: 0.75; }
  100% { transform: translateX(45%); }
}

.hero-grid {
  position: absolute;
  right: 5vw;
  bottom: 8vh;
  z-index: -1;
  width: min(550px, 48vw);
  aspect-ratio: 1.2;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.7;
  mask-image: radial-gradient(circle at center, black 40%, transparent 95%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 95%);
}

.hero-inner {
  width: min(960px, 88vw);
  padding: 80px 0 60px 5vw;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 15px var(--cyan); }
}

.hero .eyebrow {
  color: #38bdf8;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.1;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(52px, 8.5vw, 104px);
  font-weight: 900;
  color: #f8fafc;
  text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-subtitle {
  max-width: 800px;
  margin: 16px 0 0;
  color: #e2e8f0;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
}

.lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.primary-action,
.secondary-action,
.chat-form button,
.summary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 10px;
  font-weight: 750;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition);
}

.primary-action,
.chat-form button,
.summary-link {
  border: 0;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.25);
  position: relative;
  overflow: hidden;
}

.primary-action::before,
.chat-form button::before,
.summary-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.primary-action:hover::before,
.chat-form button:hover::before,
.summary-link:hover::before {
  left: 100%;
}

.primary-action:hover,
.chat-form button:hover,
.summary-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.45);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.secondary-action:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

.hero-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  color: #c084fc;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: var(--transition);
}

.hero-strip span:nth-child(odd) {
  color: #38bdf8;
}

.hero-strip span:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: rgba(6, 182, 212, 0.3);
}

.hero-status-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(720px, 100%);
  margin-top: 24px;
}

.hero-status-panel article {
  position: relative;
  min-height: 92px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(15, 23, 42, 0.58);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.25);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: var(--transition);
}

.hero-status-panel article::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 3px solid var(--cyan);
  opacity: 0.9;
}

.hero-status-panel article:nth-child(2)::before { border-top-color: var(--green); }
.hero-status-panel article:nth-child(3)::before { border-top-color: var(--amber); }
.hero-status-panel article:nth-child(4)::before { border-top-color: var(--purple); }

.hero-status-panel article:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 45px rgba(6, 182, 212, 0.18);
}

.hero-status-panel span {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-status-panel strong {
  display: block;
  margin-top: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  color: #f8fafc;
}

/* Sections */
.section {
  padding: 100px 5vw;
  position: relative;
}

.overview-section {
  padding-top: 40px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, var(--surface-soft) 0%, #060b18 100%);
}

.status-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.status-rail article,
.metric-card,
.workflow-item,
.control-flow,
.forecast-panel,
.feature-list > div,
.status-card,
.chat-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: var(--transition);
}

.status-rail article {
  display: grid;
  gap: 12px;
  min-height: 140px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.status-rail article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  transition: var(--transition);
}

.status-rail article:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.status-rail article:nth-child(1)::before { background: var(--green); }
.status-rail article:nth-child(2)::before { background: var(--amber); }
.status-rail article:nth-child(3)::before { background: var(--purple); }

.rail-label,
.status-card span {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rail-label.done,
.status-card.done span {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.rail-label.active,
.status-card.active span {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.rail-label.next,
.status-card.next span {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.status-rail strong {
  font-size: 19px;
  line-height: 1.35;
  color: #f1f5f9;
  font-weight: 600;
}

/* Section Heading */
.section-heading {
  max-width: 800px;
  margin-bottom: 50px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading p,
.control-flow p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.section h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #f8fafc;
}

/* Metrics Section */
.metrics-section {
  background: #060b18;
  border-block: 1px solid var(--line);
}

.metric-grid,
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.metric-card {
  min-height: 160px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.metric-card::before,
.workflow-item::before,
.status-card::before,
.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.16), transparent 42%, rgba(139, 92, 246, 0.16));
  transition: var(--transition);
}

.metric-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  z-index: 1;
}

.metric-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
}

.metric-card:hover::before,
.workflow-item:hover::before,
.status-card:hover::before,
.contact-card:hover::before {
  opacity: 1;
}

.metric-card span {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.metric-card strong {
  display: block;
  margin: 12px 0;
  font-size: 34px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: #f8fafc;
  transition: all 0.2s ease;
}

.metric-card small {
  color: var(--cyan);
  font-weight: 700;
  font-size: 13px;
}

/* Progress bar inside Quota metric */
.quota-progress-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}

.quota-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  width: 0%;
  border-radius: 3px;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dynamic Live Pulsing Indicator for Metrics */
.live-pulse {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green);
}

.live-pulse::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--green);
  border-radius: 50%;
  animation: pulseRing 1.5s infinite ease-out;
}

@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.5); opacity: 0; }
}

/* Architecture Section */
.architecture-section {
  background: #030712;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.workflow-item {
  min-height: 240px;
  padding: 24px;
  position: relative;
}

.workflow-item:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.12);
}

.workflow-item strong {
  display: block;
  margin: 20px 0 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  line-height: 1.3;
  color: #f1f5f9;
}

.workflow-item span {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.workflow-index {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.15));
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--cyan);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 16px;
}

/* Pulse flow line inside Control Flow */
.control-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  margin-top: 30px;
  padding: 28px;
  background: rgba(15, 23, 42, 0.4);
}

.control-flow span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.control-flow strong {
  display: block;
  margin-top: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  line-height: 1.3;
  color: #fef3c7;
}

/* Pulsing Signal Flow Animation */
.signal-pathway {
  margin-top: 14px;
  position: relative;
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}

.signal-pulse {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  animation: runSignal 3s infinite linear;
}

@keyframes runSignal {
  0% { left: -40px; }
  100% { left: 100%; }
}

/* Forecast Section */
.forecast-section,
.mobile-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
}

.forecast-section {
  background: #060b18;
  border-block: 1px solid var(--line);
}

.forecast-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 28px;
  background: #020617;
  border-color: rgba(255, 255, 255, 0.05);
}

.model-chip {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
  color: var(--muted);
  transition: var(--transition);
}

.model-chip:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.3);
  color: #c084fc;
}

.forecast-tabs {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 5px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 6px;
}

.forecast-tab {
  flex: 1;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.forecast-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.forecast-tab.active {
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.forecast-chart {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  gap: 10px;
  height: 220px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.forecast-chart span {
  flex: 1;
  min-width: 8px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
  transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.forecast-chart span::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #ffffff;
  border-radius: 8px 8px 0 0;
  opacity: 0.6;
}

.forecast-chart .predicted {
  background: linear-gradient(180deg, #c084fc, #7c3aed);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.2);
}

.forecast-panel small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
}

/* Mobile Showcase */
.mobile-section {
  background: #040914;
  border-bottom: 1px solid var(--line);
}

.phone-showcase {
  display: grid;
  place-items: center;
}

.device-shell {
  width: min(320px, 75vw);
  aspect-ratio: 9 / 18.5;
  padding: 12px;
  background: #111827;
  border-radius: 38px;
  border: 4px solid #1f2937;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.7),
    0 0 35px rgba(6, 182, 212, 0.25);
  transition: var(--transition);
}

.device-shell:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 35px 65px -12px rgba(0, 0, 0, 0.8),
    0 0 45px rgba(6, 182, 212, 0.45);
}

.device-shell img {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  object-position: top center;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.feature-list > div {
  display: grid;
  gap: 6px;
  min-height: 90px;
  padding: 20px;
}

.feature-list > div:hover {
  transform: translateX(4px);
  border-color: rgba(6, 182, 212, 0.25);
  background: rgba(255, 255, 255, 0.03);
}

.feature-list strong {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  color: #f1f5f9;
}

.feature-list span {
  color: var(--muted);
  font-size: 14px;
}

/* Status Grid & Cards */
.status-section {
  background: #030712;
}

.status-card {
  display: grid;
  gap: 14px;
  min-height: 260px;
  padding: 26px;
  position: relative;
}

.status-card:hover {
  transform: translateY(-6px);
}

.status-card.done:hover { border-color: rgba(16, 185, 129, 0.3); box-shadow: 0 15px 35px rgba(16, 185, 129, 0.1); }
.status-card.active:hover { border-color: rgba(245, 158, 11, 0.3); box-shadow: 0 15px 35px rgba(245, 158, 11, 0.1); }
.status-card.next:hover { border-color: rgba(139, 92, 246, 0.3); box-shadow: 0 15px 35px rgba(139, 92, 246, 0.1); }

.status-card strong {
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  line-height: 1.35;
  color: #f8fafc;
}

.status-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.summary-link {
  margin-top: 24px;
}

/* Contact */
.contact-section {
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(6, 182, 212, 0.12), transparent 32%),
    linear-gradient(35deg, transparent 56%, rgba(245, 158, 11, 0.1), rgba(139, 92, 246, 0.14)),
    #050a16;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
  align-items: start;
  max-width: 1220px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 170px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(15, 23, 42, 0.62);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: var(--transition);
}

.contact-card:nth-child(1) { border-top-color: rgba(6, 182, 212, 0.65); }
.contact-card:nth-child(2) { border-top-color: rgba(16, 185, 129, 0.65); }
.contact-card:nth-child(3) { border-top-color: rgba(245, 158, 11, 0.65); }
.contact-card:nth-child(4) { border-top-color: rgba(139, 92, 246, 0.65); }

.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 60px rgba(6, 182, 212, 0.15);
}

.contact-card span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #67e8f9;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-card strong {
  position: relative;
  z-index: 1;
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  line-height: 1.25;
  color: #f8fafc;
  word-break: break-word;
}

.contact-card small {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* Floating Chatbot */
.floating-chat {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1000;
}

.floating-chat-toggle {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.35);
  transition: var(--transition);
  position: relative;
}

.floating-chat-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  z-index: -1;
  animation: pulseRing 2s infinite ease-out;
}

.floating-chat-toggle:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.55);
}

.robot-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
}

.robot-antenna {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 2px;
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
  transform: translateX(-50%);
}

.robot-antenna::before {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  content: "";
  transform: translateX(-50%);
}

.robot-face {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  width: 36px;
  height: 30px;
  margin-top: 7px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.robot-face::before,
.robot-face::after {
  position: absolute;
  top: 9px;
  width: 5px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  content: "";
}

.robot-face::before { left: -7px; }
.robot-face::after { right: -7px; }

.robot-eye {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 8px #5eead4;
  animation: robotBlink 4s infinite;
}

@keyframes robotBlink {
  0%, 45%, 55%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.1); }
}

.robot-mouth {
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
}

.floating-chat-panel {
  position: absolute;
  right: 0;
  bottom: 80px;
  display: none;
  width: min(390px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-chat-panel.is-open {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  opacity: 1;
}

.floating-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #0b1329, #0d9488);
  border-bottom: 1px solid var(--line);
  color: #ffffff;
}

.floating-chat-header div {
  display: grid;
  gap: 2px;
}

.floating-chat-header strong {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
}

.floating-chat-header span {
  color: #cbd5e1;
  font-size: 12px;
}

.floating-chat-header button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: var(--transition);
}

.floating-chat-header button:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
}

.assistant-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px 0;
  background: rgba(3, 7, 18, 0.72);
}

.assistant-mode span {
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.08);
  color: #a5f3fc;
  font-size: 11px;
  font-weight: 800;
}

.assistant-mode span:nth-child(2) {
  border-color: rgba(139, 92, 246, 0.24);
  background: rgba(139, 92, 246, 0.1);
  color: #ddd6fe;
}

.quick-prompts {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  background: rgba(3, 7, 18, 0.72);
  border-bottom: 1px solid var(--line);
}

.quick-prompts button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #e2e8f0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: var(--transition);
}

.quick-prompts button:hover {
  border-color: rgba(6, 182, 212, 0.45);
  background: rgba(6, 182, 212, 0.14);
  color: #ffffff;
  transform: translateY(-2px);
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 380px;
  padding: 20px;
  overflow-y: auto;
  background: rgba(3, 7, 18, 0.4);
}

.message {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 12px;
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.5;
  animation: messageIn 0.3s ease-out forwards;
}

@keyframes messageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.message.bot {
  align-self: flex-start;
  background: rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-bottom-left-radius: 2px;
  color: #f1f5f9;
}

.message.user {
  align-self: flex-end;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-bottom-right-radius: 2px;
  color: #f1f5f9;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.8);
}

.chat-form input {
  min-width: 0;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(3, 7, 18, 0.6);
  color: var(--ink);
  transition: var(--transition);
}

.chat-form input:focus {
  border-color: var(--cyan);
  outline: none;
  background: rgba(3, 7, 18, 0.8);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
}

.floating-chat-log {
  height: 340px;
}

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto auto;
  align-items: center;
  gap: 28px;
  padding: 42px 5vw 86px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  background:
    linear-gradient(90deg, rgba(6, 182, 212, 0.08), transparent 30%, rgba(139, 92, 246, 0.08)),
    #030712;
}

.site-footer div:first-child {
  display: grid;
  gap: 6px;
}

.site-footer strong {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  color: #f8fafc;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.footer-links a {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 800;
}

.footer-links a:hover {
  color: #ffffff;
  border-color: rgba(6, 182, 212, 0.4);
  background: rgba(6, 182, 212, 0.1);
  transform: translateY(-2px);
}

/* Responsive Media Queries */
@media (max-width: 1060px) {
  .workflow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 720px;
    background:
      radial-gradient(circle at 50% 10%, rgba(6, 182, 212, 0.15) 0%, transparent 60%),
      linear-gradient(180deg, rgba(3, 7, 18, 0.99) 0%, rgba(3, 7, 18, 0.85) 60%, rgba(3, 7, 18, 0.98) 100%),
      url("assets/screen1.png") center bottom 30px / 240px auto no-repeat,
      linear-gradient(135deg, #030712 0%, #0d1527 50%, #030712 100%);
  }

  .hero-inner {
    padding-top: 60px;
    padding-bottom: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle {
    margin-right: auto;
    margin-left: auto;
  }

  .lead {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-strip {
    justify-content: center;
  }

  .status-rail,
  .forecast-section,
  .mobile-section,
  .control-flow,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-status-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-grid,
  .status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: center;
    flex-direction: column;
    gap: 14px;
    padding: 16px 4vw;
  }

  .brand {
    font-size: 20px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  nav {
    width: 100%;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
  }

  nav a {
    padding: 6px 0;
  }

  nav a[href="progress.html"] {
    display: none;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(135deg, rgba(6, 182, 212, 0.18), transparent 38%),
      linear-gradient(35deg, transparent 50%, rgba(139, 92, 246, 0.14) 78%, transparent 100%),
      linear-gradient(180deg, rgba(3, 7, 18, 0.98), rgba(3, 7, 18, 0.9)),
      linear-gradient(135deg, #030712 0%, #0d1527 50%, #030712 100%);
  }

  .hero-inner {
    width: 100%;
    padding: 62px 6vw 72px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero .eyebrow {
    max-width: 310px;
    justify-content: center;
    font-size: 11px;
    letter-spacing: 0.09em;
  }

  .hero-subtitle {
    max-width: 300px;
    font-size: 20px;
    line-height: 1.24;
  }

  .lead {
    max-width: 310px;
  }

  .hero-actions {
    display: grid;
    width: min(320px, 100%);
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-strip {
    width: min(310px, 100%);
    gap: 8px;
  }

  .hero-strip span {
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero-status-panel {
    width: min(330px, 100%);
  }

  .lead,
  .section-heading p,
  .control-flow p {
    font-size: 15px;
  }

  .metric-grid,
  .workflow-list,
  .status-grid,
  .forecast-panel,
  .contact-grid,
  .hero-status-panel {
    grid-template-columns: 1fr;
  }

  .forecast-chart,
  .forecast-panel small {
    grid-column: auto;
  }

  .chat-log {
    height: 380px;
  }

  .message {
    max-width: 90%;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .floating-chat {
    right: 16px;
    bottom: 16px;
  }

  .floating-chat-panel {
    bottom: 76px;
  }

  .floating-chat-log {
    height: 300px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
    padding-bottom: 90px;
  }

  .site-footer div:first-child,
  .footer-links {
    justify-items: center;
    justify-content: center;
  }
}

/* Typing Indicator */
.typing-indicator-msg {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 18px !important;
  min-width: 60px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Brand alignment refresh: match the mobile app and admin console */
:root {
  --ink: #13251f;
  --muted: #61736c;
  --surface: rgba(248, 251, 249, 0.94);
  --surface-solid: #f8fbf9;
  --surface-soft: #eef4f1;
  --line: #dce7e1;
  --line-glow: rgba(15, 118, 110, 0.14);
  --dark: #edf3f0;
  --dark-2: #e7eee9;
  --teal: #0f766e;
  --teal-glow: rgba(15, 118, 110, 0.16);
  --cyan: #0f766e;
  --cyan-glow: rgba(15, 118, 110, 0.16);
  --blue: #115e59;
  --blue-glow: rgba(17, 94, 89, 0.14);
  --green: #15803d;
  --amber: #d97706;
  --purple: #61736c;
  --purple-glow: rgba(97, 115, 108, 0.14);
  --shadow: 0 18px 42px rgba(23, 58, 49, 0.1);
  --glass-blur: blur(10px);
  --transition: all 180ms ease;
}

body {
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.1), transparent 30rem),
    radial-gradient(circle at 12% 18%, rgba(217, 119, 6, 0.08), transparent 22rem),
    linear-gradient(180deg, #f8fbf9 0%, #edf3f0 42%, #e7eee9 100%);
  color: var(--ink);
}

body::before {
  background-image:
    linear-gradient(rgba(19, 37, 31, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 37, 31, 0.025) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 1;
  animation: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 72%);
}

.topbar {
  background: rgba(248, 251, 249, 0.86);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(23, 58, 49, 0.08);
}

.brand,
nav a {
  color: var(--ink);
}

.brand img {
  border-color: rgba(15, 118, 110, 0.26);
  box-shadow: 0 10px 24px rgba(23, 58, 49, 0.12);
}

.brand:hover img {
  border-color: var(--teal);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.18);
}

nav {
  color: var(--muted);
}

nav a::after {
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

nav a:hover {
  color: var(--teal);
}

.hero {
  min-height: calc(88dvh - 76px);
  background:
    linear-gradient(90deg, rgba(248, 251, 249, 0.96) 0%, rgba(248, 251, 249, 0.9) 52%, rgba(248, 251, 249, 0.44) 100%),
    url("assets/screen1.png") right 8vw center / min(410px, 38vw) auto no-repeat,
    linear-gradient(135deg, #f8fbf9 0%, #edf3f0 55%, #e7eee9 100%);
  color: var(--ink);
}

.hero::before {
  background: linear-gradient(90deg, rgba(15, 118, 110, 0.14), rgba(217, 119, 6, 0.1));
  filter: blur(28px);
}

.hero::after {
  display: none;
}

.hero-grid {
  border-color: rgba(15, 118, 110, 0.08);
  background:
    linear-gradient(rgba(19, 37, 31, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 37, 31, 0.04) 1px, transparent 1px);
  opacity: 0.65;
}

.hero-subtitle,
.lead,
.section-heading p,
.control-flow p,
.forecast-panel small,
.site-footer span,
.contact-card small,
.metric-card small,
.workflow-item span,
.status-card p,
.progress-item p,
.check-list p,
.timeline p {
  color: var(--muted);
}

.eyebrow,
.progress-kicker {
  color: var(--teal);
  letter-spacing: 0.08em;
}

.primary-action,
.chat-form button,
.floating-chat-toggle,
.summary-link {
  background: linear-gradient(135deg, var(--teal), #115e59);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.18);
}

.secondary-action {
  background: #f8fbf9;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(23, 58, 49, 0.08);
}

.primary-action:hover,
.secondary-action:hover,
.chat-form button:hover,
.floating-chat-toggle:hover,
.summary-link:hover {
  transform: translateY(-2px);
}

.hero-strip,
.hero-status-panel article,
.status-rail article,
.metric-card,
.workflow-item,
.control-flow,
.forecast-panel,
.status-card,
.contact-card,
.floating-chat-panel,
.progress-hero,
.status-panel,
.progress-item,
.check-list div,
.timeline div {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.hero-strip span,
.model-chip,
.rail-label,
.status-card span,
.contact-card span,
.progress-item span,
.status-panel span,
.assistant-mode span,
.quick-prompts button {
  background: #e0f2ef;
  color: var(--teal);
  border-color: rgba(15, 118, 110, 0.14);
}

.hero-status-panel strong,
.metric-card strong,
.workflow-item strong,
.control-flow strong,
.status-card strong,
.contact-card strong,
.status-panel strong,
.progress-item h3,
.check-list strong {
  color: var(--ink);
}

.overview-section,
.metrics-section,
.architecture-section,
.forecast-section,
.mobile-section,
.status-section,
.contact-section,
.progress-section,
.alt-section {
  background: transparent;
}

.phone-showcase .device-shell,
.device-shell {
  background: linear-gradient(180deg, #10251f 0%, #0f172a 100%);
  box-shadow: 0 24px 54px rgba(23, 58, 49, 0.18);
}

.forecast-chart {
  background: #edf3f0;
  border-color: var(--line);
}

.forecast-chart span {
  background: linear-gradient(180deg, var(--teal), #115e59);
}

.forecast-chart span.predicted {
  background: linear-gradient(180deg, var(--amber), #b45309);
}

.quota-progress-container,
.chat-form input,
.floating-chat-log {
  background: #edf3f0;
  border-color: var(--line);
}

.quota-progress-bar {
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

.message.bot {
  background: #edf3f0;
  color: var(--ink);
}

.message.user {
  background: linear-gradient(135deg, var(--teal), #115e59);
  color: #ffffff;
}

.floating-chat-header,
.site-footer {
  background: rgba(248, 251, 249, 0.94);
  border-color: var(--line);
  color: var(--ink);
}

.robot-face {
  background: rgba(255, 255, 255, 0.18);
}

.robot-eye,
.robot-mouth,
.typing-dot {
  background: #ffffff;
}

.floating-chat-panel .typing-dot {
  background: var(--teal);
}

@media (max-width: 760px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(248, 251, 249, 0.96), rgba(248, 251, 249, 0.86)),
      url("assets/screen1.png") center bottom 2rem / min(280px, 74vw) auto no-repeat,
      linear-gradient(135deg, #f8fbf9 0%, #edf3f0 100%);
    padding-bottom: 300px;
  }
}

/* Visual repair: keep the product site premium, not half-light/half-dark */
:root {
  --ink: #f8fafc;
  --muted: #b8c7c1;
  --surface: rgba(16, 37, 31, 0.78);
  --surface-solid: #10251f;
  --surface-soft: #0b1714;
  --line: rgba(220, 231, 225, 0.14);
  --line-glow: rgba(45, 212, 191, 0.18);
  --dark: #07110f;
  --dark-2: #10251f;
  --teal: #14b8a6;
  --teal-glow: rgba(20, 184, 166, 0.22);
  --cyan: #2dd4bf;
  --cyan-glow: rgba(45, 212, 191, 0.25);
  --blue: #0f766e;
  --blue-glow: rgba(15, 118, 110, 0.25);
  --green: #34d399;
  --amber: #d97706;
  --purple: #94a3b8;
  --purple-glow: rgba(148, 163, 184, 0.16);
  --shadow: 0 22px 54px rgba(3, 18, 15, 0.32);
  --glass-blur: blur(14px);
  --transition: all 220ms ease;
}

body {
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.16), transparent 28rem),
    radial-gradient(circle at 84% 12%, rgba(217, 119, 6, 0.11), transparent 22rem),
    linear-gradient(180deg, #07110f 0%, #10251f 46%, #07110f 100%);
  color: var(--ink);
}

body::before {
  background:
    linear-gradient(rgba(236, 253, 245, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 253, 245, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.62;
  animation: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 76%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 76%);
}

.topbar {
  background: rgba(7, 17, 15, 0.86);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(3, 18, 15, 0.24);
}

.brand,
nav a {
  color: #f8fafc;
}

nav {
  color: #b8c7c1;
}

nav a:hover {
  color: var(--cyan);
}

.brand img {
  border-color: rgba(45, 212, 191, 0.26);
  box-shadow: 0 12px 26px rgba(20, 184, 166, 0.18);
}

.hero {
  min-height: calc(92dvh - 76px);
  background:
    radial-gradient(circle at 78% 28%, rgba(20, 184, 166, 0.12), transparent 22rem),
    radial-gradient(circle at 86% 70%, rgba(217, 119, 6, 0.08), transparent 18rem),
    linear-gradient(135deg, #07110f 0%, #10251f 54%, #0b1714 100%);
  color: var(--ink);
}

.hero::before {
  background: linear-gradient(90deg, rgba(20, 184, 166, 0.24), rgba(217, 119, 6, 0.15));
  opacity: 0.6;
  filter: blur(32px);
}

.hero h1 {
  max-width: 780px;
  color: #f8fafc;
  font-size: clamp(48px, 7.4vw, 88px);
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
}

.hero-inner {
  animation: none;
}

.hero-subtitle {
  max-width: 760px;
  color: #dbe7e2;
}

.lead,
.hero-subtitle,
.section-heading p,
.control-flow p,
.forecast-panel small,
.site-footer span,
.contact-card small,
.metric-card small,
.workflow-item span,
.status-card p {
  color: var(--muted);
}

.section h2,
.section-heading h2,
.control-flow strong,
.metric-card strong,
.workflow-item strong,
.status-card strong,
.contact-card strong {
  color: #f8fafc;
}

.eyebrow,
.progress-kicker {
  color: var(--cyan);
}

.primary-action,
.chat-form button,
.floating-chat-toggle,
.summary-link {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(20, 184, 166, 0.22);
}

.secondary-action {
  background: rgba(236, 253, 245, 0.08);
  color: #f8fafc;
  border: 1px solid rgba(236, 253, 245, 0.14);
  box-shadow: none;
}

.hero-strip {
  width: fit-content;
  max-width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-strip span,
.model-chip,
.rail-label,
.status-card span,
.contact-card span,
.assistant-mode span,
.quick-prompts button {
  background: rgba(224, 242, 239, 0.1);
  color: #99f6e4;
  border-color: rgba(45, 212, 191, 0.18);
}

.hero-status-panel article,
.status-rail article,
.metric-card,
.workflow-item,
.control-flow,
.forecast-panel,
.status-card,
.contact-card,
.floating-chat-panel {
  background:
    linear-gradient(145deg, rgba(236, 253, 245, 0.08), rgba(236, 253, 245, 0.025)),
    rgba(16, 37, 31, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.hero-status-panel strong,
.hero-status-panel span,
.metric-card span,
.contact-card span {
  color: #dbe7e2;
}

.hero-status-panel strong,
.metric-card strong {
  color: #f8fafc;
}

.forecast-chart,
.quota-progress-container,
.chat-form input,
.floating-chat-log {
  background: rgba(7, 17, 15, 0.5);
  border-color: var(--line);
}

.message.bot {
  background: rgba(236, 253, 245, 0.08);
  color: #f8fafc;
}

.message.user {
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

.floating-chat-header,
.site-footer {
  background: rgba(7, 17, 15, 0.88);
  border-color: var(--line);
  color: #f8fafc;
}

.phone-showcase .device-shell,
.device-shell {
  background: linear-gradient(180deg, #10251f 0%, #07110f 100%);
  box-shadow: 0 28px 64px rgba(3, 18, 15, 0.42);
}

@media (max-width: 760px) {
  .topbar {
    display: grid;
    gap: 12px;
    min-height: auto;
    padding: 14px 18px;
  }

  .brand {
    justify-self: center;
  }

  nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding-bottom: 64px;
    background:
      radial-gradient(circle at top, rgba(20, 184, 166, 0.18), transparent 22rem),
      linear-gradient(180deg, #07110f 0%, #10251f 100%);
    text-align: center;
  }

  .hero-inner {
    width: min(100%, calc(100vw - 32px));
    padding: 56px 16px 0;
    margin: 0 auto;
  }

  .hero h1 {
    max-width: 320px;
    margin: 0 auto;
    font-size: clamp(38px, 11.5vw, 46px);
    line-height: 1;
    letter-spacing: 0;
    overflow-wrap: normal;
  }

  .hero-subtitle {
    max-width: 330px;
    margin: 14px auto 0;
    font-size: 22px;
  }

  .lead {
    max-width: 330px;
    margin: 22px auto 0;
  }

  .hero-actions {
    justify-content: center;
    align-items: center;
  }

  .primary-action,
  .secondary-action {
    width: min(100%, 220px);
  }

  .hero-strip {
    justify-content: center;
    width: min(310px, 100%);
    margin-right: auto;
    margin-left: auto;
    overflow: visible;
  }

  .hero-status-panel {
    max-width: 280px;
    margin: 24px auto 0;
  }
}
