/* =========================================================
   BANNER
   ========================================================= */
.hero { padding: 14px 0 0; }
@media (min-width: 900px) { .hero { padding: 20px 0 0; } }

.hero__box {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 250px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(19, 182, 232, 0.4), transparent 55%),
    linear-gradient(120deg, #0b1220 0%, #10305f 60%, #0158f7 100%);
  color: #fff;
  isolation: isolate;
}
@media (min-width: 768px) {
  .hero__box { align-items: center; min-height: 240px; aspect-ratio: 4 / 1; border-radius: 24px; }
  .hero__box--plain { aspect-ratio: auto; min-height: 240px; }
}

.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 6s ease-out;
}
.hero__img.is-active { opacity: 1; transform: none; }
/* Mobilde görselin ana öğesi (genelde sağ-orta) kadrajda kalsın */
@media (max-width: 767px) { .hero__img { object-position: 65% center; } }

/* Yazının okunması için koyu geçiş */
.hero__box:not(.hero__box--plain)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(8, 14, 28, 0.85) 0%, rgba(8, 14, 28, 0.4) 50%, rgba(8, 14, 28, 0.05) 80%);
}
@media (min-width: 768px) {
  .hero__box:not(.hero__box--plain)::before {
    background: linear-gradient(90deg, rgba(8, 14, 28, 0.78) 0%, rgba(8, 14, 28, 0.45) 38%, transparent 68%);
  }
}

.hero__content {
  display: grid;
  justify-items: start;
  gap: 8px;
  width: 100%;
  padding: 18px 18px 54px;
}
@media (min-width: 768px) { .hero__content { max-width: 620px; padding: 24px 40px; } }
@media (min-width: 1100px) { .hero__content { padding: 28px 56px; } }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 800;
}
.hero__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
}

.hero__title {
  font-size: clamp(1.4rem, 2.8vw, 2.3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero__title span {
  display: inline;
  background: linear-gradient(90deg, #7fd6ff, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text {
  display: -webkit-box;
  max-width: 440px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8125rem;
  line-height: 1.55;
}
@media (min-width: 900px) { .hero__text { font-size: 0.875rem; } }

.hero__btn { min-height: 40px; margin-top: 4px; padding: 0 16px; border-radius: 12px; }
.hero__btn:hover .lucide { transform: translateY(3px); }

/* Ok + nokta */
.hero__nav {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(8, 14, 28, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
@media (min-width: 768px) { .hero__nav { right: 22px; bottom: 22px; } }

.hero__arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #fff;
  transition: background 200ms ease;
}
.hero__arrow:hover { background: rgba(255, 255, 255, 0.15); }
.hero__arrow .lucide { width: 18px; height: 18px; }

.hero__dots { display: flex; gap: 5px; padding: 0 2px; }
.hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 300ms ease, background 300ms ease;
}
.hero__dot.is-active { width: 20px; background: #fff; }

@media (prefers-reduced-motion: reduce) {
  .hero__img { transition: opacity 300ms ease; transform: none; }
}

/* =========================================================
   KATEGORİ BALONCUKLARI
   Ürün kartlarıyla aynı dil: açık gri-mavi zemin, ince çerçeve,
   seçilince ince mavi halka. Boyutlar avantaj satırıyla dengeli.
   ========================================================= */
.home-top { padding: 10px 0 0; scroll-margin-top: 130px; }
@media (min-width: 900px) { .home-top { padding: 14px 0 0; } }

.rail {
  margin: 0 -16px;
  padding: 10px 16px 6px;   /* halka ve hover yükselmesi kesilmesin */
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .rail { margin: 0 -24px; padding: 10px 24px 6px; } }

.rail__inner { display: flex; gap: 6px; width: max-content; }
@media (min-width: 900px) { .rail__inner { gap: 12px; } }

.bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 80px;
  scroll-snap-align: start;
}
@media (min-width: 900px) { .bubble { width: 92px; } }

.bubble__circle {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  overflow: hidden;
  border: 1px solid #edf0f5;               /* ürün kartı çerçevesi */
  border-radius: 50%;
  background: #f1f5fb;   /* ürün kartıyla aynı düz zemin */
  color: var(--color-primary);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
@media (min-width: 900px) { .bubble__circle { width: 66px; height: 66px; } }

.bubble__circle img { width: 74%; height: 74%; object-fit: contain; filter: drop-shadow(0 4px 5px rgba(16, 34, 70, 0.18)); }
.bubble__circle img.is-photo { width: 100%; height: 100%; object-fit: cover; filter: none; }
.bubble__circle b { font-size: 1.125rem; font-weight: 900; }
.bubble__circle .lucide { width: 22px; height: 22px; stroke-width: 1.8; }

.bubble--sale .bubble__circle { background: linear-gradient(145deg, #fff4f4, #ffe6e7); color: #ff5b62; }

.bubble__name {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #5b6b82;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
}
@media (min-width: 900px) { .bubble__name { font-size: 12px; } }

@media (hover: hover) {
  .bubble:hover .bubble__circle { transform: translateY(-2px); border-color: #dfe7f2; box-shadow: 0 10px 20px -14px rgba(16, 40, 80, 0.45); }
  .bubble:hover .bubble__name { color: var(--ink); }
}

/* Seçili: beyaz boşluklu ince mavi halka */
.bubble.is-active .bubble__circle {
  border-color: transparent;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-primary);
}
.bubble.is-active .bubble__name { color: var(--color-primary); font-weight: 800; }
.bubble:focus-visible { outline: none; }
.bubble:focus-visible .bubble__circle { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-primary-ring); }

/* =========================================================
   ÜRÜN PANELLERİ
   ========================================================= */
.explore { padding: 18px 0 8px; }

.tab-panel { animation: panel-in 350ms ease; }
.tab-panel .reveal { opacity: 1; transform: none; }   /* sekmede yalnızca panel animasyonu */
@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.panel-head__title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.panel-head h2 {
  overflow: hidden;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media (min-width: 900px) { .panel-head h2 { font-size: 1.0625rem; } }

.panel-head__count {
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 20px;
  background: var(--soft);
  color: #68758a;
  font-size: 11px;
  font-weight: 700;
}

.panel-head__all {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  height: 32px;
  padding: 0 8px 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #344155;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 200ms ease, color 200ms ease;
}
.panel-head__all .lucide { width: 16px; height: 16px; }
.panel-head__all:hover { border-color: var(--color-primary); color: var(--color-primary); }

.explore__more { display: flex; justify-content: center; margin-top: 26px; }


/* =========================================================
   AVANTAJLAR (bannerın altında, sade bilgi satırı — buton görünümü yok)
   ========================================================= */
.perks { padding: 14px 0 0; }

.perks__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
  padding: 2px 2px 16px;
  border-bottom: 1px solid var(--line);
}

.perk {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.perk__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--color-primary);
}
.perk__icon .lucide { width: 20px; height: 20px; stroke-width: 1.8; }

.perk > div { min-width: 0; }
.perk b,
.perk small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.perk b { color: var(--ink); font-size: 0.78rem; font-weight: 800; }
.perk small { margin-top: 1px; color: #8490a1; font-size: 11px; }

@media (min-width: 900px) {
  .perks { padding-top: 18px; }
  .perks__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 0 0 18px;
  }
  .perk { justify-content: center; padding: 2px 12px; }
  .perk + .perk { border-left: 1px solid var(--line); }
  .perk__icon .lucide { width: 22px; height: 22px; }
  .perk b { font-size: 0.8125rem; }
}

/* =========================================================
   KİŞİYE ÖZEL
   Logo mavisinden açık maviye canlı geçiş (banner ve alt bilginin
   koyu lacivertinden ayrışır) + ince nokta deseni + cam efektli adımlar
   ========================================================= */
.custom { padding: 48px 0 0; }

.custom__box {
  position: relative;
  display: grid;
  gap: 18px;
  overflow: hidden;
  padding: 22px 20px;
  border-radius: 24px;
  background: linear-gradient(115deg, #0146c7 0%, #0158f7 45%, #13b6e8 100%);
  box-shadow: 0 24px 50px -28px rgba(1, 88, 247, 0.7);
  color: #fff;
  isolation: isolate;
}
@media (min-width: 640px) { .custom__box { padding: 26px; } }
@media (min-width: 1000px) {
  .custom__box {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 28px;
    padding: 28px 32px;
  }
}

/* Nokta deseni (sağa doğru belirginleşir) */
.custom__box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1.5px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 25%, #000 100%);
}

/* Yumuşak ışık halkası */
.custom__glow {
  position: absolute;
  top: -120px;
  right: -60px;
  z-index: -1;
  width: 320px;
  height: 320px;
  border: 40px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.custom__intro { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }

.custom__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.custom__icon .lucide { width: 22px; height: 22px; }

.custom__eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #bfe9ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.custom__title { font-size: 1.125rem; font-weight: 900; letter-spacing: -0.02em; }
@media (min-width: 900px) { .custom__title { font-size: 1.3125rem; } }
.custom__text { margin-top: 3px; color: rgba(255, 255, 255, 0.85); font-size: 0.8125rem; line-height: 1.55; }

/* 3 adım: cam görünümlü küçük kartlar */
.custom__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
}
@media (min-width: 1000px) { .custom__steps { display: flex; gap: 6px; } }

.custom__steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}
@media (min-width: 1000px) {
  .custom__steps li { flex-direction: row; padding: 8px 12px 8px 8px; white-space: nowrap; }
}

.custom__steps span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 900;
}

.custom__btn { width: 100%; box-shadow: 0 10px 24px -10px rgba(4, 20, 60, 0.5); }
@media (min-width: 1000px) { .custom__btn { width: auto; } }
.custom__btn:hover .lucide { transform: none; }

/* ============ İŞ ORTAKLIĞI ============ */
.b2b { padding: 8px 0 28px; }
.b2b__box {
  position: relative; overflow: hidden; display: grid; gap: 22px; align-items: center;
  padding: clamp(24px, 4vw, 40px); border-radius: 26px; color: #fff;
  background: radial-gradient(520px 300px at 100% 0%, rgba(19, 182, 232, 0.35), transparent 60%),
              radial-gradient(520px 320px at 0% 100%, rgba(124, 58, 237, 0.4), transparent 60%),
              linear-gradient(135deg, #0b1220, #14245a);
}
@media (min-width: 900px) { .b2b__box { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; } }
.b2b__eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #c7d7ff; font-size: 12px; font-weight: 700; }
.b2b__eyebrow .lucide { width: 15px; height: 15px; }
.b2b h2 { margin: 12px 0 8px; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; letter-spacing: -0.02em; }
.b2b p { max-width: 540px; color: #c9d4e8; font-size: 0.9375rem; line-height: 1.65; }
.b2b__list { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; padding: 0; list-style: none; }
.b2b__list li { display: flex; align-items: center; gap: 7px; color: #e6edf9; font-size: 0.875rem; font-weight: 600; }
.b2b__list .lucide { width: 16px; height: 16px; color: #5ec8f2; }
.b2b__actions { display: grid; gap: 10px; justify-items: center; min-width: 220px; }
.b2b__btn { width: 100%; justify-content: center; min-height: 50px; }
.b2b__login { display: inline-flex; align-items: center; gap: 6px; color: #c7d7ff; font-size: 0.875rem; font-weight: 700; text-decoration: none; }
.b2b__login:hover { color: #fff; }
.b2b__login .lucide { width: 15px; height: 15px; }
@media (max-width: 899px) { .b2b__actions { min-width: 0; } }

/* ---------- Özel gün: banner'ın yazı/fotoğrafı değişir ---------- */
.sc--blue { --c: #0158f7; --cs: #eef4ff; } .sc--red { --c: #ef4444; --cs: #fef2f2; } .sc--pink { --c: #ec4899; --cs: #fdf2f8; }
.sc--orange { --c: #f97316; --cs: #fff7ed; } .sc--amber { --c: #f59e0b; --cs: #fffbeb; } .sc--green { --c: #22c55e; --cs: #f0fdf4; }
.sc--teal { --c: #14b8a6; --cs: #f0fdfa; } .sc--violet { --c: #8b5cf6; --cs: #f5f3ff; } .sc--gray { --c: #94a3b8; --cs: #f8fafc; }
.hero--special .hero__badge { border-color: color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 45%, rgba(0, 0, 0, .25)); }
.hero--special .hero__badge::before { display: none; }
.hero__badge svg { width: 13px; height: 13px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.hero__actions .hero__btn { margin-top: 0; }
.hero__coupon { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border: 1.5px dashed rgba(255, 255, 255, .55); border-radius: 12px; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: inherit; font-size: .8125rem; cursor: pointer; transition: background .15s, border-color .15s; }
.hero__coupon:hover { border-color: #fff; background: rgba(255, 255, 255, .18); }
.hero__coupon svg { width: 16px; height: 16px; }
.hero__coupon b { letter-spacing: .05em; }
.hero__coupon.is-copied { border-style: solid; border-color: #4ade80; }
.hero__deadline { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .85); font-size: .78rem; }
.hero__deadline svg { width: 14px; height: 14px; }
.hero__deadline b { color: #fff; }

.bubble--special .bubble__circle { border-color: var(--color-primary); background: linear-gradient(145deg, #eef4ff, #dfe9ff); color: var(--color-primary); box-shadow: 0 0 0 3px rgba(1, 88, 247, .12); }

@media (max-width: 640px) {
  .hero__coupon { min-height: 36px; padding: 0 10px; font-size: .75rem; }
  .hero__deadline { font-size: .72rem; }
}

/* ---------- Özel gün kutlama efekti ---------- */
.celebrate-canvas { position: fixed; inset: 0; z-index: 90; width: 100vw; height: 100vh; pointer-events: none; }
.hero__badge.is-celebrate { cursor: pointer; transition: transform 200ms ease; }
.hero__badge.is-celebrate:hover { transform: scale(1.04); }
.hero__badge.is-celebrate:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
