:root {
  --bg: #05030a;
  --panel: #070815;
  --panel-alt: #0b0d1f;
  --accent-pink: #ff3db6;
  --accent-blue: #42e9ff;
  --accent-purple: #a855ff;
  --text-main: #f7f4ff;
  --text-muted: #b0a7d6;
  --border-soft: rgba(255,255,255,0.08);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(0,0,0,0.65);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: radial-gradient(circle at top, #1a1034 0, #05030a 55%, #020007 100%);
  color: var(--text-main);
  font-family: var(--font-main);
}

body {
  display: flex;
  justify-content: center;
}

/* Background Video */
.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: -1;
  pointer-events: none;
}

.page {
  width: 100%;
  max-width: 1120px;
  padding: 18px 16px 36px;
  position: relative;
  z-index: 1;
}

/* Top Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.nav-left {
  display: flex;
  flex-direction: column;
}

.brand-kicker {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.brand-title {
  margin-top: 4px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.nav-right {
  display: flex;
  gap: 8px;
}

.nav-btn {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(9, 9, 26, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-main);
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}

.nav-btn-primary {
  background: linear-gradient(120deg, var(--accent-pink), var(--accent-purple));
  border: none;
}

/* Hero Layout */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 18px;
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Left hero */
.hero-panel {
  background: radial-gradient(circle at top left, rgba(255,61,182,0.15), transparent 55%),
              radial-gradient(circle at bottom right, rgba(66,233,255,0.1), transparent 60%),
              rgba(7, 8, 21, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 20px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(5,6,20,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
}

.hero-title {
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 8px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-title span {
  color: var(--accent-pink);
}

.hero-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 18px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.btn-solid {
  border-radius: var(--radius-pill);
  border: none;
  padding: 10px 18px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  color: #05030a;
  background: linear-gradient(120deg, var(--accent-pink), #ffc857);
}

.btn-outline {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 9px 16px;
  font-size: 13px;
  background: rgba(5,5,20,0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-main);
  text-decoration: none;
}

.hero-footnote {
  font-size: 11px;
  color: var(--text-muted);
}

/* Chat preview card */
.panel-preview {
  background: radial-gradient(circle at top, rgba(255,61,182,0.12), transparent 55%),
              rgba(8,9,23,0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 12px 14px 16px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.preview-mode-pill {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
}

.preview-body {
  background: radial-gradient(circle at bottom, rgba(1,47,63,0.4), rgba(5,2,20,0.3));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 14px 14px 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.preview-text {
  font-size: 13px;
  line-height: 1.6;
  color: #dde3ff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.preview-meter {
  position: absolute;
  bottom: 10px;
  left: 14px;
  right: 14px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-pink));
  opacity: 0.75;
}

/* "How it works" */
.section {
  margin-top: 30px;
  background: rgba(5, 0, 22, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 16px;
}

.section-title {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.card {
  background: radial-gradient(circle at top, rgba(255, 63, 168, 0.08), transparent 55%),
              rgba(5, 6, 19, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 14px 14px 16px;
  border: 1px solid rgba(255,255,255,0.2);
}

.card-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 6px;
}

.card-title {
  font-size: 13px;
  margin-bottom: 6px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.card-body {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Small tag list */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-muted);
}

/* Footer note */
.footer-note {
  margin-top: 26px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  opacity: 0.8;
}
