@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: #F7F1E6;
  --surface: #FFFDF7;
  --border: rgba(23, 23, 23, 0.1);
  --text: #171717;
  --muted: #6F6A61;
  --blue: #2E6FD8;
  --blue-dark: #1E4F9E;
  --blue-glow: rgba(46, 111, 216, 0.22);
  --yellow: #FFD34D;
  --yellow-soft: rgba(255, 211, 77, 0.35);
  --green: #2F8C5A;
  --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;
}

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

/* ── Nav ── */
.sub-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(247, 241, 230, 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(--blue); }

.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(--blue); font-weight: 700; }

.back-link {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.back-link:hover { color: var(--blue); }

/* ── Hero ── */
.hero-product {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 2.5rem 3.5rem;
  text-align: center;
}

.hero-product::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(46, 111, 216, 0.12), transparent),
    radial-gradient(ellipse 45% 40% at 85% 70%, rgba(255, 211, 77, 0.18), transparent),
    radial-gradient(ellipse 35% 35% at 10% 80%, rgba(47, 140, 90, 0.08), transparent);
  pointer-events: none;
}

.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(23, 23, 23, 0.12), 0 0 0 1px rgba(23, 23, 23, 0.06);
  margin: 0 auto 1.5rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  background: rgba(46, 111, 216, 0.1);
  border: 1px solid rgba(46, 111, 216, 0.25);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--blue);
  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, var(--text) 20%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-product h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--text), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.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(46, 111, 216, 0.25);
  background: rgba(46, 111, 216, 0.06);
  color: var(--blue);
}

.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(--blue), var(--blue-dark));
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px var(--blue-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--blue-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(--blue);
  color: var(--blue);
}

/* ── Sections ── */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
}

.section-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--blue);
  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(46, 111, 216, 0.3);
  box-shadow: 0 8px 32px rgba(46, 111, 216, 0.1);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(46, 111, 216, 0.1);
  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: var(--yellow);
  color: var(--text);
  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;
}

.keywords-row {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.keywords-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--blue);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.keywords-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.keywords-pills .pill { font-size: 0.74rem; }

.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(46, 111, 216, 0.35);
  background: rgba(46, 111, 216, 0.04);
}

.compare-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.compare-card.pro h3 { color: var(--blue); }

.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(--blue); }

.promise-bar {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(47, 140, 90, 0.08);
  border: 1px solid rgba(47, 140, 90, 0.2);
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.promise-bar strong { color: var(--text); }

.disclaimer-bar {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 211, 77, 0.15);
  border: 1px solid rgba(255, 211, 77, 0.45);
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

.disclaimer-bar strong { color: var(--text); }

/* Legal pages */
.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: var(--blue);
}

.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(--blue); }

@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; }
}
