@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0e17;
  --surface: rgba(15, 23, 42, 0.85);
  --border: rgba(99, 102, 241, 0.18);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #6366f1;
  --accent-dark: #4338ca;
  --accent-glow: rgba(99, 102, 241, 0.35);
  --cyan: #38bdf8;
  --green: #34d399;
  --font: 'Space Grotesk', sans-serif;
  --mono: 'Space Mono', monospace;
  --radius: 18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(99, 102, 241, 0.18), transparent),
    radial-gradient(ellipse 40% 30% at 90% 80%, rgba(56, 189, 248, 0.1), transparent);
}

a { color: var(--cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: #7dd3fc; }

.sub-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.sub-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
}

.sub-nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
}

.sub-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.sub-nav-links a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.sub-nav-links a:hover,
.sub-nav-links a.active { color: var(--cyan); }

.lang-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  cursor: pointer;
}

.lang-toggle .on { color: var(--cyan); font-weight: 700; }

.back-link {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.back-link:hover { color: var(--cyan); }

.hero-product {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 2.5rem 3.5rem;
  text-align: center;
}

.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.25), 0 0 0 1px rgba(129, 140, 248, 0.2);
  margin: 0 auto 1.5rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.35);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: #a5b4fc;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-product h1 {
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 1rem;
  max-width: 680px;
  background: linear-gradient(135deg, #e0e7ff 20%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.pill {
  padding: 0.45rem 1rem;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}

.pill strong { color: var(--text); font-weight: 600; }

.pill.accent {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.08);
  color: var(--cyan);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px var(--accent-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.store-btn.ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: none;
}

.store-btn.ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
}

.section-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--cyan);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.25;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.flow-step {
  padding: 1.25rem 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  color: #fff;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.flow-step h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.flow-step p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.compare-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.compare-card.pro {
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.08);
}

.compare-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.compare-card.pro h3 { color: #a5b4fc; }

.compare-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.compare-card li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 1.25rem;
  position: relative;
}

.compare-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.compare-card.pro li::before { color: var(--cyan); }

.promise-bar {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.promise-bar strong { color: var(--text); }

.legal-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 2.5rem 5rem;
}

.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.legal-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.legal-body h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: #a5b4fc;
}

.legal-body p,
.legal-body li {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.legal-body ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-body ol li { margin-bottom: 0.4rem; }

.legal-body a { word-break: break-all; }

.sub-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1080px;
  margin: 0 auto;
}

.sub-footer-copy {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.sub-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
}

.sub-footer-links a {
  font-size: 0.82rem;
  color: var(--muted);
}

.sub-footer-links a:hover { color: var(--cyan); }

@media (max-width: 900px) {
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sub-nav { padding: 1rem 1.25rem; }
  .sub-nav-links { display: none; }
  .hero-product, .section, .legal-page { padding-left: 1.25rem; padding-right: 1.25rem; }
  .features-grid, .compare-grid, .flow-steps { grid-template-columns: 1fr; }
}
