/* NeoTrack Marketing — standalone site (neotrack.ch) */

:root {
  --navy-900: #0b2239;
  --navy-800: #102a43;
  --navy-700: #14365a;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --bg: #eef2f6;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-soft: #334155;
  --muted: #64748b;
  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, .08), 0 2px 4px rgba(15, 23, 42, .06);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, .18);
  --ring: 0 0 0 3px rgba(13, 148, 136, .25);
  --c-feed-bg: #ecfdf5;   --c-feed-fg: #047857;
  --c-diaper-bg: #fffbeb; --c-diaper-fg: #b45309;
  --c-temp-bg: #fef2f2;   --c-temp-fg: #b91c1c;
  --c-weight-bg: #f5f3ff; --c-weight-fg: #6d28d9;
  --c-supp-bg: #ecfeff;   --c-supp-fg: #0e7490;
  --c-note-bg: #eff6ff;   --c-note-fg: #1d4ed8;
  --container: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: .5rem 1rem;
  background: var(--surface);
  color: var(--text);
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  box-shadow: var(--ring);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .9375rem;
  padding: .65rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

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

.btn-secondary {
  background: var(--surface);
  color: var(--text-soft);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--surface-2); color: var(--text); }

.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .2);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }

.btn-sm {
  padding: .45rem .85rem;
  font-size: .875rem;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 34, 57, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand:hover { color: #fff; text-decoration: none; }

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-lg);
  background: var(--c-supp-bg);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
.nav-links a {
  color: rgba(255, 255, 255, .88);
  font-size: .9rem;
  font-weight: 500;
}
.nav-links a:hover { color: #fff; text-decoration: none; }

.nav-actions {
  display: none;
  align-items: center;
  gap: .65rem;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
}
.nav-toggle:focus-visible { outline: none; box-shadow: var(--ring); }

.nav-toggle svg { width: 1.5rem; height: 1.5rem; }

.mobile-panel {
  display: none;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: var(--navy-800);
}
.mobile-panel.open { display: block; }

.mobile-panel .nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1rem;
}

.mobile-panel .nav-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.mobile-panel .nav-actions .btn { width: 100%; }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .mobile-panel { display: none !important; }
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
}

/* Hero */
.hero {
  background: linear-gradient(145deg, var(--navy-900) 0%, var(--navy-700) 55%, #0f4c5c 100%);
  color: #e2e8f0;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: .75rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: #fff;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, .92);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero-mockup {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  color: var(--text);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .65rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--border);
}
.mockup-dot:nth-child(1) { background: #f87171; }
.mockup-dot:nth-child(2) { background: #fbbf24; }
.mockup-dot:nth-child(3) { background: #34d399; }

.mockup-body { padding: 1rem; }

.mockup-title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .75rem;
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
  margin-bottom: 1rem;
}
.mockup-stat {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .5rem .65rem;
}
.mockup-stat span {
  display: block;
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
}
.mockup-stat strong {
  font-size: .95rem;
  color: var(--text);
}

.mockup-events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}
.mockup-ev {
  text-align: center;
  padding: .65rem .35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-soft);
}
.mockup-ev .ev-icon {
  width: 1.75rem;
  height: 1.75rem;
  margin: 0 auto .35rem;
  object-fit: contain;
}
.mockup-ev.ev-feed { background: var(--c-feed-bg); color: var(--c-feed-fg); border-color: #a7f3d0; }
.mockup-ev.ev-weight { background: var(--c-weight-bg); color: var(--c-weight-fg); border-color: #ddd6fe; }
.mockup-ev.ev-temp { background: var(--c-temp-bg); color: var(--c-temp-fg); border-color: #fecaca; }

/* Sections */
.section {
  padding: 4rem 0;
}
.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}
.section-head h2 {
  margin: 0 0 .75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Feature grid */
.feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.feature-card .icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: unset;
  border: none;
}
.feature-card .ev-icon {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
}

.feature-card h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.feature-card p {
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Audience */
.audience-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
}

.audience-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
}
.audience-card .audience-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal-600), var(--navy-700));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.audience-card .audience-icon svg { width: 1.5rem; height: 1.5rem; }

/* Steps */
.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step-card {
  position: relative;
  padding-left: 3.25rem;
}
.step-card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--teal-600);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Trust */
.trust-list {
  display: grid;
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
}
.trust-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.trust-item svg {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--teal-600);
  margin-top: .15rem;
}
.trust-item strong { display: block; margin-bottom: .2rem; }
.trust-item span { font-size: .9rem; color: var(--muted); }

.disclaimer {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  font-size: .875rem;
  color: #92400e;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--teal-700));
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.cta-band h2 {
  margin: 0 0 .75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}
.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  color: rgba(226, 232, 240, .9);
}
.cta-band .hero-actions { justify-content: center; }

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: rgba(226, 232, 240, .75);
  padding: 2.5rem 0;
  font-size: .875rem;
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
.site-footer a { color: rgba(226, 232, 240, .9); }
.site-footer a:hover { color: #fff; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}
.footer-brand {
  font-weight: 700;
  color: #fff;
  margin-bottom: .35rem;
}
