:root {
  --bg: #0a0a0b;
  --bg-card: #111114;
  --bg-card-hover: #16161a;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.13);
  --text-1: #f2f2f3;
  --text-2: #a0a0a8;
  --text-3: #5c5c66;
  --accent: #f97316;
  --accent-2: #ec4899;
  --accent-grad: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --max-w: 1080px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container {
  width: min(var(--max-w), 100% - 48px);
  margin-inline: auto;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 18px 0;
  background: rgba(10,10,11,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-1);
}

.logo span {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

nav a:hover { color: var(--text-1); background: rgba(255,255,255,0.05); }

.btn-nav {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1) !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid var(--border);
  padding: 7px 16px !important;
  border-radius: 999px !important;
  transition: background 0.15s, border-color 0.15s !important;
}

.btn-nav:hover {
  background: rgba(255,255,255,0.13) !important;
  border-color: var(--border-hover) !important;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 0 80px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(249,115,22,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(236,72,153,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(249,115,22,0.08);
  border: 1px solid rgba(249,115,22,0.2);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

h1 {
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 900;
  color: var(--text-1);
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 22px;
}

h1 em {
  font-style: normal;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 19px);
  color: var(--text-2);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--accent-grad);
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 0 32px rgba(249,115,22,0.25);
  text-decoration: none;
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 4px 40px rgba(249,115,22,0.35);
}

.btn-primary:active { transform: scale(0.98); }

.btn-arrow {
  font-size: 18px;
  transition: transform 0.15s;
}

.btn-primary:hover .btn-arrow { transform: translateX(3px); }

.cta-note {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.01em;
}

/* ── Chat mockup ─────────────────────────────────────────────────────────── */
.mockup {
  width: min(520px, 100% - 48px);
  margin-inline: auto;
  margin-top: 64px;
  position: relative;
}

.mockup-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.mockup-title {
  font-size: 12px;
  color: var(--text-3);
  margin-left: 4px;
}

.chat-bubbles {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bubble {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 75%;
}

.bubble.them {
  align-self: flex-start;
  background: rgba(255,255,255,0.06);
  color: var(--text-1);
  border-bottom-left-radius: 4px;
}

.bubble.you {
  align-self: flex-end;
  background: rgba(249,115,22,0.15);
  color: #f9a478;
  border-bottom-right-radius: 4px;
}

.bubble.them.sim {
  background: rgba(236,72,153,0.12);
  color: #f472b6;
  border-bottom-left-radius: 4px;
}

.sim-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 16px 2px;
  opacity: 0.7;
}

.sim-label::before {
  content: "✦";
  font-size: 9px;
}

/* ── Features ────────────────────────────────────────────────────────────── */
.features {
  padding: 0 0 100px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 0.2s, background 0.2s;
}

.feat-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.feat-icon {
  font-size: 22px;
  margin-bottom: 14px;
  display: block;
}

.feat-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 8px;
}

.feat-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── Bottom CTA ──────────────────────────────────────────────────────────── */
.bottom-cta {
  text-align: center;
  padding: 0 0 120px;
}

.bottom-cta h2 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  margin-bottom: 14px;
}

.bottom-cta p {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 36px;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-links a {
  font-size: 12px;
  color: var(--text-3);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text-2); }

.footer-copy {
  font-size: 12px;
  color: var(--text-3);
}

/* ── Inner pages (Terms / Privacy / About) ───────────────────────────────── */
.page-content {
  min-height: 100svh;
  padding: 120px 0 80px;
}

.page-content h1 {
  font-size: clamp(28px, 5vw, 44px);
  margin-bottom: 10px;
}

.page-content .updated {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 48px;
}

.prose {
  max-width: 640px;
  color: var(--text-2);
}

.prose h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  margin: 36px 0 10px;
  letter-spacing: -0.01em;
}

.prose p { margin-bottom: 14px; font-size: 14px; line-height: 1.75; }

.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.prose ul {
  padding-left: 20px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

.prose li { margin-bottom: 6px; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  nav a:not(.btn-nav) { display: none; }
}

@media (max-width: 420px) {
  h1 { font-size: 38px; }
}
