/* ─── Google Fonts ───────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --bg:          #08080f;
  --bg-1:        #0f0f1a;
  --bg-2:        #13131f;
  --bg-card:     #16162a;
  --bg-card2:    #1c1c30;
  --border:      rgba(255,255,255,.08);
  --border-2:    rgba(255,255,255,.12);

  --text:        #f0f0ff;
  --text-muted:  #8888aa;
  --text-dim:    #55556a;

  --accent:      #4f7eff;
  --accent-2:    #6b93ff;
  --accent-glow: rgba(79,126,255,.35);

  --font: 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: 220ms cubic-bezier(.4,0,.2,1);

  --container: 1200px;
  --pad: clamp(1rem, 4vw, 2rem);
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: clamp(4rem, 8vw, 7rem); }

/* ─── Typography helpers ─────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.eyebrow::before,
.eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: .5;
}

/* ─── Gradient text ──────────────────────────────────────────────────────── */
.grad {
  background: linear-gradient(135deg, #fff 20%, var(--accent-2) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-2);
  box-shadow: 0 0 36px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-ghost {
  border: 1px solid var(--border-2);
  color: var(--text-muted);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); transform: translateY(-1px); }

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem 1.6rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  transition: var(--transition);
}
.btn-store:hover { border-color: var(--accent); background: var(--bg-card2); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(79,126,255,.15); }
.btn-store__icon { width: 28px; height: 28px; flex-shrink: 0; }
.btn-store__text { display: flex; flex-direction: column; align-items: flex-start; }
.btn-store__sub { font-size: .65rem; color: var(--text-muted); letter-spacing: .04em; }
.btn-store__name { font-size: .95rem; font-weight: 700; }

/* ─── Navbar ─────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 200;
  transition: background var(--transition), border-color var(--transition);
}
.navbar.scrolled {
  background: rgba(8,8,15,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.navbar__logo-dot { color: var(--accent); }
.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.navbar__links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.navbar__links a:hover,
.navbar__links a[aria-current] { color: var(--text); }
.navbar__actions { display: flex; align-items: center; gap: .75rem; }
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.navbar__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(79,126,255,.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(79,126,255,.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-block: 5rem;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .9rem;
  border-radius: 999px;
  background: rgba(79,126,255,.12);
  border: 1px solid rgba(79,126,255,.25);
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 1.5rem;
}
.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}
.hero__heading {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}
.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero__social-proof {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .82rem;
  color: var(--text-muted);
}
.hero__avatars {
  display: flex;
}
.hero__avatars span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  margin-right: -8px;
  font-size: .7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.hero__phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 560px;
}
.hero__phone {
  position: absolute;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.hero__phone img { width: 100%; height: 100%; object-fit: cover; }
.hero__phone--main {
  width: 220px;
  height: 476px;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}
.hero__phone--left {
  width: 190px;
  height: 410px;
  left: 0;
  bottom: 0;
  z-index: 2;
  opacity: .7;
  transform: rotate(-8deg) translateX(20px);
  animation: float 6s ease-in-out infinite 1s;
}
.hero__phone--right {
  width: 190px;
  height: 410px;
  right: 0;
  bottom: 0;
  z-index: 2;
  opacity: .7;
  transform: rotate(8deg) translateX(-20px);
  animation: float 6s ease-in-out infinite 2s;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero__phone--left { animation-name: float-left; }
.hero__phone--right { animation-name: float-right; }
@keyframes float-left {
  0%,100% { transform: rotate(-8deg) translateX(20px) translateY(0); }
  50% { transform: rotate(-8deg) translateX(20px) translateY(-10px); }
}
@keyframes float-right {
  0%,100% { transform: rotate(8deg) translateX(-20px) translateY(0); }
  50% { transform: rotate(8deg) translateX(-20px) translateY(-10px); }
}

/* ─── Section headings ───────────────────────────────────────────────────── */
.section-head { text-align: center; margin-bottom: 4rem; }
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-top: .75rem;
  line-height: 1.15;
}
.section-head p {
  margin-top: .9rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ─── Features ───────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(79,126,255,.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover { border-color: rgba(79,126,255,.3); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(79,126,255,.1); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(79,126,255,.12);
  border: 1px solid rgba(79,126,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.feature-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

/* ─── Screenshots ────────────────────────────────────────────────────────── */
.screenshots { background: var(--bg-1); }
.screenshots-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.screenshot-frame {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-2);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transition: var(--transition);
  width: 180px;
}
.screenshot-frame:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 32px 80px rgba(79,126,255,.2); }
.screenshot-frame img { width: 100%; display: block; }
.screenshot-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ─── How it works ───────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(16.66% + 1rem);
  right: calc(16.66% + 1rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-2), transparent);
}
.step { text-align: center; }
.step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-2);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.step p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

/* ─── CTA ────────────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(79,126,255,.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
}
.cta-section p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2.5rem; max-width: 500px; margin-inline: auto 2.5rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding-block: 4rem 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: .75rem;
  max-width: 260px;
}
.footer__col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
}
.footer__col a {
  display: block;
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: .65rem;
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--text-dim);
}

/* ─── Reveal animation ───────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }
[data-reveal-delay="5"] { transition-delay: .5s; }
[data-reveal-delay="6"] { transition-delay: .6s; }

/* ─── Policy / prose pages ───────────────────────────────────────────────── */
.prose-page {
  padding-top: calc(68px + 4rem);
  padding-bottom: 6rem;
}
.prose-page .prose-header { margin-bottom: 3rem; }
.prose-page .prose-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-top: .75rem;
}
.prose-page .prose-header .last-updated {
  display: inline-block;
  margin-top: 1rem;
  font-size: .8rem;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .3rem .75rem;
}
.prose-body { max-width: 740px; }
.prose-body h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.prose-body p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: .85rem;
}
.prose-body ul {
  margin: .5rem 0 1rem 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.prose-body ul li {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 1.25rem;
  position: relative;
}
.prose-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .7;
}
.prose-body a { color: var(--accent-2); }
.prose-body a:hover { text-decoration: underline; }

/* ─── Contact form ───────────────────────────────────────────────────────── */
.contact-wrap {
  padding-top: calc(68px + 4rem);
  padding-bottom: 6rem;
}
.contact-wrap .contact-header { margin-bottom: 3rem; }
.contact-wrap .contact-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-top: .75rem;
}
.contact-wrap .contact-header p {
  margin-top: .75rem;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.7;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; }
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  padding: .8rem 1rem;
  color: var(--text);
  font: inherit;
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { min-height: 160px; }
.form-submit { display: flex; align-items: center; gap: 1rem; }
.form-submit .btn-primary { padding: .8rem 2rem; font-size: .95rem; }

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
}
.form-success.visible { display: block; }
.form-success .success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .5rem; }
.form-success p { color: var(--text-muted); font-size: .95rem; }

.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(79,126,255,.1);
  border: 1px solid rgba(79,126,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: .85rem; font-weight: 600; margin-bottom: .2rem; }
.contact-info-item p, .contact-info-item a {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.contact-info-item a:hover { color: var(--accent-2); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero__sub { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__social-proof { justify-content: center; }
  .hero__phones { height: 400px; }
  .hero__phone--main { width: 180px; height: 390px; }
  .hero__phone--left, .hero__phone--right { width: 150px; height: 325px; }

  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps::before { display: none; }

  .navbar__links { display: none; }
  .navbar__links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 68px;
    inset-inline: 0;
    background: rgba(8,8,15,.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem var(--pad);
    gap: 1.25rem;
  }
  .navbar__actions .btn-ghost { display: none; }
  .navbar__toggle { display: flex; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: .5rem; text-align: center; }

  .screenshot-frame { width: 140px; }
}

@media (max-width: 480px) {
  .hero__phones { height: 320px; }
  .hero__phone--main { width: 150px; height: 325px; }
  .hero__phone--left, .hero__phone--right { display: none; }
  .screenshots-grid { gap: 1rem; }
  .footer__grid { grid-template-columns: 1fr; }
}
