/* ===== Tokens ===== */
:root {
  --primary: #0d6fb8;
  --primary-dark: #084c80;
  --primary-light: #e8f3fb;
  --accent: #17b899;
  --accent-dark: #0f8f77;
  --ink: #16232f;
  --ink-muted: #55697a;
  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --border: #e1e9f0;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(13, 111, 184, 0.08);
  --shadow-md: 0 12px 32px rgba(13, 111, 184, 0.14);
  --container: 1160px;
  --font-heading: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--ink); margin: 0 0 .5em; line-height: 1.2; }
p { margin: 0 0 1em; color: var(--ink-muted); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff;
  padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 700; font-size: 15px;
  border-radius: 999px; padding: 13px 26px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); background: var(--primary-light); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ===== Topbar ===== */
.topbar { background: var(--primary-dark); }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 38px; font-size: 12.5px;
}
.topbar-contacts { display: flex; align-items: center; gap: 22px; }
.topbar-contacts a, .topbar-link {
  display: inline-flex; align-items: center; gap: 6px; color: #cfe6f6; font-weight: 500;
  transition: color .15s ease;
}
.topbar-contacts a:hover, .topbar-link:hover { color: #fff; }
.topbar-link { font-weight: 700; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { height: 32px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 22px; margin: 0 auto; }
.main-nav a { font-weight: 600; font-size: 14px; color: var(--ink-muted); padding: 8px 2px; position: relative; white-space: nowrap; }
.main-nav a:hover { color: var(--primary); }
.main-nav-external { color: var(--primary) !important; }

.header-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.phone-link { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); font-size: 14.5px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border: none; background: none; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--bg-alt), var(--bg) 70%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 800; color: var(--accent-dark); margin: 0 0 14px; }
.eyebrow-light { color: #bfe6ff; }
.hero h1 { font-size: clamp(32px, 4.2vw, 48px); font-weight: 800; letter-spacing: -.01em; }
.hero h1 span { color: var(--primary); }
.hero-lead { font-size: 17px; max-width: 54ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 36px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-heading); font-size: 26px; color: var(--primary); font-weight: 800; }
.hero-stats span { font-size: 13px; color: var(--ink-muted); }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.device-card {
  position: relative; width: 100%; max-width: 380px; aspect-ratio: 1/1;
  background: #fff; border-radius: 28px; box-shadow: var(--shadow-md);
  border: 1px solid var(--border); padding: 28px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.device-glow {
  position: absolute; inset: -20%; z-index: 0;
  background: radial-gradient(closest-side, rgba(23,184,153,.16), rgba(13,111,184,.14) 55%, transparent 78%);
}
.device-card img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(13, 42, 66, .18));
}
.device-plate {
  position: absolute; z-index: 2; left: 22px; bottom: 22px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 18px; border-radius: 12px;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px) saturate(160%);
  box-shadow: var(--shadow-sm); border: 1px solid rgba(255, 255, 255, .6);
}
.device-plate-brand { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; color: var(--ink-muted); }
.device-plate-model { font-family: var(--font-heading); font-size: 16.5px; font-weight: 800; color: var(--primary-dark); }

/* ===== Showcase (Ürün Turu) ===== */
.showcase { padding: 84px 0 0; overflow: hidden; }
.showcase-head { margin-bottom: 64px; }
.showcase-panel { padding: 0; }
.showcase-panel-alt { background: var(--bg-alt); }
.showcase-panel-inner {
  display: flex; align-items: center; gap: 64px; padding: 88px 0;
}
.showcase-panel-reverse { flex-direction: row-reverse; }
.showcase-visual, .showcase-copy { flex: 1 1 0; min-width: 0; }
.showcase-visual { display: flex; align-items: center; justify-content: center; }
.showcase-visual svg { width: 100%; max-width: 380px; height: auto; }
.showcase-visual-photo img {
  width: 100%; max-width: 380px; height: auto; object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(13, 42, 66, .16));
}
.showcase-copy h3 {
  font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.01em; line-height: 1.15;
}
.showcase-copy p { font-size: 16.5px; max-width: 46ch; }
.showcase-copy .eyebrow { margin-bottom: 10px; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ===== Cinematic image break ===== */
.image-break {
  background: radial-gradient(120% 160% at 15% 15%, #0f3a5c, var(--primary-dark) 55%, #071c2e);
  padding: 96px 0;
}
.image-break-inner { display: flex; align-items: center; gap: 64px; }
.image-break-visual, .image-break-copy { flex: 1 1 0; min-width: 0; }
.image-break-visual { display: flex; align-items: center; justify-content: center; }
.image-break-visual img {
  width: 100%; max-width: 400px; height: auto; object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35));
}
.image-break-copy h3 {
  color: #fff; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.01em; line-height: 1.15;
}
.image-break-copy p { color: #bcd7ec; font-size: 16.5px; max-width: 46ch; }

/* ===== Ev Bakımı (lifestyle) ===== */
.lifestyle { position: relative; overflow: hidden; }
.lifestyle > img {
  display: block; width: 100%; height: clamp(420px, 58vw, 620px);
  object-fit: cover; object-position: center 42%;
}
.lifestyle-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6, 20, 32, .88) 0%, rgba(6, 20, 32, .38) 48%, rgba(6, 20, 32, 0) 72%);
}
.lifestyle-inner { position: absolute; inset: 0; display: flex; align-items: flex-end; padding-bottom: 56px; }
.lifestyle-copy { max-width: 620px; }
.lifestyle-copy h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); }
.lifestyle-copy p { color: #d7e6f0; font-size: 16px; max-width: 48ch; margin: 0; }

/* ===== Ön/Arka görünüş kartları ===== */
.device-views { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 40px; }
.device-view {
  margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px 20px; text-align: center;
}
.device-view img { width: 100%; max-width: 260px; height: auto; object-fit: contain; margin: 0 auto 16px; }
.device-view figcaption { font-size: 13.5px; color: var(--ink-muted); font-weight: 600; }

/* ===== Trust strip ===== */
.trust-strip { background: var(--primary-dark); padding: 16px 0; }
.trust-strip-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 40px; }
.trust-strip-inner span { color: #d7ecfb; font-weight: 600; font-size: 13.5px; letter-spacing: .02em; }

/* ===== Section shared ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); }
.section-lead { font-size: 16px; }

/* ===== Feature grid ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-card h3 { font-size: 16.5px; }
.feature-card p { font-size: 14.5px; margin: 0; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding: 32px 24px 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.step-num {
  position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff; font-family: var(--font-heading); font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 17px; box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 17px; margin-top: 6px; }
.step p { font-size: 14.5px; margin: 0; }

/* ===== Clinic ===== */
.clinic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.clinic-card { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 26px; }
.clinic-metric { font-family: var(--font-heading); font-weight: 800; color: var(--accent-dark); font-size: 16px; margin-bottom: 10px; }
.clinic-card p { font-size: 14.5px; margin-bottom: 12px; }
.clinic-source { font-size: 12.5px; color: var(--ink-muted); font-style: italic; }
.clinic-disclaimer { font-size: 13px; color: var(--ink-muted); text-align: center; max-width: 760px; margin: 32px auto 0; }

/* ===== Patient grid ===== */
.patient-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.patient-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.patient-card h3 { font-size: 16px; }
.patient-card p { font-size: 14px; margin: 0; }

/* ===== Spec table ===== */
.spec-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.spec-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.spec-table tr:not(:last-child) th, .spec-table tr:not(:last-child) td { border-bottom: 1px solid var(--border); }
.spec-table th, .spec-table td { text-align: left; padding: 16px 22px; font-size: 14.5px; }
.spec-table th { color: var(--ink); font-weight: 700; width: 38%; background: var(--bg-alt); }
.spec-table td { color: var(--ink-muted); }

.accessories { margin-top: 48px; }
.accessories h3 { text-align: center; font-size: 19px; margin-bottom: 20px; }
.accessories-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.accessories-list li {
  background: var(--primary-light); color: var(--primary-dark); font-weight: 600; font-size: 13.5px;
  padding: 9px 16px; border-radius: 999px;
}

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; text-align: left; padding: 20px 22px; cursor: pointer;
  font-family: var(--font-heading); font-weight: 700; font-size: 15.5px; color: var(--ink);
}
.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--primary); border-radius: 2px; transition: transform .2s ease;
}
.faq-icon::before { width: 18px; height: 2px; top: 8px; left: 0; }
.faq-icon::after { width: 2px; height: 18px; top: 0; left: 8px; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer p { padding: 0 22px 20px; margin: 0; font-size: 14.5px; }

/* ===== CTA / Contact ===== */
.cta-section { background: linear-gradient(135deg, var(--primary-dark), #0a6bb0); }
.cta-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.cta-copy h2 { color: #fff; }
.cta-copy p { color: #cfe6f6; }
.cta-contacts { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.cta-contacts li { display: flex; align-items: center; gap: 12px; color: #eaf4fc; font-size: 15px; }
.cta-contacts svg { flex-shrink: 0; color: var(--accent); }
.cta-contacts a:hover { text-decoration: underline; }

.cta-form { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-md); }
.cta-form h3 { font-size: 18px; margin-bottom: 18px; }
.cta-form label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 14px; color: var(--ink); }
.cta-form input, .cta-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 14px; font-family: var(--font-body);
  font-size: 14.5px; border: 1.5px solid var(--border); border-radius: 8px; resize: vertical; color: var(--ink);
}
.cta-form input:focus, .cta-form textarea:focus { outline: none; border-color: var(--primary); }
.form-note { font-size: 13.5px; margin: 12px 0 0; text-align: center; color: var(--accent-dark); font-weight: 600; min-height: 18px; }
.form-note-error { color: #d0342c; }
.hp-field {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ===== Footer ===== */
.site-footer { background: #0b2438; padding: 48px 0 28px; }
.footer-inner { display: grid; gap: 20px; }
.logo-chip {
  display: inline-flex; align-items: center; background: #fff;
  padding: 10px 16px; border-radius: 10px;
}
.footer-logo .logo-img { height: 24px; }
.footer-tagline { color: #9db6c9; font-size: 14px; margin-top: 10px; }
.footer-disclaimer { color: #6e879a; font-size: 12.5px; max-width: 900px; line-height: 1.7; }
.footer-copy { color: #6e879a; font-size: 13px; margin: 0; }

.back-to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease; z-index: 90;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner, .cta-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .clinic-grid { grid-template-columns: 1fr; }
  .patient-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-panel-inner, .showcase-panel-reverse { flex-direction: column; gap: 36px; padding: 56px 0; text-align: center; }
  .showcase-copy p { margin-left: auto; margin-right: auto; }
  .image-break-inner { flex-direction: column; gap: 36px; text-align: center; }
  .image-break-copy p { margin-left: auto; margin-right: auto; }
  .device-views { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topbar-contacts a span { display: none; }
  .topbar-link span { display: none; }
  .topbar-inner { justify-content: center; gap: 24px; }

  .main-nav {
    position: fixed; top: 112px; left: 0; right: 0; bottom: 0; background: #fff;
    flex-direction: column; padding: 24px; gap: 4px; transform: translateX(100%);
    transition: transform .25s ease; overflow-y: auto; align-items: stretch;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--border); font-size: 16px; }
  .nav-toggle { display: flex; }
  .header-actions .phone-link span { display: none; }
  .header-actions { gap: 12px; }
  .header-inner { gap: 12px; }
  .logo-img { height: 22px; max-width: 150px; }
  .feature-grid { grid-template-columns: 1fr; }
  .patient-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 40px; }
  .image-break { padding: 56px 0; }
  .lifestyle > img { height: clamp(340px, 90vw, 480px); object-position: center 42%; }
  .lifestyle-inner { padding-bottom: 32px; }
  .lifestyle-copy p { max-width: none; }
}
