@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --dark-bg: #0E1016;
  --dark-card: #1B1E27;
  --cream: #F7F5F0;
  --cream-alt: #EFEBE2;
  --cream-border: #E4DFD3;
  --text-dark: #F2F3F5;
  --text-muted-dark: #9AA0AC;
  --text-faint-dark: #5C616D;
  --text-body: #1B1E27;
  --text-body-muted: #6B7280;
  --text-prose: #3A3D45;
  --accent: #4C8DFF;
  --accent2: #7C6CFF;
  --gold: #FFB02E;
  --danger: #FF6B5C;
  --success: #34D399;
  --gradient: linear-gradient(135deg, #4C8DFF 0%, #7C6CFF 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--text-body);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); }

img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 16, 22, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-row {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px clamp(20px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 9px; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 9px;
  background: var(--gradient); position: relative; flex-shrink: 0;
}
.brand-mark span {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.95);
  width: 8px; height: 8px; left: 6px; top: 6px;
}
.brand-mark span.dim { background: rgba(255,255,255,0.55); left: auto; top: auto; right: 6px; bottom: 6px; }
.brand-name { color: var(--text-dark); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: rgba(242,243,245,0.75); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.nav-links a:hover { color: #fff; }

.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient); color: #fff; font-weight: 700; font-size: 13px;
  padding: 9px 18px; border-radius: 999px; white-space: nowrap;
}

.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; }
.nav-burger span { width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; }

.nav-mobile-panel {
  display: none;
  flex-direction: column; gap: 2px;
  padding: 8px clamp(20px, 4vw, 32px) 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.nav-mobile-panel a { color: rgba(242,243,245,0.8); font-size: 14.5px; font-weight: 600; padding: 12px 4px; }
.nav-mobile-panel .btn-cta { justify-content: center; margin-top: 8px; padding: 12px; border-radius: 12px; }
.nav-mobile-panel.open { display: flex; }

@media (max-width: 760px) {
  .nav-links, .nav-row > .btn-cta { display: none; }
  .nav-burger { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--dark-bg);
  overflow: hidden;
  padding: clamp(56px, 10vw, 110px) clamp(20px, 4vw, 32px) 0;
}
.hero-glow-1 {
  position: absolute; width: 640px; height: 640px; top: -220px; left: 50%; transform: translateX(-70%);
  background: radial-gradient(circle, rgba(76,141,255,0.22), transparent 70%); filter: blur(20px); pointer-events: none;
}
.hero-glow-2 {
  position: absolute; width: 560px; height: 560px; top: 80px; left: 50%; transform: translateX(20%);
  background: radial-gradient(circle, rgba(124,108,255,0.16), transparent 70%); filter: blur(20px); pointer-events: none;
}
.hero-inner {
  position: relative; max-width: 1180px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 48px; align-items: center;
}
.hero-copy { flex: 1 1 460px; min-width: 300px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(76,141,255,0.14); border: 1px solid rgba(76,141,255,0.3);
  color: #8FB4FF; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); flex-shrink: 0; }
.hero h1 {
  color: var(--text-dark); font-size: clamp(34px, 5.4vw, 58px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 18px;
}
.hero-lead { color: var(--text-muted-dark); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.6; max-width: 520px; margin: 0 0 30px; }
.hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.btn-primary {
  display: flex; align-items: center; gap: 10px;
  background: var(--gradient); color: #fff; padding: 13px 24px; border-radius: 14px;
  font-weight: 700; font-size: 14.5px; white-space: nowrap;
}
.hero-cta-note { color: var(--text-faint-dark); font-size: 12.5px; }
.hero-stats { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero-stat-value { color: var(--text-dark); font-size: 22px; font-weight: 800; }
.hero-stat-label { color: var(--text-faint-dark); font-size: 12px; font-weight: 600; }
.hero-shot { flex: 1 1 320px; min-width: 280px; display: flex; justify-content: center; }
.hero-shot img { width: 100%; max-width: 380px; border-radius: 20px; box-shadow: 0 40px 90px rgba(0,0,0,0.5); }
.hero-spacer { height: clamp(50px, 8vw, 90px); }

/* ---------- Section headers ---------- */
.section { padding: clamp(64px, 8vw, 100px) clamp(20px, 4vw, 32px); }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow { color: var(--accent); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.eyebrow.on-dark { color: #8FB4FF; }
.section-header h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; }
.section-header p { color: var(--text-body-muted); font-size: 15.5px; line-height: 1.6; margin: 0; }

.on-cream-alt { background: var(--cream-alt); }
.on-dark { background: var(--dark-bg); }

/* ---------- Step / feature cards ---------- */
.card-row { display: flex; flex-wrap: wrap; gap: 20px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }

.step-card, .feature-card {
  flex: 1 1 240px; min-width: 220px;
  background: #fff; border: 1px solid var(--cream-border); border-radius: 20px; padding: 26px 22px;
}
.step-num {
  width: 38px; height: 38px; border-radius: 12px; background: var(--gradient);
  color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 19px;
}
.step-card h3, .feature-card h3 { font-weight: 700; font-size: 15.5px; margin: 0 0 6px; }
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.step-card p, .feature-card p { color: var(--text-body-muted); font-size: 13.5px; line-height: 1.55; margin: 0; }
.feature-card p { line-height: 1.6; }

/* ---------- Screenshots ---------- */
/* Single row, always — on narrow viewports the row scrolls horizontally instead of
   wrapping the last item (Settings, light mode) onto its own line below the rest. */
.shot-row {
  display: flex; flex-wrap: nowrap; gap: 18px;
  justify-content: safe center;
  overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 4px 12px;
  -webkit-overflow-scrolling: touch;
}
.shot { flex: 0 0 190px; text-align: center; scroll-snap-align: start; }
.shot img { width: 100%; border-radius: 18px; box-shadow: 0 20px 50px rgba(20,20,30,0.18); margin-bottom: 12px; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff; border: 1px solid var(--cream-border); border-radius: 20px; padding: 26px 24px;
  display: flex; flex-direction: column; gap: 18px;
}
.testimonial-quote { color: var(--text-body); font-size: 14.5px; line-height: 1.6; margin: 0; }
.testimonial-footer { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 34px; height: 34px; border-radius: 10px; background: var(--gradient); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 13px;
}
.testimonial-meta { color: var(--text-body-muted); font-size: 12.5px; font-weight: 600; }
.shot-label { font-size: 13px; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--cream-border); padding: 18px 4px; cursor: pointer; }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-question span:first-child { font-weight: 700; font-size: 15px; }
.faq-icon { color: var(--text-body-muted); font-size: 18px; flex-shrink: 0; }
.faq-answer { color: var(--text-body-muted); font-size: 14px; line-height: 1.6; margin-top: 12px; max-width: 640px; display: none; }
.faq-item.open .faq-answer { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--dark-bg); padding: clamp(48px, 6vw, 64px) clamp(20px, 4vw, 32px) 28px; }
.footer-top {
  display: flex; flex-wrap: wrap; gap: 40px; padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { flex: 1 1 240px; min-width: 220px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: var(--text-faint-dark); font-size: 13px; line-height: 1.6; max-width: 260px; margin: 0; }
.footer-col { flex: 1 1 140px; }
.footer-col-title { color: var(--text-faint-dark); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-muted-dark); font-size: 13.5px; margin-bottom: 10px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding-top: 22px;
}
.footer-bottom div { color: var(--text-faint-dark); font-size: 12px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto;
  background: var(--dark-card); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  display: none; flex-wrap: wrap; align-items: center; gap: 14px;
}
.cookie-banner.visible { display: flex; }
.cookie-banner p { flex: 1 1 260px; color: #D5D8DD; font-size: 13px; line-height: 1.5; margin: 0; }
.cookie-banner a { color: #8FB4FF; }
.cookie-accept {
  background: var(--gradient); color: #fff; border: none; font-weight: 700; font-size: 13px;
  padding: 9px 16px; border-radius: 10px; cursor: pointer; flex-shrink: 0;
}

/* ---------- Policy pages ---------- */
.policy-header { background: var(--dark-bg); padding: 16px clamp(20px, 4vw, 32px); }
.policy-header-row { max-width: 760px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.policy-header-row .brand { color: var(--text-dark); font-weight: 800; font-size: 15.5px; }
.policy-header-row .brand-mark { width: 24px; height: 24px; border-radius: 8px; }
.back-link { color: var(--text-muted-dark); font-size: 13px; font-weight: 600; }
.back-link:hover { color: var(--text-dark); }

.policy-body { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 32px) 100px; }
.policy-body h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; }
.policy-updated { color: var(--text-body-muted); font-size: 13.5px; margin-bottom: 40px; }
.policy-body h2 { font-size: 19px; font-weight: 800; margin: 32px 0 12px; }
.policy-body h3 { font-size: 15px; font-weight: 700; margin: 20px 0 8px; }
.policy-body p, .policy-body li { color: var(--text-prose); font-size: 15px; line-height: 1.7; }
.policy-body ul, .policy-body ol { padding-left: 20px; }
.policy-body strong { color: var(--text-body); }
.policy-body a { text-decoration: underline; }

.callout {
  background: rgba(255,107,92,0.08); border: 1px solid rgba(255,107,92,0.3); border-radius: 16px;
  padding: 18px 20px; margin-bottom: 32px;
}
.callout-title { font-weight: 800; font-size: 14.5px; color: #B34435; margin-bottom: 6px; }
.callout-body { color: #7A3229; font-size: 13.5px; line-height: 1.6; }

.contact-card {
  background: #fff; border: 1px solid var(--cream-border); border-radius: 20px;
  padding: 28px 24px; margin: 28px 0 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-field { display: flex; flex-direction: column; gap: 6px; }
.contact-field label {
  font-size: 12px; font-weight: 700; color: var(--text-body-muted); text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-field input, .contact-field textarea {
  font-family: inherit; font-size: 14.5px; color: var(--text-body); background: var(--cream);
  border: 1px solid var(--cream-border); border-radius: 12px; padding: 12px 14px; resize: vertical;
}
.contact-field input:focus, .contact-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.contact-form .btn-primary {
  justify-content: center; border: none; cursor: pointer; font-family: inherit; font-size: 14.5px;
}
.contact-form .btn-primary:disabled { opacity: 0.65; cursor: default; }
.contact-form-status { font-size: 13px; margin: 0; min-height: 18px; }
.contact-form-status.success { color: var(--success); }
.contact-form-status.error { color: #B34435; }
.contact-fallback { color: var(--text-body-muted); font-size: 13px; margin: 18px 0 0; text-align: center; }

/* ---------- 404 ---------- */
.notfound {
  background: var(--dark-bg); min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 32px;
}
.notfound .brand-mark { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 24px; }
.notfound .brand-mark span { width: 14px; height: 14px; left: 11px; top: 11px; }
.notfound .brand-mark span.dim { right: 11px; bottom: 11px; }
.notfound-eyebrow { color: var(--text-faint-dark); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.notfound h1 { color: var(--text-dark); font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; }
.notfound p { color: var(--text-muted-dark); font-size: 15px; line-height: 1.6; max-width: 420px; margin: 0 0 28px; }
