:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: rgba(12, 26, 43, .82);
  --panel-strong: #0d1e32;
  --line: rgba(170, 204, 235, .16);
  --text: #f2f7fb;
  --muted: #9eb1c4;
  --cyan: #42d8d0;
  --blue: #6aa7ff;
  --lime: #a8eb75;
  --shadow: 0 24px 80px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.01em;
}
a { color: inherit; text-decoration: none; }
button, textarea { font: inherit; }
.aurora { position: fixed; width: 560px; height: 560px; border-radius: 50%; filter: blur(120px); opacity: .15; pointer-events: none; z-index: -1; }
.aurora-one { top: -280px; left: 10%; background: #00d9d1; }
.aurora-two { top: 18%; right: -280px; background: #4f7cff; }

.topbar { width: min(1180px, calc(100% - 40px)); height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #041615; background: linear-gradient(135deg, #6cf5e9, #64a8ff); font-weight: 900; box-shadow: 0 8px 26px rgba(66, 216, 208, .2); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .95rem; letter-spacing: .14em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: .74rem; letter-spacing: .03em; }
.identity { display: flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(10, 22, 38, .62); font-size: .78rem; color: var(--muted); }
.identity strong { color: #dce9f5; font-weight: 650; }
.status-dot, .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(168, 235, 117, .1); }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero { padding: 92px 0 52px; max-width: 960px; }
.eyebrow, .section-label { color: var(--cyan); text-transform: uppercase; font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 1px; background: var(--cyan); }
h1 { margin: 24px 0 26px; font-size: clamp(3.2rem, 8vw, 6.6rem); line-height: .94; letter-spacing: -.068em; font-weight: 760; }
h1 em { color: transparent; background: linear-gradient(100deg, #6cf0e8, #79a7ff 70%); -webkit-background-clip: text; background-clip: text; font-style: normal; }
.hero > p { max-width: 700px; margin: 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.22rem); line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; font-weight: 750; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: linear-gradient(135deg, #5ce1d9, #699cf6); color: #04131c; box-shadow: 0 12px 34px rgba(79, 177, 220, .22); }
.button.secondary { border-color: var(--line); background: rgba(13, 30, 50, .65); color: #dce8f2; }
.button.compact { min-height: 42px; padding: 0 16px; border: 0; }
.health-row { display: grid; grid-template-columns: repeat(3, max-content); gap: 38px; margin-top: 54px; padding-top: 25px; border-top: 1px solid var(--line); }
.health-row > div { display: grid; grid-template-columns: 10px auto; column-gap: 10px; }
.health-row strong { font-size: .82rem; }
.health-row small { grid-column: 2; margin-top: 3px; color: #758ca2; font-size: .72rem; }
.pause-dot { width: 8px; height: 8px; border-radius: 50%; background: #8da3b7; box-shadow: 0 0 0 4px rgba(141, 163, 183, .1); }

.composer { margin: 34px 0 90px; padding: 28px; border: 1px solid rgba(92, 225, 217, .18); border-radius: 20px; background: linear-gradient(145deg, rgba(15, 34, 54, .93), rgba(9, 21, 37, .9)); box-shadow: var(--shadow); }
.composer-heading, .composer-footer, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
h2 { margin: 6px 0 0; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.04em; }
.mic { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; color: #dbe7ef; border: 1px solid var(--line); border-radius: 999px; background: #0a1829; cursor: pointer; }
.mic.listening { color: #061515; background: var(--cyan); }
.mic-icon { font-size: .72rem; }
textarea { width: 100%; min-height: 124px; margin: 22px 0 16px; padding: 18px; resize: vertical; color: var(--text); border: 1px solid var(--line); border-radius: 14px; outline: none; background: rgba(4, 13, 24, .74); line-height: 1.55; }
textarea:focus { border-color: rgba(66, 216, 208, .55); box-shadow: 0 0 0 4px rgba(66, 216, 208, .07); }
.composer-footer p { margin: 0; color: #8399ad; font-size: .8rem; }

.systems { padding-bottom: 90px; }
.section-heading { margin-bottom: 22px; }
.secure-note { color: #7f97aa; font-size: .78rem; }
.system-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.system-card { position: relative; min-height: 230px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.system-card:hover { transform: translateY(-4px); border-color: rgba(101, 200, 227, .35); background: var(--panel-strong); }
.system-card.featured { background: linear-gradient(145deg, rgba(22, 55, 73, .96), rgba(12, 31, 53, .94)); border-color: rgba(77, 211, 205, .3); }
.system-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(74, 215, 207, .13); color: #71eee6; font-size: .82rem; font-weight: 900; }
.system-icon.cloud, .system-icon.blue { color: #8fc0ff; background: rgba(75, 144, 241, .13); }
.system-icon.orange { color: #ffb45d; background: rgba(255, 142, 46, .13); }
.system-icon.purple { color: #b6a4ff; background: rgba(112, 88, 255, .14); }
.system-icon.red { color: #ff9292; background: rgba(255, 79, 79, .12); }
.system-icon.drive { color: #8fe0a9; background: rgba(63, 193, 109, .12); }
.tag { position: absolute; top: 24px; right: 20px; padding: 5px 8px; border-radius: 999px; font-size: .64rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.tag.active { color: #bff5a2; background: rgba(121, 219, 75, .1); }
.tag.pending { color: #a7b7c7; background: rgba(151, 171, 189, .1); }
.system-card h3 { margin: 28px 0 8px; font-size: 1.05rem; }
.system-card p { min-height: 42px; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.card-link { display: block; margin-top: 22px; color: #89dcd8; font-size: .76rem; font-weight: 750; }
footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 25px 0 34px; display: flex; justify-content: space-between; color: #678095; border-top: 1px solid var(--line); font-size: .72rem; }

@media (max-width: 860px) {
  .system-grid { grid-template-columns: repeat(2, 1fr); }
  .health-row { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .topbar, main, footer { width: min(100% - 28px, 1180px); }
  .topbar { height: 76px; }
  .identity span:not(.status-dot), .identity strong { display: none; }
  .identity { padding: 10px; }
  .hero { padding-top: 64px; }
  h1 { font-size: 3.25rem; }
  .hero-actions, .composer-heading, .composer-footer, .section-heading { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .composer { padding: 20px; margin-bottom: 64px; }
  .composer-footer .button { width: 100%; }
  .system-grid { grid-template-columns: 1fr; }
  .secure-note { margin-top: 4px; }
  footer { gap: 10px; flex-direction: column; }
}

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