@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #09090b;
  --bg-elevated: #111114;
  --surface: #16161a;
  --text: #fafafa;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.1);
  --nav-bg: #ffffff;
  --nav-text: #09090b;
  --nav-muted: #52525b;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.14);
  --max: 1120px;
  --font: "Sora", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 4rem;
  --radius: 999px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin: 0 auto; }

/* ——— Nav (JetHR-like: white bar) ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(9, 9, 11, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--nav-text);
  font-size: 1.05rem;
  text-decoration: none !important;
}
.brand-mark {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.4rem;
  background: var(--nav-text);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}
.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(9, 9, 11, 0.12);
  background: #fff;
  color: var(--nav-text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-toggle svg { width: 1.2rem; height: 1.2rem; }
.nav-links {
  display: flex;
  gap: 0.15rem 1.35rem;
  flex-wrap: wrap;
  align-items: center;
}
.nav-links a {
  color: var(--nav-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none !important;
  padding: 0.35rem 0;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--nav-text); }
.nav-links .btn { margin-left: 0.1rem; }
.nav-links .btn-ghost {
  border-color: transparent;
  background: transparent;
  color: var(--nav-text);
  padding-inline: 0.85rem;
}
.nav-links .btn-ghost:hover { background: rgba(9, 9, 11, 0.05); }
.nav-links .btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
  border-radius: var(--radius);
  padding: 0.65rem 1.15rem;
}
.nav-links .btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0.85rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none !important;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); text-decoration: none !important; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }

/* ——— Hero ——— */
.hero {
  padding: clamp(3.5rem, 10vw, 6.5rem) 0 3.5rem;
  text-align: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}
.hero h1 {
  margin: 0 auto 1.15rem;
  font-size: clamp(2.15rem, 6.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 700;
  max-width: 14.5ch;
  color: #fff;
}
.hero .lead {
  color: var(--muted);
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  max-width: 42rem;
  margin: 0 auto 1.85rem;
  font-weight: 400;
}
.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.75rem;
}
.hero-panel {
  width: min(920px, 100%);
  margin: 0 auto;
  border-radius: 1.1rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 40%),
    var(--bg-elevated);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  text-align: left;
}
.hero-panel-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.hero-panel-bar i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #3f3f46;
  display: block;
}
.hero-panel-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  min-height: 220px;
}
.hero-side {
  padding: 1.1rem;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}
.hero-side strong {
  display: block;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.hero-side span {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 0.45rem;
  margin-bottom: 0.25rem;
}
.hero-side span.is-on {
  background: var(--accent-soft);
  color: #93c5fd;
}
.hero-main { padding: 1.15rem 1.25rem 1.35rem; }
.hero-main h3 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}
.metric {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.85rem 0.75rem;
  background: rgba(255, 255, 255, 0.02);
}
.metric b {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.15rem;
}
.metric small { color: var(--muted); font-size: 0.75rem; }

/* ——— Sections ——— */
.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-top: 1px solid var(--line);
}
.section-label {
  display: block;
  margin: 0 0 0.75rem;
  color: #93c5fd;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.section h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: 18ch;
  font-weight: 700;
}
.section-lead {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.05rem;
}
.feature-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, 1fr);
}
.feature {
  display: block;
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: inherit;
  text-decoration: none !important;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}
.feature:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.45);
  background: #1a1a1f;
}
.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: step;
}
.step {
  padding: 1.35rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: transparent;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.step p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.store {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.4fr 0.8fr;
  align-items: center;
  padding: 1.75rem;
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(255, 255, 255, 0.02));
}
.store h2 {
  margin: 0 0 0.55rem;
  max-width: none;
  font-size: 1.55rem;
}
.store p { margin: 0 0 1rem; color: var(--muted); max-width: 36rem; }
.store-badges { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.store-badge {
  display: inline-flex;
  line-height: 0;
  text-decoration: none !important;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.store-badge:hover { opacity: 0.92; transform: translateY(-1px); }
.store-badge img { height: 48px; width: auto; display: block; }

.cta-band {
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) 1rem;
}
.cta-band h2 {
  margin: 0 auto 0.85rem;
  max-width: 16ch;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.04em;
}
.cta-band p {
  margin: 0 auto 1.5rem;
  color: var(--muted);
  max-width: 34rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.75rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.footer a { color: var(--muted); }
.footer a:hover { color: #fff; }

/* Shared pages (features / pricing / en) */
.lang { font-size: 0.85rem; color: var(--muted); margin: 0 0 0.75rem; }
.grid { display: grid; gap: 0.85rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.15rem 1.2rem;
}
.card h2, .card h3 { margin: 0 0 0.45rem; font-size: 1.05rem; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
section { padding: 1.5rem 0 2.5rem; }
section > h2 { margin: 0 0 1rem; font-size: 1.55rem; letter-spacing: -0.03em; }
.prose p { color: var(--muted); max-width: 70ch; }
.price {
  font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; margin: 0.4rem 0;
}
.price span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    animation: rise 0.75s var(--ease) forwards;
  }
  .reveal-delay-1 { animation-delay: 0.08s; }
  .reveal-delay-2 { animation-delay: 0.16s; }
  .reveal-delay-3 { animation-delay: 0.24s; }
  @keyframes rise {
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 900px) {
  .feature-grid,
  .steps { grid-template-columns: 1fr 1fr; }
  .hero-panel-grid { grid-template-columns: 1fr; }
  .hero-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .store { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: relative; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--nav-h) + 0.35rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(9, 9, 11, 0.1);
    background: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 0.7rem 0.65rem; color: var(--nav-muted); }
  .nav-links .btn { margin-left: 0; width: 100%; justify-content: center; }
  .feature-grid,
  .steps,
  .metric-row { grid-template-columns: 1fr; }
  .hero h1 { max-width: 12ch; }
}
