/* ============================================================
   Gıdı Eritme — Dr. Pınar Cömert
   Palet: pastel yeşil zemin, koyu antrasit metin, orman yeşili vurgu
   ============================================================ */

:root {
  --sage: #eff7f1;
  --sage-deep: #e2f0e6;
  --ink: #1e2a22;
  --ink-soft: #56655b;
  --green: #4f9d72;
  --green-dark: #397a58;
  --green-soft: #d7ecdd;
  --leaf: #e6f3ea;
  --white: #fdfefc;
  --success: #2e6b46;
  --error: #b3261e;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 8px 30px rgba(30, 42, 34, 0.08);
  --shadow-soft: 0 4px 16px rgba(30, 42, 34, 0.06);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --header-h: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sage);
  -webkit-font-smoothing: antialiased;
}

/* Not: Gömülü Gradio widget'ının koyu teması, "body" etiketine doğrudan
   (kapsamsız) koyu arka plan, açık yazı rengi ve farklı bir font enjekte
   ediyor. Daha yüksek özgüllükteki bu kural sayfanın kendi görünümünü
   geri açar. */
html body {
  background: var(--sage) !important;
  color: var(--ink) !important;
  font-family: var(--font-body) !important;
}

img, video, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--green-dark); }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.container-narrow { width: min(820px, 100% - 2.5rem); }

/* ---------- Erişilebilirlik ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--white);
  padding: 0.75rem 1.25rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.8rem 1.8rem;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn-primary {
  background: var(--green); color: var(--white);
  box-shadow: 0 6px 18px rgba(79, 157, 114, 0.34);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(57, 122, 88, 0.4); }

/* Kendi kendine yavaşça tekrarlanan, dikkat çekici "tıkla" animasyonu */
.cta-pulse { position: relative; animation: ctaBreathe 2.6s ease-in-out infinite; }
.cta-pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid var(--green); opacity: 0; pointer-events: none;
  animation: ctaRipple 2.6s ease-out infinite;
}
@keyframes ctaBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
@keyframes ctaRipple {
  0% { transform: scale(1); opacity: 0.55; }
  70%, 100% { transform: scale(1.18); opacity: 0; }
}
.cta-pulse:hover, .cta-pulse:focus-visible { animation-play-state: paused; }
.cta-pulse:hover::after, .cta-pulse:focus-visible::after { animation-play-state: paused; opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .cta-pulse, .cta-pulse::after { animation: none; }
}
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--sage); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(239, 247, 241, 0.84);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(30, 42, 34, 0.07);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-soft); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
  transition: min-height 0.25s ease;
}
.site-header.scrolled .header-inner { min-height: 64px; }

.brand { text-decoration: none; }
.brand-logo { width: 168px; height: auto; transition: width 0.25s ease; }
.site-header.scrolled .brand-logo { width: 140px; }

.main-nav { display: flex; align-self: stretch; gap: 0.2rem; }
.nav-item { position: relative; display: flex; align-items: center; }
.main-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 0.55rem 0.9rem; border-radius: 10px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.main-nav a:hover, .main-nav a:focus-visible, .nav-item.active a { background: rgba(30, 42, 34, 0.055); }
.nav-item::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0;
  height: 3px; border-radius: 3px 3px 0 0;
  background: var(--green);
  opacity: 0; transform: scaleX(0.6);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.nav-item:hover::after, .nav-item:focus-within::after, .nav-item.active::after { opacity: 1; transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }

.lang-switch {
  display: flex; background: var(--sage-deep); border-radius: 999px; padding: 3px;
}
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-family: var(--font-body);
  font-weight: 700; font-size: 0.82rem; color: var(--ink-soft);
  padding: 0.42rem 0.75rem; min-width: 44px; min-height: 34px;
  border-radius: 999px; transition: background-color 0.15s, color 0.15s;
}
.lang-switch a.active { background: var(--ink); color: var(--sage); }

.phone-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: var(--white);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.phone-btn:hover { background: var(--green-dark); transform: translateY(-2px); }

.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
}
.menu-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; margin-inline: auto; transition: transform 0.2s, opacity 0.2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; padding: 0.5rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(30, 42, 34, 0.07);
}
.mobile-nav a {
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.05rem;
  padding: 0.85rem 0.25rem; border-bottom: 1px solid rgba(30, 42, 34, 0.06);
}
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav-social { padding: 1rem 0.25rem 0.25rem; gap: 0.8rem; }

/* Mobil menü açıkken arkadaki içeriği hafifçe bulanıklaştır (sabit CTA hariç) */
body.mobile-nav-open #main,
body.mobile-nav-open .site-footer {
  filter: blur(4px);
  pointer-events: none;
  transition: filter 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  background: var(--sage);
}
.hero-blob {
  position: absolute; z-index: 0; border-radius: 50%; filter: blur(70px); opacity: 0.6; pointer-events: none;
}
.hero-blob-1 { width: 480px; height: 480px; background: var(--green-soft); top: -140px; right: -100px; }
.hero-blob-2 { width: 380px; height: 380px; background: var(--leaf); bottom: -140px; left: -120px; }

.hero-inner {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem; align-items: center;
}

.hero-copy { max-width: 42rem; }

.eyebrow {
  display: inline-block; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.03em;
  color: var(--green-dark);
  background: rgba(215, 236, 221, 0.9); border-radius: var(--radius); padding: 0.55rem 1.1rem; margin-bottom: 1.2rem;
}

h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.14;
  letter-spacing: -0.01em; margin-bottom: 1.2rem;
}

.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink-soft); max-width: 34rem; margin-bottom: 1.8rem; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1rem; }

.hero-micro { font-size: 0.92rem; font-weight: 600; color: var(--green-dark); }

/* Doktor fotoğrafı; keskin bir çerçeve/kart olmadan, kenarları yumuşak bir
   degrade ile zemine karışacak şekilde yer alır. */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.hero-visual-photo {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 520px; height: 520px;
  object-fit: cover; object-position: center 18%;
  background: transparent;
  -webkit-mask-image: radial-gradient(circle, black 40%, rgba(0, 0, 0, 0.55) 62%, transparent 84%);
  mask-image: radial-gradient(circle, black 40%, rgba(0, 0, 0, 0.55) 62%, transparent 84%);
  opacity: 0.92;
  pointer-events: none;
}

/* ---------- Bölüm iskeleti ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--sage-deep); }

.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.2;
  margin-bottom: 1.4rem; letter-spacing: -0.01em;
}
.section-lead { color: var(--ink-soft); max-width: 46rem; margin-bottom: 2.2rem; font-size: 1.05rem; }

/* ---------- Nedir? ---------- */
.what-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: start; }
.what-text p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.what-text p strong { color: var(--ink); }

.what-cards { display: grid; gap: 1.1rem; }
.icon-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.6rem;
}
.icon-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--green-soft); color: var(--green-dark); margin-bottom: 0.9rem;
}
.icon-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.35rem; }
.icon-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Yöntemler ---------- */
.method-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-bottom: 1.8rem; }
.method-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft);
  padding: 1.8rem 1.8rem 1.6rem;
}
.method-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--green-soft); color: var(--green-dark); margin-bottom: 1rem;
}
.method-card h3 {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.6rem;
  display: flex; flex-direction: column; gap: 0.15rem;
}
.method-card h3 span { font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; color: var(--green-dark); letter-spacing: 0.01em; }
.method-card > p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.method-facts { list-style: none; display: grid; gap: 0.55rem; }
.method-facts li { font-size: 0.92rem; color: var(--ink-soft); padding-left: 1.1rem; position: relative; }
.method-facts li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
}
.method-facts strong { color: var(--ink); }
.method-note { color: var(--ink-soft); font-size: 0.92rem; max-width: 56rem; }

/* ---------- Simülatör ---------- */
.section-sim {
  background:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(215, 236, 221, 0.65), transparent),
    radial-gradient(ellipse 50% 45% at 10% 90%, rgba(230, 243, 234, 0.75), transparent),
    var(--sage-deep);
}

.sim-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  list-style: none; margin-bottom: 1.6rem;
}
.sim-step {
  position: relative; display: flex; align-items: center; gap: 0.8rem;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-soft);
  padding: 1rem 1.2rem; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.sim-step:hover, .sim-step:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(30, 42, 34, 0.12);
  border-color: rgba(79, 157, 114, 0.3);
}
.sim-step-num {
  position: absolute; top: -10px; left: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--green); color: var(--white);
  font-weight: 800; font-size: 0.76rem; box-shadow: var(--shadow-soft);
}
.sim-step-icon {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--green-soft); color: var(--green-dark);
  overflow: hidden;
}
.sim-step-text { color: var(--ink); }

.sim-step-icon--capture svg { animation: simStepCapture 2.6s ease-in-out infinite; }
@keyframes simStepCapture {
  0%, 62%, 100% { transform: scale(1); }
  70% { transform: scale(0.82); }
  78% { transform: scale(1.08); }
  86% { transform: scale(1); }
}
.sim-step-icon--analyze svg { animation: simStepAnalyze 2.4s linear infinite; transform-origin: 50% 50%; }
@keyframes simStepAnalyze {
  0% { transform: rotate(0deg) scale(1); opacity: 0.7; }
  50% { transform: rotate(180deg) scale(1.1); opacity: 1; }
  100% { transform: rotate(360deg) scale(1); opacity: 0.7; }
}
.sim-step-icon--reveal svg { animation: simStepReveal 2.8s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes simStepReveal {
  0%, 60%, 100% { transform: scaleY(1); }
  68% { transform: scaleY(0.25); }
  74% { transform: scaleY(1); }
}

.sim-step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -1.35rem;
  width: 18px; height: 18px; transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23397A58' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  animation: simStepArrowX 1.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes simStepArrowX {
  0%, 100% { transform: translate(0, -50%); opacity: 0.5; }
  50% { transform: translate(4px, -50%); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .sim-step-icon svg, .sim-step:not(:last-child)::after { animation: none !important; }
}

.sim-embed-wrap {
  position: relative; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(0.75rem, 2vw, 1.5rem);
  max-width: 900px; margin-inline: auto; min-height: 320px;
}
.sim-embed-wrap gradio-app { display: block; width: 100%; }

.sim-trust {
  max-width: 640px; margin: 0.8rem auto 0;
  padding: 0 1.4rem;
  font-size: 0.72rem; line-height: 1.5; color: var(--ink-soft); opacity: 0.55; font-weight: 400;
  text-align: center;
}
.sim-trust a { font-weight: 500; color: inherit; text-decoration: underline; }

/* ---------- Doktor ---------- */
.doctor-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3rem; align-items: center; }
.doctor-photo { position: relative; }
.doctor-photo img {
  border-radius: var(--radius); box-shadow: var(--shadow); width: 100%;
  aspect-ratio: 876 / 900; object-fit: cover;
}
.doctor-photo::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 2px solid var(--green-soft); border-radius: var(--radius); z-index: -1;
}
.doctor-bio p { margin-bottom: 1rem; color: var(--ink-soft); }
.doctor-bio p strong { color: var(--ink); }

.doctor-creds { list-style: none; margin: 1.2rem 0 1.4rem; display: grid; gap: 0.5rem; }
.doctor-creds li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-weight: 600; font-size: 0.95rem;
}
.doctor-creds li::before {
  content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); margin-top: 0.5em;
}
.doctor-links-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.1rem;
}
.doctor-website {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin: 0; padding: 0.5rem 0.9rem;
  background: var(--green-soft); border-radius: 999px;
  color: var(--green-dark); text-decoration: none;
  font-weight: 700; font-size: 0.9rem;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.doctor-website svg { flex: 0 0 auto; }
.doctor-website:hover { background: var(--leaf); transform: translateY(-2px); }

.social-links { display: flex; gap: 0.7rem; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--sage-deep); color: var(--ink);
  transition: background-color 0.15s, color 0.15s, transform 0.15s;
}
.social-links a:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }

/* ---------- Süreç ---------- */
.process-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  list-style: none;
}
.process-step {
  position: relative; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); padding: 1.8rem 1.4rem 1.5rem;
}
.process-num {
  position: absolute; top: -14px; left: 1.3rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green); color: var(--white);
  font-weight: 800; font-size: 0.9rem;
}
.process-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 15px;
  background: var(--green-soft); color: var(--green-dark); margin-bottom: 0.9rem;
}
.process-step h3 { font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; margin-bottom: 0.4rem; }
.process-step p { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- SSS ---------- */
.faq-list { display: grid; gap: 0.9rem; }
.faq-item {
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  list-style: none; cursor: pointer;
  padding: 1.15rem 1.4rem; font-weight: 700; font-size: 1.02rem;
  min-height: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron {
  flex: 0 0 auto; width: 12px; height: 12px;
  border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green);
  transform: rotate(45deg); transition: transform 0.25s ease; margin-top: -4px;
}
.faq-item[open] .faq-chevron { transform: rotate(225deg); margin-top: 4px; }
.faq-answer { padding: 0 1.4rem 1.25rem; color: var(--ink-soft); }
.faq-item[open] .faq-answer { animation: faqIn 0.3s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- İletişim ---------- */
.section-contact { background: var(--sage-deep); }

.lead-form {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1.2rem;
}
.form-field { display: grid; gap: 0.4rem; }
.form-field label { font-weight: 700; font-size: 0.95rem; }
.form-field input {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--sage); border: 2px solid transparent; border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem; min-height: 50px;
  transition: border-color 0.15s, background-color 0.15s;
}
.form-field input:focus { outline: none; border-color: var(--green); background: var(--white); }
.form-field input[aria-invalid="true"] { border-color: var(--error); }

.field-error { color: var(--error); font-size: 0.87rem; font-weight: 600; }

.form-consent { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.92rem; color: var(--ink-soft); }
.form-consent input[type="checkbox"] {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px;
  accent-color: var(--green); cursor: pointer;
}
.form-consent label { cursor: pointer; }

.form-success {
  background: #e5f3ea; color: var(--success); border-radius: var(--radius-sm);
  padding: 1rem 1.2rem; font-weight: 700;
}

.quick-channels { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 1.8rem; }
.channel-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--white); color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 0.92rem;
  border-radius: 999px; box-shadow: var(--shadow-soft);
  padding: 0.7rem 1.25rem; min-height: 44px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.channel-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.channel-wa { background: #1fa855; color: var(--white); }

/* ---------- Yasal ---------- */
.section-legal { border-top: 1px solid rgba(30, 42, 34, 0.07); }
.legal-item {
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-soft);
  margin-bottom: 0.9rem; overflow: hidden;
}
.legal-item summary {
  cursor: pointer; padding: 1.05rem 1.4rem; font-weight: 700;
  list-style: none; min-height: 48px; display: flex; align-items: center;
}
.legal-item summary::-webkit-details-marker { display: none; }
.legal-item summary::before {
  content: "§"; color: var(--green); font-weight: 800; margin-right: 0.7rem;
}
.legal-body { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); font-size: 0.94rem; }
.legal-body p { margin-bottom: 0.8rem; }

.health-notice {
  border-top: 1px solid rgba(30, 42, 34, 0.12);
  padding: 0.8rem 0 0; margin-top: 1.4rem;
  font-size: 0.72rem; color: var(--ink-soft); opacity: 0.55; font-weight: 400;
}

/* ---------- Footer ---------- */
/* Not: Gömülü Gradio widget'ı kendi "Built with Gradio" ibaresini gizlemek
   için sayfa geneline "footer { display:none !important; }" enjekte ediyor.
   Bu, aynı etiketi paylaşan site footer'ını da gizlediği için burada
   yüksek özgüllük + !important ile geri açıyoruz. */
.site-footer { display: block !important; visibility: visible !important; background: var(--ink); color: rgba(239, 247, 241, 0.85); padding: 3.5rem 0 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 0.8fr; gap: 2.5rem;
  padding-bottom: 2.2rem; border-bottom: 1px solid rgba(239, 247, 241, 0.14);
}
.footer-logo-chip {
  display: inline-flex; background: var(--sage);
  border-radius: var(--radius-sm); padding: 0.7rem 1.1rem;
}
.footer-logo { width: 158px; height: auto; }
.footer-address { margin-top: 1rem; font-size: 0.92rem; max-width: 22rem; }

.site-footer h3 {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  color: var(--sage); margin-bottom: 0.9rem;
}
.footer-contact a, .footer-links a {
  display: block; color: rgba(239, 247, 241, 0.85); text-decoration: none;
  padding: 0.3rem 0; font-size: 0.94rem;
}
.footer-contact a:hover, .footer-links a:hover { color: var(--sage); text-decoration: underline; }

.footer-social { display: flex; gap: 0.6rem; margin-top: 0.9rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(239, 247, 241, 0.1); color: var(--sage);
  transition: background-color 0.15s;
}
.footer-social a:hover { background: var(--green); }

.footer-bottom { padding-top: 1.6rem; }
.footer-disclaimer { font-size: 0.82rem; opacity: 0.75; max-width: 56rem; margin-bottom: 1rem; }
.footer-copy { font-size: 0.85rem; }

/* ---------- Mobil sabit CTA ---------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(239, 247, 241, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(30, 42, 34, 0.08);
  display: none;
  transition: transform 0.3s ease;
}
.sticky-cta.hidden-by-sim { transform: translateY(110%); }

/* Sabit CTA üzerinde sırayla değişen, yukarıdan aşağı kaybolan metin animasyonu */
.cta-rotate-btn { overflow: hidden; }
.cta-rotate-viewport {
  position: relative; display: block; width: 100%; height: 1.3em; overflow: hidden;
}
.cta-rotate-item {
  position: absolute; top: 0; left: 0; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  opacity: 0; transform: translateY(-100%);
  animation: ctaRotateText 6s ease-in-out infinite;
}
.cta-rotate-item svg { flex: 0 0 auto; }
.cta-rotate-item:nth-child(1) { animation-delay: 0s; }
.cta-rotate-item:nth-child(2) { animation-delay: 2s; }
.cta-rotate-item:nth-child(3) { animation-delay: 4s; }
@keyframes ctaRotateText {
  0% { opacity: 0; transform: translateY(-100%); }
  6% { opacity: 1; transform: translateY(0); }
  27% { opacity: 1; transform: translateY(0); }
  33%, 100% { opacity: 0; transform: translateY(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .cta-rotate-item { animation: none; position: static; opacity: 1; transform: none; }
  .cta-rotate-item:not(:first-child) { display: none; }
}

/* ---------- Kaydırma açığa çıkma (yalnızca JS aktifken gizle) ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 300px; }
  .hero-visual-photo { width: 400px; height: 400px; }
  .what-grid, .doctor-grid { grid-template-columns: 1fr; gap: 2rem; }
  .doctor-photo { max-width: 380px; }
  .method-grid { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: repeat(2, 1fr); row-gap: 1.8rem; }
  .sim-steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .sim-step:not(:last-child)::after {
    top: auto; right: auto; left: 50%; bottom: -1.45rem;
    transform: translateX(-50%) rotate(90deg);
    animation: simStepArrowY 1.6s ease-in-out infinite;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@keyframes simStepArrowY {
  0%, 100% { transform: translateX(-50%) rotate(90deg) translateX(0); opacity: 0.5; }
  50% { transform: translateX(-50%) rotate(90deg) translateX(4px); opacity: 1; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav:not([hidden]) { display: flex; }
  .phone-btn { width: 40px; height: 40px; }
  .brand-logo { width: 134px; }
  .site-header.scrolled .brand-logo { width: 112px; }
  .header-actions { gap: 0.3rem; }
  .lang-switch a { min-width: 30px; padding: 0.32rem 0.42rem; }
  .hero { padding: calc(var(--header-h) + 2.4rem) 0 3.2rem; }
  .hero-visual { min-height: 240px; }
  .hero-visual-photo { width: 300px; height: 300px; }
  .section { padding: 3.2rem 0; }
  .process-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .sticky-cta { display: block; }
  body { padding-bottom: 76px; }
  .sim-trust { font-size: 0.68rem; padding: 0 1rem; }
  .health-notice { font-size: 0.68rem; }
}

@media (max-width: 420px) {
  .hero-ctas .btn { width: 100%; }
  .quick-channels { flex-direction: column; align-items: stretch; }
  .channel-chip { justify-content: center; }
}
