:root {
  --bg: #0a0c10;
  --surface: #12151c;
  --surface2: #1a1e2a;
  --border: #222736;
  --text: #f0f1f5;
  --text2: #8b90a5;
  --text3: #555a6e;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --cyan: #06b6d4;
  --green: #22c55e;
  --purple: #8b5cf6;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --radius: 14px;
  --max-w: 1080px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--text); }

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

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.nav-brand:hover { color: var(--text); }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.lang-toggle {
  display: flex;
  gap: 4px;
  background: var(--surface2);
  border-radius: 8px;
  padding: 3px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text3);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

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

.lang-btn:hover:not(.active) {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text2);
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

/* ---- Hero ---- */
.hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-chip {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--text);
}

.gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin-top: 20px;
  font-size: 18px;
  color: var(--text2);
  line-height: 1.7;
}

.hero-badges {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s;
}

.store-badge:hover {
  background: var(--surface);
  border-color: var(--primary);
  color: var(--text);
  transform: translateY(-2px);
}

.store-badge-light {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.hero-stats {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 36px;
}

.hero-stat strong {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--text) 40%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat span {
  font-size: 12px;
  color: var(--text3);
  font-weight: 500;
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ---- Section common ---- */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--surface);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-chip {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.15);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
}

.section-sub {
  margin-top: 12px;
  color: var(--text2);
  font-size: 16px;
}

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

.feature-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.feature-card-main {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 20px;
  padding: 40px 36px;
  background: linear-gradient(135deg, rgba(59,130,246,0.06) 0%, var(--surface) 100%);
  border-color: rgba(59,130,246,0.2);
}

.feature-card-main .feature-icon {
  grid-row: span 2;
  width: 56px;
  height: 56px;
}

.feature-card-main h3 { font-size: 20px; }
.feature-card-main p { max-width: 480px; }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(59,130,246,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
}

.feature-icon svg { width: 22px; height: 22px; }
.feature-card-main .feature-icon svg { width: 28px; height: 28px; }

.feature-icon-cyan { background: rgba(6,182,212,0.1); color: var(--cyan); }
.feature-icon-green { background: rgba(34,197,94,0.1); color: var(--green); }
.feature-icon-purple { background: rgba(139,92,246,0.1); color: var(--purple); }
.feature-icon-amber { background: rgba(245,158,11,0.1); color: var(--amber); }
.feature-icon-rose { background: rgba(244,63,94,0.1); color: var(--rose); }

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
}

/* ---- Steps ---- */
.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.step-card {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 36px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
}

.step-arrow {
  color: var(--text3);
  padding: 0 12px;
  flex-shrink: 0;
}

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.price-card {
  padding: 36px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
  transition: all 0.3s;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.price-card-pop {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(59,130,246,0.06) 0%, var(--surface) 40%);
  box-shadow: 0 0 40px rgba(59,130,246,0.1);
}

.price-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
}

.price-plan {
  font-size: 14px;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 4px;
}

.price-currency {
  font-size: 20px;
  font-weight: 600;
  vertical-align: top;
  position: relative;
  top: 6px;
  margin-right: 2px;
}

.price-period {
  font-size: 14px;
  font-weight: 500;
  color: var(--text3);
  letter-spacing: 0;
}

.price-desc {
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 24px;
}

.price-features {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
}

.price-features li {
  font-size: 14px;
  color: var(--text2);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.price-btn {
  display: block;
  text-align: center;
  padding: 14px 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: var(--surface2);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.price-btn:hover {
  background: var(--border);
  color: var(--text);
}

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

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

/* ---- CTA ---- */
.cta-section {
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.cta-inner p {
  font-size: 16px;
  color: var(--text2);
  margin-bottom: 8px;
}

/* ---- Footer ---- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13px;
  color: var(--text2);
  font-weight: 500;
}

.footer-col a:hover { color: var(--text); }

.footer-info {
  font-size: 13px;
  color: var(--text2);
}

.footer-company {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.footer-company p {
  font-size: 12px;
  color: var(--text3);
  line-height: 1.8;
}

.footer-company strong {
  color: var(--text2);
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text3);
}

.footer-bottom-links {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--text3);
}

.footer-bottom-links a {
  font-size: 12px;
  color: var(--text3);
  font-weight: 500;
}

.footer-bottom-links a:hover { color: var(--text2); }

/* ---- Legal pages ---- */
.legal-page {
  padding: 120px 0 80px;
}

.legal-page h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.legal-page .legal-date {
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.legal-page h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-page p,
.legal-page li {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
}

.legal-page ul, .legal-page ol {
  padding-left: 20px;
  margin: 8px 0 16px;
}

.legal-page li {
  margin-bottom: 4px;
}

.legal-page .legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 13px;
}

.legal-page .legal-table th,
.legal-page .legal-table td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

.legal-page .legal-table th {
  background: var(--surface2);
  color: var(--text);
  font-weight: 600;
}

.legal-page .legal-table td {
  color: var(--text2);
}

.lang-switch {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 24px;
}

.lang-switch a {
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text2);
}

.lang-switch a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-sub { font-size: 15px; }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero-stat { padding: 0; }
  .hero-stat-divider { width: 40px; height: 1px; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-main {
    grid-column: span 1;
    display: block;
  }

  .feature-card-main .feature-icon {
    margin-bottom: 16px;
  }

  .steps-row {
    flex-direction: column;
    gap: 0;
  }

  .step-card { max-width: 100%; }

  .step-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links {
    flex-direction: column;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .cta-inner h2 { font-size: 28px; }
}
