/* templates/annotation.html icindeki <style> blogundan cikarildi.
   Inline CSS her sayfa yuklenisinde yeniden iniyordu; ayri dosya
   tarayicida onbellege alinabiliyor. Konum birebir korundu, yani
   kurallarin siralamasi (cascade) degismedi. */
.product-list {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    margin-bottom: 0;
}

.product-list li {
    margin-bottom: 0;
}

.anno-sub-banner {
    position: relative;
    margin-top: 100px;
}

.section-four-modal h2 {
    font-size: clamp(16px, 2.2vw, 20px);
    line-height: 1.3;
}

.section-four {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.section-four .section-four-modal {
    width: 100%;
    flex-direction: column;
    gap: 20px;
}

.anno-banner-context {
    position: absolute;
    color: white;
    left: 200px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.anoo-btn {
    background-color: black;
    border: 1px solid white;
    padding: 12px 36px;
    border-radius: 30px;
    color: white;
    margin-right: 10px;
}

.products-img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 200px;
    object-fit: cover;
}

/* Responsive Media Queries - Optimize edilmiş */
@media (max-width: 1530px) {
    .transform-h2 {
        font-size: 24px;
    }   
    .you-work {
        font-size: 14px;
    }
}

@media (max-width: 1402px) {
    .transform-h2 {
        font-size: 20px;
    }   
    .you-work {
        font-size: 12px;
    }
}

@media (max-width: 1200px) {
    .anno-banner-context {
        left: 250px;
    }
    p{
        font-size: 15px;
    }

}

@media (max-width: 1024px) {
    .anno-banner-context {
        left: 108px !important;
    }
}

@media (max-width: 768px) {
    .anno-banner-context {
        left: 50px;
        right: 50px;
        width: auto;
    }
    
    .anno-banner-context h2 {
        font-size: 1.5rem;
    }
    
}

/* Mevcut .anoo-btn stiline ek responsive düzenlemeler */

/* 1200px ve altı için buton boyutunu küçült */
@media (max-width: 1200px) {
    .anoo-btn {
        padding: 10px 28px;
        font-size: 14px;
    }
}

/* 992px ve altı için daha da küçült */
@media (max-width: 992px) {
    .anoo-btn {
        padding: 8px 24px;
        font-size: 13px;
        margin-right: 8px;
    }
}

/* 768px ve altı için butonları dikey sıraya koy */
@media (max-width: 768px) {
    .anoo-btn {
        padding: 8px 20px;
        font-size: 12px;
        margin-right: 0;
        margin-bottom: 10px;
        display: block;
        width: 140px;
    }
    
    /* Buton container'ını flex yaparak dikey hizalama */
    .anno-banner-context div {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 590px ve altı için en küçük boyut */
@media (max-width: 590px) {
    .anoo-btn {
        padding: 6px 16px;
        font-size: 11px;
        width: 120px;
        margin-bottom: 8px;
    }
}

/* 480px ve altı için çok küçük ekranlar */
@media (max-width: 480px) {
    .anoo-btn {
        padding: 5px 12px;
        font-size: 10px;
        width: 100px;
        margin-bottom: 6px;
    }
}

/* Anno banner context yazıları için responsive düzenlemeler */
@media (max-width: 1200px) {
    .anno-banner-context {
        left: 150px;
        right: 50px;
    }
    
    .transform-h2 {
        font-size: 22px;
        line-height: 1.3;
    }
    
    .you-work {
        font-size: 14px;
        line-height: 1.4;
    }
}

@media (max-width: 992px) {
    .anno-banner-context {
        left: 30px !important;
        
    }
    
    .transform-h2 {
        font-size: 20px;
        line-height: 1.2;
    }
    
    .you-work {
        font-size: 13px;
        line-height: 1.3;
    }
}

@media (max-width: 768px) {
    .anno-banner-context {
        left: 30px;
        right: 30px;
        top: 50%;
    }
    
    .transform-h2 {
        font-size: 18px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .you-work {
      display: none;
    }
}

@media (max-width: 590px) {
    .anno-banner-context {
        left: 20px;
        right: 20px;
        top: 55%;
    }
    
    .transform-h2 {
        font-size: 20px !important;
        line-height: 1.1;
        margin-bottom: 12px;
    }
    
    .you-work {
        font-size: 13px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .anno-banner-context {
        left: 15px;
        right: 15px;
        top: 55%;
    }
    
    .transform-h2 {
        font-size: 15px;
        line-height: 1.1;
        margin-bottom: 10px;
    }
    
    .you-work {
        font-size: 13px;
        line-height: 1.2;
        margin-bottom: 12px;
    }
}

@media (max-width: 360px) {
    .anno-banner-context {
        left: 10px;
        right: 10px;
        top: 25%;
    }
    
    .transform-h2 {
        font-size: 14px;
        line-height: 1.0;
        margin-bottom: 8px;
    }
    
    .you-work {
        font-size: 13px;
        line-height: 1.1;
        margin-bottom: 10px;
    }
}

/* Partner seridi: edu ve anasayfadaki edu-trust ile bire bir ayni tasarim/animasyon */
.home-trust-stage {
  background: #F5F6F8;
  padding: 30px 0;
}

/* Ucuncu beyaz kutu: universite seridiyle ayni gri sahne, aralari bitisik */
.home-mid-stage {
  background: #F5F6F8;
  margin: 0;
  /* Ust bosluk yoktu: banner hero'nun hemen altinda bagimsiz bir
       yuvarlak kart (40px kose, 20px yan bosluk) ama ustunde hic pay
       birakilmiyordu. Diger kart bolumleriyle ayni 30px. */
    padding: 30px 0;
}

.home-mid-stage .middle-banner {
  background: #fff;
  border-radius: 40px;
  margin: 0 20px;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 10.5vw, 150px);
}

.home-mid-stage .middle-banner h2 {
  margin: 0;
  font-size: clamp(20px, 3.2vw, 28px);
  line-height: 1.35;
  /* diger sayfalardaki (2d-radyografik/ortodontik-analiz vb.) ayni banner
     ile ayni agirlik - 400 oradan farkli duruyordu. */
  font-weight: 300;
  color: #0d0f2c;
}

.home-mid-stage .middle-banner h2 b {
  font-weight: 600;
}

.home-mid-stage .middle-banner li {
  font-size: clamp(14px, 1.6vw, 15px);
  line-height: 1.7;
  color: #666D7C;
}

.home-mid-stage .middle-banner .upload-text {
  background: none;
  -webkit-text-fill-color: #666D7C;
  color: #666D7C;
  font-weight: 400;
}

/* "Why Should It Be Used?" - edu sayfasindaki karti gibi temiz grid, eski
   mutlak konumlandirma + breakpoint basina padding hack'leri kaldirildi. */
.why-used-section {
  background: #F5F6F8;
  margin: 0;
  padding: 0 0 30px;
}

.why-used-section .container {
  width: auto;
  max-width: none;
  background: #fff;
  border-radius: 40px;
  margin: 0 20px;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 10.5vw, 150px);
}

.why-used-title {
  display: inline-block;
  margin: 0 0 28px;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 600;
}

.why-used-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.why-used-card {
  position: relative;
  border: 1px solid rgba(179, 185, 194, 0.4);
  border-radius: 16px;
  overflow: hidden;
  min-height: 340px;
}

/* Easy Labeling / Institutional Agility: yazi gorselin bos alaninda dikey
   ortalanir (yatayda degil, sadece yukaridan asagi). */
.why-used-card--center-v .why-used-text {
  top: 50%;
  transform: translateY(-50%);
}

.why-used-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gorselin kendisi zaten kart gibi durdugu icin yazi ayri bir kutuda
   yigilmiyor, dogrudan gorselin uzerine biniyor. */
.why-used-text {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  z-index: 1;
}

/* Koyu/karisik fotograflarda (ornegin ofis fotografi) yazi okunakli olsun
   diye alta, hafif bir karartma katmaninin uzerine alinir. */
.why-used-card--dark .why-used-text {
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 80%);
}

.why-used-text h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #0B0B0F;
}

.why-used-card--dark .why-used-text h3 {
  color: #fff;
}

.why-used-card--dark .why-used-text p {
  color: #fff;
}

.why-used-text p {
  margin: 0;
  max-width: 230px;
  font-size: 15px;
  font-weight: 400;
  color: #666D7C;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .why-used-grid {
    grid-template-columns: 1fr;
  }

  /* Dar ekranda object-fit:cover gorseli farkli kirpiyor, yazinin
     tasarlandigi "bos alan" kaymis oluyor ve metin gorselin yogun/karisik
     kismina biniyor. Kontrast garanti olsun diye hafif bir okunurluk
     zemini ekliyoruz (masaustunde dokunmuyoruz). */
  .why-used-card--center-v .why-used-text {
    background: rgba(255, 255, 255, .88);
    border-radius: 12px;
    padding: 12px 16px;
  }

  /* Diger 4 bolumdeki gorsel-ustu baslik standardiyla ayni olcuye
     (13px/500 baslik, 11.5px/400 govde metni) cekiyoruz; masaustunde
     16px/700 ve 15px/400 degerleri korunuyor. */
  .why-used-text h3 {
    font-size: 13px;
    font-weight: 500;
  }

  .why-used-text p {
    font-size: 11.5px;
    max-width: none;
  }
}

/* Gradient CTA seridi: edu sayfasindaki/anasayfadaki .edu-cta ile bire bir
   ayni tasarim. Gri sahne, iki tarafinda da gri-gri kesintisiz birlesiyor,
   tek tarafli padding kurali gecerli. */
.home-cta-stage {
  background: #F5F6F8;
  margin: 0;
  padding: 0 0 30px;
}

.edu-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  width: 83%;
  margin: 0 auto;
  padding: clamp(12px, 1.4vw, 16px) clamp(18px, 2.4vw, 30px);
  border-radius: 25px;
  background: linear-gradient(90deg, #FF6262 0%, #7640E8 55%, #3291FF 100%);
  color: #fff;
}

.edu-cta__text {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 300;
}

@media (max-width: 767px) {
  .edu-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
}

/* "Forget Complex Processes" bolumu: "Our Products" (index.html) / "Expanding
   Beyond" (edu.html) ile ayni .edu-scope bileseni, birebir tasindi. base.css
   .product-list/.product-item/.card-information/.products-img* kurallarini
   kendi tasarimiyla eziyor, o yuzden tum kurallar .edu-scope altina alindi
   (ozgulluk 0,2,0 > 0,1,0); base.css'in !important kullandigi yerlerde de
   !important ile karsilik veriliyor. */
.product-cards-stage {
  background: #F5F6F8;
  padding: 0 0 30px;
  margin: 0;
}

.product-cards-stage .edu-scope {
  background: #fff;
  border-radius: 40px;
  margin: 0 20px;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 10.5vw, 150px);
}

.edu-scope .edu-scope__title {
  margin: 0 0 6px;
  font-size: clamp(20px, 3.2vw, 28px);
  line-height: 1.3;
  font-weight: 300;
  color: #0d0f2c;
}

.edu-scope .edu-scope__title b {
  font-weight: 600;
  background: linear-gradient(90deg, #FF6262 0%, #7640E8 55%, #3291FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.edu-scope .edu-scope__lead {
  margin: 0;
  font-size: clamp(14px, 1.6vw, 15px);
  line-height: 1.6;
  font-weight: 400;
  color: #666D7C;
}

.edu-scope .product-content {
  min-width: 0;
  flex: 1;
}

.edu-scope .product-content h3 {
  margin: 0 0 3px;
  font-size: 14px;
  line-height: 1.35;
  /* ortodontik-analiz.html'deki ile ayni agirlik - 700 diger sayfalardan
     daha kalin duruyordu. */
  font-weight: 600;
  color: #0B0B0F;
}

/* base.css bu secicide !important kullaniyor; ayni silahla karsilik */
.edu-scope .product-item .product-content p,
.edu-scope .product-item.active .product-content p {
  margin: 0;
  font-size: 13px !important;
  line-height: 1.4;
  font-weight: 400 !important;
  color: #666D7C !important;
  /* Tek satira kirpiliyordu: metnin buyuk kismi (edu'da %89'u)
     gorunmuyordu ve acacak bir kontrol yoktu. */
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.edu-scope .card-information {
  display: block;
  min-width: 0;
  height: auto !important;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

/* base.css'te ID'li secici var (.card-information-text #productTitle) */
.edu-scope .card-information-text #productTitle {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  color: #0B0B0F;
}

@media (max-width: 991px) {
  .edu-scope .edu-scope__card {
    grid-template-columns: minmax(0, 1fr);
  }
}

.edu-trust {
  background: #fff;
  border-radius: 40px;
  margin: 0 20px;
  padding: clamp(24px, 3.5vw, 40px) 0;
}

.edu-trust .container {
  max-width: none;
  padding-left: clamp(20px, 10.5vw, 150px);
  padding-right: clamp(20px, 10.5vw, 150px);
}

@media (max-width: 991px) {
  .edu-trust__inner {
    flex-direction: column;
    text-align: center;
  }

  .edu-trust__text {
    max-width: none;
  }

  .edu-trust__marquee {
    width: 100%;
  }

  .edu-trust__logos {
    gap: clamp(20px, 6vw, 44px);
  }
}

/* Mobilde sabit "left:150px" hem basligi hem aciklama metnini ekranin
   disina/kenarina itiyordu. Aciklama metnini (uzun paragraf) tamamen
   gizleyip basligi ortaliyoruz. */
@media (max-width: 767px) {
  /* Alttan 85px olcusu metnin son satirindan olsun */
  .annotation-main-text p {
    margin: 0;
  }

  .annotation-main {
    left: 50% !important;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    padding: 0 20px;
  }

  .annotation-main-text {
    display: none;
  }
}
