/* eTabip v2 marketplace landing — §14 canlı, hareketli, dikkat çekici.
   §15 pazarlama/psikoloji: gradient headline, sosyal ispat, karşılaştırma,
   sürtünmesiz CTA, güven işaretleri. */

:root {
  --c-primary: #6b1e8a;
  --c-primary-2: #8a2ea6;
  --c-primary-3: #a94ac4;
  --c-accent: #ffb020;
  --c-accent-2: #ff8a00;
  --c-calm: #22c1c3;
  --c-calm-2: #178e91;
  --c-text: #16112a;
  --c-text-soft: #4b3a6b;
  --c-bg: #fdfaff;
  --c-surface: #ffffff;
  --c-border: #e7dbf3;
  --c-dark: #170928;
  --c-dark-2: #250d3d;

  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px;
  --shadow-1: 0 2px 12px rgba(107,30,138,.08);
  --shadow-2: 0 20px 50px rgba(107,30,138,.20);
  --shadow-glow: 0 20px 60px rgba(255,176,32,.35);

  --f-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  color: var(--c-text);
  background: var(--c-bg);
  font: 16px/1.55 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 12px; line-height: 1.15; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.5px; }
h3 { font-size: 20px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 820px; }

/* ─── NAV ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(253,250,255,.85);
  border-bottom: 1px solid var(--c-border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--c-primary); }
.brand-mark {
  width: 30px; height: 30px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #fff 0 3px, transparent 3.5px),
    conic-gradient(from 0deg, var(--c-primary), var(--c-accent), var(--c-calm), var(--c-primary));
  box-shadow: 0 4px 14px rgba(107,30,138,.35);
  animation: spin 12s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .brand-mark { animation: none; } }
.brand-word { letter-spacing: -.5px; }

.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { color: var(--c-text-soft); font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--c-primary); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: none;
  font-weight: 700; letter-spacing: .1px; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-1); }
.btn-primary:hover { background: var(--c-primary-2); transform: translateY(-1px); }
.btn-accent {
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
  color: #2a1400; box-shadow: var(--shadow-glow);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 25px 60px rgba(255,138,0,.45); }
.btn-ghost {
  background: transparent; color: var(--c-primary);
  border: 1.5px solid var(--c-border);
}
.btn-ghost:hover { border-color: var(--c-primary); background: rgba(107,30,138,.05); }
.btn-ghost-light {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35);
}
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.big-cta { padding: 16px 30px; font-size: 17px; border-radius: 999px; }

.chip {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(107,30,138,.09); color: var(--c-primary);
  font-size: 13px; font-weight: 700; letter-spacing: .3px;
  border: 1px solid rgba(107,30,138,.15);
}
.chip-dark {
  background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2);
}
.chip.pulse { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(107,30,138,.35); } 50% { box-shadow: 0 0 0 10px rgba(107,30,138,0); } }

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at -10% -10%, rgba(255,176,32,.18), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(34,193,195,.20), transparent 55%),
    linear-gradient(180deg, #fdfaff 0%, #f4e8ff 100%);
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .55; pointer-events: none;
  animation: float 14s ease-in-out infinite;
}
.blob.b1 { width: 420px; height: 420px; left: -100px; top: 20%; background: #cd9df0; }
.blob.b2 { width: 340px; height: 340px; right: -80px; top: 5%; background: #ffd58b; animation-delay: -3s; }
.blob.b3 { width: 300px; height: 300px; left: 45%; top: 60%; background: #8be9eb; animation-delay: -6s; }
@keyframes float {
  0%,100% { transform: translateY(0) translateX(0); }
  50%     { transform: translateY(-40px) translateX(30px); }
}
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero-copy h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.02;
  margin-top: 20px;
}
.gradient-text {
  background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-primary-2) 40%, var(--c-accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s ease-in-out infinite;
}
.gradient-text-light {
  background: linear-gradient(90deg, #ffd58b 0%, #ffb020 60%, #ff8a00 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes sheen { 0%,100% { filter: saturate(1); } 50% { filter: saturate(1.35); } }

.lead { font-size: clamp(16px, 1.9vw, 19px); color: var(--c-text-soft); max-width: 560px; margin: 18px 0; }
.hero-copy .lead strong { color: var(--c-primary); font-weight: 700; }

.hero-search { margin-top: 22px; max-width: 620px; }
.hero-search-inner {
  display: grid; grid-template-columns: 1.7fr 1fr auto; gap: 10px;
  background: #fff; padding: 10px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-2);
}
@media (max-width: 640px) { .hero-search-inner { grid-template-columns: 1fr; border-radius: 22px; } }

.field { display: flex; align-items: center; gap: 8px; padding: 6px 12px; }
.field .ic { font-size: 18px; opacity: .7; }
.field input {
  border: none; background: transparent; outline: none; width: 100%;
  padding: 8px 0; font-size: 15px; color: var(--c-text);
}
.field input::placeholder { color: #999; }
.field-city { border-left: 1px solid var(--c-border); }
@media (max-width: 640px) { .field-city { border-left: 0; border-top: 1px solid var(--c-border); } }

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px;
  color: var(--c-text-soft); font-size: 14px; font-weight: 600;
}
.hero-badges span::before { content: ''; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mini-chip {
  padding: 8px 14px; background: rgba(255,255,255,.8);
  border-radius: 999px; border: 1px solid var(--c-border);
  color: var(--c-primary); font-size: 13px; font-weight: 600;
  transition: transform .18s ease, background .18s ease;
}
.mini-chip:hover { background: #fff; transform: translateY(-2px); }

/* Hero visual — stacked, floating clinician cards */
.hero-visual {
  position: relative; height: 460px;
}
.stack-card {
  position: absolute; background: #fff; border-radius: var(--r-xl);
  padding: 20px; box-shadow: var(--shadow-2);
  border: 1px solid var(--c-border);
  min-width: 300px;
  animation: floaty 8s ease-in-out infinite;
}
.stack-card.sc-1 { top: 20px; left: 0; z-index: 3; }
.stack-card.sc-2 { top: 220px; left: 40%; z-index: 2; min-width: 250px; animation-delay: -2s; }
.stack-card.sc-3 { top: 340px; left: 10px; z-index: 1; min-width: 260px; animation-delay: -4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .stack-card { animation: none; } }
@media (max-width: 960px) { .hero-visual { height: 500px; margin-top: 20px; } .stack-card.sc-1 { left: 5%; } .stack-card.sc-2 { left: 25%; } .stack-card.sc-3 { left: 5%; } }

.sc-head { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; margin-bottom: 12px; }
.sc-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.sc-name { font-weight: 800; font-size: 15px; }
.sc-sub  { color: var(--c-text-soft); font-size: 12px; }
.sc-live {
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: rgba(0,180,80,.12); color: #007a2b;
}
.sc-slots { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.slot {
  padding: 6px 12px; background: rgba(107,30,138,.07); color: var(--c-primary);
  border-radius: 999px; font-size: 13px; font-weight: 700;
}
.slot.picked { background: var(--c-primary); color: #fff; }
.sc-cta { color: var(--c-primary); font-weight: 800; font-size: 14px; }

.sc-head-2 { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.wa { width: 32px; height: 32px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; }
.wa-title { font-weight: 800; }
.wa-msg { background: #f2ffe6; padding: 12px; border-radius: 12px; font-size: 14px; color: #163d0b; line-height: 1.4; }
.wa-msg b { color: #0f5a02; }

.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(107,30,138,.08); color: var(--c-primary); }
.pill.success { background: rgba(0,180,80,.14); color: #007a2b; }
.mini-stat { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.stat-num { font-size: 26px; font-weight: 800; color: var(--c-primary); }
.stat-lbl { font-size: 12px; color: var(--c-text-soft); }

/* ─── MARQUEE ────────────────────────────────────────── */
.marquee-wrap {
  padding: 30px 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border);
  background: #fff; overflow: hidden;
}
.marquee { overflow: hidden; }
.marquee-track {
  display: inline-flex; gap: 22px;
  color: var(--c-text-soft); font-weight: 700; letter-spacing: .3px;
  white-space: nowrap;
  animation: scroll 28s linear infinite;
}
.marquee-track span { display: inline-block; }
.marquee-track span:nth-child(even) { color: var(--c-primary); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ─── SECTIONS ──────────────────────────────────────── */
.section { padding: 90px 0; }
.section-soft { background: linear-gradient(180deg, #fff 0%, #f6ecff 100%); }
.section-dark {
  background: radial-gradient(600px 300px at 90% 0%, rgba(255,176,32,.15), transparent 60%),
              linear-gradient(180deg, var(--c-dark) 0%, var(--c-dark-2) 100%);
  color: #f2e6ff;
}
.section-dark .lead { color: #d9c7ee; }
.section-dark h2 { color: #fff; }

.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { margin-top: 12px; }
.section-head.light h2 { color: #fff; }

.three-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .three-cards { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--c-surface); padding: 30px; border-radius: var(--r-lg);
  box-shadow: var(--shadow-1); border: 1px solid var(--c-border);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.feature-ic {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 14px;
}
.feature-card h3 { color: var(--c-primary); }
.feature-card p { color: var(--c-text-soft); margin: 0; }

.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
@media (max-width: 900px) { .grid-6 { grid-template-columns: 1fr; } }
.feat {
  background: rgba(255,255,255,.06); padding: 22px;
  border-radius: var(--r-md); border: 1px solid rgba(255,255,255,.1);
  display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto;
  column-gap: 14px; row-gap: 4px; align-items: center;
  transition: background .18s ease, transform .18s ease;
}
.feat:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.feat-ic { grid-row: 1 / span 2;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.feat b { color: #fff; }
.feat span { color: #d9c7ee; font-size: 14px; }

.big-cta { display: inline-block; margin: 20px auto 0; }
.section-dark .big-cta { color: #2a1400; }

/* ─── STEPS ─────────────────────────────────────────── */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.steps li {
  display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start;
  padding: 24px; background: #fff; border-radius: var(--r-lg);
  border: 1px solid var(--c-border); box-shadow: var(--shadow-1);
}
.step-n {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-3));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px;
}
.steps b { display: block; font-size: 17px; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--c-text-soft); }

/* ─── PRICING ───────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 12px; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.price-card {
  background: #fff; border-radius: var(--r-xl); padding: 34px;
  border: 1px solid var(--c-border); box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.price-card.featured {
  border: 2px solid var(--c-accent);
  box-shadow: 0 20px 60px rgba(255,176,32,.25);
}
.p-badge {
  display: inline-block; align-self: flex-start;
  padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 800;
  background: rgba(107,30,138,.1); color: var(--c-primary);
}
.p-badge.accent { background: rgba(255,176,32,.15); color: #a26400; }
.price { font-size: 46px; font-weight: 900; color: var(--c-text); letter-spacing: -1px; }
.price .cur { font-size: 24px; vertical-align: super; margin-right: 4px; }
.price .per { font-size: 14px; color: var(--c-text-soft); font-weight: 500; margin-left: 6px; }
.price-card ul { list-style: none; padding: 0; margin: 0; }
.price-card li { padding: 8px 0; color: var(--c-text-soft); }
.price-card .btn { align-self: flex-start; margin-top: 14px; }

.compare { margin-top: 60px; }
.compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: #fff; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-1);
}
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--c-border); }
.compare-table th { background: rgba(107,30,138,.06); color: var(--c-primary); font-weight: 800; }
.compare-table td.hi { color: var(--c-primary); font-weight: 800; }
.compare-table tbody tr:hover { background: rgba(107,30,138,.03); }

/* ─── TESTIMONIAL ───────────────────────────────────── */
.section-quote { background: linear-gradient(180deg,#f6ecff 0%,#fdfaff 100%); }
.section-quote blockquote {
  max-width: 800px; margin: 0 auto; padding: 40px; background: #fff;
  border-radius: var(--r-lg); box-shadow: var(--shadow-1);
  position: relative;
}
.section-quote blockquote::before {
  content: '"'; position: absolute; top: -20px; left: 20px;
  font-size: 140px; line-height: 1; color: rgba(107,30,138,.18);
}
.section-quote blockquote p {
  font-size: clamp(18px, 2.2vw, 22px); color: var(--c-text);
  line-height: 1.45; font-weight: 500; margin-top: 0;
}
.section-quote blockquote b { color: var(--c-primary); }
.section-quote footer { color: var(--c-text-soft); margin-top: 12px; font-size: 14px; }
.verified {
  display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  background: rgba(0,180,80,.14); color: #007a2b; font-weight: 700; font-size: 12px;
}

/* ─── FAQ ───────────────────────────────────────────── */
details {
  background: #fff; padding: 18px 22px; border-radius: var(--r-md);
  border: 1px solid var(--c-border); margin-bottom: 10px;
  transition: box-shadow .2s ease;
}
details[open] { box-shadow: var(--shadow-1); }
details summary {
  cursor: pointer; font-weight: 800; font-size: 16px; color: var(--c-text);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
details summary::after { content: '+'; font-size: 24px; color: var(--c-primary); transition: transform .2s ease; }
details[open] summary::after { content: '−'; transform: rotate(180deg); }
details p { margin: 12px 0 0; color: var(--c-text-soft); }

/* ─── FINAL CTA ─────────────────────────────────────── */
.final-cta {
  padding: 100px 0;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(500px 300px at 50% 0%, rgba(255,176,32,.25), transparent 60%),
    linear-gradient(180deg, var(--c-primary) 0%, var(--c-dark-2) 100%);
}
.final-cta h2 { font-size: clamp(32px, 5vw, 52px); color: #fff; }
.final-cta p  { color: #ead8ff; font-size: 18px; margin-bottom: 24px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ────────────────────────────────────────── */
.footer {
  background: #0f0620; color: #cfbcea;
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px;
  padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 12px; }
.footer a { display: block; padding: 4px 0; color: #cfbcea; }
.footer a:hover { color: #fff; }
.footer-brand p { color: #a89bc4; max-width: 300px; }
.copy { padding-top: 20px; color: #7c6d99; font-size: 13px; text-align: center; }

/* ─── WhatsApp FAB ───────────────────────────────────── */
.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 15px 30px rgba(37,211,102,.4);
  transition: transform .18s ease;
}
.wa-fab:hover { transform: scale(1.08); }
