:root {
  --primary: #5B86E5;
  --secondary: #9B59B6;
  --gradient: linear-gradient(135deg, #5B86E5 0%, #9B59B6 100%);
  --text: #1a1a2e;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-subtle: #f8f7ff;
  --border: #e8e4f0;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(91, 134, 229, 0.12);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-wrap img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand strong { font-weight: 900; }

nav { display: flex; gap: 28px; }

nav a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover { color: var(--primary); }

/* ── Hero ── */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg) 100%);
}

.hero-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(91,134,229,0.1);
  color: var(--primary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 540px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gradient);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(91,134,229,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(91,134,229,0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

.hero-image {
  margin-top: 64px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(91,134,229,0.25);
  border: 1px solid var(--border);
}

.hero-image video,
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

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

.section-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 15px;
}

/* ── Screenshots ── */
.screenshots {
  padding: 96px 0;
  background: var(--bg-subtle);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 28px;
}

.screenshot-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.screenshot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(91,134,229,0.2);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-caption {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
}

.sc-mode {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(91,134,229,0.12);
  color: var(--primary);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.sc-desc {
  font-size: 13px;
  color: var(--text-light);
}

/* ── How it works ── */
.how {
  padding: 96px 0;
  background: var(--bg-subtle);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-top: 0;
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p { color: var(--text-light); font-size: 15px; }

/* ── BYOK Note ── */
.byok-note {
  padding: 64px 0;
  text-align: center;
}

.byok-box {
  display: inline-block;
  padding: 32px 48px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  max-width: 600px;
}

.byok-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.byok-box p { color: var(--text-light); font-size: 15px; }

.byok-box a { color: var(--primary); text-decoration: none; }
.byok-box a:hover { text-decoration: underline; }

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

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

footer .logo-wrap { gap: 8px; }
footer .brand { font-size: 16px; }
footer .logo-wrap img { width: 28px; height: 28px; }

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-copy {
  color: var(--text-light);
  font-size: 13px;
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

/* ── Privacy page ── */
.privacy-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.privacy-page h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.privacy-page .updated {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 48px;
}

.privacy-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 12px;
}

.privacy-page p, .privacy-page li {
  color: #374151;
  font-size: 15px;
  line-height: 1.8;
}

.privacy-page ul {
  padding-left: 20px;
  margin: 8px 0;
}

.privacy-page a { color: var(--primary); }

/* ── Responsive ── */
@media (max-width: 640px) {
  nav { display: none; }
  .hero { padding: 64px 0 48px; }
  .screenshots-grid { grid-template-columns: 1fr; }
  footer .container { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }
  .byok-box { padding: 24px; }
}
