:root {
  --bg: #0B0F1A;
  --surface: #111827;
  --surface-2: #1a2234;
  --border: rgba(255,255,255,0.07);
  --fg: #F5F4F0;
  --fg-2: #9ca3af;
  --fg-3: #6b7280;
  --accent: #2D7EFF;
  --accent-warm: #F0A500;
  --accent-glow: rgba(45,126,255,0.15);
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  padding: 24px 40px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
  color: var(--fg);
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-3);
  letter-spacing: 0.02em;
}

/* HERO */
.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
  position: relative;
}

/* Orb background */
.hero::before {
  content: '';
  position: fixed;
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45,126,255,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  top: 80px;
  right: 40px;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(45,126,255,0.3);
  animation: spin 12s linear infinite;
}
.orb-ring-1 { width: 40px; height: 40px; }
.orb-ring-2 { width: 80px; height: 80px; animation-duration: 18s; animation-direction: reverse; }
.orb-ring-3 { width: 120px; height: 120px; animation-duration: 25s; }
.orb-center { position: relative; z-index: 1; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-content {
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--fg-2);
  font-family: var(--font-display);
}

/* Notifications sidebar */
.hero-notifications {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.notif {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 14px;
  animation: fadeSlideIn 0.4s ease both;
}
.notif-1 { animation-delay: 0.1s; }
.notif-2 { animation-delay: 0.25s; }
.notif-3 { animation-delay: 0.4s; }
.notif-4 { animation-delay: 0.55s; }
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(45,126,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.notif-icon--follow { background: rgba(240,165,0,0.1); }
.notif-body { min-width: 0; }
.notif-title { font-size: 13px; font-weight: 600; font-family: var(--font-display); color: var(--fg); }
.notif-sub { font-size: 12px; color: var(--fg-3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-time { font-size: 11px; color: var(--fg-3); white-space: nowrap; }

/* WHAT IT DOES */
.what-it-does {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 40px;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--fg);
  line-height: 1.15;
  max-width: 640px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--fg-2);
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.7;
}
.tasks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.task-card {
  background: var(--surface);
  padding: 36px 32px;
  transition: background 0.2s;
}
.task-card:hover { background: var(--surface-2); }
.task-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(45,126,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.task-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.task-card p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.65;
}

/* AGENT PANEL */
.agent-panel {
  background: #080c14;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 40px;
}
.agent-panel-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.panel-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.panel-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--fg);
  max-width: 520px;
  margin-bottom: 48px;
}
.dashboard-window {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(45,126,255,0.1);
}
.dash-header {
  background: #1a2234;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dash-dots { display: flex; gap: 7px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); display: block; }
.dash-title { font-size: 13px; color: rgba(255,255,255,0.5); font-family: var(--font-display); flex: 1; text-align: center; }
.dash-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #34d399;
  font-family: var(--font-display);
  font-weight: 500;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 6px #34d399; }
.dash-body { display: grid; grid-template-columns: 180px 1fr; }
.dash-sidebar {
  background: #0d1420;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.sidebar-item {
  padding: 10px 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  cursor: pointer;
}
.sidebar-item.sidebar-active {
  background: rgba(45,126,255,0.12);
  color: var(--accent);
  border-right: 2px solid var(--accent);
}
.sidebar-icon { font-size: 10px; opacity: 0.7; }
.dash-main { padding: 24px; }
.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 28px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  overflow: hidden;
}
.metric {
  background: #111827;
  padding: 18px 20px;
  text-align: center;
}
.metric-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.5px;
}
.metric-label { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.activity-feed {}
.feed-header { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 16px; font-family: var(--font-display); }
.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.feed-item:last-child { border-bottom: none; }
.feed-item--reply { color: #34d399; }
.feed-time { font-size: 11px; color: rgba(255,255,255,0.25); min-width: 52px; font-family: monospace; }
.feed-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0.5; flex-shrink: 0; margin-top: 5px; }
.feed-item--reply .feed-dot { background: #34d399; }

/* PROFILES */
.testimonials { max-width: 1100px; margin: 0 auto; padding: 100px 40px; }
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
}
.profile-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(45,126,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.profile-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}
.profile-card p { font-size: 14px; color: var(--fg-2); line-height: 1.7; }

/* CLOSING */
.closing {
  background: linear-gradient(180deg, var(--bg) 0%, #060a11 100%);
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(45,126,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 28px;
}
.closing-body {
  font-size: 19px;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 56px;
}
.closing-orbit {
  width: 140px;
  height: 140px;
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.closing-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(45,126,255,0.25);
  animation: spin 10s linear infinite;
}
.closing-ring-1 { width: 60px; height: 60px; }
.closing-ring-2 { width: 110px; height: 110px; animation-duration: 16s; animation-direction: reverse; }
.closing-center-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent), 0 0 40px rgba(45,126,255,0.3);
  z-index: 1;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--fg);
}
.footer-copy { font-size: 13px; color: var(--fg-3); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 60px 24px; gap: 40px; }
  .hero-orb { display: none; }
  .tasks-grid { grid-template-columns: 1fr 1fr; }
  .profiles-grid { grid-template-columns: 1fr; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .tasks-grid { grid-template-columns: 1fr; }
  .nav { padding: 20px 24px; }
  .nav-tagline { display: none; }
  .what-it-does, .testimonials { padding: 60px 24px; }
  .closing { padding: 80px 24px; }
  .footer-inner { flex-direction: column; gap: 12px; }
}