/* NexiaRK landing — plain static CSS, no build step. */
:root {
  --brand: #067a7e;
  --brand-dark: #04585b;
  --brand-light: #e6f4f4;
  --ink: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f7fafa;
  --fail: #b23b25;
  --fail-bg: #fdecea;
  --warn: #b45309;
  --warn-bg: #fffbeb;
  --ok: #067647;
  --ok-bg: #ecfdf3;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, Arial, sans-serif;
  margin: 0;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--brand); }

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

/* Top bar */
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}
.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.topnav { display: flex; align-items: center; gap: 22px; }
.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.topnav a:hover { color: var(--ink); }
.topnav a.btn {
  color: #fff;
  background: var(--brand);
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
}
.topnav a.btn:hover { background: var(--brand-dark); }
.topnav a.btn-ghost {
  color: var(--brand);
  border: 1px solid var(--brand);
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

/* Hero — full-bleed pharmacy photo */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: center;
  padding: 88px 0 72px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("images/hero-pharmacy.jpg") center 28% / cover no-repeat;
  transform: scale(1.02);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2, 36, 38, 0.72) 0%, rgba(2, 44, 46, 0.78) 45%, rgba(2, 44, 46, 0.88) 100%),
    linear-gradient(90deg, rgba(4, 88, 91, 0.35), transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
}
.brand-mark {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none;
  color: #fff;
  line-height: 1.05;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 22px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 600;
  color: #e8f6f6;
  letter-spacing: 0.01em;
}
.trust-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.25);
}
.hero h1 {
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1.25;
  margin: 0 auto 18px;
  max-width: 760px;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #fff;
}
.hero h1 em { color: #7dd3ce; font-style: normal; }
.hero p.lede {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 620px;
  margin: 0 auto 32px;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-row a.primary,
.price-card a.primary,
.cta-band a.primary {
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  padding: 14px 30px;
  border-radius: 10px;
  display: inline-block;
}
.cta-row a.primary:hover,
.price-card a.primary:hover,
.cta-band a.primary:hover { background: var(--brand-dark); }
.cta-row a.secondary {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  padding: 14px 30px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}
.cta-row a.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}
.hero .note { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.7); }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg); }
h2.section-title {
  font-size: 28px;
  text-align: center;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
p.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 44px;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
}
.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}
.feature .icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Outcome examples */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.outcome {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.outcome-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.outcome-fail .outcome-label { background: var(--fail-bg); color: var(--fail); }
.outcome-warn .outcome-label { background: var(--warn-bg); color: var(--warn); }
.outcome-ok .outcome-label { background: var(--ok-bg); color: var(--ok); }
.outcome h3 { margin: 0 0 8px; font-size: 17px; }
.outcome p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }

/* Synthetic app UI mocks (no personal data) */
.app-mock {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
  text-align: left;
  font-size: 12.5px;
  line-height: 1.4;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  font-size: 11.5px;
}
.mock-dots {
  display: inline-block;
  width: 28px;
  height: 8px;
  border-radius: 4px;
  background:
    radial-gradient(circle at 4px 4px, #f87171 3px, transparent 3.5px),
    radial-gradient(circle at 14px 4px, #fbbf24 3px, transparent 3.5px),
    radial-gradient(circle at 24px 4px, #34d399 3px, transparent 3.5px);
  flex-shrink: 0;
}
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.mock-row:last-child { border-bottom: 0; }
.mock-row-muted { background: #f8fafc; }
.mock-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mock-id {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.mock-drug {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-badge {
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.mock-badge-fail { background: var(--fail-bg); color: var(--fail); }
.mock-badge-warn { background: var(--warn-bg); color: var(--warn); }
.mock-badge-ok { background: var(--ok-bg); color: var(--ok); }
.mock-badge-skip {
  background: #f3f4f6;
  color: #4b5563;
}
.mock-reasons {
  list-style: none;
  margin: 0;
  padding: 8px 12px 12px;
  color: var(--muted);
}
.mock-reasons li {
  position: relative;
  padding: 3px 0 3px 14px;
  font-size: 12px;
}
.mock-reasons li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: var(--brand);
  font-weight: 700;
}
.app-mock-sm {
  margin-top: 14px;
}
.app-mock-sm .mock-field {
  margin: 8px 12px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-size: 11.5px;
}
.app-mock-sm .mock-btn {
  margin: 0 12px 12px;
  padding: 7px 12px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 11.5px;
  text-align: center;
}
.app-mock-sm .mock-row {
  margin: 0;
  border-bottom: 0;
}

/* How it works — steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* Pricing */
.price-card {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border: 1.5px solid var(--brand);
  border-radius: 16px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(6, 122, 126, 0.08);
}
.price-plan {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.price-amount {
  margin: 0 0 22px;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.price-amount span { font-size: 22px; font-weight: 700; }
.price-amount .price-per {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.price-features {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  text-align: left;
}
.price-features li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.price-features li:last-child { border-bottom: 0; }
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}
.price-note {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Closing CTA band */
.cta-band {
  background: var(--brand);
  color: #fff;
  text-align: center;
  padding: 56px 0;
}
.cta-band h2 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.01em;
}
.cta-band p {
  margin: 0 auto 24px;
  max-width: 520px;
  font-size: 16px;
  opacity: 0.92;
}
.cta-band a.primary {
  background: #fff;
  color: var(--brand-dark);
}
.cta-band a.primary:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
}

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq summary { font-weight: 600; cursor: pointer; font-size: 16px; }
.faq details p { color: var(--muted); font-size: 15px; margin: 12px 0 0; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
  background: #fff;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 28px;
}
.footer-brand p {
  margin: 10px 0 0;
  max-width: 320px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.footer-local {
  font-weight: 600 !important;
  color: var(--brand) !important;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
footer a { color: var(--muted); text-decoration: none; font-size: 14px; }
footer a:hover { color: var(--brand); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.footer-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 12px;
}

/* Legal page (kvkk.html) */
.legal {
  max-width: 780px;
  margin: 40px auto 64px;
  padding: 0 24px;
}
.legal h1 { font-size: 30px; margin-bottom: 8px; letter-spacing: -0.01em; }
.legal h2 { font-size: 20px; margin-top: 34px; }
.legal p, .legal li { color: #374151; font-size: 15.5px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 14.5px; margin: 14px 0; }
.legal th, .legal td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; }
.legal th { background: var(--bg); }
.legal .updated { color: var(--muted); font-size: 14px; }

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .topnav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  }
  .topnav.open { display: flex; }
  .topnav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .topnav a.btn,
  .topnav a.btn-ghost {
    text-align: center;
    margin-top: 8px;
    border-bottom: 0;
  }
  .hero {
    min-height: auto;
    padding: 72px 0 56px;
  }
  .hero h1 { font-size: 1.55rem; }
  .hero p.lede { font-size: 16px; }
  .price-amount { font-size: 40px; }
  .cta-band h2 { font-size: 24px; }
}