/* ── Homepage visual refresh ── */

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  padding: 0.5rem 0 1.5rem;
  background: var(--bg);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem 0.55rem 0.55rem;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-700);
}

.trust-pill__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-pill__icon svg {
  width: 16px;
  height: 16px;
}

.trust-pill__icon--teal { background: var(--teal-50); color: var(--teal-700); }
.trust-pill__icon--sky { background: var(--sky-50); color: #0369a1; }
.trust-pill__icon--amber { background: #fffbeb; color: #b45309; }
.trust-pill__icon--rose { background: #fff1f2; color: #e11d48; }
.trust-pill__icon--violet { background: #f5f3ff; color: #7c3aed; }

.steps-grid--visual {
  position: relative;
  gap: 1.25rem;
}

.steps-grid--visual::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-200), var(--teal-400), var(--teal-200));
  z-index: 0;
}

.step-card--visual {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.25rem 1.35rem;
  border: none;
  background: linear-gradient(165deg, #fff 0%, var(--teal-50) 120%);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.step-card--visual .step-card__num { display: none; }

.step-card--visual .step-card__icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1.1rem;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
  box-shadow: 0 12px 28px rgba(20, 184, 166, 0.35);
}

.step-card--visual .step-card__icon svg {
  width: 30px;
  height: 30px;
}

.step-card--visual h3 {
  font-size: 1.02rem;
  margin-bottom: 0;
  color: var(--teal-900);
}
.step-card--visual p { display: none; }

.audience-card--visual {
  padding: 0;
  overflow: hidden;
  border: none;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.audience-card__hero {
  position: relative;
  padding: 2rem 1.75rem 1.5rem;
  min-height: 140px;
  display: flex;
  align-items: flex-end;
}

.audience-card__hero svg {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 64px;
  height: 64px;
  opacity: 0.2;
}

.audience-card--patient .audience-card__hero {
  background: linear-gradient(145deg, #e0f2fe 0%, #bae6fd 50%, #7dd3fc 100%);
}

.audience-card--expert .audience-card__hero {
  background: linear-gradient(145deg, #ccfbf1 0%, #5eead4 50%, #14b8a6 100%);
}

.audience-card--clinic .audience-card__hero {
  background: linear-gradient(145deg, #ede9fe 0%, #c4b5fd 50%, #a78bfa 100%);
}

.audience-card--expert .audience-card__hero h3 {
  color: #fff;
  text-shadow: 0 2px 16px rgba(15, 23, 42, 0.28);
}

.audience-card--patient .audience-card__hero h3 {
  color: #0c4a6e;
}

.audience-card--clinic .audience-card__hero h3 {
  color: #4c1d95;
}

.audience-card__hero h3 {
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
  margin: 0;
}

.audience-card__body {
  padding: 1.25rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.audience-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.audience-card__tags span {
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--slate-50);
  color: var(--slate-600);
  border: 1px solid var(--border);
}

.showcase-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.showcase-bento__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.15rem 0.75rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: #fff;
}

.showcase-bento__item svg {
  width: 26px;
  height: 26px;
  opacity: 0.9;
}

.showcase-bento__item strong {
  font-size: 0.82rem;
  font-weight: 700;
}

.showcase-content__lead { display: none; }

/* Featured experts (homepage) */
.home-section--experts {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 12% 0%, rgba(20, 184, 166, 0.09), transparent 55%),
    radial-gradient(ellipse 55% 45% at 92% 100%, rgba(14, 116, 144, 0.07), transparent 50%),
    var(--bg);
}

.home-section--experts::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(20, 184, 166, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.home-section--experts .container {
  position: relative;
  z-index: 1;
}

.city-card--visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 1.15rem 1.1rem 1.05rem;
  border: 1px solid rgba(15, 118, 110, 0.1);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #fff 0%, var(--teal-50) 100%);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 28px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  text-align: left;
  text-decoration: none;
  color: var(--slate-900);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.city-card--visual:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.35);
  box-shadow:
    0 4px 8px rgba(15, 23, 42, 0.04),
    0 18px 40px rgba(20, 184, 166, 0.14);
  color: var(--slate-900);
  background: linear-gradient(165deg, #fff 0%, var(--teal-50) 100%);
}

.city-card--visual::before {
  content: '';
  position: absolute;
  top: -24px;
  right: -24px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.1);
  pointer-events: none;
}

.city-card__pin {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--teal-500), var(--teal-700));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  box-shadow: 0 8px 18px rgba(13, 148, 136, 0.32);
}

.city-card__pin svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  color: #fff;
}

.city-card--visual strong {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.city-card__meta {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-800);
}

/* Şehir şeridi — yatay kaydırma */
.home-cities {
  position: relative;
  overflow: hidden;
  padding-bottom: 2.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(20, 184, 166, 0.06), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 100%, rgba(14, 116, 144, 0.05), transparent 50%),
    #fff;
}

.home-cities__head {
  margin-bottom: 1.5rem;
}

.home-cities__head p {
  display: block;
  max-width: 32rem;
  margin-top: 0.35rem;
}

.home-cities__all {
  flex-shrink: 0;
  white-space: nowrap;
}

.cities-scroll-wrap {
  position: relative;
}

.cities-scroll-wrap::before,
.cities-scroll-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 12px;
  width: min(4rem, 8vw);
  z-index: 2;
  pointer-events: none;
}

.cities-scroll-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #fff 15%, rgba(255, 255, 255, 0));
}

.cities-scroll-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #fff 15%, rgba(255, 255, 255, 0));
}

.cities-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-padding-inline: max(1rem, calc((100vw - min(1200px, 100vw - 2rem)) / 2));
  scrollbar-width: thin;
  scrollbar-color: var(--teal-400) transparent;
  padding: 0.35rem 0 1rem;
  cursor: grab;
}

.cities-scroll.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.cities-scroll::-webkit-scrollbar {
  height: 6px;
}

.cities-scroll::-webkit-scrollbar-thumb {
  background: var(--teal-300);
  border-radius: 999px;
}

.cities-scroll__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding-inline: max(1rem, calc((100vw - min(1200px, 100vw - 2rem)) / 2));
  padding-bottom: 0.25rem;
}

.cities-scroll .city-card--visual {
  flex: 0 0 auto;
  width: 168px;
  min-height: 148px;
  scroll-snap-align: start;
}

.cities-scroll .city-card--visual strong {
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cities-scroll .city-card__meta {
  font-size: 0.74rem;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .home-cities__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cities-scroll .city-card--visual {
    width: 156px;
  }
}

.testimonial-card--visual {
  position: relative;
  border: none;
  background: linear-gradient(165deg, #fff 0%, var(--slate-50) 100%);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
  padding-top: 2.5rem;
}

.testimonial-card--visual::before {
  content: '“';
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--teal-200);
}

.testimonial-card--visual p {
  font-style: normal;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-card--visual .testimonial-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 1.1rem;
}

.home-section--compact .section-header p { display: none; }
.home-section--compact .section-header { margin-bottom: 1.75rem; }

.security-visual {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
}

.security-visual__shield {
  width: 120px;
  height: 120px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.security-visual__shield svg {
  width: 52px;
  height: 52px;
  color: #fcd34d;
}

.security-visual__icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.security-visual__icons span {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.security-visual p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Mobile app section */
.home-app {
  overflow: hidden;
}

.home-app__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.home-app__lead {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin: 0.75rem 0 1.5rem;
  max-width: 34rem;
}

.home-app__feats {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.home-app__feats li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
}

.home-app__feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-50), #e0f2fe);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-app__feat-icon svg {
  width: 20px;
  height: 20px;
}

.home-app__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 168px;
  padding: 0.65rem 1.1rem 0.65rem 0.85rem;
  border-radius: 14px;
  background: #0f172a;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
  color: #fff;
}

.store-badge[aria-disabled="true"] {
  opacity: 0.72;
  cursor: default;
}

.store-badge[aria-disabled="true"]:hover {
  transform: none;
  box-shadow: none;
}

.store-badge--google {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.store-badge__icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-badge__icon img,
.store-badge__icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.store-badge__icon svg {
  width: 100%;
  height: 100%;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge__text small {
  font-size: 0.62rem;
  opacity: 0.82;
  letter-spacing: 0.02em;
}

.store-badge__text strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.home-app__visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-app__glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(ellipse at center, rgba(20, 184, 166, 0.22), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.phone-mock {
  position: absolute;
  width: 220px;
  border-radius: 32px;
  background: linear-gradient(160deg, #1e293b, #0f172a);
  padding: 10px;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.28);
  z-index: 1;
}

.phone-mock--back {
  right: 8%;
  top: 12%;
  transform: rotate(8deg) scale(0.92);
  opacity: 0.55;
}

.phone-mock--front {
  left: 12%;
  top: 6%;
  transform: rotate(-6deg);
  z-index: 2;
}

.phone-mock__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: #0f172a;
  z-index: 3;
}

.phone-mock__screen {
  border-radius: 24px;
  overflow: hidden;
  background: #f8fafc;
  aspect-ratio: 9 / 19;
}

.phone-ui {
  height: 100%;
  padding: 2.4rem 0.85rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 45%);
}

.phone-ui--dim {
  filter: blur(0.4px);
  opacity: 0.7;
}

.phone-ui__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--slate-700);
  padding: 0 0.15rem;
}

.phone-ui__signal {
  width: 28px;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-300));
}

.phone-ui__header {
  padding: 0.15rem 0;
}

.phone-ui__logo {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--teal-700);
  letter-spacing: -0.02em;
}

.phone-ui__bar {
  height: 10px;
  border-radius: 6px;
  background: var(--slate-200);
  width: 55%;
}

.phone-ui__card {
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--slate-200);
  padding: 0.55rem 0.65rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.phone-ui__card--short {
  width: 78%;
}

.phone-ui__card--active {
  border-color: rgba(20, 184, 166, 0.35);
  background: linear-gradient(135deg, #fff, #f0fdfa);
}

.phone-ui__card small {
  display: block;
  font-size: 0.48rem;
  color: var(--slate-500);
  margin-bottom: 0.15rem;
}

.phone-ui__card strong {
  display: block;
  font-size: 0.62rem;
  color: var(--slate-800);
}

.phone-ui__pill {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.45rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-800);
}

.phone-ui__row {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.phone-ui__row span {
  flex: 1;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--slate-200);
}

.phone-ui__nav {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 0.45rem 0.25rem 0;
  border-top: 1px solid var(--slate-200);
}

.phone-ui__nav span {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--slate-200);
}

.phone-ui__nav span.is-active {
  background: var(--teal-500);
}

@media (max-width: 1024px) {
  .home-app__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-app__copy {
    position: relative;
    z-index: 2;
  }

  .home-app__visual {
    order: -1;
    position: relative;
    width: min(100%, 320px);
    height: clamp(300px, 72vw, 380px);
    min-height: 0;
    margin: 0 auto 2rem;
    overflow: hidden;
    isolation: isolate;
  }

  .phone-mock--front {
    left: 50%;
    top: 50%;
    transform: translate(-58%, -50%) rotate(-4deg);
  }

  .phone-mock--back {
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(8%, -50%) rotate(6deg) scale(0.88);
  }

  .steps-grid--visual::before { display: none; }
  .security-visual {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 768px) {
  .home-app__grid {
    gap: 0;
  }

  .home-app__visual {
    width: min(100%, 280px);
    height: clamp(260px, 68vw, 320px);
    margin-bottom: 1.75rem;
  }

  .home-app__stores {
    flex-direction: column;
  }

  .store-badge {
    width: 100%;
    max-width: 220px;
  }

  .phone-mock {
    width: clamp(140px, 42vw, 170px);
  }

  .phone-mock--front {
    transform: translate(-56%, -50%) rotate(-3deg);
  }

  .phone-mock--back {
    transform: translate(10%, -50%) rotate(5deg) scale(0.86);
    opacity: 0.5;
  }

  .trust-pills { gap: 0.5rem; }
  .trust-pill span:last-child { display: none; }
  .trust-pill { padding: 0.45rem; }
}

@media (max-width: 480px) {
  .home-app__visual {
    width: min(100%, 240px);
    height: clamp(220px, 62vw, 280px);
    margin-bottom: 1.5rem;
  }

  .phone-mock {
    width: clamp(124px, 38vw, 148px);
  }

  .phone-mock--back {
    transform: translate(12%, -50%) rotate(4deg) scale(0.82);
  }
}
