/* phone.css — gerçek ekran görüntüsü telefon çerçevesi + görsel bölümler */

/* ============ Telefon çerçevesi (738×1600 ekran görüntüsü) ============ */
.pshot {
  position: relative;
  flex: none;
  border-radius: 36px;
  padding: 7px;
  background: linear-gradient(155deg, #2c2823 0%, #18130f 60%, #221c16 100%);
  box-shadow:
    0 34px 70px rgba(60, 36, 20, 0.30),
    0 8px 20px rgba(60, 36, 20, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.pshot-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.pshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  user-select: none;
}
.pshot-gloss {
  position: absolute;
  inset: 0;
  border-radius: 36px;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.12), transparent 32%);
}

/* ============ HERO telefon çifti ============ */
.hero-phones {
  position: relative;
  width: 380px;
  max-width: 100%;
  height: 600px;
  margin: 0 auto;
}
.hero-phone-front {
  position: absolute;
  left: 24px;
  bottom: 0;
  z-index: 2;
}
.hero-phone-back {
  position: absolute;
  right: 0;
  top: 0;
  transform: rotate(6deg);
  z-index: 1;
}

/* ============ GÜVENLİK bandı (koyu) ============ */
.safety-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: 56px 56px 56px 48px;
  background: linear-gradient(155deg, var(--night), #2c3c58);
  box-shadow: var(--shadow-lg);
}
.safety-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46% 70% at 18% 14%, rgba(244, 169, 138, 0.30), transparent 60%),
    radial-gradient(42% 64% at 96% 96%, rgba(111, 166, 107, 0.22), transparent 60%);
}
.safety-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
}
.safety-phones {
  position: relative;
  height: 540px;
  display: grid;
  place-items: center;
}
.safety-phones .sp-front { position: relative; z-index: 2; transform: translateX(28px); }
.safety-phones .sp-back { position: absolute; left: 0; top: 26px; transform: rotate(-6deg); z-index: 1; }
.safety-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.safety-item { display: flex; gap: 15px; align-items: flex-start; }
.safety-item .si-ic {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  background: rgba(244, 169, 138, 0.18); color: #F8C7AE;
}
.safety-item h4 { font-family: var(--font-display); font-weight: 700; font-size: 17.5px; color: #fff; margin: 2px 0 5px; }
.safety-item p { font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.72); margin: 0; }

/* ============ EKRAN GALERİSİ ============ */
.gal-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 40px; }
.gal-tab {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 10px 16px 10px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: var(--ink-soft); transition: transform .25s, background .25s, color .25s, box-shadow .25s;
}
.gal-tab:hover { color: var(--ink); transform: translateY(-2px); }
.gal-tab.on {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-glow), var(--shadow-md);
}
.gal-tab.on .gt-ic {
  background: rgba(255, 255, 255, 0.24) !important;
  color: #fff !important;
}
.gal-tab .gt-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.gal-tab .gt-count { font-family: var(--font-mono); font-size: 12px; background: rgba(38, 52, 74, 0.08); color: var(--ink-soft); padding: 2px 8px; border-radius: 999px; }
.gal-tab.on .gt-count { background: rgba(255, 255, 255, 0.24); color: #fff; }

.gal-blurb { font-size: 16.5px; color: var(--ink-soft); margin: 18px 2px 0; max-width: 62ch; line-height: 1.55; }

.gal-rail {
  display: flex; gap: 26px;
  overflow-x: auto; overflow-y: hidden;
  padding: 26px 4px 32px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 72, 40, 0.3) transparent;
}
.gal-rail::-webkit-scrollbar { height: 8px; }
.gal-rail::-webkit-scrollbar-thumb { background: rgba(120, 72, 40, 0.28); border-radius: 999px; }
.gal-rail::-webkit-scrollbar-track { background: transparent; }
.gal-item {
  flex: none; margin: 0; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 16px;
  animation: galIn .55s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes galIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.gal-item figcaption { display: flex; flex-direction: column; padding-left: 4px; }
.gal-item .gi-cap { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; color: var(--ink); }
.gal-item .gi-sub { font-size: 13.5px; color: var(--ink-soft); margin-top: 3px; }
.gal-rail-pad { flex: none; width: 2px; }

/* ============ BESLENME PLANI SPOTLIGHT ============ */
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; margin-top: 8px; }
.plan-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.plan-mode { padding: 18px 18px 20px; border-radius: var(--r-md); }
.plan-mode .pm-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 13px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.plan-mode h4 { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; margin: 0 0 6px; }
.plan-mode p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; margin: 0; }
.plan-phones { position: relative; width: 360px; max-width: 100%; height: 560px; margin: 0 auto; }
.plan-phones .pp-front { position: absolute; left: 18px; bottom: 0; z-index: 2; }
.plan-phones .pp-back { position: absolute; right: 0; top: 8px; transform: rotate(6deg); z-index: 1; }

/* ============ CTA telefon çifti ============ */
.cta-phones { position: relative; height: 470px; display: grid; place-items: center; }
.cta-phones .cta-front { position: relative; z-index: 2; transform: translateX(20px); }
.cta-phones .cta-back { position: absolute; left: 8px; top: 8px; transform: rotate(-6deg); z-index: 1; }

/* ============ responsive ============ */
@media (max-width: 980px) {
  .safety-grid { grid-template-columns: 1fr; gap: 36px; }
  .safety-phones { order: 2; height: 500px; }
  .plan-grid { grid-template-columns: 1fr; gap: 36px; }
  .plan-phones { order: 2; }
}
@media (max-width: 600px) {
  .hero-phones { width: 320px; height: 520px; transform: scale(0.92); transform-origin: top center; }
  .hero-phone-front { left: 12px; }
  .safety-band { padding: 36px 24px; }
  .safety-phones { height: 440px; transform: scale(0.86); }
  .plan-modes { grid-template-columns: 1fr; }
  .cta-phones { transform: scale(0.86); }
  .float-chip {
    padding: 8px 12px;
    font-size: 12px;
  }
  .float-chip .fc-ic {
    width: 28px;
    height: 28px;
  }
  .phone-stage .float-chip:first-of-type {
    left: 10px !important;
    top: 10px !important;
  }
  .phone-stage .float-chip:last-of-type {
    right: 10px !important;
    bottom: 50px !important;
  }
}
