/* 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 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: inherit;
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo img {
  width: 36px;
  height: 36px;
  display: block;
}
.logo-kapsul { color: #002a5a; }
.logo-kontrol { color: #148848; }
.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 center / 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;
}
.offer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 18px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 206, 0.55);
  background: rgba(94, 234, 212, 0.14);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d1fae5;
}
.offer-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.28);
}
.offer-lead {
  margin: 0 auto 22px;
  max-width: 920px;
  font-size: clamp(1.85rem, 4.4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.03em;
  color: #fff;
}
.offer-free {
  display: inline-block;
  margin: 0.06em 0.08em 0;
  padding: 0.14em 0.42em 0.18em;
  border-radius: 0.16em;
  background: #148848;
  color: #fff;
  font-size: 1.28em;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
  box-shadow: 0 10px 28px rgba(20, 136, 72, 0.42);
}
.offer-points {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0 auto 16px;
  padding: 0;
}
.offer-points li {
  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: 15px;
  font-weight: 700;
  color: #fff;
}
.offer-close {
  margin: 0 auto 28px;
  max-width: 560px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero-points {
  list-style: none;
  margin: 0 auto 32px;
  padding: 0;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.45;
}
.hero-points .tick {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 8px;
  background: #16a34a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-row 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,
.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;
}

/* 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(min(100%, 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; }

#ozellikler .container { max-width: 1120px; }
.feature-showcase {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.showcase {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: 36px;
  align-items: center;
}
.showcase-flip { grid-template-columns: minmax(0, 0.9fr) minmax(240px, 1.1fr); }
.showcase-flip .showcase-copy { order: 2; }
.showcase-copy h3 {
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.showcase-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
}
.showcase-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.showcase-copy li {
  position: relative;
  margin: 8px 0;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.45;
}
.showcase-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}
.showcase figure { margin: 0; }
.showcase img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 42, 52, 0.12);
}
.showcase-flip img {
  max-width: 420px;
  margin-inline: auto;
}

/* 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-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-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-ok { background: var(--ok-bg); color: var(--ok); }
.app-mock-sm {
  margin-top: 14px;
}
.app-mock-sm a.mock-btn {
  display: block;
  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;
  text-decoration: none;
}
.app-mock-sm a.mock-btn:hover { background: var(--brand-dark); }
.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; }

/* 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 a.logo { font-size: 18px; }
footer a.logo:hover { color: inherit; }
footer a.logo .logo-kapsul { color: #002a5a; }
footer a.logo .logo-kontrol { color: #148848; }
.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) {
  .container { padding: 0 16px; }
  .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 16px 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  }
  .topnav.open { display: flex; }
  .topbar:not(:has(.nav-toggle)) .topnav {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    box-shadow: none;
    border-bottom: 0;
    gap: 8px;
  }
  .topbar:not(:has(.nav-toggle)) .topnav a {
    padding: 6px 0;
    border-bottom: 0;
  }
  .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;
  }
  .offer-lead { font-size: 1.7rem; }
  .offer-close { font-size: 16px; }
  .hero-points li { font-size: 15.5px; }
  .cta-band h2 { font-size: 24px; }
  section { padding: 48px 0; }
  .cta-row a.primary,
  .cta-row a.secondary {
    width: min(100%, 360px);
    text-align: center;
  }
  .legal table { display: block; overflow-x: auto; }
  .feature-showcase { gap: 40px; }
  .showcase,
  .showcase-flip {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .showcase-flip .showcase-copy { order: 0; }
  .showcase-copy h3 { font-size: 22px; }
  .showcase-flip img { max-width: 360px; }
}
@media (max-width: 480px) {
  .hero { padding: 56px 0 40px; }
  h2.section-title { font-size: 22px; }
}
