/* ============================================================
   Anadolu Check-Up — Premium International Landing
   Brand: Anadolu cyan #27AAE1 · Hopkins navy #15356E · deep navy #0B2A4A
   Headings: Poppins · Body: Inter
   ============================================================ */

:root {
  --brand: #27AAE1;
  --brand-deep: #1B8FC4;
  --brand-soft: #E7F6FD;
  --navy: #0B2A4A;
  --navy-2: #102F52;
  --hopkins: #15356E;
  --ink: #122033;
  --mut: #5A6B7E;
  --line: #E3EAF1;
  --bg: #FFFFFF;
  --tint: #F4F9FC;
  --gold: #C9A227;
  --ok: #1FA97C;
  --wa: #25D366;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11,42,74,.05), 0 4px 14px rgba(11,42,74,.06);
  --shadow-md: 0 4px 10px rgba(11,42,74,.07), 0 16px 40px rgba(11,42,74,.10);
  --shadow-lg: 0 8px 24px rgba(11,42,74,.12), 0 28px 70px rgba(11,42,74,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: 'Poppins', 'Inter', sans-serif; line-height: 1.22; color: var(--navy); font-weight: 700; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }
[hidden] { display: none !important; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 15.5px; line-height: 1;
  border: none; border-radius: 999px; padding: 15px 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  will-change: transform;
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: 18px 34px; font-size: 16.5px; }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-pri {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 6px 18px rgba(39,170,225,.35);
}
.btn-pri:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(39,170,225,.45); }
.btn-ghost {
  background: rgba(255,255,255,.08); color: #fff;
  border: 1.5px solid rgba(255,255,255,.45); backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn-line {
  background: #fff; color: var(--navy);
  border: 1.5px solid var(--line); box-shadow: var(--shadow-sm);
}
.btn-line:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(37,211,102,.35); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37,211,102,.45); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-2px); }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset-inline: 0; top: 0; z-index: 900;
  transition: background .35s, box-shadow .35s, padding .35s;
  padding: 14px 0;
}
.hdr-in { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.hdr-logo img { height: 40px; width: auto; }
.hdr-logo-dark { display: none; }
.hdr.solid { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(11,42,74,.06); padding: 9px 0; }
.hdr.solid .hdr-logo-dark { display: block; }
.hdr.solid .hdr-logo-light { display: none; }
.hdr-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.hdr-nav a {
  font-size: 14px; font-weight: 500; color: #fff; padding: 9px 13px; border-radius: 8px;
  transition: background .2s, color .2s; white-space: nowrap;
}
.hdr-nav a:hover { background: rgba(255,255,255,.14); }
.hdr.solid .hdr-nav a { color: var(--ink); }
.hdr.solid .hdr-nav a:hover { background: var(--brand-soft); color: var(--brand-deep); }
.hdr-right { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.hdr-nav + .hdr-right { margin-inline-start: 0; }

/* language switcher */
.lang-sw { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: 9px 14px; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  transition: background .2s;
}
.lang-btn:hover { background: rgba(255,255,255,.22); }
.hdr.solid .lang-btn { background: #fff; color: var(--ink); border-color: var(--line); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); list-style: none; padding: 8px; min-width: 200px;
  max-height: 380px; overflow: auto;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s, transform .22s, visibility .22s;
}
.lang-sw.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px;
  font-size: 14px; color: var(--ink); transition: background .15s;
}
.lang-menu a:hover { background: var(--brand-soft); }
.lang-menu a.cur { background: var(--brand-soft); font-weight: 600; color: var(--brand-deep); }
.lang-menu .lm-code { font-size: 11px; font-weight: 700; color: var(--mut); width: 26px; text-transform: uppercase; }

.burger { display: none; background: none; border: none; width: 42px; height: 42px; border-radius: 10px; position: relative; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px auto; border-radius: 2px; transition: .3s; }
.hdr.solid .burger span { background: var(--navy); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
/* hero slider: cross-fading background slides (slide 1 = video, slide 2 = image) */
.hero-slides { position: absolute; inset: 0; z-index: 0; background: var(--navy); }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center 30%; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(112deg, rgba(8,28,52,.93) 0%, rgba(10,38,68,.82) 38%, rgba(13,52,92,.45) 70%, rgba(15,60,105,.25) 100%);
}
[dir="rtl"] .hero-veil { background: linear-gradient(-112deg, rgba(8,28,52,.93) 0%, rgba(10,38,68,.82) 38%, rgba(13,52,92,.45) 70%, rgba(15,60,105,.25) 100%); }
.hero-in { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 140px 24px 90px; width: 100%; }
/* rotating headline area — grid-stack so the fixed CTAs below never jump between slides */
.hero-heads { display: grid; }
.hero-head { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.hero-head.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px); border-radius: 999px; padding: 9px 18px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.hero-title {
  font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; color: #fff;
  margin: 26px 0 20px; max-width: 760px; letter-spacing: -.015em;
}
.hero-sub { font-size: clamp(16.5px, 1.9vw, 19.5px); color: rgba(255,255,255,.88); max-width: 640px; font-weight: 400; }
/* hero slide bullet list (e.g. International Services) */
.hero-bullets { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 9px; }
.hero-bullets li { font-size: clamp(15px, 1.7vw, 18px); color: rgba(255,255,255,.92); font-weight: 500; display: flex; align-items: flex-start; gap: 11px; max-width: 620px; }
.hero-bullets li::before { content: "✓"; color: #4ADE80; font-weight: 800; flex: none; }
.hero-ctas { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-trust {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.2);
}
.trust-img { height: 58px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.3)); }
.trust-txt { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.92); letter-spacing: .02em; }
.trust-sep { width: 1px; height: 26px; background: rgba(255,255,255,.25); }
/* slider dots */
.hero-dots { display: flex; gap: 9px; margin-top: 30px; }
.hero-dot { width: 10px; height: 10px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: background .25s var(--ease), width .25s var(--ease); }
.hero-dot:hover { background: rgba(255,255,255,.7); }
.hero-dot.is-active { background: #fff; width: 28px; border-radius: 5px; }

/* ---------- Sections ---------- */
.sec { padding: 96px 0; }
.sec-tint { background: var(--tint); }
.sec-dark { background: radial-gradient(1100px 600px at 80% -10%, #14406E 0%, var(--navy) 55%) , var(--navy); color: #fff; position: relative; overflow: hidden; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.01em; }
.sec-head-dark h2 { color: #fff; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.sec-sub { color: var(--mut); margin-top: 16px; font-size: 17px; }
.sec-head-dark .sec-sub { color: rgba(255,255,255,.78); }
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-deep);
  background: var(--brand-soft); border-radius: 999px; padding: 7px 16px; margin-bottom: 18px;
}
.kicker-cyan { background: rgba(39,170,225,.15); color: #6FD0F7; border: 1px solid rgba(39,170,225,.35); }

/* ---------- Accreditations band ---------- */
.accr { background: var(--tint); padding: 26px 0; border-bottom: 1px solid var(--line); }
.accr-band { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.accr-card {
  display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; box-shadow: var(--shadow-sm);
  font-size: 11.5px; font-weight: 600; color: var(--navy); line-height: 1.35;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.accr-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.accr-card img { height: 42px; width: auto; max-width: 64px; object-fit: contain; flex: none; }
.accr-ic {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--brand-soft), #D4EFFC); color: var(--brand-deep);
  display: grid; place-items: center;
}

/* ---------- Promo video ---------- */
.video-wrap {
  max-width: 860px; margin: 0 auto 56px; position: relative;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9; background: var(--navy);
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Instagram patient videos ---------- */
.ig-block { margin: 0 auto 52px; max-width: 1000px; }
.ig-sub { text-align: center; font-size: 14px; color: var(--mut); margin-bottom: 20px; }
.ig-sub a { color: var(--brand-deep); font-weight: 700; }
.ig-sub a:hover { text-decoration: underline; }
.ig-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ig-card {
  aspect-ratio: 9 / 16; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff;
}
.ig-card iframe { width: 100%; height: 100%; border: 0; display: block; }
.ig-follow-card {
  display: flex; align-items: center; gap: 16px; max-width: 460px; margin: 0 auto;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 18px 22px; box-shadow: var(--shadow-sm); font-size: 14px; color: var(--mut);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.ig-follow-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(39,170,225,.5); }
.ig-follow-card strong { color: var(--navy); font-size: 15.5px; }
.ig-follow-ic {
  width: 50px; height: 50px; border-radius: 15px; flex: none; color: #fff;
  background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); display: grid; place-items: center;
}
.ig-follow-arrow { margin-inline-start: auto; font-size: 20px; color: var(--brand-deep); }

/* ---------- Why grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(39,170,225,.4); }
.why-ic {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-soft), #D4EFFC); color: var(--brand-deep); margin-bottom: 20px;
}
.why-card h3 { font-size: 17.5px; margin-bottom: 10px; }
.why-card p { font-size: 14.5px; color: var(--mut); }

.stats-band {
  margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: linear-gradient(120deg, var(--navy), #133B66 60%, #15486E);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.stat { padding: 36px 20px; text-align: center; color: #fff; position: relative; }
.stat + .stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 22%; height: 56%; width: 1px; background: rgba(255,255,255,.16); }
.stat-v { font-family: 'Poppins'; font-size: 40px; font-weight: 800; line-height: 1; }
.stat-v small { font-size: 17px; font-weight: 600; color: var(--brand); margin-inline-start: 4px; }
.stat-l { font-size: 13.5px; color: rgba(255,255,255,.75); margin-top: 10px; }

/* ---------- AI Health Match ---------- */
.ai-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; pointer-events: none; }
.ai-glow-1 { width: 480px; height: 480px; background: #1E6FB8; top: -160px; inset-inline-start: -120px; }
.ai-glow-2 { width: 420px; height: 420px; background: #27AAE1; bottom: -180px; inset-inline-end: -100px; opacity: .22; }
.ai-glow-3 { width: 420px; height: 420px; background: #1E6FB8; top: -160px; inset-inline-end: -120px; opacity: .28; }
.ai-spark { color: var(--brand); display: inline-grid; place-items: center; }

.ai-shell {
  max-width: 720px; margin: 0 auto; position: relative;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px; backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  overflow: hidden;
}
.ai-progress { height: 4px; background: rgba(255,255,255,.12); }
.ai-progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--brand), #6FD0F7); border-radius: 999px; transition: width .45s var(--ease); }
.ai-body { padding: 40px 44px 44px; }

.ai-intro { text-align: center; padding: 26px 10px 10px; }
.ai-intro-ic {
  width: 86px; height: 86px; margin: 0 auto 24px; border-radius: 26px;
  background: linear-gradient(135deg, var(--brand), #1565A8);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 14px 38px rgba(39,170,225,.4);
  animation: floatY 4s ease-in-out infinite;
}
@keyframes floatY { 50% { transform: translateY(-8px); } }
.ai-intro h3 { color: #fff; font-size: 24px; margin-bottom: 12px; }
.ai-intro p { color: rgba(255,255,255,.75); font-size: 15.5px; max-width: 440px; margin: 0 auto 30px; }
.ai-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.ai-chip {
  font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18);
  padding: 7px 14px; border-radius: 999px;
}

.ai-step-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.ai-step-count { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6FD0F7; }
.ai-q-title { color: #fff; font-size: 23px; font-weight: 700; font-family: 'Poppins'; margin-bottom: 8px; }
.ai-q-sub { color: rgba(255,255,255,.65); font-size: 14.5px; margin-bottom: 26px; }
.ai-opts { display: grid; gap: 11px; }
.ai-opts.cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ai-opt {
  display: flex; align-items: center; gap: 13px;
  background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.16);
  border-radius: var(--r-md); padding: 16px 18px; color: #fff;
  font-size: 15px; font-weight: 500; text-align: start; width: 100%;
  transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.ai-opt:hover { background: rgba(255,255,255,.13); transform: translateY(-2px); }
.ai-opt.sel { background: rgba(39,170,225,.22); border-color: var(--brand); box-shadow: 0 0 0 3px rgba(39,170,225,.18); }
.ai-opt .ck {
  width: 22px; height: 22px; border-radius: 7px; border: 2px solid rgba(255,255,255,.4);
  display: grid; place-items: center; flex: none; transition: .2s;
}
.ai-opt.sel .ck { background: var(--brand); border-color: var(--brand); }
.ai-opt.sel .ck::after { content: "✓"; color: #fff; font-size: 13px; font-weight: 800; }
.ai-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; gap: 12px; }
.ai-back { background: none; border: none; color: rgba(255,255,255,.6); font-size: 14.5px; font-weight: 600; padding: 10px 6px; display: inline-flex; align-items: center; gap: 6px; }
.ai-back:hover { color: #fff; }

/* analyzing */
.ai-an { text-align: center; padding: 30px 0 16px; }
.ai-ring { width: 92px; height: 92px; margin: 0 auto 28px; position: relative; }
.ai-ring svg { transform: rotate(-90deg); }
.ai-ring .tr { stroke: rgba(255,255,255,.12); }
.ai-ring .pr { stroke: var(--brand); stroke-linecap: round; transition: stroke-dashoffset .3s linear; }
.ai-an h3 { color: #fff; font-size: 21px; margin-bottom: 22px; }
.ai-an-step { color: rgba(255,255,255,.7); font-size: 14.5px; min-height: 22px; transition: opacity .3s; }

/* result */
.ai-res-head { text-align: center; margin-bottom: 26px; }
.ai-res-kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6FD0F7; margin-bottom: 8px; }
.ai-res-head h3 { color: #fff; font-size: 24px; }
.ai-res-card {
  background: linear-gradient(135deg, rgba(39,170,225,.16), rgba(255,255,255,.05));
  border: 1.5px solid rgba(39,170,225,.5); border-radius: var(--r-lg);
  padding: 26px 28px; margin-bottom: 18px; position: relative; overflow: hidden;
}
.ai-res-card::after {
  content: ""; position: absolute; top: 0; inset-inline-start: -60%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.10), transparent);
  animation: shine 3.2s 1s infinite;
}
@keyframes shine { 40%, 100% { inset-inline-start: 120%; } }
.ai-res-name { color: #fff; font-family: 'Poppins'; font-size: 23px; font-weight: 700; }
.ai-res-tagline { color: rgba(255,255,255,.7); font-size: 14px; margin-top: 4px; }
.ai-res-price { color: #6FD0F7; font-family: 'Poppins'; font-weight: 800; font-size: 28px; margin-top: 12px; }
.ai-res-price small { font-size: 13px; color: rgba(255,255,255,.6); font-weight: 500; font-family: 'Inter'; }
.ai-match-pill {
  position: absolute; top: 18px; inset-inline-end: 18px;
  background: rgba(31,169,124,.2); border: 1px solid rgba(31,169,124,.55); color: #5EEAB8;
  font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 6px 13px;
}
.ai-res-sec { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md); padding: 20px 22px; margin-bottom: 14px; }
.ai-res-sec h4 { color: #fff; font-size: 15px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.ai-res-sec h4 svg { color: var(--brand); flex: none; }
.ai-why-li { display: flex; gap: 10px; color: rgba(255,255,255,.82); font-size: 14px; padding: 5px 0; }
.ai-why-li::before { content: "•"; color: var(--brand); font-weight: 800; }
.ai-addon { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.ai-addon-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ai-addon-tests { list-style: none; margin: 8px 0 0; padding: 8px 12px; background: rgba(255,255,255,.05); border-radius: 9px; }
.ai-addon-tests li { font-size: 12px; color: rgba(255,255,255,.78); padding: 2px 0; display: flex; gap: 7px; overflow-wrap: anywhere; }
.ai-addon-tests li::before { content: "+"; color: #6FD0F7; font-weight: 800; flex: none; }
.ai-addon:last-child { border-bottom: none; }
.ai-addon-n { color: #fff; font-size: 14.5px; font-weight: 600; }
.ai-addon-d { color: rgba(255,255,255,.6); font-size: 12.5px; }
.ai-addon-p { color: #6FD0F7; font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.ai-sum-text { color: rgba(255,255,255,.85); font-size: 14.5px; line-height: 1.75; }
.ai-total { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; background: rgba(39,170,225,.12); border: 1px solid rgba(39,170,225,.4); border-radius: var(--r-md); margin-bottom: 8px; }
.ai-total-l { color: rgba(255,255,255,.8); font-size: 14px; font-weight: 600; }
.ai-total-v { color: #fff; font-family: 'Poppins'; font-size: 24px; font-weight: 800; }
.ai-est-note { color: rgba(255,255,255,.5); font-size: 12.5px; margin-bottom: 20px; }
.ai-res-ctas { display: grid; gap: 11px; }
.ai-res-ctas .btn { width: 100%; }
.ai-contents { margin-bottom: 14px; }
.ai-contents summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md); padding: 14px 18px;
  color: #fff; font-size: 14px; font-weight: 600;
  transition: background .2s;
}
.ai-contents summary:hover { background: rgba(255,255,255,.11); }
.ai-contents summary::-webkit-details-marker { display: none; }
.ai-contents summary svg { color: var(--brand); flex: none; transition: transform .3s var(--ease); }
.ai-contents[open] summary svg:last-child { transform: rotate(180deg); }
.ai-contents summary .chev { margin-inline-start: auto; }
.ai-contents-body {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-top: none;
  border-radius: 0 0 var(--r-md) var(--r-md); padding: 16px 20px; max-height: 300px; overflow: auto;
}
.ai-contents-body h5 {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6FD0F7;
  margin: 12px 0 5px; font-family: 'Poppins';
}
.ai-contents-body h5:first-child { margin-top: 0; }
.ai-contents-body li {
  list-style: none; font-size: 13px; color: rgba(255,255,255,.8); padding: 2px 0;
  display: flex; gap: 8px; overflow-wrap: anywhere; min-width: 0;
}
.ai-contents-body li::before { content: "✓"; color: var(--ok); font-weight: 700; flex: none; }
.ai-restart { background: none; border: none; color: rgba(255,255,255,.55); font-size: 13.5px; font-weight: 600; margin: 18px auto 0; display: block; }
.ai-restart:hover { color: #fff; }
.ai-disclaimer { max-width: 720px; margin: 22px auto 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.45); }

/* fade between steps */
.ai-fade { animation: aiFade .4s var(--ease); }
@keyframes aiFade { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Packages ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.pkg-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: 24px;
  padding: 34px 30px; display: flex; flex-direction: column; position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pkg-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pkg-card.popular { border-color: var(--brand); box-shadow: 0 12px 44px rgba(39,170,225,.18); }
.pkg-pop {
  position: absolute; top: -15px; inset-inline-start: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 999px; padding: 7px 18px; white-space: nowrap; box-shadow: 0 6px 18px rgba(39,170,225,.4);
}
[dir="rtl"] .pkg-pop { transform: translateX(50%); }
.pkg-tier { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: 10px; }
.pkg-name { font-size: 22px; margin-bottom: 6px; }
.pkg-tagline { font-size: 13.5px; color: var(--mut); margin-bottom: 18px; min-height: 40px; }
.pkg-from { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); margin-bottom: 2px; }
.pkg-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.pkg-from { font-size: 12.5px; color: var(--mut); font-weight: 500; }
.pkg-price { font-family: 'Poppins'; font-size: 38px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.pkg-tests { font-size: 13px; color: var(--brand-deep); font-weight: 600; margin-bottom: 18px; }
.pkg-desc { font-size: 14px; color: var(--mut); margin-bottom: 16px; }
.pkg-aud {
  font-size: 13px; color: var(--hopkins); background: var(--tint);
  border-inline-start: 3px solid var(--brand); padding: 10px 14px; border-radius: 8px; margin-bottom: 22px;
}
.pkg-newvs { font-size: 12px; font-weight: 700; color: var(--ok); background: rgba(31,169,124,.08); border: 1px solid rgba(31,169,124,.25); border-radius: 8px; padding: 8px 12px; margin-bottom: 12px; text-align: center; }
.pkg-newvs-base { color: var(--mut); background: var(--tint); border-color: var(--line); font-weight: 600; }
.pkg-list { display: block; margin: 0; }
.pkg-list h5 { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-deep); margin: 13px 0 5px; }
.pkg-list h5:first-child { margin-top: 0; }
.pkg-list li { font-size: 13px; color: var(--ink); list-style: none; padding: 2.5px 0; display: flex; gap: 8px; }
.pkg-list li::before { content: "✓"; color: var(--ok); font-weight: 700; flex: none; }
.pkg-list li > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pkg-list li.is-new { font-weight: 700; }
.pkg-card .btn { margin: 4px 0 16px; }

.minis-head { text-align: center; margin: 76px auto 36px; max-width: 680px; }
.minis-head h3 { font-size: clamp(22px, 2.6vw, 30px); }
.minis-head p { color: var(--mut); margin-top: 12px; font-size: 15.5px; }
.mini-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.mini-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px 18px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
  min-width: 0; /* never let long test names widen the column */
}
.mini-card > * { min-width: 0; }
.mini-name, .mini-desc { overflow-wrap: break-word; }
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(39,170,225,.45); }
.mini-ic { width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 13px; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; }
.mini-name { font-size: 14px; font-weight: 700; color: var(--navy); font-family: 'Poppins'; }
.mini-desc { font-size: 12px; color: var(--mut); margin-top: 5px; line-height: 1.5; }
/* bottom block (requirement note + price) pinned to the card base so siblings align */
.mini-bottom { margin-top: auto; padding-top: 10px; }
.mini-price { font-size: 13px; font-weight: 700; color: var(--brand-deep); }
.mini-price s { color: var(--mut); font-weight: 600; font-size: 11.5px; margin-inline-end: 2px; }
.mini-req { font-size: 10.5px; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.mini-tests {
  list-style: none; margin: 10px 0 0; padding: 9px 10px 7px;
  background: var(--tint); border-radius: 9px; text-align: start;
  flex: 1 1 auto; /* fully open (no scroll); grid stretch keeps sibling cards equal-height → aligned */
}
/* card without a test list (e.g. Diabetes): keep the description vertically centered */
.mini-card > .mini-desc:last-child { margin-block: auto; }
.mini-tests li {
  font-size: 10.5px; color: var(--mut); line-height: 1.45; padding: 1.5px 0;
  display: flex; gap: 6px; align-items: flex-start;
  overflow-wrap: anywhere; min-width: 0; /* break long tokens like (EEG+EOG+EMG+ECG+Respiratory) */
}
.mini-tests li::before { content: "✓"; color: var(--ok); font-weight: 700; flex: none; font-size: 10px; margin-top: 1px; }

/* ---------- Configurator ---------- */
.cfg { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.cfg-left { min-width: 0; }
.cfg-step-h { display: flex; align-items: center; gap: 13px; margin: 0 0 18px; }
.cfg-step-n {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 15px; font-family: 'Poppins';
}
.cfg-step-h h3 { font-size: 19px; }
.cfg-step-h small { display: block; font-size: 12.5px; color: var(--mut); font-weight: 400; margin-top: 1px; }
/* cinsiyet seçimi — ZORUNLU ilk adım, o yüzden belirgin bir kart: başlık + büyük butonlar */
.cfg-gender { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; flex-wrap: wrap;
  background: var(--tint); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 16px 20px; }
.cfg-gender.done { border-color: rgba(39,170,225,.45); background: var(--brand-soft); }
.cg-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cg-tx > b { font-family: 'Poppins'; font-size: 16.5px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.cg-tx span { font-size: 12.5px; color: var(--mut); }
.cg-tx span b { color: var(--brand-deep); }
.cfg-gender .gbtns { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin-inline-start: auto; }
.cfg-gender button {
  border: none; background: none; border-radius: 999px; padding: 12px 30px;
  font-size: 15px; font-weight: 700; color: var(--mut); transition: .2s;
}
.cfg-gender button.sel { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
@media (max-width: 560px) { .cfg-gender .gbtns { margin-inline-start: 0; width: 100%; }
  .cfg-gender button { flex: 1; padding: 12px 10px; } }
/* zorunlu alan vurgusu: cinsiyet seçilmeden paket/modül seçilemez */
.cfg-gender .g-hint { display: none; flex-basis: 100%; font-size: 12.5px; font-weight: 600; color: #E5484D; }
.cfg-gender.need .g-hint { display: block; }
.cfg-gender.need .gbtns { border-color: #E5484D; box-shadow: 0 0 0 3px rgba(229,72,77,.15); animation: gneed .45s ease; }
@keyframes gneed { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 60% { transform: translateX(4px); } }
.cfg-panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 38px; }
.cfg-panel {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 20px 18px; text-align: start; transition: .25s var(--ease); position: relative;
}
.cfg-panel:hover { border-color: rgba(39,170,225,.5); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.cfg-panel.sel { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(39,170,225,.15); }
.cfg-panel .nm { font-family: 'Poppins'; font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 4px; }
.cfg-panel .pfrom { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--mut); margin-top: 2px; }
.cfg-panel .pr { font-size: 18px; font-weight: 800; font-family: 'Poppins'; color: var(--brand-deep); }
.cfg-panel .tc { font-size: 12px; color: var(--mut); margin-top: 3px; }
.cfg-panel .ck {
  position: absolute; top: 12px; inset-inline-end: 12px; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line); display: grid; place-items: center; transition: .2s; background: #fff;
}
.cfg-panel.sel .ck { background: var(--brand); border-color: var(--brand); }
.cfg-panel.sel .ck::after { content: "✓"; color: #fff; font-size: 12px; font-weight: 800; }
.cfg-minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.cfg-mini {
  display: flex; align-items: center; gap: 10px; background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  font-size: 13.5px; font-weight: 600; color: var(--ink); text-align: start;
  transition: .22s var(--ease); position: relative;
}
.cfg-mini:hover:not(:disabled) { border-color: rgba(39,170,225,.5); transform: translateY(-2px); }
.cfg-mini.sel { border-color: var(--brand); background: var(--brand-soft); }
.cfg-mini:disabled { opacity: .45; cursor: not-allowed; }
.cfg-mini .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; flex: none; }
.cfg-mini.sel .ic { background: var(--brand); color: #fff; }
.cfg-mini .mn { min-width: 0; }   /* uzun modül adı (Advanced Cardiac vb.) fiyatı taşırmasın */
.cfg-mini .mp { margin-inline-start: auto; font-size: 12.5px; color: var(--brand-deep); font-weight: 700;
  white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; flex: none; }
.cfg-mini .mp s { color: var(--mut); font-weight: 600; font-size: 11px; }
.cfg-mini .cov { font-size: 10.5px; color: var(--ok); font-weight: 600; display: block; }
/* focused module row = the toggle button + a small "i" preview button beside it */
.cfg-mini-wrap { display: flex; align-items: stretch; gap: 6px; min-width: 0; }
.cfg-mini-wrap .cfg-mini { flex: 1 1 auto; min-width: 0; }
.cfg-mini-i {
  flex: none; width: 32px; border: 1.5px solid var(--line); border-radius: 11px;
  background: #fff; color: var(--brand-deep); cursor: pointer;
  display: grid; place-items: center; transition: .2s var(--ease);
}
.cfg-mini-i:hover { border-color: var(--brand); background: var(--brand-soft); }
.cfg-mini-i:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* module contents preview modal */
.mi-card { max-width: 460px; text-align: start; }
.mi-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; padding-inline-end: 30px; }
.mi-head h3 { margin: 0; font-size: 18px; }
.mi-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; flex: none; }
.mi-meta { font-size: 12.5px; color: var(--brand-deep); font-weight: 600; margin-top: 2px; }
.mi-desc { font-size: 13px; color: var(--mut); line-height: 1.55; margin: 8px 0 0; }
.mi-req { font-size: 12px; color: var(--gold); font-weight: 600; margin-top: 8px; }
.mi-tests { list-style: none; margin: 12px 0 0; padding: 12px 14px; background: var(--tint); border-radius: 11px; max-height: 320px; overflow: auto; }
.mi-tests li { font-size: 13px; color: var(--ink); padding: 3px 0; display: flex; gap: 8px; overflow-wrap: anywhere; }
.mi-tests li::before { content: "✓"; color: var(--ok); font-weight: 700; flex: none; }

.cfg-sum {
  background: #fff; border: 1.5px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-md); padding: 28px 26px; position: sticky; top: 96px;
}
.cfg-sum h3 { font-size: 17px; margin-bottom: 18px; display: flex; align-items: center; gap: 9px; }
.cfg-sum h3 svg { color: var(--brand-deep); }
.cfg-sum-rows { margin-bottom: 6px; }
.cfg-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.cfg-row .l { color: var(--mut); }
.cfg-row .v { font-weight: 600; color: var(--ink); white-space: nowrap; }
/* added-module row → expandable to list that module's new examinations */
.cfg-mrow { border-bottom: 1px dashed var(--line); }
.cfg-mrow > summary.cfg-row { border-bottom: none; cursor: pointer; list-style: none; }
.cfg-mrow > summary::-webkit-details-marker { display: none; }
.cfg-mrow > summary .l { display: inline-flex; align-items: center; }
/* +/− toggle from two real bars (no pseudo/transform state — renders identically everywhere) → "+" closed, "−" open */
.cfg-mrow-pl { position: relative; flex: none; width: 17px; height: 17px; border-radius: 50%; background: var(--brand-soft); margin-inline-start: 6px; transition: background .2s var(--ease); }
.cfg-mrow-pl .b1, .cfg-mrow-pl .b2 { position: absolute; background: var(--brand-deep); border-radius: 2px; }
.cfg-mrow-pl .b1 { top: 7.5px; inset-inline-start: 4.5px; width: 8px; height: 2px; }   /* horizontal */
.cfg-mrow-pl .b2 { top: 4.5px; inset-inline-start: 7.5px; width: 2px; height: 8px; }   /* vertical */
.cfg-mrow[open] .cfg-mrow-pl { background: var(--brand); }
.cfg-mrow[open] .cfg-mrow-pl .b1, .cfg-mrow[open] .cfg-mrow-pl .b2 { background: #fff; }
.cfg-mrow[open] .cfg-mrow-pl .b2 { display: none; }   /* hide vertical bar → "−" */
.cfg-mrow > summary:hover .l { color: var(--brand-deep); }
.cfg-mrow-tests { list-style: none; margin: 0; padding: 0 0 8px 2px; }
.cfg-mrow-tests li { font-size: 12px; color: var(--mut); padding: 2px 0; display: flex; gap: 7px; overflow-wrap: anywhere; min-width: 0; }
.cfg-mrow-tests li::before { content: "✓"; color: var(--ok); font-weight: 700; flex: none; font-size: 11px; }
.cfg-row.emph .l, .cfg-row.emph .v { color: var(--ok); font-weight: 600; }
.cfg-dup-info { display: inline-flex; align-items: center; gap: 5px; cursor: help; position: relative; }
.cfg-dup-info .tip {
  position: absolute; bottom: calc(100% + 8px); inset-inline-start: 50%; transform: translateX(-50%);
  background: var(--navy); color: #fff; font-size: 12px; line-height: 1.5; font-weight: 400;
  border-radius: 10px; padding: 10px 13px; width: 230px; text-align: start;
  opacity: 0; visibility: hidden; transition: .2s; z-index: 5; box-shadow: var(--shadow-lg);
}
[dir="rtl"] .cfg-dup-info .tip { transform: translateX(50%); }
.cfg-dup-info:hover .tip { opacity: 1; visibility: visible; }
.cfg-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 4px; }
.cfg-total .l { font-size: 14px; font-weight: 600; color: var(--mut); }
.cfg-total .v { font-family: 'Poppins'; font-size: 32px; font-weight: 800; color: var(--navy); }
.cfg-tests-n { font-size: 12.5px; color: var(--mut); margin-bottom: 18px; }
.cfg-sum .btn { width: 100%; }

/* examination list expander inside the summary */
.cfg-contents { margin: 2px 0 12px; }
.cfg-contents summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--mut); padding: 7px 0;
}
.cfg-contents summary::-webkit-details-marker { display: none; }
.cfg-contents summary strong { color: var(--ink); }
.cfg-contents summary .chev { margin-inline-start: auto; color: var(--brand-deep); transition: transform .25s var(--ease); }
.cfg-contents[open] summary .chev { transform: rotate(180deg); }
.cfg-contents-body { max-height: 240px; overflow: auto; background: var(--tint); border-radius: 9px; padding: 10px 12px; }
.cfg-contents-body h5 { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-deep); margin: 9px 0 4px; }
.cfg-contents-body h5:first-child { margin-top: 0; }
.cfg-contents-body li { list-style: none; font-size: 11.5px; color: var(--ink); padding: 1.5px 0; display: flex; gap: 6px; overflow-wrap: anywhere; min-width: 0; }
.cfg-contents-body li::before { content: "✓"; color: var(--ok); font-weight: 700; flex: none; }
.cfg-contents-body li > span { flex: 1; min-width: 0; }
.cfg-contents-body li.is-new { color: var(--ink); font-weight: 600; }
.new-pill { display: inline-grid; place-items: center; width: 15px; height: 15px; font-size: 13px; line-height: 1; font-weight: 800; color: #fff; background: var(--ok); border-radius: 999px; margin-inline-start: 5px; vertical-align: middle; flex: none; }
.cfg-newvs { font-size: 11.5px; font-weight: 700; color: var(--ok); margin-bottom: 9px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }

/* one-tap upgrade nudge (cumulative packages only add) */
.cfg-upsell {
  display: block; width: 100%; text-align: center; margin: 0 0 14px; padding: 11px 12px;
  border: 1px dashed var(--brand); background: var(--brand-soft); color: var(--brand-deep);
  border-radius: 10px; font-size: 12.5px; font-weight: 700; transition: background .2s, transform .2s var(--ease);
}
.cfg-upsell:hover { background: #D4EFFC; transform: translateY(-1px); }
.cfg-empty { color: var(--mut); font-size: 13.5px; text-align: center; padding: 18px 0; }

/* summary modal */
.smodal {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px;
  background: rgba(11,42,74,.55); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: .3s;
}
.smodal.show { opacity: 1; visibility: visible; }
.smodal-card {
  background: #fff; border-radius: 24px; max-width: 560px; width: 100%; max-height: 86vh;
  overflow: auto; padding: 34px 32px; box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(.98); transition: .3s var(--ease);
}
.smodal.show .smodal-card { transform: none; }
.smodal-card h3 { font-size: 21px; margin-bottom: 20px; }
.smodal-x { position: absolute; top: 18px; inset-inline-end: 18px; background: none; border: none; color: #fff; font-size: 26px; line-height: 1; }
.sm-match { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--ok); background: rgba(31,169,124,.1); border: 1px solid rgba(31,169,124,.3); border-radius: 999px; padding: 4px 12px; margin: -6px 0 14px; }
.sm-note { font-size: 12px; color: var(--mut); margin: 12px 0 0; }
.sm-rec { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--brand-deep); background: var(--brand-soft); border-radius: 999px; padding: 5px 13px; margin: -4px 0 12px; }
.sm-sub { font-size: 13.5px; color: var(--mut); margin: 0 0 18px; }
.smodal-card .f-field { margin-bottom: 14px; }
.sm-done { text-align: center; padding: 12px 4px 6px; }
.sm-done-ic { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(31,169,124,.12); color: var(--ok); }
.sm-done h3 { margin-bottom: 20px; }
.sm-done .btn { width: 100%; }
.sm-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.sm-row .v { font-weight: 700; white-space: nowrap; }
.sm-actions { display: grid; gap: 10px; margin-top: 24px; }
.sm-actions .btn { width: 100%; }

/* ---------- Why Us ---------- */
.wu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.wu-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.wu-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.wu-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), #1A4A7A); color: #fff; margin-bottom: 18px; }
.wu-card:nth-child(4n+2) .wu-ic { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); }
.wu-card h3 { font-size: 16px; margin-bottom: 8px; }
.wu-card p { font-size: 13.5px; color: var(--mut); }

/* ---------- Journey ---------- */
.jr { list-style: none; position: relative; max-width: 880px; margin: 0 auto; }
.jr::before {
  content: ""; position: absolute; inset-block: 8px; inset-inline-start: 27px; width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--line));
}
.jr-step { position: relative; padding: 0 0 36px 78px; }
[dir="rtl"] .jr-step { padding: 0 78px 36px 0; }
.jr-step:last-child { padding-bottom: 0; }
.jr-n {
  position: absolute; inset-inline-start: 0; top: 0; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand); color: var(--brand-deep);
  font-family: 'Poppins'; font-weight: 700; font-size: 19px;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(39,170,225,.2); z-index: 1;
}
.jr-step h3 { font-size: 17.5px; margin: 8px 0 6px; }
.jr-step p { font-size: 14.5px; color: var(--mut); max-width: 560px; }

/* ---------- Testimonials ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tst-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.tst-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tst-stars { color: #F5B50A; font-size: 15px; letter-spacing: 3px; margin-bottom: 14px; }
.tst-text { font-size: 14.5px; color: var(--ink); flex: 1; }
.tst-text::before { content: "“"; color: var(--brand); font-size: 34px; line-height: 0; vertical-align: -12px; margin-inline-end: 4px; font-family: Georgia, serif; }
.tst-who { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.tst-av {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--hopkins)); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 15px; font-family: 'Poppins';
}
.tst-name { font-weight: 700; font-size: 14.5px; color: var(--navy); }
.tst-cty { font-size: 12.5px; color: var(--mut); }
.tst-note { text-align: center; font-size: 12px; color: var(--mut); margin-top: 26px; opacity: .8; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] { border-color: rgba(39,170,225,.5); box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 19px 22px; font-weight: 600; font-size: 15.5px; color: var(--navy); font-family: 'Poppins';
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-pl {
  margin-inline-start: auto; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.faq-item[open] .faq-pl { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-a { padding: 0 22px 20px; font-size: 14.5px; color: var(--mut); line-height: 1.7; }

/* ---------- Contact ---------- */
.sec-contact .sec-head { margin-bottom: 44px; }
.ct-grid { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; }
.ct-form {
  background: #fff; border-radius: 24px; padding: 34px 32px; box-shadow: var(--shadow-lg);
}
.f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.f-field { margin-bottom: 16px; min-width: 0; }
.f-field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.f-field input, .f-field select, .f-field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 11px; padding: 13px 15px;
  background: #fff; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s;
}
.f-field input:focus, .f-field select:focus, .f-field textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(39,170,225,.15);
}
.f-field textarea { resize: vertical; }
.f-privacy { font-size: 12px; color: var(--mut); margin: 6px 0 18px; }
.f-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.f-actions .btn { flex: 1; min-width: 200px; }
.f-note { margin-top: 14px; font-size: 13px; color: var(--ok); font-weight: 600; }
.f-recaptcha { margin-top: 12px; font-size: 11px; color: var(--mut); opacity: .8; }
.f-recaptcha a { color: var(--brand-deep); text-decoration: underline; }
/* badge hidden — attribution shown in .f-recaptcha instead (Google-compliant) */
.grecaptcha-badge { visibility: hidden; }
.f-err { border-color: #E5484D !important; }

/* gender — required on every lead form (prices differ for women/men) */
.f-gbtns { display: flex; gap: 10px; }
.f-gbtns button, .f-gopt span {
  display: block; width: 100%; text-align: center; padding: 12px 10px; border: 1.5px solid var(--line);
  border-radius: 11px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600;
  font-family: inherit; cursor: pointer; transition: border-color .2s, background .2s, color .2s;
}
.f-gbtns button.sel { background: var(--navy); border-color: var(--navy); color: #fff; }
.f-gbtns button:disabled { cursor: default; opacity: .92; }
.f-gopt { flex: 1; min-width: 0; }
.f-gopt input { position: absolute; opacity: 0; pointer-events: none; }
.f-gopt input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.f-gopt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(39,170,225,.3); }
.f-gbtns.f-err button, .f-gbtns.f-err .f-gopt span { border-color: #E5484D; }

.ct-direct {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px; padding: 28px 26px; backdrop-filter: blur(10px);
}
.ct-direct h3 { color: #fff; font-size: 17px; margin-bottom: 18px; }
.ct-card {
  display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md);
  padding: 15px 16px; margin-bottom: 11px; color: #fff; font-size: 13.5px;
  transition: background .2s, transform .2s var(--ease);
}
.ct-card:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.ct-card strong { font-size: 14.5px; }
.ct-ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(39,170,225,.2); color: #6FD0F7; display: grid; place-items: center; flex: none; }
.ct-ic-wa { background: rgba(37,211,102,.18); color: #5EEAB8; }
.ct-hours { color: rgba(255,255,255,.6); font-size: 12.5px; margin: 16px 0 20px; }
.ct-badge { height: 64px; width: auto; margin: 0 auto; filter: drop-shadow(0 4px 12px rgba(0,0,0,.3)); }

/* ---------- Footer ---------- */
.ftr { background: #081D33; color: rgba(255,255,255,.75); padding: 64px 0 28px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.ftr-logo { height: 44px; width: auto; margin-bottom: 18px; }
.ftr-brand p { font-size: 14px; max-width: 360px; }
.ftr-social { display: flex; gap: 10px; margin-top: 18px; }
.ftr-soc {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.8);
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.ftr-soc:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.ftr-col h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.ftr-col a { display: block; font-size: 14px; padding: 5px 0; color: rgba(255,255,255,.7); transition: color .2s; }
.ftr-col a:hover { color: var(--brand); }
.ftr-langs { display: flex; flex-wrap: wrap; gap: 6px; }
.ftr-langs a { display: inline-block; font-size: 12px; font-weight: 600; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 5px 12px; }
.ftr-langs a:hover { border-color: var(--brand); color: var(--brand); }
.ftr-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.ftr-disc { font-size: 12px; color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; line-height: 1.7; }
.ftr-bottom { font-size: 12.5px; color: rgba(255,255,255,.45); margin-top: 18px; }
.ftr-credit { font-size: 11.5px; color: rgba(255,255,255,.35); margin-top: 8px; line-height: 1.7; }
.ftr-credit a { color: rgba(255,255,255,.5); }
.ftr-credit a:hover { color: var(--brand); }

/* ---------- Form consent checkbox ---------- */
.f-consent { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; font-size: 12.5px; color: var(--mut); cursor: pointer; }
.f-consent input { width: 18px; height: 18px; flex: none; margin-top: 1px; accent-color: var(--brand); cursor: pointer; }
.f-consent a { color: var(--brand-deep); text-decoration: underline; }
.f-consent.f-err { color: #E5484D; }
.f-consent.f-err input { outline: 2px solid #E5484D; outline-offset: 2px; border-radius: 4px; }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 980;
  background: rgba(255,255,255,.97); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(11,42,74,.10);
  transform: translateY(100%); transition: transform .4s var(--ease);
}
.cookie-banner.show { transform: none; }
.cookie-banner-in {
  max-width: 1180px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.cookie-banner-txt { font-size: 13.5px; color: var(--ink); flex: 1; min-width: 240px; margin: 0; }
.cookie-link { background: none; border: none; color: var(--brand-deep); font-weight: 600; text-decoration: underline; font-size: 13.5px; cursor: pointer; padding: 0; }
.cookie-acts { display: flex; gap: 10px; flex: none; }
.cookie-acts .btn { white-space: nowrap; }

/* ---------- Cookie policy modal ---------- */
.cmodal {
  position: fixed; inset: 0; z-index: 1010; display: grid; place-items: center; padding: 20px;
  background: rgba(11,42,74,.55); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: .3s;
}
.cmodal.show { opacity: 1; visibility: visible; }
.cmodal-card {
  position: relative; background: #fff; border-radius: 22px; max-width: 580px; width: 100%;
  max-height: 86vh; overflow: auto; padding: 34px 32px; box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(.98); transition: .3s var(--ease);
}
.cmodal.show .cmodal-card { transform: none; }
.cmodal-x { position: absolute; top: 16px; inset-inline-end: 18px; background: none; border: none; font-size: 26px; line-height: 1; color: var(--mut); cursor: pointer; }
.cmodal-card h3 { font-size: 21px; margin-bottom: 16px; }
.cmodal-card h4 { font-size: 14.5px; color: var(--navy); margin: 16px 0 4px; }
.cmodal-card p { font-size: 13.5px; color: var(--mut); line-height: 1.65; }
.cmodal-manage { margin-top: 14px; font-size: 12.5px; }
.cmodal-acts { display: flex; gap: 10px; margin-top: 24px; }
.cmodal-acts .btn { flex: 1; }

.ftr-cookie-link { background: none; border: none; color: rgba(255,255,255,.55); font-size: 12.5px; text-decoration: underline; cursor: pointer; padding: 0; font-family: inherit; }
.ftr-cookie-link:hover { color: var(--brand); }
/* lift the floating WhatsApp above the consent banner while it is visible */
.has-cookie-banner .wa-float { bottom: 122px; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 950;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .25s var(--ease);
  animation: waIn 1s 2s var(--ease) backwards;
}
@keyframes waIn { from { transform: scale(0); } }
.wa-float:hover { transform: scale(1.1); }

/* ---------- Reveal animations ----------
   SADECE transform: opacity/blur ile gizleme YASAK — animasyon saati duran (arka planda
   açılan) sekmede IntersectionObserver gecikirse içerik yine de okunur kalır. */
.reveal { transform: translateY(26px); transition: transform .7s var(--ease); }
.reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hdr-nav { display: none; }
  .burger { display: block; }
  .hdr-nav.open {
    display: flex; position: fixed; top: 64px; inset-inline: 12px;
    flex-direction: column; background: #fff; border-radius: var(--r-md);
    box-shadow: var(--shadow-lg); padding: 14px; gap: 2px; z-index: 800;
  }
  .hdr-nav.open a { color: var(--ink); padding: 13px 16px; font-size: 15px; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3)::before { display: none; }
  .pkg-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cfg { grid-template-columns: 1fr; }
  .cfg-sum { position: static; }
  .wu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) and (min-width: 681px) {
  .accr-band { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .sec { padding: 64px 0; }
  .accr-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accr-card { font-size: 10.5px; padding: 10px 11px; }
  .accr-card img { height: 34px; }
  .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-wrap { margin-bottom: 40px; border-radius: var(--r-md); }
  .ftr-actions .btn { width: 100%; }
  .hero-in { padding: 120px 20px 70px; }
  .hero-trust { gap: 14px; }
  .trust-sep { display: none; }
  .trust-img { height: 46px; }
  .hdr-cta { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 26px 12px; }
  .stat-v { font-size: 30px; }
  .ai-body { padding: 28px 20px 30px; }
  .ai-opts.cols2 { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cfg-panels { grid-template-columns: 1fr; }
  .cfg-minis { grid-template-columns: 1fr; }
  .wu-grid { grid-template-columns: 1fr; }
  .tst-grid { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr; gap: 28px; }
  .jr::before { inset-inline-start: 23px; }
  .jr-n { width: 48px; height: 48px; font-size: 16px; }
  .jr-step { padding: 0 0 30px 66px; }
  [dir="rtl"] .jr-step { padding: 0 66px 30px 0; }
  .wa-float { width: 54px; height: 54px; bottom: 18px; inset-inline-end: 18px; }
}

/* ============================================================
   AI HEALTH MATCH emphasis pack (24.07.2026)
   nav pill · hero CTA glow · section ring · left-edge float · video stories
   ============================================================ */

/* --- header nav: AI Health Match as a gradient pill (works over hero + solid header) --- */
.hdr-nav .nav-ai {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(100deg, var(--brand), #1F7A6C);
  color: #fff; padding: 8px 15px; border-radius: 999px;
  box-shadow: 0 2px 12px rgba(39,170,225,.35);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.hdr-nav .nav-ai:hover { background: linear-gradient(100deg, #3BB7EC, #27947F); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(39,170,225,.5); }
.hdr.solid .hdr-nav .nav-ai { color: #fff; }
.hdr.solid .hdr-nav .nav-ai:hover { background: linear-gradient(100deg, #3BB7EC, #27947F); color: #fff; }

/* --- hero primary CTA: soft radar pulse so the button announces itself --- */
.btn-glow { position: relative; box-shadow: 0 0 0 0 rgba(39,170,225,.55); animation: btnPulse 2.6s var(--ease) infinite; }
@keyframes btnPulse {
  0%   { box-shadow: 0 0 0 0 rgba(39,170,225,.55); }
  60%  { box-shadow: 0 0 0 16px rgba(39,170,225,0); }
  100% { box-shadow: 0 0 0 0 rgba(39,170,225,0); }
}

/* --- AI section (now first section): glowing gradient ring around the shell --- */
#ai-match .ai-shell { border-color: rgba(111,208,247,.35); }
#ai-match .ai-shell::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(111,208,247,.25), 0 0 60px rgba(39,170,225,.28);
}
#ai-match .sec-head h2 { text-shadow: 0 0 34px rgba(39,170,225,.45); }

/* --- left-edge floating AI button (Fast Support style) --- */
.ai-float {
  position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 70;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 9px 16px; border-radius: 0 14px 14px 0;
  background: linear-gradient(180deg, var(--brand), #1F7A6C);
  color: #fff; text-decoration: none;
  box-shadow: 3px 4px 18px rgba(11,42,74,.35);
  transition: padding .2s var(--ease), box-shadow .2s var(--ease);
}
.ai-float:hover { padding-left: 14px; box-shadow: 4px 6px 24px rgba(39,170,225,.5); color: #fff; }
.ai-float-ic { display: grid; place-items: center; }
.ai-float-txt {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; white-space: nowrap;
}
[dir="rtl"] .ai-float { left: auto; right: 0; border-radius: 14px 0 0 14px; box-shadow: -3px 4px 18px rgba(11,42,74,.35); }
[dir="rtl"] .ai-float:hover { padding-left: 9px; padding-right: 14px; }

/* --- patient stories: vertical YouTube Shorts grid (replaces written testimonials) --- */
.tst-videos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1040px; margin: 0 auto; }
.tst-video {
  position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden;
  background: #0B2A4A; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.tst-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- clickable accreditation badge --- */
.accr-link { cursor: pointer; text-decoration: none; }
.accr-link:hover { transform: translateY(-2px); }

@media (max-width: 1080px) {
  .tst-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
}
@media (max-width: 680px) {
  .hdr-nav .nav-ai { margin: 4px 0; }
  .ai-float { padding: 11px 7px 13px; }
  .ai-float-txt { font-size: 11px; }
  .tst-videos { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-glow { animation: none; }
}

/* ============================================================
   AI HEALTH MATCH — spotlight v2 (27.07.2026)
   rotating gradient ring · breathing halo · gradient headline ·
   trust chips · drifting ambient glows · glowing start button
   ============================================================ */
@property --ai-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

/* rotating conic border ring (falls back to a static gradient ring where @property is unsupported) */
.ai-shell-wrap {
  position: relative; max-width: 724px; margin: 0 auto;
  border-radius: 26px; padding: 2px;
  background: conic-gradient(from var(--ai-angle),
    rgba(39,170,225,.95), rgba(74,222,128,.75), rgba(111,208,247,.95),
    rgba(39,170,225,.35), rgba(39,170,225,.95));
  animation: aiSpin 7s linear infinite;
}
@keyframes aiSpin { to { --ai-angle: 360deg; } }
/* breathing halo behind the card */
.ai-shell-wrap::before {
  content: ""; position: absolute; inset: -26px; border-radius: 48px; z-index: -1;
  background: radial-gradient(closest-side, rgba(39,170,225,.34), rgba(74,222,128,.10) 60%, transparent 75%);
  filter: blur(28px);
  animation: aiBreathe 4.5s ease-in-out infinite alternate;
}
@keyframes aiBreathe { from { opacity: .55; transform: scale(.97); } to { opacity: 1; transform: scale(1.03); } }
/* crisp solid card inside the ring (replaces translucent glass so the ring pops) */
#ai-match .ai-shell {
  max-width: none; border: none; border-radius: 24px;
  background: linear-gradient(168deg, #123A66 0%, #0C2C4E 55%, #0B2A4A 100%);
  backdrop-filter: none;
}
#ai-match .ai-shell::after { box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }

/* gradient headline with soft glow (replaces flat text-shadow) */
#ai-match .sec-head h2 {
  text-shadow: none;
  background: linear-gradient(94deg, #FFFFFF 25%, #6FD0F7 62%, #4ADE80 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 26px rgba(39,170,225,.5));
}
/* twinkling sparkle icon */
#ai-match .ai-spark svg { animation: aiTwinkle 2.8s ease-in-out infinite; }
@keyframes aiTwinkle { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18) rotate(8deg); opacity: .8; } }

/* ambient glow blobs slowly drift (cinema-dark ambient light) */
#ai-match .ai-glow { animation: aiDrift 16s ease-in-out infinite alternate; }
#ai-match .ai-glow-2 { animation-duration: 21s; animation-delay: -7s; }
@keyframes aiDrift { from { transform: translate3d(0,0,0); } to { transform: translate3d(46px, 26px, 0); } }

/* trust chips under the subtitle */
.ai-trust-chips { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.ai-tchip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(39,170,225,.14); border: 1px solid rgba(111,208,247,.4);
  color: #CDEBFA; font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.ai-tchip svg { color: #4ADE80; flex: none; }

/* start button: money-green gradient + radar pulse + lift on hover */
#ai-match #ai-start {
  background: linear-gradient(100deg, var(--brand), #1F9E7C);
  border: none; padding: 16px 34px; font-size: 16.5px;
  box-shadow: 0 8px 26px rgba(39,170,225,.4);
  animation: btnPulse 2.6s var(--ease) infinite;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
#ai-match #ai-start:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 34px rgba(39,170,225,.55); }
/* intro icon gets a glowing ring */
#ai-match .ai-intro-ic { color: #6FD0F7; filter: drop-shadow(0 0 18px rgba(39,170,225,.65)); animation: aiBreathe 3.6s ease-in-out infinite alternate; }

@media (max-width: 680px) {
  .ai-shell-wrap { border-radius: 22px; }
  #ai-match .ai-shell { border-radius: 20px; }
  .ai-tchip { font-size: 12px; padding: 6px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-shell-wrap, .ai-shell-wrap::before, #ai-match .ai-spark svg, #ai-match .ai-glow,
  #ai-match #ai-start, #ai-match .ai-intro-ic { animation: none; }
}

/* ============================================================
   DYNAMIC PAGE PACK (27.07.2026) — de-white the sections,
   richer reveals, drawn-in heading underlines, gradient CTAs,
   card lifts. CSS-only; sticky-safe (backgrounds, no overflow).
   ============================================================ */

/* --- ambient-tinted section backgrounds (no more flat white) --- */
.sec:not(.sec-dark):not(.sec-tint) {
  background:
    radial-gradient(900px 460px at 88% -5%, rgba(39,170,225,.085), transparent 62%),
    radial-gradient(760px 420px at -6% 104%, rgba(31,158,124,.075), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F2F8FC 100%);
}
.sec-tint {
  background:
    radial-gradient(820px 440px at -4% -6%, rgba(39,170,225,.09), transparent 60%),
    radial-gradient(700px 400px at 104% 102%, rgba(31,158,124,.08), transparent 58%),
    linear-gradient(180deg, #F1F7F9 0%, #E9F3F9 100%);
}

/* --- richer scroll reveal: rise + settle (SADECE transform — blur/opacity ile gizleme yasak,
   arka plan sekmesinde içerik kalıcı gizli/bulanık kalabiliyor) --- */
.reveal { transform: translateY(30px) scale(.985); transition: transform .65s var(--ease); }

/* --- section headings: gradient underline draws itself in --- */
.sec-head h2 { position: relative; padding-bottom: 16px; }
.sec-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 64px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), #1F9E7C);
  transform: translateX(-50%) scaleX(0); transform-origin: center;
  transition: transform .7s var(--ease) .3s;
}
.sec-head.in h2::after { transform: translateX(-50%) scaleX(1); }

/* --- hero CTA: same gradient family as the AI Health Match nav pill --- */
.hero-ctas .btn-pri {
  background: linear-gradient(100deg, var(--brand), #1F7A6C);
  border: none;
}
.hero-ctas .btn-pri:hover { background: linear-gradient(100deg, #3BB7EC, #27947F); }

/* --- primary buttons: light sheen sweeps across on hover --- */
.btn-pri { position: relative; overflow: hidden; }
.btn-pri::after {
  content: ""; position: absolute; top: 0; left: -130%;
  width: 55%; height: 100%; transform: skewX(-18deg);
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transition: left .55s var(--ease); pointer-events: none;
}
.btn-pri:hover::after { left: 150%; }

/* --- card micro-interactions: lift + glow on hover --- */
.pkg-card, .wu-card, .why-card, .tst-video, .accr-card, .jr-step { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.pkg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(39,170,225,.4); }
.wu-card:hover, .why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(39,170,225,.35); }
.accr-card:hover { transform: translateY(-3px); }
.tst-video:hover { transform: translateY(-4px) scale(1.015); box-shadow: var(--shadow-md); border-color: rgba(39,170,225,.45); }

@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; }
  .sec-head h2::after { transition: none; transform: translateX(-50%) scaleX(1); }
  .btn-pri::after { display: none; }
}

/* ============================================================
   AI SPOTLIGHT v3 (27.07.2026) — float sağ kenara + AURORA renkleri
   ============================================================ */

/* floating AI button: RIGHT edge now (all directions) */
.ai-float {
  left: auto; right: 0;
  border-radius: 14px 0 0 14px;
  box-shadow: -3px 4px 18px rgba(11,42,74,.35);
  background: linear-gradient(180deg, #27AAE1, #7C5CFF 55%, #1F9E7C);
}
.ai-float:hover { padding-left: 9px; padding-right: 14px; box-shadow: -4px 6px 24px rgba(124,92,255,.5); }

/* AI section: colorful AURORA background (violet + cyan + green + warm accents) */
#ai-match.sec-dark {
  background:
    radial-gradient(880px 560px at 10% 6%, rgba(124,92,255,.42), transparent 60%),
    radial-gradient(820px 540px at 90% 10%, rgba(39,170,225,.46), transparent 60%),
    radial-gradient(900px 620px at 80% 94%, rgba(31,158,124,.4), transparent 62%),
    radial-gradient(640px 460px at 6% 96%, rgba(255,176,32,.14), transparent 58%),
    linear-gradient(158deg, #0A1F3E 0%, #123B6B 48%, #0B2A4A 100%);
}
/* ambient blobs recoloured + brighter */
#ai-match .ai-glow-1 { background: #7C5CFF; opacity: .42; }
#ai-match .ai-glow-2 { background: #1F9E7C; opacity: .38; }

/* kicker pill goes colorful */
#ai-match .kicker {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  background: linear-gradient(100deg, rgba(39,170,225,.28), rgba(124,92,255,.3));
  border: 1px solid rgba(159,140,255,.5); color: #E4F4FD;
}

/* headline picks up violet in the gradient */
#ai-match .sec-head h2 {
  background: linear-gradient(94deg, #FFFFFF 18%, #6FD0F7 46%, #9F8CFF 72%, #4ADE80 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 28px rgba(124,92,255,.55));
}

/* ring: 4-colour conic (cyan → violet → green → cyan) */
.ai-shell-wrap {
  background: conic-gradient(from var(--ai-angle),
    #27AAE1, #7C5CFF 30%, #4ADE80 58%, rgba(39,170,225,.4) 80%, #27AAE1);
}
.ai-shell-wrap::before {
  background: radial-gradient(closest-side, rgba(124,92,255,.36), rgba(39,170,225,.22) 50%, transparent 75%);
}

/* shell: subtle violet sheen at top */
#ai-match .ai-shell {
  background:
    radial-gradient(560px 200px at 50% 0%, rgba(124,92,255,.28), transparent 70%),
    linear-gradient(168deg, #14406E 0%, #0D2F54 55%, #0B2A4A 100%);
}

/* trust chips: each its own colour (cyan / green / violet) */
.ai-tchip:nth-child(1) { background: rgba(39,170,225,.2); border-color: rgba(111,208,247,.55); }
.ai-tchip:nth-child(1) svg { color: #6FD0F7; }
.ai-tchip:nth-child(2) { background: rgba(74,222,128,.16); border-color: rgba(74,222,128,.5); }
.ai-tchip:nth-child(2) svg { color: #4ADE80; }
.ai-tchip:nth-child(3) { background: rgba(124,92,255,.2); border-color: rgba(159,140,255,.55); }
.ai-tchip:nth-child(3) svg { color: #B7A6FF; }

/* start button: animated 3-colour gradient sweep */
#ai-match #ai-start {
  background: linear-gradient(100deg, #27AAE1, #7C5CFF 50%, #1F9E7C);
  background-size: 220% 100%;
  animation: btnPulse 2.6s var(--ease) infinite, aiGradShift 5s ease-in-out infinite alternate;
}
@keyframes aiGradShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

@media (prefers-reduced-motion: reduce) {
  #ai-match #ai-start { animation: none; }
}

/* ============================================================
   AI CENTRE ICON — hero treatment (27.07.2026)
   colourful gradient badge · slowly spinning sparkle ·
   counter-rotating dashed ring · orbiting green comet
   ============================================================ */
#ai-match .ai-intro-ic {
  position: relative; width: 96px; height: 96px; border-radius: 28px;
  background: linear-gradient(135deg, #27AAE1, #7C5CFF 55%, #1F9E7C);
  background-size: 220% 220%;
  color: #fff;
  box-shadow: 0 12px 40px rgba(124,92,255,.5), 0 0 0 1px rgba(255,255,255,.12) inset;
  filter: none;
  animation: aiGradShift 5s ease-in-out infinite alternate, aiBreathe 3.6s ease-in-out infinite alternate;
}
/* the sparkle itself slowly spins */
#ai-match .ai-intro-ic svg { width: 46px; height: 46px; animation: aiSpinSlow 10s linear infinite; }
@keyframes aiSpinSlow { to { transform: rotate(360deg); } }
/* counter-rotating dashed halo */
#ai-match .ai-intro-ic::before {
  content: ""; position: absolute; inset: -13px; border-radius: 36px;
  border: 2px dashed rgba(159,140,255,.65);
  animation: aiSpinSlow 16s linear infinite reverse;
}
/* orbiting green comet */
#ai-match .ai-intro-ic::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 10px; height: 10px; margin: -5px; border-radius: 50%;
  background: #4ADE80; box-shadow: 0 0 14px #4ADE80, 0 0 26px rgba(74,222,128,.6);
  animation: aiOrbit 5.5s linear infinite;
}
@keyframes aiOrbit { from { transform: rotate(0deg) translateY(-66px); } to { transform: rotate(360deg) translateY(-66px); } }

@media (prefers-reduced-motion: reduce) {
  #ai-match .ai-intro-ic svg, #ai-match .ai-intro-ic::before, #ai-match .ai-intro-ic::after { animation: none; }
  #ai-match .ai-intro-ic::after { display: none; }
}

/* ============================================================
   AI SIGNATURE FX (27.07.2026) — neural constellation canvas ·
   travelling ECG heartbeat · live "AI typing" line
   ============================================================ */
/* canvas sits above the glow blobs, below the content */
.ai-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: .6; }
#ai-match .ai-glow { z-index: 0; }
#ai-match .wrap { position: relative; z-index: 2; }

/* ECG heartbeat line between the heading and the card */
.ai-ecg { max-width: 640px; margin: 6px auto 30px; }
.ai-ecg svg { display: block; width: 100%; height: 56px; overflow: visible; }
.ai-ecg-base { stroke: rgba(111,208,247,.15); stroke-width: 2; }
.ai-ecg-pulse {
  stroke: url(#ecgGrad); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 9px rgba(39,170,225,.85));
  stroke-dasharray: 160 840; stroke-dashoffset: 1000;
  animation: ecgRun 2.8s linear infinite;
}
@keyframes ecgRun { to { stroke-dashoffset: 0; } }

/* live "AI typing" line in the intro card */
.ai-type {
  display: flex; justify-content: center; align-items: center; gap: 3px;
  min-height: 24px; margin: 14px 0 2px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: #8FD8F8;
}
.ai-type .ai-caret { width: 2px; height: 16px; border-radius: 1px; background: #4ADE80; animation: caretBlink 1s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }

@media (max-width: 680px) {
  .ai-ecg { margin: 2px auto 24px; }
  .ai-ecg svg { height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-ecg-pulse { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
  .ai-type .ai-caret { animation: none; }
  .ai-net { display: none; }
}

/* ============================================================
   AI PALETTE — TURUNCU DENEMESİ (28.07.2026)
   yeşil aksanlar → turuncu (#FFA135 / #F97316); cyan+violet sabit.
   Geri almak için bu bloğu sil (yeşil kurallar üstte duruyor).
   ============================================================ */
#ai-match.sec-dark {
  background:
    radial-gradient(880px 560px at 10% 6%, rgba(124,92,255,.42), transparent 60%),
    radial-gradient(820px 540px at 90% 10%, rgba(39,170,225,.46), transparent 60%),
    radial-gradient(900px 620px at 80% 94%, rgba(249,115,22,.30), transparent 62%),
    radial-gradient(640px 460px at 6% 96%, rgba(255,176,32,.12), transparent 58%),
    linear-gradient(158deg, #0A1F3E 0%, #123B6B 48%, #0B2A4A 100%);
}
#ai-match .ai-glow-2 { background: #F97316; opacity: .3; }
.ai-shell-wrap {
  background: conic-gradient(from var(--ai-angle),
    #27AAE1, #7C5CFF 30%, #FFA135 58%, rgba(39,170,225,.4) 80%, #27AAE1);
}
#ai-match .sec-head h2 {
  background: linear-gradient(94deg, #FFFFFF 18%, #6FD0F7 46%, #9F8CFF 70%, #FFA135 100%);
  -webkit-background-clip: text; background-clip: text;
}
#ai-match .sec-head.in h2::after { background: linear-gradient(90deg, var(--brand), #FFA135); }
.ai-tchip:nth-child(2) { background: rgba(255,161,53,.16); border-color: rgba(255,177,84,.55); }
.ai-tchip:nth-child(2) svg { color: #FFB154; }
#ai-match #ai-start { background: linear-gradient(100deg, #27AAE1, #7C5CFF 50%, #F97316); background-size: 220% 100%; }
#ai-match .ai-intro-ic { background: linear-gradient(135deg, #27AAE1, #7C5CFF 55%, #F97316); background-size: 220% 220%; }
#ai-match .ai-intro-ic::after { background: #FFA135; box-shadow: 0 0 14px #FFA135, 0 0 26px rgba(255,161,53,.6); }
.ai-type .ai-caret { background: #FFA135; }
.ai-float { background: linear-gradient(180deg, #27AAE1, #7C5CFF 55%, #F97316); }

/* ============================================================
   TRIO GRADYAN CTA'LAR (28.07.2026) — hero + header butonları
   sağdaki .ai-float ile aynı palet: cyan → violet → orange
   ============================================================ */
.hdr-nav .nav-ai { background: linear-gradient(100deg, #27AAE1, #7C5CFF 55%, #F97316); }
.hdr-nav .nav-ai:hover,
.hdr.solid .hdr-nav .nav-ai:hover { background: linear-gradient(100deg, #3BB7EC, #8E70FF 55%, #FF8A3D); color: #fff; }

.hero-ctas .btn-pri { background: linear-gradient(100deg, #27AAE1, #7C5CFF 55%, #F97316); }
.hero-ctas .btn-pri:hover { background: linear-gradient(100deg, #3BB7EC, #8E70FF 55%, #FF8A3D); }

.hdr-cta { background: linear-gradient(100deg, #27AAE1, #7C5CFF 55%, #F97316); border: none; }
.hdr-cta:hover { background: linear-gradient(100deg, #3BB7EC, #8E70FF 55%, #FF8A3D); }

/* ============================================================
   SUBMIT LOADING STATE (28.07.2026) — duplicate-click koruması
   (spinner ::before'da; ::after btn-pri sheen'e ait)
   ============================================================ */
.btn.is-loading { pointer-events: none; color: transparent !important; position: relative; }
.btn.is-loading svg { opacity: 0; }
.btn.is-loading::before {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 21px; height: 21px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: btnSpin .7s linear infinite;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .btn.is-loading::before { animation-duration: 1.4s; }
}
