:root {
  --bg: #0A0A0F;
  --surface: #16161F;
  --surface-elevated: #1E1E2A;
  --stroke: rgba(255, 255, 255, 0.08);
  --primary: #FF3B5C;
  --primary-deep: #C7102E;
  --secondary: #7B61FF;
  --secondary-deep: #4D33B3;
  --text: #F5F5F7;
  --text-secondary: #9999A8;
  --text-tertiary: rgba(255, 255, 255, 0.35);
  --display: 'Nunito', system-ui, -apple-system, 'SF Pro Rounded', Arial, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'SF Pro Text', Arial, sans-serif;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* Background atmosphere */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 40% at 15% 0%, rgba(123, 97, 255, 0.20), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(255, 59, 92, 0.18), transparent 60%);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--stroke);
}
.brand {
  font-family: var(--display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.5px;
  background: linear-gradient(180deg, var(--text) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav nav { display: flex; gap: 24px; align-items: center; }
.nav nav a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
  transition: color 150ms ease;
}
.nav nav a:hover { color: var(--text); }
.nav-cta {
  padding: 10px 18px;
  background: var(--primary);
  color: white !important;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(255, 59, 92, 0.35);
}
.nav-cta:hover { background: var(--primary-deep); }

/* Language switcher — minimalist single toggle */
button.lang-switch,
.lang-switch {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.3px;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.lang-switch:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
}
.lang-switch svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .nav nav a:not(.nav-cta) { display: none; }
  .lang-switch span { display: none; }
  .lang-switch { padding: 8px; }
}

/* Legal pages */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) clamp(20px, 5vw, 32px) clamp(64px, 9vw, 112px);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-bottom: 28px;
  transition: color 150ms ease;
}
.legal-back:hover { color: var(--text-secondary); }

.legal-hero {
  text-align: center;
  margin-bottom: 64px;
}
.legal-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}
.legal-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
}
.legal-hero h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -2px;
  background: linear-gradient(180deg, var(--text) 0%, var(--primary) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 24px 0 20px;
}
.legal-hero .legal-lede {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto;
}

.legal-content {
  counter-reset: section;
}
.legal-section {
  padding-top: 56px;
  margin-top: 56px;
  border-top: 1px solid var(--stroke);
  scroll-margin-top: 96px;
}
.legal-section:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}
.legal-section h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(26px, 3.5vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  color: var(--text);
}
.legal-section h2::before {
  counter-increment: section;
  content: counter(section, decimal-leading-zero);
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.legal-section h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.2px;
  margin-top: 32px;
  margin-bottom: 10px;
  color: var(--text);
}
.legal-section p,
.legal-section li {
  color: var(--text-secondary);
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-section ul,
.legal-section ol {
  margin-left: 22px;
  margin-bottom: 18px;
}
.legal-section li {
  margin-bottom: 8px;
  padding-left: 4px;
}
.legal-section a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  transition: text-decoration-color 150ms ease, color 150ms ease;
}
.legal-section a:hover {
  color: var(--primary);
}
.legal-section strong { color: var(--text); font-weight: 700; }

.legal-callout {
  margin: 24px 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(255, 59, 92, 0.10) 0%, rgba(123, 97, 255, 0.06) 100%);
  border: 1px solid rgba(255, 59, 92, 0.22);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.legal-callout::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(123, 97, 255, 0.10), transparent 60%);
  pointer-events: none;
}
.legal-callout-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.legal-callout p:last-child,
.legal-callout li:last-child { margin-bottom: 0; }
.legal-callout ul { margin-bottom: 0; }
.legal-callout strong { color: var(--text); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  padding: clamp(48px, 9vw, 120px) clamp(20px, 5vw, 80px) clamp(48px, 8vw, 96px);
  max-width: 1280px;
  margin: 0 auto;
}
.hero-text h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(72px, 13vw, 168px);
  line-height: 0.9;
  letter-spacing: -3px;
  background: linear-gradient(180deg, var(--text) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.tagline {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}
.lede {
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
}
.lede strong {
  color: var(--text);
  font-weight: 700;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 200ms ease, background 200ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: white;
  box-shadow: 0 12px 32px rgba(255, 59, 92, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn.primary:hover { box-shadow: 0 16px 40px rgba(255, 59, 92, 0.5); }
.btn.ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--stroke);
}
.btn.ghost:hover { background: var(--surface-elevated); }
.btn.big { padding: 20px 32px; font-size: 18px; }
.btn-icon { font-size: 14px; }
.cta-note {
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 500;
}

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-glow {
  position: absolute;
  inset: -10% -20%;
  background: radial-gradient(ellipse, rgba(255, 59, 92, 0.35), transparent 60%);
  filter: blur(40px);
  z-index: 0;
}
.phone-image {
  position: relative;
  z-index: 1;
  max-width: 360px;
  width: 100%;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--stroke);
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .phone-image { max-width: 280px; }
}

/* Section helpers */
.section-label {
  font-family: var(--display);
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-tertiary);
  text-align: center;
  margin-bottom: 14px;
}

/* Features */
.features {
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 56px);
  max-width: 1200px;
  margin: 0 auto;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 28px 24px;
  transition: transform 250ms ease, border-color 250ms ease, background 250ms ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--surface-elevated);
}
.feature-emoji {
  font-size: 36px;
  margin-bottom: 14px;
}
.feature h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 6px;
  color: var(--text);
}
.feature p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.55;
}

/* How it works */
.how {
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 56px);
  max-width: 1200px;
  margin: 0 auto;
}
.how-lede {
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--text);
  margin-bottom: 56px;
  letter-spacing: -0.5px;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 96px);
}
.step {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.step.reverse { grid-template-columns: 1fr 1.2fr; }
.step.reverse .step-text { order: 2; }
.step.reverse .step-phone { order: 1; }
.step-number {
  display: inline-block;
  font-family: var(--display);
  font-weight: 900;
  font-size: 64px;
  line-height: 1;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.step h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 34px);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.step p {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 460px;
}
.step-phone {
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--stroke);
}

@media (max-width: 760px) {
  .step, .step.reverse { grid-template-columns: 1fr; text-align: center; }
  .step.reverse .step-text { order: 1; }
  .step.reverse .step-phone { order: 2; }
  .step p { margin-left: auto; margin-right: auto; }
  .step-phone { max-width: 260px; }
}

/* Gallery */
.gallery {
  padding: clamp(48px, 8vw, 96px) 0;
  overflow: hidden;
}
.gallery-scroll {
  display: flex;
  gap: 16px;
  padding: 0 clamp(20px, 5vw, 56px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-top: 28px;
}
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-scroll img {
  flex: 0 0 auto;
  width: 240px;
  border-radius: 28px;
  scroll-snap-align: center;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--stroke);
}

/* Download */
.download {
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 56px) clamp(64px, 9vw, 120px);
  max-width: 700px;
  margin: 0 auto;
}
.download-card {
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 59, 92, 0.18) 0%, rgba(123, 97, 255, 0.12) 100%);
  border: 1px solid var(--stroke);
  border-radius: 36px;
  padding: clamp(40px, 6vw, 64px) clamp(28px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
.download-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 59, 92, 0.18), transparent 60%);
  pointer-events: none;
}
.download-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  margin: 0 auto 24px;
  box-shadow: 0 20px 40px rgba(255, 59, 92, 0.35);
}
.download-card h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.download-card p {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.download-note {
  color: var(--text-tertiary);
  font-size: 13px;
  margin-top: 16px;
}

/* Footer */
footer {
  border-top: 1px solid var(--stroke);
  padding: 40px clamp(20px, 5vw, 56px);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(180deg, var(--text) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-tag {
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 150ms ease;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: 12px;
  color: var(--text-tertiary);
  width: 100%;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--stroke);
}
