/* =========================================================
   A/B SOSYAL MEDYA — ALTTAKİ KART DİLİYLE AYNI (FINAL)
   index.css EN ALT
   ========================================================= */

/* Kart temel */
#ab-pack .sm-pack__grid a.sm-card{
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  isolation: isolate;
}

/* İçerik üstte */
#ab-pack .sm-pack__grid a.sm-card > *{
  position: relative;
  z-index: 2;
}

/* Soft renk (sadece kart gövdesi) */
#ab-pack .sm-pack__grid a.sm-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;

  /* patlamayan opaklıklar */
  background:
    radial-gradient(900px 520px at 18% 20%, rgba(var(--c1), .18) 0%, transparent 62%),
    radial-gradient(900px 520px at 86% 22%, rgba(var(--c2), .12) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(0,0,0,0) 58%, rgba(0,0,0,.22) 100%);
}

/* CTA: RENKSİZ CAM BAR (alttaki kartlar gibi) */
#ab-pack .sm-pack__grid a.sm-card .sm-card__cta{
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-radius: 999px;

  /* opak cam -> alttaki rengi keser */
  background: rgba(8,10,16,.82) !important;
  border: 1px solid rgba(255,255,255,.12) !important;

  backdrop-filter: blur(12px) saturate(1.0);
  -webkit-backdrop-filter: blur(12px) saturate(1.0);
}

/* CTA iç maske (WebKit sızıntısını sıfırlar) */
#ab-pack .sm-pack__grid a.sm-card .sm-card__cta::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  background: rgba(8,10,16,.82);
  z-index:-1;
}

/* Hover çok hafif */
@media (hover:hover){
  #ab-pack .sm-pack__grid a.sm-card:hover{
    border-color: rgba(255,255,255,.16);
    transform: translateY(-1px);
  }
}

/* Renk presetleri */
#ab-pack .sm-pack__grid a.sm-card[data-mod="sm-pack-a"],
#ab-pack .sm-pack__grid a.sm-card.sm-card--a{
  --c1: 139, 92, 246;
  --c2: 59, 130, 246;
}
#ab-pack .sm-pack__grid a.sm-card[data-mod="sm-pack-b"],
#ab-pack .sm-pack__grid a.sm-card.sm-card--b{
  --c1: 56, 189, 248;
  --c2: 236, 72, 153;
}
/* =========================================================
   A/B PACK — ALIGN FIX (PILL’LER ORTADA KALSIN)
   ========================================================= */

#ab-pack .container{
  max-width: 1180px;          /* senin grid genişliğiyle uyumlu */
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* üst/alt pill wrapper tam ortada */
#ab-pack .sm-pack__note-wrap{
  display: flex;
  justify-content: center;
}

/* pill’in kendisi: genişlik limiti + ortalama */
#ab-pack .sm-pack__note{
  width: min(980px, 100%);
  margin: 0 auto;
}
/* =========================================================
   A/B PACK — CTA PREMIUM PILL
   ========================================================= */

#ab-pack .sm-card__cta{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;

  padding: 12px 16px;
  border-radius: 999px;

  color: rgba(255,255,255,.92);
  font-weight: 650;
  letter-spacing: .2px;

  /* premium cam */
  background: rgba(8,10,16,.78);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 10px 30px rgba(0,0,0,.35);

  backdrop-filter: blur(12px) saturate(1.0);
  -webkit-backdrop-filter: blur(12px) saturate(1.0);

  overflow: hidden;
}

/* üstten çok hafif highlight */
#ab-pack .sm-card__cta::before{
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(255,255,255,.10) 0%,
    rgba(255,255,255,.02) 35%,
    rgba(0,0,0,0) 100%);
  opacity: .55;
  pointer-events: none;
}

/* sağa çok hafif “shine” bandı */
#ab-pack .sm-card__cta::after{
  content:"";
  position:absolute;
  top:-40%;
  right:-30%;
  width: 55%;
  height: 180%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,.16) 50%,
    transparent 100%);
  transform: rotate(18deg);
  opacity: .18;
  pointer-events:none;
}
/* =========================================================
   A/B PACK — MICROCOPY PILL GARANTİ FIX
   (üst/alt yazılar tekrar pill + ortalı)
   ========================================================= */

#ab-pack .sm-pack__note-wrap{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}

/* üst pill */
#ab-pack .sm-pack__note-wrap--top{
  margin-top: 14px !important;
  margin-bottom: 18px !important;
}

/* alt pill */
#ab-pack .sm-pack__note-wrap--bottom{
  margin-top: 18px !important;
  margin-bottom: 0 !important;
}

/* pill’in kendisi (üst+alt) */
#ab-pack .sm-pack__note{
  display: block !important;
  width: min(1060px, 100%) !important;
  padding: 14px 18px !important;
  margin: 0 auto !important;

  text-align: center !important;
  color: rgba(255,255,255,.86) !important;

  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(255,255,255,.04) !important;

  backdrop-filter: blur(14px) saturate(1.0) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.0) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05) !important;
}

/* üst pill içindeki strong biraz daha parlak */
#ab-pack .sm-pack__note strong{
  color: rgba(255,255,255,.94) !important;
  font-weight: 700 !important;
}
/* =========================================================
   A/B PACK — ALT MICROCOPY (BÜYÜT + 5 KREDİ VURGUSU)
   ========================================================= */

#ab-pack .sm-pack__note-wrap--bottom .sm-pack__note{
  width: min(1120px, 100%) !important;     /* biraz daha geniş */
  padding: 18px 22px !important;          /* pill daha kalın */
  font-size: 16px !important;             /* metin biraz büyür */
  line-height: 1.45 !important;
}

/* "5 kredi hediye" daha büyük ve daha parlak */
#ab-pack .sm-pack__note-wrap--bottom .domino{
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: .2px !important;
}

/* harfler arası boşluk çok açılmasın */
#ab-pack .sm-pack__note-wrap--bottom .domino span{
  display: inline-block;
  transform: translateZ(0);
}
/* =========================================================
   A/B PACK — 5 KREDİ PULSE (KALP GİBİ ATIŞ, ICON YOK)
   ========================================================= */

#ab-pack .sm-pack__note-wrap--bottom .domino{
  display: inline-block;
  font-weight: 800 !important;
  font-size: 18px !important;
  letter-spacing: .3px;
  color: rgba(255,255,255,.95);

  /* animasyon */
  animation: aivoPulse 1.6s ease-in-out infinite;
  transform-origin: 50% 60%;
}

/* harfler stabil kalsın */
#ab-pack .sm-pack__note-wrap--bottom .domino span{
  display: inline-block;
  transform: translateZ(0);
}

/* kalp atışı hissi */
@keyframes aivoPulse{
  0%   { transform: scale(1);     filter: none; }
  25%  { transform: scale(1.06);  filter: drop-shadow(0 0 10px rgba(255,255,255,.18)); }
  45%  { transform: scale(0.98); }
  65%  { transform: scale(1.04); }
  100% { transform: scale(1);     filter: none; }
}
/* =========================================================
   A/B PACK — ALT PILL (PULSE + SHINE) — FINAL OVERRIDE
   ========================================================= */

#ab-pack .sm-pack__note-wrap--bottom .sm-pack__note{
  position: relative !important;
  overflow: hidden !important;
  border-radius: 999px !important;
  transform: translateZ(0);
  will-change: transform, filter;

  /* KALP ATIŞI (subtle) */
  animation: aivoPillPulse 2.2s ease-in-out infinite;
}

/* BEYAZ IŞIK GEÇİŞİ (devamlı) */
#ab-pack .sm-pack__note-wrap--bottom .sm-pack__note::before{
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  width: 140px;

  left: -30%;
  transform: skewX(-18deg);

  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.10) 35%,
    rgba(255,255,255,.18) 50%,
    rgba(255,255,255,.10) 65%,
    rgba(255,255,255,0) 100%
  );

  opacity: .55;
  pointer-events: none;
  filter: blur(.2px);

  animation: aivoPillShine 3.2s linear infinite;
}

/* metin üstte kalsın */
#ab-pack .sm-pack__note-wrap--bottom .sm-pack__note > *{
  position: relative;
  z-index: 2;
}

/* KALP ATIŞI KEYFRAMES */
@keyframes aivoPillPulse{
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
  28% { transform: scale(1.012); filter: drop-shadow(0 0 12px rgba(255,255,255,.10)); }
  46% { transform: scale(0.995); }
  66% { transform: scale(1.010); }
}

/* SHINE KEYFRAMES */
@keyframes aivoPillShine{
  0%   { left: -30%; opacity: .15; }
  10%  { opacity: .55; }
  100% { left: 130%; opacity: .15; }
}
/* =========================================================
   A/B PACK — ALT PILL SPACING AYARI
   ========================================================= */

#ab-pack .sm-pack__note-wrap--bottom{
  margin-top: 28px !important;   /* kartlardan biraz uzaklaşır */
  margin-bottom: 12px !important; /* alttaki bölüme çok yapışmasın */
}
/* =========================================================
   PRODUCTS DROPDOWN — FINAL (5 cards single row, compact, no black gap)
   Keep ONLY this block for products dropdown.
   ========================================================= */

#navProducts { overflow: visible !important; }
#navProducts.nav-item.has-dropdown { overflow: visible !important; }

#navProducts .dropdown.dropdown--products{
  position: absolute; /* mevcut yapın neyse kalsın; ama kırpma olmasın */
  left: 50% !important;
  transform: translateX(-50%) !important;

  width: min(1220px, calc(100vw - 56px)) !important;
  padding: 14px !important;
  border-radius: 22px !important;

  background: rgba(10, 12, 18, 0.92) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;

  overflow: visible !important;   /* kırpma yok */
  isolation: isolate !important;
}

/* Single row + SOLA HİZALA (siyah boşluk biter) */
#navProducts .dropdown.dropdown--products .products-menu{
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important; /* <<< EN KRİTİK SATIR */
  gap: 10px !important;

  width: 100% !important;
  max-width: 100% !important;

  padding: 6px 18px 12px !important; /* panel iç boşluk */
  overflow-x: hidden !important;      /* artık sığdığı için scroll yok */
}

/* Compact cards (176px) */
#navProducts .dropdown.dropdown--products .products-menu > a.product-card{
  flex: 0 0 176px !important;
  width: 176px !important;
  max-width: 176px !important;
  min-width: 176px !important;

  min-height: 98px !important;
  padding: 12px !important;
  border-radius: 18px !important;

  position: relative !important;
  overflow: hidden !important;
}

/* Typography */
#navProducts .dropdown.dropdown--products .product-card .pc-ico{
  width: 30px !important;
  height: 30px !important;
  border-radius: 12px !important;
  font-size: 17px !important;
}
#navProducts .dropdown.dropdown--products .product-card .pc-title{
  font-size: 15px !important;
  line-height: 1.15 !important;
}
#navProducts .dropdown.dropdown--products .product-card .pc-sub{
  font-size: 12px !important;
  line-height: 1.25 !important;
  opacity: .78 !important;
}

/* Küçük ekran: sığmazsa scroll aç (premium) */
@media (max-width: 1100px){
  #navProducts .dropdown.dropdown--products .products-menu{
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  #navProducts .dropdown.dropdown--products .products-menu > a.product-card{
    scroll-snap-align: start;
  }
/* ================= PREMIUM RING (SAFE / NO CLIP) ================= */
#navProducts .dropdown.dropdown--products a.product-card{
  position: relative !important;
  overflow: hidden !important;    /* kalsın, mask ile içeride çalışıyoruz */
  isolation: isolate !important;
}

/* içerik üstte kalsın */
#navProducts .dropdown.dropdown--products a.product-card > *{
  position: relative;
  z-index: 3;
}

/* Dönen ışık halkası */
#navProducts .dropdown.dropdown--products a.product-card::before{
  content: "" !important;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;

  /* ışık */
  background: conic-gradient(
    from 0deg,
    rgba(255,255,255,0) 0deg,
    rgba(255,255,255,0) 300deg,
    rgba(255,255,255,0.65) 332deg,
    rgba(255,255,255,0) 360deg
  );

  /* sadece “kenar” kalsın diye mask */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  padding: 1px;                 /* halka kalınlığı (ince) */
  opacity: 0;
  filter: blur(0.6px);
  transition: opacity .25s ease;
}

/* Hover + aktifken dönsün */
#navProducts .dropdown.dropdown--products a.product-card:hover::before,
#navProducts .dropdown.dropdown--products a.product-card.is-active::before{
  opacity: 1;
  animation: aivoRingSpin 2.4s linear infinite;
}

/* yumuşak outer glow (premium) */
#navProducts .dropdown.dropdown--products a.product-card::after{
  content: "" !important;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity .25s ease;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 0 22px rgba(200,230,255,0.12);
}

#navProducts .dropdown.dropdown--products a.product-card:hover::after,
#navProducts .dropdown.dropdown--products a.product-card.is-active::after{
  opacity: 1;
}

@keyframes aivoRingSpin{
  to { transform: rotate(360deg); }
}
/* =========================================================
   USER AVATAR → INITIAL LETTER (H)
   ========================================================= */

/* Mor yuvarlak kalsın */
.user-chip .avatar{
  background: radial-gradient(
    120% 120% at 30% 30%,
    #b89cff,
    #7a5cff
  ) !important;

  border-radius: 999px !important;
  position: relative;
  overflow: hidden;

  /* içindeki eski avatarı gizle */
  background-image: none !important;
}

/* Harf ekle */
.user-chip .avatar::after{
  content: "H"; /* admin baş harfi */
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;

  color: #ffffff;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.35);

  pointer-events: none;
}

/* Hover’da hafif premium glow */
.user-chip:hover .avatar{
  box-shadow:
    0 0 0 2px rgba(160,120,255,0.35),
    0 12px 32px rgba(120,90,255,0.35);
/* ===============================
   AI ATMOSFER VIDEO — FINAL (single source)
   Put this at the VERY BOTTOM of index.ab.css
================================ */

/* section spacing (başlık + kart ayrımı) */
#atmosphere-video{
  padding: clamp(26px, 4vw, 44px) 0;
}

#atmosphere-video .atmo-wrap{
  display: grid;
  gap: 18px; /* ✅ başlık ile kart arasındaki kritik boşluk */
}

/* header */
#atmosphere-video .atmo-head{
  max-width: 820px;
}

#atmosphere-video .atmo-title{
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  margin: 0 0 10px;
}

#atmosphere-video .atmo-sub{
  margin: 0 0 8px;
  font-size: 16px;
  opacity: .85;
}

#atmosphere-video .atmo-pill{
  margin: 0;
  font-size: 14px;
  opacity: .75;
}

/* card base */
#atmosphere-video a.sm-card.sm-card--atmo{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;

  padding: clamp(18px, 3vw, 30px);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 70px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);

  text-decoration: none;
  color: inherit;

  overflow: hidden;
  position: relative;
  cursor: pointer;
}

/* preview */
#atmosphere-video .atmo-preview{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
}

/* mobile */
@media (max-width: 900px){
  #atmosphere-video a.sm-card.sm-card--atmo{
    grid-template-columns: 1fr;
  }
}
/* ===============================
   AI ATMOSFER VIDEO — FIX
   Header/metin 820px container'a sıkışmasın
================================ */

/* Sadece bu section'da container genişlesin */
#atmosphere-video .container.atmo-wrap{
  max-width: 1148px;
}

/* Başlık/alt metin daha ferah dursun (opsiyonel ama iyi) */
#atmosphere-video .atmo-title{
  line-height: 1.08;
}

#atmosphere-video .atmo-sub{
  line-height: 1.45;
  max-width: 980px;
}
/* ===============================
   AI ATMOSFER VIDEO — FULL WIDTH FIX (TEK BLOK)
   Put to: index.ab.css (EN ALT)
================================ */

/* 1) Bu bölümde container 820px kilidini kır */
#atmosphere-video .container.atmo-wrap{
  max-width: 1180px !important;
  width: min(1180px, calc(100% - 48px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 2) Başlık/metin tipografi (daha “AB” gibi) */
#atmosphere-video .atmo-head{
  max-width: none !important;
  text-align: left !important;
}

#atmosphere-video .atmo-title{
  font-size: clamp(34px, 3.4vw, 56px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 10px !important;
}

#atmosphere-video .atmo-sub{
  font-size: clamp(15px, 1.25vw, 18px) !important;
  line-height: 1.45 !important;
  opacity: .92 !important;
  max-width: 980px !important;
}

#atmosphere-video .atmo-pill{
  font-size: clamp(13px, 1.05vw, 15px) !important;
  line-height: 1.35 !important;
  opacity: .88 !important;
  max-width: 980px !important;
}

/* 3) Kartı gerçekten “tek büyük kart” gibi yap */
#atmosphere-video .sm-pack__grid.sm-pack__grid--single{
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
}

#atmosphere-video a.sm-card.sm-card--atmo{
  display: grid !important;
  grid-template-columns: 1.15fr .85fr !important;
  gap: 18px !important;
  width: 100% !important;

  padding: clamp(18px, 2.6vw, 30px) !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 18px 70px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06) !important;

  text-decoration: none !important;
  color: inherit !important;
  overflow: hidden !important;
  position: relative !important;
}

#atmosphere-video .atmo-preview{
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  overflow: hidden !important;
}

@media (max-width: 900px){
  #atmosphere-video .container.atmo-wrap{
    width: calc(100% - 32px) !important;
  }
  #atmosphere-video a.sm-card.sm-card--atmo{
    grid-template-columns: 1fr !important;
  }
}
/* ================= AI ATMOSFER VIDEO — HEADER BOX (ONLY THIS SECTION) ================= */
#atmosphere-video .container.atmo-wrap{
  max-width: 1148px;
}

/* Başlık + üst metinleri şeffaf kutuya al */
#atmosphere-video .atmo-head{
  max-width: 1148px;
  margin: 0 auto 18px;
  padding: 18px 20px 16px;

  background: rgba(10, 14, 28, .46);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;

  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);

  box-shadow:
    0 18px 60px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.06);
}

/* Tipografi — daha “premium” */
#atmosphere-video .atmo-title{
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.06;
}

#atmosphere-video .atmo-sub{
  margin: 0 0 12px;
  max-width: 980px;
  line-height: 1.45;
  color: rgba(255,255,255,.84);
}

#atmosphere-video .atmo-pill{
  margin: 0;
  padding: 10px 12px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;

  color: rgba(255,255,255,.86);
  line-height: 1.25;
}

/* Mobilde kutu daha rahat */
@media (max-width: 720px){
  #atmosphere-video .atmo-head{
    padding: 16px 14px 14px;
    border-radius: 16px;
  }
  #atmosphere-video .atmo-pill{
    display: inline-block;
    border-radius: 14px;
  }
