/* HMS landing — tokens match the app (primary #0f3460, accent #e94560).
   Vanilla CSS; no build step. Keep small — this file is served as-is. */

:root {
  --bg: #0f3460;
  --bg-hero: linear-gradient(160deg, #0f3460 0%, #1a4480 60%, #16213e 100%);
  --surface: #ffffff;
  --surface-soft: #f6f8fb;
  --border: #e5e8ef;
  --primary: #0f3460;
  --accent: #e94560;
  --text: #18233a;
  --muted: #5b6474;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(15,52,96,.06);
  --shadow-md: 0 6px 20px rgba(15,52,96,.08);
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.12; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.15rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(1.6) blur(10px);
  -webkit-backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto;
  padding: .9rem 1.25rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: baseline; gap: .5rem; color: var(--primary); font-weight: 700; }
.brand-mark {
  background: var(--primary); color: #fff;
  padding: .2rem .55rem; border-radius: 8px; font-size: .95rem; letter-spacing: .02em;
}
.brand-word { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav-links { display: flex; gap: 1.25rem; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; gap: .5rem; align-items: center; }
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-right: .5rem; }
.lang-btn { background: transparent; border: 0; padding: .3rem .55rem; font: 600 .8rem/1 'Inter', sans-serif; color: var(--muted); cursor: pointer; }
.lang-btn + .lang-btn { border-left: 1px solid var(--border); }
.lang-btn[aria-current="true"] { background: var(--primary); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .6rem 1rem; border-radius: 10px;
  font-weight: 600; font-size: .95rem; line-height: 1;
  transition: transform .1s ease, box-shadow .15s ease, background-color .15s ease;
  border: 1px solid transparent;
}
.btn-lg { padding: .85rem 1.4rem; font-size: 1rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #d73c55; color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-soft); color: var(--primary); }

/* Layout helpers */
.section { padding: clamp(3rem, 6vw, 5rem) 1.25rem; }
.section-inner { max-width: var(--container); margin: 0 auto; }
.section-lead { color: var(--muted); margin-bottom: 2rem; font-size: 1.05rem; max-width: 680px; }
.bg-soft { background: var(--surface-soft); }
.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

/* Hero */
.hero {
  background: var(--bg-hero); color: #fff;
  padding: clamp(3rem, 7vw, 5.5rem) 1.25rem;
}
.hero-inner { max-width: var(--container); margin: 0 auto; }
.hero .eyebrow {
  display: inline-block; background: rgba(255,255,255,.1); padding: .3rem .7rem;
  border-radius: 999px; font-size: .85rem; color: rgba(255,255,255,.9);
  margin-bottom: 1.25rem; border: 1px solid rgba(255,255,255,.15);
}
.hero h1 { color: #fff; max-width: 20ch; }
.hero .lead { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 58ch; margin-bottom: 2rem; }
.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero .btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.15); color: #fff; }
.hero-stats {
  margin-top: 2.5rem; padding: 0; list-style: none;
  display: flex; gap: 2.5rem; flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { color: #fff; font-size: 1.75rem; font-weight: 700; }
.hero-stats span { color: rgba(255,255,255,.7); font-size: .9rem; }

/* Cards */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-flat { box-shadow: none; }
.card-flat:hover { transform: none; box-shadow: var(--shadow-sm); }
.card .icon { font-size: 2rem; margin-bottom: .75rem; line-height: 1; }
.card p { color: var(--muted); margin: 0; }

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price { margin: .5rem 0; display: flex; align-items: baseline; gap: .35rem; color: var(--primary); }
.price strong { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }
.price span { color: var(--muted); font-size: .95rem; }
.price-for { color: var(--muted); font-size: .9rem; margin: 0 0 1rem; }
.price-feats { list-style: none; padding: 0; margin: 0 0 .5rem; }
.price-feats li {
  padding: .4rem 0; color: var(--text);
  border-top: 1px dashed var(--border);
}
.price-feats li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.price-card-featured {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(233,69,96,.12);
  transform: translateY(-4px);
}

/* CTA */
.cta { text-align: center; }
.cta h2 { color: var(--primary); }
.cta p { color: var(--muted); margin: .5rem auto 1.5rem; max-width: 56ch; font-size: 1.05rem; }

/* Footer */
.footer { background: #f1f3f7; padding: 2rem 1.25rem; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-links { display: flex; gap: 1rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
