/* ============================================================
   YBS Typography — Global section heading classes
   Tüm sayfalarda kullanılır. Inline style'a bağımlılığı azaltır.
   ============================================================ */

/* ============================================================
   ERP Sayfa — Section Bg + Padding (CSS class tabanlı)
   Elementor save edince settings silinse bile bu kurallar kalıcı.
   ============================================================ */

/* Section default padding (override edilebilir per-section) */
.elementor-section.ybs-erp-sec-hero,
.elementor-section.ybs-erp-sec-bc,
.elementor-section.ybs-erp-sec-intro,
.elementor-section.ybs-erp-sec-features,
.elementor-section.ybs-erp-sec-ai,
.elementor-section.ybs-erp-sec-video,
.elementor-section.ybs-erp-sec-sp,
.elementor-section.ybs-erp-sec-iso,
.elementor-section.ybs-erp-sec-onboarding,
.elementor-section.ybs-erp-sec-free,
.elementor-section.ybs-erp-sec-faq,
.elementor-section.ybs-erp-sec-articles,
.elementor-section.ybs-erp-sec-cta {
  padding: 80px 20px;
}

/* Hero slider: no padding, bg dark navy (matches breadcrumb) */
.elementor-section.ybs-erp-sec-hero { padding: 0; background-color: #1A1A2E; }

/* Breadcrumb: dark navy seamlessly continuing from hero */
.elementor-section.ybs-erp-sec-bc { padding: 50px 20px; background-color: #1A1A2E; }

/* White intro */
.elementor-section.ybs-erp-sec-intro { background-color: #ffffff; }

/* Light gray features */
.elementor-section.ybs-erp-sec-features { background-color: #F8F9FA; }

/* White AI grid */
.elementor-section.ybs-erp-sec-ai { background-color: #ffffff; }

/* Modules section: no padding, plugin has its own */
.elementor-section.ybs-erp-sec-modules { padding: 0; }

/* White video carousel */
.elementor-section.ybs-erp-sec-video { background-color: #ffffff; }

/* Dark navy social proof */
.elementor-section.ybs-erp-sec-sp { background-color: #1A1A2E; }

/* White ISO standards */
.elementor-section.ybs-erp-sec-iso { background-color: #ffffff; }

/* Light gray onboarding */
.elementor-section.ybs-erp-sec-onboarding { background-color: #F8F9FA; }

/* Light teal free banner */
.elementor-section.ybs-erp-sec-free { background-color: #F0FDFA; }

/* Light gray FAQ */
.elementor-section.ybs-erp-sec-faq { background-color: #F8F9FA; }

/* White articles */
.elementor-section.ybs-erp-sec-articles { background-color: #ffffff; }

/* White CTA final, smaller padding */
.elementor-section.ybs-erp-sec-cta { padding: 60px 20px; background-color: #ffffff; }

@media (max-width: 1024px) {
  .elementor-section.ybs-erp-sec-bc,
  .elementor-section.ybs-erp-sec-intro,
  .elementor-section.ybs-erp-sec-features,
  .elementor-section.ybs-erp-sec-ai,
  .elementor-section.ybs-erp-sec-video,
  .elementor-section.ybs-erp-sec-sp,
  .elementor-section.ybs-erp-sec-iso,
  .elementor-section.ybs-erp-sec-onboarding,
  .elementor-section.ybs-erp-sec-free,
  .elementor-section.ybs-erp-sec-faq,
  .elementor-section.ybs-erp-sec-articles,
  .elementor-section.ybs-erp-sec-cta { padding: 60px 16px; }
}

@media (max-width: 767px) {
  .elementor-section.ybs-erp-sec-bc { padding: 40px 14px; }
  .elementor-section.ybs-erp-sec-intro,
  .elementor-section.ybs-erp-sec-features,
  .elementor-section.ybs-erp-sec-ai,
  .elementor-section.ybs-erp-sec-video,
  .elementor-section.ybs-erp-sec-sp,
  .elementor-section.ybs-erp-sec-iso,
  .elementor-section.ybs-erp-sec-onboarding,
  .elementor-section.ybs-erp-sec-free,
  .elementor-section.ybs-erp-sec-faq,
  .elementor-section.ybs-erp-sec-articles,
  .elementor-section.ybs-erp-sec-cta { padding: 50px 14px; }
}

/* ============================================================
   BPM Sayfa — Section Bg Fallback (CSS class tabanlı)
   Elementor save edince native settings silinse bile bu kalıcı.
   İçindeki HTML kendi bg/padding'ini taşıyor; bunlar sadece fallback.
   ============================================================ */
.elementor-section.ybs-bpm-sec-hero          { background-color: #1A1A2E; padding: 0; }
.elementor-section.ybs-bpm-sec-neden         { background-color: #ffffff; }
.elementor-section.ybs-bpm-sec-ozellikler    { background-color: #F8F9FA; }
.elementor-section.ybs-bpm-sec-ai-modul      { background-color: #0b1b3a; }
.elementor-section.ybs-bpm-sec-yetkilendirme { background-color: #F8F9FA; }
.elementor-section.ybs-bpm-sec-db-uyumu      { background-color: #ffffff; }
.elementor-section.ybs-bpm-sec-form          { background-color: #ffffff; }
.elementor-section.ybs-bpm-sec-liste         { background-color: #F8F9FA; }
.elementor-section.ybs-bpm-sec-userview      { background-color: #ffffff; }
.elementor-section.ybs-bpm-sec-isakisi       { background-color: #F8F9FA; }
.elementor-section.ybs-bpm-sec-report        { background-color: #ffffff; }
.elementor-section.ybs-bpm-sec-aiagent       { background-color: #F8F9FA; }
.elementor-section.ybs-bpm-sec-tema          { background-color: #ffffff; }
.elementor-section.ybs-bpm-sec-grid12        { background-color: #F8F9FA; }
.elementor-section.ybs-bpm-sec-modul-carousel{ background-color: #ffffff; }
.elementor-section.ybs-bpm-sec-cta           { background-color: #F8F9FA; }

/* BPM section'ları içerideki HTML kendi padding'ini taşıdığı için section padding=0 */
.elementor-section[class*="ybs-bpm-sec-"] { padding: 0; }

/* ============================================================
   Anasayfa — Section Bg Fallback
   ============================================================ */
.elementor-section.ybs-home-sec-hs    { background-color: #1A1A2E; padding: 0; }
.elementor-section.ybs-home-sec-stats { background-color: #1A1A2E; }

/* Stats: dark navy üzeri — içerideki beyaz bg'yi kaldır, label renklerini açık gri yap */
.elementor-section.ybs-home-sec-stats .ybs-stats {
  background: transparent !important;
  border-bottom: 0 !important;
  padding-top: 30px !important;
  padding-bottom: 30px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.elementor-section.ybs-home-sec-stats .ybs-stat .v { color: #19c2c6 !important; }
.elementor-section.ybs-home-sec-stats .ybs-stat .l { color: #cbd5e1 !important; }
.elementor-section.ybs-home-sec-stats .ybs-stat::after {
  background: rgba(255,255,255,.15) !important;
}
.elementor-section.ybs-home-sec-coz   { background-color: #ffffff; }
.elementor-section.ybs-home-sec-abt   { background-color: #F8F9FA; }
.elementor-section.ybs-home-sec-mods  { background-color: #ffffff; }
.elementor-section.ybs-home-sec-snr   { background-color: #F8F9FA; }
.elementor-section.ybs-home-sec-cmp   { background-color: #ffffff; }
.elementor-section.ybs-home-sec-ai    { background-color: #0b1b3a; }
.elementor-section.ybs-home-sec-tst   { background-color: #F8F9FA; }
.elementor-section.ybs-home-sec-blog  { background-color: #ffffff; }
.elementor-section.ybs-home-sec-faq   { background-color: #F8F9FA; }
.elementor-section.ybs-home-sec-cta   { background-color: #ffffff; }
.elementor-section[class*="ybs-home-sec-"] { padding: 0; }

/* ============================================================
   ISO Entegre Yönetim Sayfa — Section Bg Fallback
   ============================================================ */
.elementor-section.ybs-iso-sec-hero            { background-color: #1A1A2E; padding: 0; }
.elementor-section.ybs-iso-sec-standartlar     { background-color: #ffffff; }
.elementor-section.ybs-iso-sec-moduller        { background-color: #F8F9FA; }
.elementor-section.ybs-iso-sec-ana-modul-detay { background-color: #ffffff; }
.elementor-section.ybs-iso-sec-bpm-altyapi     { background-color: #F8F9FA; }
.elementor-section.ybs-iso-sec-sinirsiz        { background-color: #ffffff; }
.elementor-section.ybs-iso-sec-uyumluluk       { background-color: #F8F9FA; }
.elementor-section.ybs-iso-sec-sss             { background-color: #ffffff; }
.elementor-section.ybs-iso-sec-cta             { background-color: #F8F9FA; }
.elementor-section[class*="ybs-iso-sec-"]      { padding: 0; }

/* ---------- Section Title Block (eyebrow + heading + lead) ---------- */
.ybs-section-head { text-align: center; max-width: 880px; margin: 0 auto 2.5rem }
.ybs-section-head--left  { text-align: left }
.ybs-section-head--white .ybs-eyebrow { color: #19c2c6 }
.ybs-section-head--white .ybs-h2      { color: #ffffff }
.ybs-section-head--white .ybs-lead    { color: #cbd5e1 }

/* ---------- Eyebrow (small caps label above heading) ---------- */
.ybs-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #19c2c6;
  margin-bottom: .75rem;
  line-height: 1.4;
}
.ybs-eyebrow--orange { color: #f57c2c }
.ybs-eyebrow--purple { color: #7c3aed }

/* ---------- H2 ---------- */
.ybs-h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  font-weight: 800;
  margin: .3rem 0 .8rem;
  color: #1A1A2E;
  letter-spacing: -.015em;
}
.ybs-h2--white { color: #ffffff }
.ybs-h2--teal  { color: #19c2c6 }

/* Highlight span inside h2 */
.ybs-h2 .ybs-h2-hl { color: #19c2c6 }
.ybs-h2 .ybs-h2-hl-orange { color: #f57c2c }

/* ---------- Lead paragraph ---------- */
.ybs-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
  max-width: 720px;
  margin: 0 auto 1.5rem;
}
.ybs-lead--white { color: #cbd5e1 }

/* ---------- CTA Buttons ---------- */
.ybs-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.ybs-cta-pri,
.ybs-cta-sec,
.ybs-cta-ghost {
  display: inline-block;
  padding: .9rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: 2px solid transparent;
}
.ybs-cta-pri { background: #19c2c6; color: #fff; }
.ybs-cta-pri:hover { background: #0d9488; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20,184,166,.3); color: #fff }
.ybs-cta-sec { background: transparent; color: #fff; border-color: #fff; }
.ybs-cta-sec:hover { background: rgba(255,255,255,.1); color: #fff }
.ybs-cta-ghost { background: transparent; color: #19c2c6; border-color: #19c2c6 }
.ybs-cta-ghost:hover { background: #19c2c6; color: #fff }
.ybs-cta-orange { background: #f57c2c; color: #fff }
.ybs-cta-orange:hover { background: #ea580c; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,124,44,.3) }

/* ---------- Breadcrumb ---------- */
.ybs-breadcrumb { text-align: center; margin-bottom: 1.5rem }
.ybs-breadcrumb a { color: #94a3b8; text-decoration: none; font-size: .9rem; transition: color .2s ease }
.ybs-breadcrumb a:hover { color: #19c2c6 }
.ybs-breadcrumb .sep { color: #475569; margin: 0 .5rem }
.ybs-breadcrumb .current { color: #19c2c6; font-weight: 600; font-size: .9rem }

/* ---------- Free Platform Banner (Legacy) ---------- */
.ybs-free-banner {
  background: linear-gradient(135deg, #19c2c6 0%, #0d9488 100%);
  color: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 1240px;
  margin: 0 auto 2rem;
  box-shadow: 0 16px 40px rgba(20,184,166,.2);
}
.ybs-free-banner__badge { display: inline-block; background: rgba(255,255,255,.18); padding: .4rem 1rem; border-radius: 9999px; font-size: .8rem; font-weight: 600; margin-bottom: .8rem; }
.ybs-free-banner__title { color: #fff; font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin: 0 0 .8rem; line-height: 1.2; }
.ybs-free-banner__title .hl { display: inline-block; background: #fff; color: #0d9488; padding: .1rem .6rem; border-radius: 8px; }
.ybs-free-banner__desc { margin: 0 0 1.2rem; font-size: 1.05rem; line-height: 1.7; opacity: .95; color: #fff }
.ybs-free-banner__features { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; font-size: .95rem; font-weight: 500; }

/* ============================================================
   PREMIUM Scalability Banner — Kurumsal görünüm
   ============================================================ */
.ybs-premium-banner {
  position: relative;
  background:
    radial-gradient(circle at 0% 0%, rgba(94,234,212,.18) 0%, transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(20,184,166,.2) 0%, transparent 45%),
    linear-gradient(135deg, #0b1530 0%, #0f1e3a 40%, #134e4a 100%);
  border-radius: 28px;
  max-width: 1280px;
  margin: 0 auto;
  color: #fff;
  box-shadow: 0 28px 70px rgba(13,148,136,.22), 0 4px 14px rgba(11,21,48,.4);
  overflow: hidden;
  border: 1px solid rgba(94,234,212,.12);
}
/* Decorative grid overlay */
.ybs-premium-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.ybs-premium-banner__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(2.2rem, 4vw, 3.5rem);
  align-items: center;
}
.ybs-premium-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem 1.05rem;
  background: rgba(94,234,212,.08);
  border: 1px solid rgba(94,234,212,.25);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  color: #5eead4;
}
.ybs-premium-banner__badge-dot {
  width: 8px;
  height: 8px;
  background: #5eead4;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(94,234,212,.9), 0 0 24px rgba(94,234,212,.5);
  animation: ybs-pb-pulse 2.2s ease-in-out infinite;
}
@keyframes ybs-pb-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(1.35); }
}
.ybs-premium-banner__title {
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  font-weight: 800;
  margin: 0 0 1.1rem;
  line-height: 1.12;
  color: #fff;
  letter-spacing: -.02em;
}
.ybs-premium-banner__title-hl {
  background: linear-gradient(120deg, #5eead4 0%, #67e8f9 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.ybs-premium-banner__desc {
  margin: 0 0 1.8rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255,255,255,.78);
  max-width: 540px;
}
.ybs-premium-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .95rem 1.9rem;
  background: linear-gradient(135deg, #fff 0%, #f0fdfa 100%);
  color: #0d9488;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: .95rem;
  letter-spacing: -.01em;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 8px 22px rgba(94,234,212,.2);
}
.ybs-premium-banner__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255,255,255,.18), 0 4px 12px rgba(94,234,212,.3);
  color: #0d9488;
}
.ybs-premium-banner__cta-arrow {
  transition: transform .25s ease;
}
.ybs-premium-banner__cta:hover .ybs-premium-banner__cta-arrow { transform: translateX(4px); }

.ybs-premium-banner__right {
  display: grid;
  gap: .85rem;
  align-content: center;
}
.ybs-premium-banner__feat {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  transition: background .3s ease, transform .3s ease, border-color .3s ease;
  align-items: center;
}
.ybs-premium-banner__feat:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(94,234,212,.3);
  transform: translateX(6px);
}
.ybs-premium-banner__feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(13,148,136,.45);
  font-weight: 700;
  line-height: 1;
}
.ybs-premium-banner__feat-body { flex: 1 }
.ybs-premium-banner__feat-body h4 {
  margin: 0 0 .2rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.005em;
}
.ybs-premium-banner__feat-body p {
  margin: 0;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
}

@media (max-width: 880px) {
  .ybs-premium-banner__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
  .ybs-premium-banner__title { font-size: clamp(1.5rem, 6vw, 2rem) }
  .ybs-premium-banner__feat { padding: .85rem 1rem }
  .ybs-premium-banner__feat-icon { width: 40px; height: 40px; font-size: 1.2rem }
}

/* ---------- CTA Final Band ---------- */
.ybs-cta-band {
  background: linear-gradient(135deg, #19c2c6 0%, #0d9488 100%);
  border-radius: 24px;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  max-width: 1120px;
  margin: 0 auto;
  color: #fff;
  box-shadow: 0 20px 50px rgba(20,184,166,.25);
}
.ybs-cta-band__title { color: #fff; font-size: clamp(1.5rem,3.5vw,2.4rem); margin: 0 0 1rem; font-weight: 700; line-height: 1.25 }
.ybs-cta-band__desc { font-size: 1.08rem; line-height: 1.75; margin: 0 auto 2rem; max-width: 620px; opacity: .95; color: #fff }
.ybs-cta-band__btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.ybs-cta-band__btn-light { background: #fff; color: #0d9488; padding: 1rem 2.4rem; border-radius: 9999px; font-weight: 700; text-decoration: none; font-size: 1rem; transition: transform .2s ease }
.ybs-cta-band__btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); color: #0d9488 }
.ybs-cta-band__btn-outline { background: transparent; color: #fff; padding: .88rem 2.2rem; border-radius: 9999px; font-weight: 600; text-decoration: none; font-size: 1rem; border: 2px solid #fff; transition: background .2s ease }
.ybs-cta-band__btn-outline:hover { background: rgba(255,255,255,.1); color: #fff }

/* ---------- Articles Header Block ---------- */
.ybs-articles-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1340px;
  margin: 0 auto 2rem;
  gap: 1.5rem;
}
.ybs-articles-head__left { flex: 1; min-width: 280px }
.ybs-articles-head__btn { color: #19c2c6; text-decoration: none; font-weight: 600; font-size: .92rem; padding: .6rem 1.3rem; border: 1.5px solid #19c2c6; border-radius: 9999px; white-space: nowrap; transition: background .2s ease, color .2s ease }
.ybs-articles-head__btn:hover { background: #19c2c6; color: #fff }

/* ---------- Onboarding Two Column ---------- */
.ybs-onboarding-text .ybs-h2 { text-align: left; margin: .4rem 0 1rem }
.ybs-onboarding-text .ybs-lead { text-align: left; margin: 0 0 1.5rem }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .ybs-section-head { margin-bottom: 1.8rem }
  .ybs-h2 { font-size: clamp(1.4rem, 5vw, 1.8rem) }
  .ybs-lead { font-size: .98rem }
  .ybs-free-banner { padding: 1.8rem 1.4rem }
  .ybs-articles-head { flex-direction: column; align-items: flex-start }
}
