:root {
  --bg: #070b10;
  --bg-2: #0a121b;
  --panel: #0e1824;
  --text: #e7f4fb;
  --muted: #8eb6c9;
  --faint: #5f8498;
  --ice: #00b0f9;
  --ice-2: #8fd8ff;
  --line: rgba(0, 176, 249, 0.2);
  --wash: rgba(0, 176, 249, 0.1);
  --radius: 14px;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(7, 11, 16, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: 0.06em; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--ice-2); }
.nav-cta {
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--ice);
  color: #041018;
  font-size: 13px;
  font-weight: 600;
}

.hero {
  padding: 72px 0 48px;
  text-align: center;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(0, 176, 249, 0.18), transparent 65%),
    var(--bg);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 14ch;
  margin: 0 auto 16px;
}
.hero p {
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  max-width: 42ch;
  margin: 0 auto 28px;
}
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn {
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ice-2);
}
.btn.primary { background: var(--ice); color: #041018; border-color: transparent; }
.btn:hover { filter: brightness(1.06); }

.demo {
  margin: 8px auto 80px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, rgba(0, 176, 249, 0.08), rgba(7, 11, 16, 0.2));
  padding: 14px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}
.demo-window {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
}
.demo-bar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}
.demo-bar img { width: 16px; height: 16px; }
.demo-body {
  display: grid;
  grid-template-columns: 220px 1fr 200px;
  min-height: 320px;
}
.demo-side, .demo-rail {
  padding: 10px;
  border-right: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.demo-rail { border-right: 0; border-left: 1px solid var(--line); }
.demo-main { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chip {
  align-self: flex-end;
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(0, 176, 249, 0.16);
  border: 1px solid rgba(0, 176, 249, 0.28);
  font-size: 13px;
}
.note { font-size: 13px; color: var(--muted); }
.note strong { color: var(--ice); font-weight: 600; }
.composer {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: var(--panel);
  font-size: 12px;
  color: var(--faint);
}

.section { padding: 72px 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin-bottom: 10px; }
.section-head p { color: var(--muted); max-width: 52ch; margin: 0 auto; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 22px;
}
.card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--ice-2); }
.card p { color: var(--muted); font-size: 14px; }

.features { display: grid; gap: 48px; }
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.feature:nth-child(even) .feature-copy { order: 2; }
.feature:nth-child(even) .feature-visual { order: 1; }
.feature-copy h3 { font-size: 1.5rem; margin-bottom: 10px; letter-spacing: -0.02em; }
.feature-copy p { color: var(--muted); margin-bottom: 14px; }
.feature-copy ul { color: var(--muted); font-size: 14px; padding-left: 18px; }
.mini-ui {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #081018;
  padding: 14px;
  min-height: 220px;
  font-size: 12px;
  color: var(--muted);
}
.mini-ui .line { height: 8px; border-radius: 4px; background: var(--wash); margin-bottom: 8px; }
.mini-ui .line.w60 { width: 60%; }
.mini-ui .line.w80 { width: 80%; }
.mini-ui .pill {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ice);
  color: #041018;
  font-weight: 600;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.quote {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(0, 176, 249, 0.04);
  font-size: 14px;
  color: var(--muted);
}
.quote strong { display: block; margin-top: 12px; color: var(--ice-2); font-size: 13px; }

.cta {
  text-align: center;
  padding: 80px 0 100px;
  background:
    radial-gradient(600px 280px at 50% 100%, rgba(0, 176, 249, 0.16), transparent 70%),
    var(--bg);
}
.cta h2 { font-size: 2rem; margin-bottom: 12px; }
.cta p { color: var(--muted); margin-bottom: 22px; }

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--faint);
  font-size: 13px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.muted { color: var(--muted); }
.link { color: var(--ice-2); font-size: 14px; }
.link:hover { text-decoration: underline; }

.pricing-head { text-align: center; padding-top: 24px; }
.pricing-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.03em; }
.pricing-tabs { display: flex; justify-content: center; gap: 8px; margin: 20px 0 28px; }
.tab {
  height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); font-size: 13px;
}
.tab.on { background: var(--wash); color: var(--ice-2); border-color: rgba(0, 176, 249, 0.35); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(180deg, rgba(0, 176, 249, 0.06), rgba(7, 11, 16, 0.2));
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-card.featured { border-color: rgba(0, 176, 249, 0.55); box-shadow: 0 0 0 1px rgba(0, 176, 249, 0.2) inset; }
.price-card h3 { font-size: 1.05rem; color: var(--ice-2); }
.price-card .amount { font-size: 2rem; letter-spacing: -0.03em; }
.price-card .amount small { font-size: 0.95rem; color: var(--muted); font-weight: 400; }
.price-card ul { list-style: none; color: var(--muted); font-size: 13px; display: grid; gap: 8px; margin-top: auto; }
.price-card li::before { content: "✓ "; color: var(--ice); }
.price-card .btn { width: 100%; justify-content: center; margin-top: 8px; }

.team-banner {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: var(--panel);
}
.team-banner p { color: var(--muted); max-width: 60ch; font-size: 14px; }

.faq { max-width: 760px; margin: 40px auto 0; display: grid; gap: 8px; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; background: rgba(0, 176, 249, 0.03); overflow: hidden; }
.faq-item button {
  width: 100%; text-align: left; border: 0; background: transparent; color: var(--ice-2);
  padding: 14px 16px; font-size: 14px; display: flex; justify-content: space-between; gap: 12px;
}
.faq-item .body { display: none; padding: 0 16px 14px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.faq-item.open .body { display: block; }

.log-list { display: grid; gap: 28px; max-width: 820px; }
.log-entry time { color: var(--ice); font-size: 13px; }
.log-entry h2 { font-size: 1.45rem; margin: 6px 0 8px; letter-spacing: -0.02em; }
.log-entry p, .log-entry li { color: var(--muted); font-size: 15px; line-height: 1.55; }
.log-entry ul { padding-left: 18px; }

.auth-page { min-height: 100vh; }
.auth-card {
  max-width: 420px;
  margin: 72px auto 80px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 32px 24px;
  background: linear-gradient(180deg, rgba(0, 176, 249, 0.08), rgba(7, 11, 16, 0.35));
}
.auth-logo { width: 72px; height: 72px; margin: 0 auto 16px; filter: drop-shadow(0 0 24px rgba(0, 176, 249, 0.35)); }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 8px; }
.auth-error { color: #ffb4b4; font-size: 13px; margin: 12px 0; }
.google-btn {
  margin-top: 18px;
  height: 44px;
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #0f1822;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
}
.google-btn:hover { background: var(--wash); }
.auth-foot { margin-top: 16px; font-size: 12px; }
.auth-wide { max-width: 440px; text-align: left; }
.auth-form { display: grid; gap: 12px; margin-top: 16px; text-align: left; }
.auth-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.auth-form input {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0f1822;
  color: var(--text);
  padding: 10px 12px;
  font-size: 14px;
}
.auth-form input:focus { outline: 1px solid var(--ice); border-color: var(--ice); }
.btn.full { width: 100%; justify-content: center; display: inline-flex; height: 42px; align-items: center; }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0; color: var(--faint); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-inline { margin-top: 12px; text-align: center; }
.link-btn { border: 0; background: transparent; color: var(--ice); font-size: 13px; text-decoration: underline; cursor: pointer; padding: 0; }
.alert.inline { display: inline-block; margin: 8px 0; padding: 8px 12px; font-size: 13px; }
.dash { text-align: center; padding-top: 40px; }
.avatar { width: 64px; height: 64px; border-radius: 999px; margin: 0 auto 12px; }
.dash-grid { margin-top: 28px; text-align: left; }
.dashboard-page .dash-hero { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; text-align: left; }
.dashboard-page .dash-hero h1 { margin: 0 0 4px; font-size: 1.8rem; }
.section-head.left { text-align: left; margin-bottom: 20px; }
.section-head.left h1 { font-size: 2rem; letter-spacing: -0.02em; }
.billing-page .plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.plan-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--panel); }
.plan-card small { color: var(--faint); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.plan-card h2 { margin: 8px 0; font-size: 1.35rem; color: var(--ice-2); }
.usage-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: rgba(0,176,249,.04); margin-bottom: 24px; }
.usage-panel h3 { margin-bottom: 12px; font-size: 1rem; color: var(--ice-2); }
.usage-block { margin-bottom: 12px; }
.usage-block header { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.usage-block.compact { margin-bottom: 10px; }
.usage-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.usage-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--ice), var(--ice-2)); }
.billing-plans { margin-top: 8px; }
.alert { border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px; }
.alert.error { background: rgba(255,80,80,.12); border: 1px solid rgba(255,120,120,.35); color: #ffc9c9; }
.alert.ok { background: rgba(0,176,249,.12); border: 1px solid var(--line); color: var(--ice-2); }
.alert.warn { background: rgba(255,200,80,.08); border: 1px solid rgba(255,200,80,.25); color: #ffe6a8; }
.legal-page .narrow { max-width: 720px; }
.prose h1 { font-size: 2rem; margin-bottom: 8px; }
.prose h2 { margin: 22px 0 8px; font-size: 1.1rem; color: var(--ice-2); }
.prose p { color: var(--muted); margin-bottom: 10px; line-height: 1.6; }
.contact-form { display: grid; gap: 12px; margin-top: 20px; }
.contact-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.contact-form input, .contact-form textarea {
  border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--text); padding: 10px 12px;
}
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--wash); color: var(--ice-2); font-size: 12px; }
.status-list { list-style: none; padding: 0; margin: 20px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.status-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.status-list li:last-child { border-bottom: 0; }
.status-list span { color: var(--muted); }
.status-list strong { color: var(--ice-2); text-align: right; }
ol.steps { color: var(--muted); line-height: 1.7; padding-left: 20px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .demo-body { grid-template-columns: 1fr; }
  .demo-side, .demo-rail { display: none; }
  .grid-2, .quote-grid, .feature, .price-grid, .billing-page .plan-grid { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-copy,
  .feature:nth-child(even) .feature-visual { order: unset; }
  .team-banner { flex-direction: column; align-items: flex-start; }
}
