/* ============================================================
   Trasabilitate Sterilizare — landing page styles
   Light clinical theme, indigo accents (matches the app)
   ============================================================ */

:root {
  --indigo: #4f46e5;
  --indigo-dark: #4338ca;
  --indigo-soft: #eef2ff;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px -8px rgba(15, 23, 42, .12);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .06), 0 20px 48px -16px rgba(15, 23, 42, .22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

a { color: var(--indigo); text-decoration: none; }

code {
  font-family: Consolas, "Courier New", monospace;
  font-size: .85em;
  background: var(--slate-100);
  border: 1px solid var(--slate-300);
  border-radius: 6px;
  padding: 1px 6px;
  white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-100);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--slate-900); }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--indigo), #7c3aed);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -.5px;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 16px; letter-spacing: -.2px; }
.brand-text small { font-size: 12px; color: var(--slate-500); }

.nav { display: flex; gap: 22px; }
.nav a { color: var(--slate-700); font-size: 14.5px; font-weight: 500; }
.nav a:hover { color: var(--indigo); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
  transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
}

.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 4px 14px -4px rgba(79, 70, 229, .5); }
.btn-primary:hover { background: var(--indigo-dark); }

.btn-ghost {
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
  background: var(--white);
}
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo); }

.btn-lg { padding: 13px 24px; font-size: 15.5px; border-radius: 12px; }
.btn-sm { padding: 7px 14px; font-size: 13.5px; border-radius: 9px; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13.5px;
  color: var(--slate-500);
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(79, 70, 229, .10), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, var(--white) 100%);
  border-bottom: 1px solid var(--slate-100);
  padding: 72px 0 84px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--indigo);
  background: var(--indigo-soft);
  border: 1px solid #e0e7ff;
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -1px;
  color: var(--slate-900);
  margin: 0 0 18px;
}

.lead { font-size: 17px; color: var(--slate-500); max-width: 560px; margin: 0 0 28px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }

.demo-card {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 540px;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 16px;
  margin: 0;
}
.demo-card p { margin: 0; font-size: 13.5px; color: var(--slate-500); }
.demo-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--indigo);
  background: var(--indigo-soft);
  border-radius: 999px;
  padding: 4px 10px;
}

.hero-shot img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-100);
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--slate-100); }

.section-title {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -.6px;
  color: var(--slate-900);
  margin: 0 0 8px;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--slate-500);
  max-width: 640px;
  margin: 0 auto 44px;
  font-size: 15.5px;
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: transform .12s ease, box-shadow .15s ease;
}

.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--indigo-soft);
  color: var(--indigo);
  font-size: 17px;
  margin-bottom: 10px;
}

.feature h3 { font-size: 15px; color: var(--slate-900); margin: 0 0 6px; letter-spacing: -.2px; }
.feature p { font-size: 13.5px; color: var(--slate-500); margin: 0; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--indigo);
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.step h3 { font-size: 15px; color: var(--slate-900); margin: 0 0 6px; }
.step p { font-size: 13.5px; color: var(--slate-500); margin: 0; }

/* ---------- Gallery (screenshots) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.shot {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .25s ease;
}

.shot:hover img { transform: scale(1.03); }

.shot .zoom-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: rgba(15, 23, 42, .74);
  border-radius: 999px;
  padding: 5px 11px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

.shot:hover .zoom-hint { opacity: 1; transform: translateY(0); }

.shot figcaption {
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--slate-700);
  border-top: 1px solid var(--slate-100);
  background: #fbfcfe;
}

/* ---------- Lightbox (click screenshot to enlarge) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 24, .92);
  padding: 40px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .55);
  background: var(--white);
}

.lightbox-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, .85);
  font-size: 14.5px;
  pointer-events: none;
}

.lightbox-close,
.lightbox-nav {
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255, 255, 255, .24); }

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  font-size: 24px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  font-size: 22px;
}
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* ---------- Help ---------- */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.help-item {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.help-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--indigo);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.help-item h3 { font-size: 14.5px; color: var(--slate-900); margin: 0 0 3px; }
.help-item p { font-size: 13px; color: var(--slate-500); margin: 0; }

.help-cta {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--indigo-soft);
  border: 1px solid #e0e7ff;
  border-radius: var(--radius);
  padding: 20px 24px;
}
.help-cta p { margin: 0; font-size: 14.5px; color: var(--slate-700); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: 48px 0 28px;
  font-size: 14px;
}

.site-footer .brand { color: #fff; margin-bottom: 10px; }
.site-footer .brand-text small { color: var(--slate-300); }

.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }

.footer-note { color: var(--slate-300); margin: 0; max-width: 360px; }

.footer-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-links a { color: var(--slate-300); }
.footer-links a:hover { color: #fff; }

.footer-copy {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(148, 163, 184, .2);
  padding-top: 20px;
  margin: 8px 0 0;
  color: var(--slate-500);
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .help-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero { padding: 48px 0 60px; }
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto 22px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  transition: transform .12s ease, box-shadow .15s ease;
}
.plan:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.plan-pro { border-color: var(--indigo); box-shadow: var(--shadow-lg); }
.plan-badge {
  position: absolute;
  top: -12px;
  left: 26px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #fff;
  background: var(--indigo);
  border-radius: 999px;
  padding: 4px 12px;
}
.plan h3 { margin: 0 0 4px; font-size: 17px; color: var(--slate-900); }
.plan .plan-desc { margin: 0 0 16px; font-size: 13.5px; color: var(--slate-500); }
.plan-price { font-size: 34px; font-weight: 800; color: var(--slate-900); letter-spacing: -1px; margin-bottom: 4px; }
.plan-price span { font-size: 14px; font-weight: 600; color: var(--slate-500); letter-spacing: 0; }
.plan-price-note { font-size: 12.5px; color: var(--slate-500); margin: 0 0 16px; }
.plan ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.plan li { font-size: 13.5px; color: var(--slate-700); }
.plan li::before { content: "\2713 "; color: var(--indigo); font-weight: 700; }
.plan .btn { margin-top: auto; }

.pricing-note { text-align: center; font-size: 14px; color: var(--slate-500); margin: 0 0 26px; }
.pricing-note strong { color: var(--slate-700); }

.pricing-extra {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}
.pricing-extra-item {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--slate-700);
}
.pricing-extra-item strong { display: block; color: var(--slate-900); margin-bottom: 2px; }

/* ---------- Waitlist ---------- */
.waitlist-form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 12px;
}
.waitlist-form input,
.waitlist-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--slate-300);
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--slate-900);
  background: var(--white);
}
.waitlist-form input:focus,
.waitlist-form select:focus { outline: 2px solid var(--indigo); outline-offset: -1px; border-color: var(--indigo); }
.waitlist-form .wl-referral-input { grid-column: 1 / -1; }
.waitlist-form .btn { padding: 12px 14px; grid-column: 1 / -1; }
.waitlist-success {
  max-width: 640px;
  margin: 18px auto 0;
  text-align: center;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: var(--radius);
  padding: 18px;
  font-size: 15px;
}

@media (max-width: 720px) {
  .pricing { grid-template-columns: 1fr; }
  .pricing-extra { grid-template-columns: 1fr; }
  .waitlist-form { grid-template-columns: 1fr; }
}
