/* SnapBack site.css — dark marketing theme v2 (aligned with iOS app) */
:root {
  --sb-bg: #0E0E11;
  --sb-surface: #1C1C1F;
  --sb-surface-2: #26262B;
  --sb-accent: #9647F5;
  --sb-accent-2: #5E5CE6;
  --sb-text: #FFFFFF;
  --sb-text-2: #B8B8BE;
  --sb-text-3: #6E6E76;
  --sb-divider: rgba(255, 255, 255, 0.08);
  --sb-success: #30D158;
  --sb-danger: #FF453A;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--sb-bg);
  color: var(--sb-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--sb-accent); text-decoration: none; }
a:hover { opacity: 0.85; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== Nav ===== */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14, 14, 17, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--sb-divider);
  padding: 14px 0;
}
.site-nav .inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-link { display: flex; align-items: center; gap: 12px; color: var(--sb-text); font-weight: 600; }
.brand-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #9647F5, #5E5CE6);
  border-radius: 9px;
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
  flex-shrink: 0;
}
.brand-link small { display: block; font-size: 11px; font-weight: 400; color: var(--sb-text-3); }
.nav-panel { display: flex; gap: 32px; align-items: center; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--sb-text-2); font-size: 14px; }
.nav-links a:hover { color: var(--sb-text); }
.nav-lang select {
  padding: 6px 10px; border-radius: 8px;
  border: 1px solid var(--sb-divider);
  background: var(--sb-surface);
  color: var(--sb-text); font-size: 13px;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(ellipse at top right, rgba(150, 71, 245, 0.18), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(94, 92, 230, 0.14), transparent 55%),
    linear-gradient(180deg, var(--sb-bg) 0%, var(--sb-bg) 100%);
  position: relative; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.hero-badges { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.badge {
  display: inline-block; padding: 5px 12px;
  background: rgba(150, 71, 245, 0.12);
  color: #C7B0FF;
  border: 1px solid rgba(150, 71, 245, 0.32);
  border-radius: 999px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.01em;
}
.hero h1 {
  font-size: 64px; font-weight: 700;
  line-height: 1.05; letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: var(--sb-text);
}
.hero .lead {
  font-size: 20px; color: var(--sb-text-2);
  margin-bottom: 36px; max-width: 520px;
  line-height: 1.5;
}
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.app-store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #FFFFFF; color: #0E0E11;
  padding: 12px 22px; border-radius: 12px;
  font-weight: 500; font-size: 15px;
  border: none;
  transition: transform 0.15s ease;
}
.app-store-badge:hover { opacity: 1; transform: translateY(-1px); }
.app-store-badge .small { display: block; font-size: 10px; opacity: 0.8; }
.app-store-badge .strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.1; }
.app-store-badge.coming-soon {
  background: var(--sb-surface-2); color: var(--sb-text-3);
  cursor: not-allowed; opacity: 0.6;
}
.app-store-badge.coming-soon:hover { transform: none; }
.btn-secondary {
  padding: 12px 22px;
  border: 1px solid var(--sb-divider);
  background: transparent;
  border-radius: 12px; color: var(--sb-text); font-weight: 500; font-size: 15px;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-secondary:hover { background: var(--sb-surface); opacity: 1; }

/* Hero phone mockup */
.device-frame {
  width: 280px; height: 580px;
  background: linear-gradient(135deg, #1C1C1F, #0E0E11);
  border-radius: 44px; padding: 12px;
  border: 2px solid var(--sb-divider);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  margin: 0 auto;
  position: relative;
}
.device-screen {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #9647F5 0%, #5E5CE6 100%);
  border-radius: 32px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: white; text-align: center; padding: 32px 24px;
  gap: 12px;
}
.device-screen .glyph { font-size: 56px; font-weight: 700; letter-spacing: 0.04em; opacity: 0.95; }
.device-screen .label { font-size: 13px; opacity: 0.85; letter-spacing: 0.04em; text-transform: uppercase; }

/* ===== Sections ===== */
.block { padding: 88px 0; }
.section-head { text-align: center; margin-bottom: 56px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head .eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--sb-accent); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 12px;
}
.section-head h2 {
  font-size: 44px; margin-bottom: 16px;
  letter-spacing: -0.022em; line-height: 1.1;
  color: var(--sb-text);
}
.section-head p { font-size: 18px; color: var(--sb-text-2); max-width: 620px; margin: 0 auto; }

/* ===== Why grid (6 cards) ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: var(--sb-surface);
  border: 1px solid var(--sb-divider);
  border-radius: 18px;
  padding: 28px 24px;
  transition: border-color 0.15s ease;
}
.why-card:hover { border-color: rgba(150, 71, 245, 0.4); }
.why-card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #9647F5, #5E5CE6);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 20px; font-weight: 700;
  margin-bottom: 18px;
}
.why-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--sb-text); font-weight: 600; }
.why-card p { font-size: 14px; color: var(--sb-text-2); line-height: 1.55; }

/* ===== See it in action ===== */
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .shot-grid { grid-template-columns: 1fr; } }
.shot-card {
  background: var(--sb-surface);
  border: 1px solid var(--sb-divider);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
}
.shot-frame {
  width: 100%; aspect-ratio: 9 / 19.5; max-width: 220px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #9647F5 0%, #5E5CE6 100%);
  border-radius: 32px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 600; font-size: 12px;
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(150, 71, 245, 0.18);
}
.shot-frame .placeholder-tag {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 10px; border-radius: 999px;
  font-size: 10px; letter-spacing: 0.05em;
  text-transform: uppercase;
}
.shot-card h3 { font-size: 17px; color: var(--sb-text); margin-bottom: 8px; font-weight: 600; }
.shot-card p { font-size: 14px; color: var(--sb-text-2); }

/* ===== Pro pricing ===== */
.pro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .pro-grid { grid-template-columns: 1fr; } }
.pro-card {
  background: var(--sb-surface);
  border: 1px solid var(--sb-divider);
  border-radius: 22px;
  padding: 32px 26px;
  display: flex; flex-direction: column;
  position: relative;
}
.pro-card.featured {
  border: 2px solid var(--sb-accent);
  background:
    linear-gradient(180deg, rgba(150, 71, 245, 0.08) 0%, transparent 40%),
    var(--sb-surface);
}
.pro-card .badge-pop {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #9647F5, #5E5CE6);
  color: white; font-size: 11px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.06em;
  white-space: nowrap;
}
.pro-card h3 { font-size: 18px; color: var(--sb-text); margin-bottom: 6px; font-weight: 600; }
.pro-card .price-row { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 18px; }
.pro-card .price { font-size: 40px; font-weight: 700; color: var(--sb-text); letter-spacing: -0.02em; }
.pro-card .per { font-size: 14px; color: var(--sb-text-3); }
.pro-card .features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.pro-card .features li {
  padding: 7px 0; color: var(--sb-text-2); font-size: 14px;
  display: flex; gap: 10px; align-items: flex-start;
}
.pro-card .features li::before {
  content: "✓"; color: var(--sb-accent); font-weight: 700; flex-shrink: 0;
}
.pro-card .btn-pro {
  display: block; text-align: center;
  padding: 12px 18px; border-radius: 12px;
  background: var(--sb-surface-2); color: var(--sb-text);
  font-weight: 600; font-size: 14px;
  border: 1px solid var(--sb-divider);
}
.pro-card.featured .btn-pro {
  background: linear-gradient(135deg, #9647F5, #5E5CE6);
  border: none; color: white;
}
.pro-card.featured .btn-pro:hover { opacity: 0.92; }

/* ===== Compare table ===== */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table {
  width: 100%; min-width: 540px;
  border-collapse: collapse;
  background: var(--sb-surface);
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--sb-divider);
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--sb-divider);
  font-size: 14px;
}
.compare-table th {
  background: rgba(150, 71, 245, 0.08);
  color: var(--sb-text); font-weight: 600;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em;
}
.compare-table td:nth-child(2), .compare-table td:nth-child(3) {
  text-align: center; color: var(--sb-text-2); font-weight: 500;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--sb-success); font-weight: 700; font-size: 18px; }
.compare-table .no { color: var(--sb-text-3); font-size: 18px; }

/* ===== FAQ (details/summary, zero JS) ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--sb-surface);
  border: 1px solid var(--sb-divider);
  border-radius: 14px;
  margin-bottom: 12px;
  padding: 18px 22px;
  transition: border-color 0.15s ease;
}
.faq-item[open] { border-color: rgba(150, 71, 245, 0.4); }
.faq-item summary {
  font-weight: 600; cursor: pointer;
  color: var(--sb-text); font-size: 16px;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--sb-accent);
  font-size: 22px; font-weight: 300; line-height: 1;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer {
  margin-top: 14px; color: var(--sb-text-2); font-size: 15px;
  line-height: 1.6;
}

/* ===== "What we do not do" ===== */
.not-list {
  list-style: none; padding: 0;
  max-width: 720px; margin: 0 auto;
}
.not-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--sb-divider);
  color: var(--sb-text-2); font-size: 15px;
  display: flex; gap: 14px; align-items: flex-start;
}
.not-list li:last-child { border-bottom: none; }
.not-list li::before {
  content: "✕"; color: var(--sb-danger); font-weight: 700;
  font-size: 16px; line-height: 1.6; flex-shrink: 0;
}

/* ===== CTA block ===== */
.cta-block {
  background: linear-gradient(135deg, #9647F5 0%, #5E5CE6 100%);
  color: white;
  padding: 80px 24px;
  text-align: center;
  border-radius: 28px;
  margin: 40px auto;
  max-width: 1120px;
}
.cta-block h2 { font-size: 40px; margin-bottom: 14px; color: white; letter-spacing: -0.022em; }
.cta-block p { font-size: 18px; opacity: 0.95; margin-bottom: 28px; }
.cta-block .actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-block .app-store-badge { background: white; color: #0E0E11; }
.cta-block .btn-secondary { background: rgba(255, 255, 255, 0.15); color: white; border-color: rgba(255, 255, 255, 0.3); }
.cta-block .btn-secondary:hover { background: rgba(255, 255, 255, 0.22); }

/* ===== Footer ===== */
.site-footer {
  background: #08080A;
  padding: 56px 0 32px;
  border-top: 1px solid var(--sb-divider);
  margin-top: 80px;
  color: var(--sb-text-2);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 {
  font-size: 12px; font-weight: 600; margin-bottom: 14px;
  color: var(--sb-text-3); text-transform: uppercase; letter-spacing: 0.06em;
}
.footer-col a { display: block; padding: 5px 0; color: var(--sb-text-2); font-size: 14px; }
.footer-col a:hover { color: var(--sb-text); }
.footer-col .brand-link { margin-bottom: 12px; }
.footer-copy { font-size: 13px; color: var(--sb-text-3); text-align: left; }

/* ===== Sub-page body ===== */
.subpage-hero {
  padding: 72px 0 32px;
  background:
    radial-gradient(ellipse at top right, rgba(150, 71, 245, 0.12), transparent 60%),
    var(--sb-bg);
  text-align: center;
}
.subpage-hero h1 {
  font-size: 48px; font-weight: 700;
  letter-spacing: -0.022em; margin-bottom: 16px;
  color: var(--sb-text);
}
.subpage-hero p { font-size: 18px; color: var(--sb-text-2); max-width: 640px; margin: 0 auto; }

.prose { max-width: 760px; margin: 0 auto; color: var(--sb-text-2); }
.prose h2 { color: var(--sb-text); font-size: 22px; margin: 36px 0 12px; font-weight: 600; }
.prose p { margin-bottom: 12px; line-height: 1.7; font-size: 15px; }
.prose ol, .prose ul { margin: 12px 0 12px 22px; }
.prose li { margin-bottom: 6px; font-size: 15px; }

/* ===== Misc ===== */
.coming-soon-tag {
  display: inline-block; padding: 3px 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--sb-text-3);
  border-radius: 6px; font-size: 11px; font-weight: 600;
  margin-left: 8px; vertical-align: middle;
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* i18n-pending: hide content until translations load */
body.i18n-pending .i18n-only { visibility: hidden; }

/* Selection */
::selection { background: rgba(150, 71, 245, 0.4); color: white; }