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

:root {
  --color-bg: #F2F2F7;
  --color-surface: #FFFFFF;
  --color-primary: #007AFF;
  --color-primary-hover: #0056CC;
  --color-text: #1D1D1F;
  --color-text-secondary: #86868B;
  --color-border: #D1D1D6;
  --color-divider: #E5E5EA;
  --radius: 16px;
  --shadow: 0 2px 8px rgba(0,0,0,.08);
  --max-w: 1100px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #000000;
    --color-surface: #1C1C1E;
    --color-text: #F5F5F7;
    --color-text-secondary: #AEAEB2;
    --color-border: #3A3A3C;
    --color-divider: #2C2C2E;
    --shadow: 0 2px 8px rgba(0,0,0,.4);
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 150ms;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-hover); }

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow);
}
.btn-secondary:hover { background: var(--color-divider); }

.btn-sm {
  background: var(--color-primary);
  color: #fff;
  padding: 6px 16px;
  font-size: 13px;
}
.btn-sm:hover { background: var(--color-primary-hover); }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--color-divider);
}

@media (prefers-color-scheme: dark) {
  .site-header {
    background: rgba(0,0,0,.8);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 56px;
}

.logo {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}

.nav a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 150ms;
}
.nav a:hover { color: var(--color-primary); }

.lang-switcher {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.lang-btn {
  padding: 4px 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all 150ms;
}
.lang-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.lang-btn.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* ── HERO ── */
.hero {
  padding: 96px 0 80px;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.badge {
  display: inline-block;
  background: rgba(0,122,255,.12);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 980px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}


/* ── SECTIONS ── */
.section {
  padding: 96px 0;
}

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -.02em;
  text-align: center;
  margin-bottom: 56px;
}

/* ── FEATURES ── */
.features {
  background: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 150ms, box-shadow 150ms;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }

.feature-icon {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  filter: invert(35%) sepia(98%) saturate(1600%) hue-rotate(199deg) brightness(100%) contrast(105%);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ── HOW IT WORKS ── */
.how-it-works {
  background: var(--color-surface);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 12px);
  right: calc(16.66% + 12px);
  height: 1px;
  background: var(--color-divider);
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ── DOWNLOAD ── */
.download {
  background: linear-gradient(160deg, #007AFF 0%, #0056CC 100%);
  color: #fff;
}

.download-inner {
  text-align: center;
}

.download h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}

.download-subtitle {
  font-size: 17px;
  opacity: .8;
  margin-bottom: 36px;
}

.store-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.15);
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.25);
  transition: background 150ms;
}
.store-btn:hover { background: rgba(255,255,255,.25); }

.download-note {
  font-size: 13px;
  opacity: .6;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner span {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 150ms;
}
.footer-links a:hover { color: var(--color-primary); }

/* ── PRIVACY ── */
.privacy-container {
  max-width: 720px;
}

.privacy-container h1 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.updated {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 48px;
}

.privacy-container section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-divider);
}

.privacy-container section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.privacy-container h2 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
}

.privacy-container p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.75;
  white-space: pre-line;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero { padding: 64px 0 48px; }
  .section { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { display: none; }
  .nav { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
