/* ─── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  background: #06060f;
  color: #f0f0f8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ─── Design tokens ──────────────────────────────────────────────────────────── */
:root {
  --p:       #6c63ff;
  --p2:      #a78bfa;
  --p3:      #4f46e5;
  --card:    rgba(255,255,255,0.035);
  --border:  rgba(255,255,255,0.08);
  --border2: rgba(255,255,255,0.12);
  --text:    #f0f0f8;
  --text2:   #a0a0b8;
  --text3:   #606075;
  --radius:  16px;
  --glow:    0 0 80px rgba(108,99,255,0.2);
}

/* ─── Noise overlay ──────────────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ─── Nav ─────────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(6,6,15,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.nav-spacer { flex: 1; }

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text2);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

.lang-toggle {
  display: flex;
  border: 1px solid var(--border2);
  border-radius: 8px;
  overflow: hidden;
}
.lang-btn {
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text3);
  transition: background 0.12s, color 0.12s;
}
.lang-btn:hover  { color: var(--text2); }
.lang-btn.active { background: var(--p); color: #fff; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 10px;
  background: var(--p);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.12s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 0 24px rgba(108,99,255,0.4);
}
.nav-cta:hover {
  background: #7c73ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 32px rgba(108,99,255,0.55);
}

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

/* Gradient blobs */
.hero-blob1 {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,0.18) 0%, transparent 70%);
  top: -100px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-blob2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,250,0.1) 0%, transparent 70%);
  bottom: 100px; right: 10%;
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(108,99,255,0.4);
  background: rgba(108,99,255,0.1);
  color: var(--p2);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-eyebrow span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--p2);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1.05;
  color: var(--text);
  max-width: 760px;
  margin: 0 auto 24px;
}

.hero h1 .grad {
  background: linear-gradient(135deg, #a78bfa 0%, #6c63ff 40%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: var(--text2);
  max-width: 500px;
  margin: 0 auto 44px;
  line-height: 1.75;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 12px;
  background: var(--p);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 0 32px rgba(108,99,255,0.5);
  transition: background 0.12s, transform 0.1s, box-shadow 0.15s;
}
.btn-primary:hover {
  background: #7c73ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(108,99,255,0.6);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  border: 1px solid var(--border2);
  background: var(--card);
  color: var(--text2);
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: rgba(108,99,255,0.5);
  color: var(--text);
  background: rgba(108,99,255,0.08);
}

/* ─── App window mockup ─────────────────────────────────────────────────────── */
.app-window {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 40px 120px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.05),
    var(--glow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(20,20,35,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.w-dot { width: 11px; height: 11px; border-radius: 50%; }
.w-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--text3);
  margin-left: -60px;
}

.window-screen {
  background: #0f0f1e;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: stretch;
}

.window-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.window-screen .placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 13px;
  flex-direction: column;
  gap: 10px;
}

/* Reflection */
.app-window::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 30%);
  pointer-events: none;
}

/* ─── Scroll reveal ──────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.34, 1, 0.64, 1), transform 0.65s cubic-bezier(0.34, 1, 0.64, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── Section shared ─────────────────────────────────────────────────────────── */
.section { padding: 120px 32px; position: relative; }

.section-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--p2);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 580px;
}

.section-sub {
  font-size: 16px;
  color: var(--text2);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 56px;
}

.centered { text-align: center; margin-left: auto; margin-right: auto; }
.centered .section-title, .centered .section-sub { margin-left: auto; margin-right: auto; }

/* ─── Bento features grid ────────────────────────────────────────────────────── */
.bento {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.bento-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108,99,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.bento-card:hover {
  border-color: rgba(108,99,255,0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(108,99,255,0.15);
}

.bc-wide   { grid-column: span 7; }
.bc-narrow { grid-column: span 5; }
.bc-third  { grid-column: span 4; }
.bc-half   { grid-column: span 6; }

.bento-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 20px;
}

.bento-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  color: var(--text);
}

.bento-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
}

.bento-screenshot {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.bento-screenshot img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
  max-height: 240px;
}

.bento-screenshot .ss-placeholder {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 12.5px;
}

/* ─── Feature spotlight ──────────────────────────────────────────────────────── */
.spotlight {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

.spotlight.reverse { flex-direction: row-reverse; }

.spotlight-text { flex: 1; }

.spotlight-visual {
  flex: 1.2;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.spotlight-visual img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}

.spotlight-visual .sp-placeholder {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 13px;
  flex-direction: column;
  gap: 10px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  color: var(--text2);
  line-height: 1.5;
}

.feature-list li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.3);
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='%236c63ff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ─── Stats bar ──────────────────────────────────────────────────────────────── */
.stats-bar {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.stat-item {
  flex: 1;
  padding: 32px 24px;
  background: var(--card);
  text-align: center;
  backdrop-filter: blur(8px);
}

.stat-num {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #a78bfa, #6c63ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text3);
  font-weight: 500;
}

/* ─── Privacy badge ──────────────────────────────────────────────────────────── */
.privacy-strip {
  background: linear-gradient(90deg, rgba(108,99,255,0.08), rgba(167,139,250,0.08), rgba(108,99,255,0.08));
  border-top: 1px solid rgba(108,99,255,0.15);
  border-bottom: 1px solid rgba(108,99,255,0.15);
  padding: 20px 32px;
}

.privacy-strip-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.priv-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
}

.priv-item svg { color: var(--p2); flex-shrink: 0; }

/* ─── CTA section ────────────────────────────────────────────────────────────── */
.cta-section {
  padding: 120px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,0.15) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  max-width: 600px;
  margin: 0 auto 20px;
}

.cta-section p {
  font-size: 17px;
  color: var(--text2);
  max-width: 400px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

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

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--text3);
  max-width: 220px;
  line-height: 1.7;
  margin-top: 12px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text3);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--text2);
  margin-bottom: 10px;
  transition: color 0.12s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom span {
  font-size: 13px;
  color: var(--text3);
}

/* ─── Privacy page ────────────────────────────────────────────────────────────── */
.privacy-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 32px 96px;
}

.privacy-page h1 {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.privacy-date {
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 48px;
}

.privacy-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--text);
}

.privacy-page p, .privacy-page li {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.8;
}

.privacy-page ul { margin-left: 20px; margin-top: 8px; }
.privacy-page li { margin-bottom: 6px; }
.privacy-page a  { color: var(--p2); }
.privacy-page code {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 13px;
  font-family: 'SF Mono', monospace;
  color: var(--p2);
}

/* ─── Image protection ───────────────────────────────────────────────────────── */
img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.bento-screenshot,
.spotlight-visual,
.window-screen {
  position: relative;
}

.bento-screenshot::after,
.spotlight-visual::after,
.window-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bc-wide, .bc-narrow, .bc-third, .bc-half { grid-column: span 2; }

  .spotlight, .spotlight.reverse { flex-direction: column; gap: 40px; }

  .footer-inner { grid-template-columns: 1fr 1fr; }

  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bc-wide, .bc-narrow, .bc-third, .bc-half { grid-column: span 1; }

  .section { padding: 72px 20px; }
  .hero { padding: 100px 20px 60px; }
  .footer-inner { grid-template-columns: 1fr; }
  .stats-bar { flex-direction: column; }
  .nav { padding: 0 16px; }
}
