/* DersTeders AI tanıtım bloğu — Görev F (16.11.2026)
   Petrol-altın palet · Instrument Serif başlık · Plus Jakarta Sans gövde.
   ⛔ html/body üzerine overflow YAZILMAZ (sticky promo şeridi bozulur).
   Taşma, yalnızca bu bileşenin kendi kutusunda sınırlanır. */

.dt-ai-tanitim {
  --ai-altin: #C5923E;
  --ai-acik: #E8F1F3;
  --ai-soluk: #A9C2C9;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: clamp(24px, 4vw, 44px) 0 8px;
  padding: clamp(20px, 3.2vw, 34px);
  border: 1px solid rgba(197, 146, 62, .34);
  border-radius: 18px;
  background: linear-gradient(135deg, #0B2A33 0%, #0E3440 58%, #123F4B 100%);
  color: var(--ai-acik);
  box-shadow: 0 18px 44px rgba(3, 20, 26, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}

/* İnce altın üst çizgi — marka vurgusu, metnin üstüne binmez */
.dt-ai-tanitim::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--ai-altin) 18%, var(--ai-altin) 82%, transparent);
  opacity: .85;
}

.dt-ai-roz {
  flex: 0 0 auto;
  width: clamp(46px, 6vw, 64px);
  height: clamp(46px, 6vw, 64px);
  display: grid;
  place-items: center;
  box-sizing: border-box;
  color: var(--ai-altin);
  border: 1px solid rgba(197, 146, 62, .42);
  border-radius: 15px;
  background: rgba(197, 146, 62, .08);
}

.dt-ai-roz svg {
  display: block;
  width: 64%;
  height: 64%;
}

.dt-ai-metin {
  min-width: 0;
}

.dt-ai-kicker {
  margin: 0 0 6px;
  color: var(--ai-altin);
  font: 700 .78rem/1.3 "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dt-ai-metin h2 {
  margin: 0 0 10px;
  color: #fff;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.dt-ai-aciklama,
.dt-ai-erisim {
  margin: 0 0 8px;
  color: var(--ai-acik);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(.9rem, 1.3vw, 1rem);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.dt-ai-erisim {
  margin-bottom: 0;
  color: var(--ai-soluk);
  font-size: .88rem;
}

.dt-ai-buton {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid var(--ai-altin);
  border-radius: 11px;
  background: linear-gradient(135deg, #C5923E, #A97827);
  color: #08242C;
  font: 700 .92rem/1.3 "Plus Jakarta Sans", system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.dt-ai-buton:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #D7A54D, #B8852F);
  box-shadow: 0 10px 22px rgba(197, 146, 62, .28);
}

.dt-ai-buton:focus-visible {
  outline: 3px solid #F0D9A8;
  outline-offset: 3px;
}

.dt-ai-buton span {
  font-size: 1.15rem;
  line-height: 1;
}

/* Tablet: roz + metin üst satır, buton alt satır */
@media (max-width: 760px) {
  .dt-ai-tanitim {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
  }

  .dt-ai-buton {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* Telefon 360/390: tek kolon, roz üstte */
@media (max-width: 480px) {
  .dt-ai-tanitim {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 20px 16px 22px;
    border-radius: 14px;
  }

  .dt-ai-roz {
    width: 44px;
    height: 44px;
  }

  .dt-ai-metin h2 {
    font-size: 1.42rem;
  }
}

/* Erişilebilirlik: hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  .dt-ai-tanitim,
  .dt-ai-buton,
  .dt-ai-buton:hover {
    transition: none;
    transform: none;
    box-shadow: none;
  }
}

/* DT-AI-GIZLE-BAS */
/* KULLANICI KARARI (23.11.2026): DersTeders AI ve öğeleri canlıda GİZLİ. */
/* Yalnız görünürlük — HTML/SEO/sitemap bozulmaz, --geri-al ile geri gelir. */
.dt-ai-tanitim,
.dt-ai-erisim,
.dt-ai-buton,
.ds-asistan,
.ds-asistan-sarmalayici,
.ds-asistan-not,
#dsAsistan, #asistanKutusu, .ai-asistan-kutusu, .ai-tanitim {
  display: none !important;
  visibility: hidden !important;
}
/* DT-AI-GIZLE-SON */
