/* site-mobile.css — Tanıtım sitesinin telefon düzeni.
   <link media="(max-width: 860px)"> ile yüklenir; masaüstü bu dosyayı beklemez. */

html { -webkit-text-size-adjust: 100%; }
.site-body a, .site-body button, .site-body summary, .site-body label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* Üst bar: aşağı kayarken gizlenir, yukarı kayınca geri gelir (s-hide sınıfını site-plus.js verir) */
.s-top { transition: transform .32s cubic-bezier(.2, .7, .2, 1), background-color .2s, box-shadow .2s; }
.s-top.s-hide { transform: translateY(-100%); }
html.s-menu-open .s-top { transform: none; }
.s-burger { width: 44px; height: 44px; }
.s-burger .ti { font-size: 22px; }

/* Yüzen düğmeler: iPhone alt çubuğunu hesaba kat */
.s-wa { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }

@media (max-width: 680px) {
  /* ── Genel ritim ───────────────────────────────────────── */
  .s-section { padding: 56px 0; }
  .s-section[id] { scroll-margin-top: -28px; }
  .s-section-alt + .s-section-alt[id] { scroll-margin-top: 28px; }
  .s-head { margin-bottom: 28px; }
  .s-head h2 { font-size: clamp(27px, 7.6vw, 32px); }
  .s-head p { margin-top: 10px; font-size: 16px; line-height: 1.55; }
  .s-wrap { width: calc(100% - 32px); }

  /* Form alanları: 16px altı yazı iOS'ta sayfayı yakınlaştırır */
  .site-body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .site-body textarea, .site-body select { font-size: 16px; }

  /* ── Üst bar ───────────────────────────────────────────── */
  .s-top-inner { height: 64px; gap: 12px; }
  .s-brand img { width: 118px; height: auto; }
  .s-top-cta .btn-p { --btn-h: 40px; padding: 0 14px; }
  .s-nav.open { top: 60px; left: 12px; right: 12px; }
  .s-nav.open a { padding: 14px 16px; font-size: 16px; }
  html.s-menu-open .s-top::before { inset: 64px 0 0; }

  /* ── Hero ──────────────────────────────────────────────── */
  .s-hero-wrap { width: calc(100% - 16px); }
  .s-hero { padding: 30px 20px 72px; gap: 32px; border-radius: 24px; }
  .s-hero-copy h1 { margin-top: 16px; font-size: clamp(34px, 10.4vw, 44px); line-height: 1; }
  .s-hero-copy p { margin-top: 16px; font-size: 16px; line-height: 1.55; }
  .s-hero-cta { margin-top: 24px; gap: 10px; }
  .s-hero-cta .btn { --btn-h: 52px; }
  .s-trust { gap: 8px; margin-top: 22px; }
  .s-trust li { padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 13px; }
  .s-badge { font-size: 13px; }
  .s-stats { width: calc(100% - 32px); margin-top: -44px; }
  .s-stat { padding: 16px 10px; }
  .s-stat strong { font-size: 23px; }
  .s-stat span { font-size: 13px; line-height: 1.35; }

  /* ── Örnekler: sekmeler yana kayar, kartlar oturur ─────── */
  .s-case-tabs { scroll-snap-type: x mandatory; scroll-padding-inline: 2px; overscroll-behavior-x: contain; padding-bottom: 4px; }
  .s-case-tabs button { flex: 0 0 74%; scroll-snap-align: start; }
  .s-case-cta { min-height: 44px; }

  /* ── Adımlar ve özellikler: kompakt satırlar ───────────── */
  .s-steps { gap: 10px; }
  .s-step { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; padding: 18px 18px 18px 16px; }
  .s-step-num { grid-row: span 2; width: 44px; height: 44px; border-radius: 13px; font-size: 18px; }
  .s-step h3 { margin-top: 0; font-size: 18px; }
  .s-step p { margin-top: 4px; font-size: 15px; line-height: 1.5; }
  .s-features { gap: 10px; }
  .s-feature { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; padding: 18px 18px 18px 16px; border-radius: 18px; }
  .s-feature-icon { width: 44px; height: 44px; border-radius: 12px; font-size: 21px; }
  .s-feature > .s-feature-icon { grid-row: span 2; }
  .s-feature h3 { margin-top: 0; font-size: 17px; }
  .s-feature p { margin-top: 4px; font-size: 14.5px; line-height: 1.5; }

  /* ── Yana kayan kartlar (kimin için, fiyatlar, yorumlar) ── */
  .s-aud-grid, .s-pricing, .s-testi-grid {
    display: flex; gap: 12px; margin-inline: -16px; padding: 4px 16px 10px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .s-aud-grid::-webkit-scrollbar, .s-pricing::-webkit-scrollbar, .s-testi-grid::-webkit-scrollbar { display: none; }
  .s-aud-grid > *, .s-pricing > *, .s-testi-grid > * { flex: 0 0 86%; scroll-snap-align: center; scroll-snap-stop: always; }
  .s-aud-grid > .s-reveal, .s-pricing > .s-reveal, .s-testi-grid > .s-reveal { opacity: 1; transform: none; }   /* yana kayan kartlarda yukarıdan belirme olmasın */
  .s-aud-grid > *:hover, .s-pricing > *:hover, .s-testi-grid > *:hover { transform: none; }
  .s-aud { padding: 22px 20px 18px; }
  .s-aud a { min-height: 44px; margin-top: 8px; }
  .s-plan { padding: 24px 20px; }
  .s-plan-price strong { font-size: 40px; }

  /* Nokta göstergesi (site-plus.js ekler) */
  .s-dots { display: flex; justify-content: center; gap: 2px; margin-top: 6px; }
  .s-dots button { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
  .s-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--line-strong, #C9D3E6); transition: width .25s, background-color .25s; }
  .s-dots button.on::before { width: 20px; background: var(--primary); }

  /* ── Karşılaştırma: her satır bir kart ─────────────────── */
  .s-compare { margin-top: 28px; padding: 20px 16px 8px; }
  .s-compare-scroll { overflow: visible; margin-top: 10px; }
  .s-compare table, .s-compare tbody { display: block; }
  .s-compare thead { display: none; }
  .s-compare tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .s-compare tbody tr:last-child { border-bottom: 0; }
  .s-compare th, .s-compare td { padding: 0; border: 0; font-size: 14px; }
  .s-compare tbody th { grid-column: 1 / -1; width: auto; font-size: 15.5px; }
  .s-compare td { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); line-height: 1.4; }
  .s-compare td::before { content: attr(data-label); display: block; margin-bottom: 3px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
  .s-compare .s-yes { background: color-mix(in srgb, var(--primary) 9%, transparent); }
  .s-compare .s-yes::before { color: var(--primary); }

  /* ── Hesaplayıcı ve formlar: rahat dokunma ─────────────── */
  .s-calc { padding: 20px 16px; }
  .s-calc-check { display: flex; align-items: center; gap: 10px; min-height: 44px; }
  .s-calc-check input { width: 20px; height: 20px; }
  .s-calc input[type="range"] { height: 32px; }
  .s-faq-search { min-height: 48px; }
  .s-faq-item summary { min-height: 52px; }
  .s-review-box summary { min-height: 48px; }

  /* ── Alt bilgi ─────────────────────────────────────────── */
  .s-footer-links { display: grid; grid-template-columns: 1fr 1fr; margin-left: 0; gap: 0 12px; }
  .s-footer-links a { padding: 11px 0; }
  .s-copy { gap: 14px; }
  .s-copy-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .s-copy-links a { padding: 8px 0; }

  /* ── Yüzen düğmeler ────────────────────────────────────── */
  .s-wa { width: 50px; height: 50px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .s-totop { width: 42px; height: 42px; }
  .s-totop svg { inset: 1px; width: 40px; height: 40px; }
  .s-wa ~ .s-totop { right: 18px; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  .s-totop:not(.s-wa ~ .s-totop) { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }

  /* ── Kapanış ───────────────────────────────────────────── */
  .s-cta { width: calc(100% - 16px); }
  .s-cta-inner { padding: 44px 22px; }
  .s-cta-inner .btn { width: 100%; --btn-h: 52px; }
}

@media (max-width: 380px) {
  .s-top-cta .btn-p { padding: 0 10px; font-size: 14px; }
  .s-brand img { width: 104px; }
  .s-stat strong { font-size: 20px; }
}
