/* ============================================================
   BulutWeb — home.css
   Slider ile footer arasındaki özel bölümler için stiller
   ============================================================ */

/* ─── Genel yardımcılar ─────────────────────────────────── */
:root {
  --bw-blue:       #007bff;
  --bw-blue-dark:  #0056b3;
  --bw-blue-light: #e8f3ff;
  --bw-navy:       #0d1b3e;
  --bw-text:       #2c3e50;
  --bw-muted:      #6c757d;
  --bw-border:     rgba(0, 0, 0, 0.08);
  --bw-radius:     14px;
  --bw-shadow:     0 4px 24px rgba(0, 123, 255, 0.10);
  --bw-transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── BÖLÜM 1: Rakamlarla Bulutweb ─────────────────────── */
.bw-stats-section {
  padding: 72px 0 80px;
  background: var(--bw-blue-light);
  position: relative;
  overflow: hidden;
}

/* Hafif dekoratif daire — arka plan */
.bw-stats-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.06);
  pointer-events: none;
}

.bw-stats-section .section-lead {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bw-blue);
  margin-bottom: 10px;
}

.bw-stats-section .section-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--bw-navy);
  line-height: 1.25;
  margin-bottom: 48px;
}

.bw-stats-section .section-heading span {
  color: var(--bw-blue);
}

/* Sayaç kartları */
.bw-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 991px) {
  .bw-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .bw-stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bw-stats-section .section-heading { font-size: 1.5rem; }
}

.bw-stat-card {
  background: #fff;
  border-radius: var(--bw-radius);
  padding: 32px 20px 28px;
  text-align: center;
  border: 1px solid var(--bw-border);
  box-shadow: var(--bw-shadow);
  transition: transform var(--bw-transition), box-shadow var(--bw-transition);
  position: relative;
  overflow: hidden;
}

.bw-stat-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bw-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--bw-transition);
}

.bw-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 123, 255, 0.15);
}

.bw-stat-card:hover::after {
  transform: scaleX(1);
}

.bw-stat-card .stat-icon {
  font-size: 2rem;
  color: var(--bw-blue);
  margin-bottom: 14px;
  display: block;
}

.bw-stat-card .stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--bw-navy);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
  font-variant-numeric: tabular-nums;
}

.bw-stat-card .stat-label {
  font-size: 0.88rem;
  color: var(--bw-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* Sayaç animasyonu — JS ile .counting sınıfı eklenir */
.bw-stat-card .stat-number.counting {
  color: var(--bw-blue);
}

/* Güven bandı — logolar / rozetler */
.bw-trust-bar {
  margin-top: 52px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.bw-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--bw-border);
  border-radius: 40px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bw-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.bw-trust-badge i {
  color: var(--bw-blue);
  font-size: 1rem;
}

/* ─── BÖLÜM 2: SSS Accordion ────────────────────────────── */
.bw-faq-section {
  padding: 80px 0 88px;
  background: #fff;
}

.bw-faq-section .section-lead {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bw-blue);
  margin-bottom: 10px;
}

.bw-faq-section .section-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--bw-navy);
  line-height: 1.25;
  margin-bottom: 8px;
}

.bw-faq-section .section-sub {
  font-size: 1rem;
  color: var(--bw-muted);
  margin-bottom: 44px;
  max-width: 560px;
}

/* Accordion */
.bw-faq-list {
  max-width: 760px;
}

.bw-faq-item {
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow var(--bw-transition);
}

.bw-faq-item:hover {
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.08);
}

.bw-faq-item.open {
  border-color: rgba(0, 123, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.1);
}

.bw-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  background: #fff;
  transition: background var(--bw-transition);
}

.bw-faq-item.open .bw-faq-question {
  background: var(--bw-blue-light);
}

.bw-faq-question:hover {
  background: var(--bw-blue-light);
}

.bw-faq-q-text {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--bw-text);
  line-height: 1.4;
}

.bw-faq-item.open .bw-faq-q-text {
  color: var(--bw-blue-dark);
}

.bw-faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bw-blue-light);
  border: 1px solid rgba(0, 123, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--bw-transition), transform var(--bw-transition);
}

.bw-faq-icon i {
  font-size: 0.75rem;
  color: var(--bw-blue);
  transition: transform var(--bw-transition);
}

.bw-faq-item.open .bw-faq-icon {
  background: var(--bw-blue);
}

.bw-faq-item.open .bw-faq-icon i {
  color: #fff;
  transform: rotate(180deg);
}

.bw-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              padding    0.28s ease;
  background: #fff;
}

.bw-faq-item.open .bw-faq-answer {
  max-height: 400px;
  padding-bottom: 4px;
}

.bw-faq-answer-inner {
  padding: 4px 22px 20px;
  font-size: 0.92rem;
  color: var(--bw-muted);
  line-height: 1.75;
  border-top: 1px dashed var(--bw-border);
}

.bw-faq-answer-inner a {
  color: var(--bw-blue);
  font-weight: 600;
  text-decoration: none;
}

.bw-faq-answer-inner a:hover {
  text-decoration: underline;
}

/* Sağ kolon — CTA kartı */
.bw-faq-cta-card {
  background: var(--bw-navy);
  border-radius: var(--bw-radius);
  padding: 36px 28px;
  color: #fff;
  height: fit-content;
  position: sticky;
  top: 24px;
}

.bw-faq-cta-card .cta-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  display: block;
  color: #60a5fa;
}

.bw-faq-cta-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.bw-faq-cta-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 24px;
}

.bw-faq-cta-card .btn-cta-white {
  display: block;
  background: #fff;
  color: var(--bw-navy);
  text-align: center;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background var(--bw-transition), transform var(--bw-transition);
  margin-bottom: 10px;
}

.bw-faq-cta-card .btn-cta-white:hover {
  background: #e8f3ff;
  transform: translateY(-2px);
}

.bw-faq-cta-card .btn-cta-outline {
  display: block;
  background: transparent;
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 0.88rem;
  text-decoration: none;
  transition: background var(--bw-transition), border-color var(--bw-transition);
}

.bw-faq-cta-card .btn-cta-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}

.bw-faq-cta-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 22px 0;
}

.bw-faq-cta-meta {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  line-height: 1.6;
}

/* ─── Sayaç JS animasyonu yardımcısı ────────────────────── */
@keyframes bw-count-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bw-stat-card {
  animation: bw-count-in 0.5s ease both;
}

.bw-stat-card:nth-child(1) { animation-delay: 0.05s; }
.bw-stat-card:nth-child(2) { animation-delay: 0.12s; }
.bw-stat-card:nth-child(3) { animation-delay: 0.19s; }
.bw-stat-card:nth-child(4) { animation-delay: 0.26s; }
