/* ============================================================
   DATASSL — Modern SaaS Theme 2026
   Kapsamlı görsel yenileme katmanı. Mevcut HTML class'larını
   modern SaaS estetiğine dönüştürür (PHP/JS mantığı değişmez).
   ============================================================ */

:root {
  /* Renk paleti — modern indigo + güven yeşili */
  --ds-primary: #4f46e5;
  --ds-primary-600: #4338ca;
  --ds-primary-700: #3730a3;
  --ds-primary-soft: #eef2ff;
  --ds-accent: #10b981;
  --ds-accent-soft: #ecfdf5;

  --ds-ink: #0f172a;
  --ds-ink-2: #334155;
  --ds-muted: #64748b;
  --ds-muted-2: #94a3b8;
  --ds-line: #e5e7eb;
  --ds-line-2: #f1f5f9;
  --ds-bg: #ffffff;
  --ds-bg-soft: #f8fafc;
  --ds-bg-softer: #f1f5f9;

  /* Gölge katmanları */
  --ds-sh-xs: 0 1px 2px rgba(15,23,42,.05);
  --ds-sh-sm: 0 2px 8px -2px rgba(15,23,42,.08);
  --ds-sh-md: 0 8px 24px -8px rgba(15,23,42,.12);
  --ds-sh-lg: 0 20px 45px -18px rgba(15,23,42,.18);
  --ds-sh-primary: 0 12px 30px -10px rgba(79,70,229,.45);

  --ds-radius: 16px;
  --ds-radius-sm: 12px;
  --ds-radius-lg: 24px;

  --ds-grad: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #7c3aed 100%);
  --ds-grad-soft: linear-gradient(135deg, #eef2ff, #faf5ff);
}

/* ---------- Global tipografi & tabanı ---------- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ds-ink-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,h2,h3,h4 { color: var(--ds-ink); letter-spacing: -0.02em; font-weight: 700; }

/* ---------- Section düzeni ---------- */
.cert-types-section,
.ssl-categories-section,
.price-table-section,
.brands-section,
.features-section,
.faq-section,
.comparison-section,
.trust-section,
.reviews-section,
.steps-section,
.blog-section,
.seo-info-section {
  padding: 84px 0;
  position: relative;
}
.bg-light,
.ssl-categories-section,
.reviews-section,
.comparison-section {
  background: var(--ds-bg-soft) !important;
}

/* Section başlık ortak stil */
.section-title,
.cert-types-section h2,
.ssl-categories-section h2,
.features-section h2,
.faq-section h2,
.brands-section h2,
.price-table-section h2,
.steps-section h2,
.reviews-section h2,
.trust-section h2,
.blog-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ds-ink);
  line-height: 1.15;
}
.section-subtitle,
.section-desc {
  color: var(--ds-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Eyebrow / badge pill */
.section-badge, .eyebrow, .badge-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--ds-primary-soft); color: var(--ds-primary-600);
  font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  text-transform: uppercase;
}

/* ---------- HERO ---------- */
.hero-slider-section { position: relative; }
.hero-slide {
  background-color: var(--ds-ink) !important;
  position: relative;
}
.hero-slide-overlay {
  background: linear-gradient(115deg, rgba(15,23,42,.92) 0%, rgba(49,46,129,.82) 45%, rgba(79,70,229,.55) 100%) !important;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 16px; border-radius: 999px;
  color: #fff; font-weight: 600; font-size: .85rem;
}
.hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.6rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.08 !important;
  color: #fff !important;
}
.hero-description {
  font-size: clamp(1rem, 1.6vw, 1.2rem) !important;
  color: rgba(255,255,255,.82) !important;
  line-height: 1.65 !important;
  max-width: 560px;
}
.hero-buttons .btn,
.hero-buttons a {
  border-radius: 12px !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}
.hero-buttons .btn-primary,
.hero-buttons .btn-light {
  background: #fff !important; color: var(--ds-primary-700) !important;
  border: none !important; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4) !important;
}
.hero-buttons .btn-primary:hover,
.hero-buttons .btn-light:hover { transform: translateY(-2px) !important; }
.hero-buttons .btn-outline-light {
  border: 1.5px solid rgba(255,255,255,.55) !important; color:#fff !important;
  background: rgba(255,255,255,.06) !important; backdrop-filter: blur(6px);
}

/* Hero istatistik barı */
.hero-stats-bar {
  background: var(--ds-ink) !important;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-stat-value { color:#fff !important; font-weight: 800 !important; font-size: 1.9rem !important; }
.hero-stat-label { color: rgba(255,255,255,.6) !important; }

/* Hero trust widget (kart) */
.hero-visual-modern, .hero-trust-widget {
  background: rgba(255,255,255,.06) !important;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: var(--ds-radius-lg) !important;
  box-shadow: var(--ds-sh-lg) !important;
}

/* ---------- Kartlar (genel) ---------- */
.cert-type-card, .category-card, .feature-card, .brand-card,
.price-card, .review-card, .step-card, .blog-card, .trust-card,
.card {
  border-radius: var(--ds-radius) !important;
  border: 1px solid var(--ds-line) !important;
  background: var(--ds-bg) !important;
  box-shadow: var(--ds-sh-sm) !important;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}
.cert-type-card:hover, .category-card:hover, .feature-card:hover,
.price-card:hover, .review-card:hover, .step-card:hover,
.blog-card:hover, .brand-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--ds-sh-lg) !important;
  border-color: #c7d2fe !important;
}

/* İkon rozetleri */
.feature-icon, .cert-type-icon, .category-icon, .step-icon, .trust-icon {
  border-radius: 14px !important;
  background: var(--ds-primary-soft) !important;
  color: var(--ds-primary) !important;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Fiyat kartları ---------- */
.price-card {
  overflow: hidden;
}
.price-card.featured, .price-card.popular, .price-card.highlighted {
  border: 2px solid var(--ds-primary) !important;
  box-shadow: var(--ds-sh-primary) !important;
  transform: scale(1.02);
}
.price-card .price-amount, .price-value, .product-price {
  color: var(--ds-ink) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}
.price-card .btn, .product-card .btn {
  border-radius: 11px !important; font-weight: 700 !important;
}

/* Ürün / fiyat tablosu satırları */
.price-table-section table { border-collapse: separate; border-spacing: 0; }
.price-table-section thead th {
  background: var(--ds-bg-softer) !important;
  color: var(--ds-muted) !important;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .04em;
  font-weight: 700; border: none !important;
}
.price-table-section tbody tr { transition: background .15s ease; }
.price-table-section tbody tr:hover { background: var(--ds-primary-soft) !important; }

/* ---------- Butonlar (genel) ---------- */
.btn-primary {
  background: var(--ds-grad) !important;
  border: none !important;
  box-shadow: var(--ds-sh-primary) !important;
  border-radius: 11px !important;
  font-weight: 700 !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}
.btn-primary:hover { transform: translateY(-2px) !important; box-shadow: 0 16px 36px -12px rgba(79,70,229,.6) !important; }
.btn-outline-primary {
  border: 1.5px solid var(--ds-primary) !important; color: var(--ds-primary) !important;
  border-radius: 11px !important; font-weight: 700 !important; background:#fff !important;
}
.btn-outline-primary:hover { background: var(--ds-primary) !important; color:#fff !important; }

/* ---------- Brands (logo şeridi) ---------- */
.brand-card, .brand-logo-item {
  filter: grayscale(1); opacity: .65;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease !important;
}
.brand-card:hover, .brand-logo-item:hover { filter: grayscale(0); opacity: 1; transform: translateY(-3px); }

/* ---------- FAQ ---------- */
.faq-item, .faq-item-v2, .accordion-item {
  border: 1px solid var(--ds-line) !important;
  border-radius: var(--ds-radius-sm) !important;
  background:#fff !important; margin-bottom: 12px;
  box-shadow: var(--ds-sh-xs) !important;
  overflow: hidden;
}
.faq-question, .faq-question-v2, .accordion-button {
  font-weight: 700 !important; color: var(--ds-ink) !important;
  padding: 18px 20px !important;
}
.faq-item.active, .faq-item-v2.active { border-color: #c7d2fe !important; box-shadow: var(--ds-sh-sm) !important; }

/* ---------- Reviews ---------- */
.review-card { padding: 26px !important; }
.review-card .stars, .review-stars { color: #f59e0b !important; }

/* ---------- Steps (adımlar) ---------- */
.step-card { text-align: center; padding: 30px 22px !important; }
.step-number, .step-num {
  background: var(--ds-grad) !important; color:#fff !important;
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; box-shadow: var(--ds-sh-primary);
}

/* ---------- Trust / güven rozetleri ---------- */
.trust-section { background: var(--ds-grad-soft) !important; }
.trust-badge, .trust-item { color: var(--ds-ink-2); }

/* ---------- Blog kartları ---------- */
.blog-card img { border-radius: var(--ds-radius-sm) var(--ds-radius-sm) 0 0 !important; }
.blog-card .blog-title { font-weight: 700 !important; color: var(--ds-ink) !important; }
.blog-card .blog-meta { color: var(--ds-muted-2) !important; font-size: .82rem; }

/* ---------- Genel bağlantı ---------- */
a { transition: color .15s ease; }

/* Not: Scroll-reveal animasyonu kaldırıldı — opacity:0 başlangıcı bazı
   kartları gizli bırakabiliyordu. Hover-lift efekti yeterli. */

/* ---------- Responsive ince ayar ---------- */
@media (max-width: 768px) {
  .cert-types-section, .ssl-categories-section, .price-table-section,
  .brands-section, .features-section, .faq-section, .steps-section,
  .reviews-section, .trust-section, .blog-section { padding: 56px 0; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.6rem) !important; }
}

/* ============================================================
   HAZIR BLOK ŞABLONLARI — Modern SaaS (block_renderer.php)
   19 blok tipini profesyonel görünüme kavuşturur.
   ============================================================ */

/* Ortak blok section düzeni */
[class^="block-"], [class*=" block-"] {
  position: relative;
}
.block-features, .block-features-4, .block-features-cards,
.block-features-icon-box, .block-features-list,
.block-trust-badges, .block-trust-brands, .block-trust-stats,
.block-cta-banner, .block-cta-split, .block-faq,
.block-content-text, .block-content-columns, .block-content-steps {
  padding: 84px 0 !important;
}

/* --- HERO blokları --- */
.block-hero-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #312e81 100%) !important;
  position: relative; overflow: hidden;
}
.block-hero-gradient::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(600px 300px at 85% 10%, rgba(99,102,241,.25), transparent 70%);
  pointer-events:none;
}
.block-hero-gradient h1, .block-hero-split h1, .block-hero-stats h1 {
  font-weight: 800 !important; letter-spacing: -.03em !important; line-height: 1.1 !important;
}
.block-hero-gradient .btn, .block-hero-split .btn, .block-hero-stats .btn {
  border-radius: 12px !important; font-weight: 700 !important; padding: 13px 28px !important;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.4) !important;
  transition: transform .2s ease !important;
}
.block-hero-gradient .btn:hover, .block-hero-split .btn:hover, .block-hero-stats .btn:hover {
  transform: translateY(-2px) !important;
}
.block-hero-split { background: #f8fafc !important; }
.block-hero-split .badge {
  border-radius: 999px !important; padding: 7px 15px !important; font-weight: 700 !important;
  font-size: .8rem !important;
}
.block-hero-split .rounded-4 {
  border-radius: 24px !important; box-shadow: 0 24px 60px -24px rgba(79,70,229,.35) !important;
}
.block-hero-stats .rounded-3 {
  border-radius: 18px !important; backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15) !important;
  transition: transform .25s ease !important;
}
.block-hero-stats .rounded-3:hover { transform: translateY(-4px); }
.block-hero-stats h2 { font-weight: 800 !important; letter-spacing: -.02em; }

/* --- FEATURES blokları --- */
.block-features h2, .block-features-4 h2, .block-features-cards h2,
.block-trust-stats h2, .block-cta-banner h2, .block-faq h2 {
  font-weight: 800 !important; letter-spacing: -.03em !important;
  font-size: clamp(1.6rem, 3vw, 2.3rem) !important;
}
.block-features .card, .block-features-4 .card, .block-features-cards .card,
.block-features-icon-box .card, .block-features-list .card {
  border: 1px solid #eef0f4 !important; border-radius: 16px !important;
  box-shadow: 0 2px 8px -2px rgba(15,23,42,.06) !important;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}
.block-features .card:hover, .block-features-4 .card:hover,
.block-features-cards .card:hover, .block-features-icon-box .card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 40px -16px rgba(15,23,42,.18) !important;
  border-color: #c7d2fe !important;
}
.block-features i[class*="fa-"], .block-features-cards i[class*="fa-"],
.block-features-icon-box i[class*="fa-"] {
  border-radius: 14px;
}

/* --- TRUST blokları --- */
.block-trust-badges, .block-trust-stats { background: linear-gradient(135deg, #eef2ff, #faf5ff) !important; }
.block-trust-brands img, .block-trust-brands .brand-item {
  filter: grayscale(1); opacity:.6; transition: all .25s ease;
}
.block-trust-brands img:hover, .block-trust-brands .brand-item:hover {
  filter: grayscale(0); opacity: 1; transform: translateY(-3px);
}
.block-trust-stats h2, .block-trust-stats .h2 { font-weight: 800 !important; color: #4f46e5 !important; }

/* --- CTA blokları --- */
.block-cta-banner {
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  border-radius: 0 !important;
}
.block-cta-banner .btn, .block-cta-split .btn {
  border-radius: 12px !important; font-weight: 700 !important; padding: 13px 30px !important;
  background: #fff !important; color: #4f46e5 !important; border: none !important;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.3) !important;
  transition: transform .2s ease !important;
}
.block-cta-banner .btn:hover, .block-cta-split .btn:hover { transform: translateY(-2px) !important; }

/* --- FAQ bloğu --- */
.block-faq .accordion-item, .block-faq .faq-item {
  border: 1px solid #eef0f4 !important; border-radius: 12px !important;
  margin-bottom: 12px; box-shadow: 0 1px 2px rgba(15,23,42,.05) !important; overflow: hidden;
}
.block-faq .accordion-button, .block-faq .faq-question {
  font-weight: 700 !important; color: #0f172a !important; padding: 18px 20px !important;
}

/* --- CONTENT blokları --- */
.block-content-text, .block-content-columns { background: #fff !important; }
.block-content-columns .rounded-4 { border-radius: 22px !important; }
.block-content-columns ul li { font-size: .98rem; color: #334155; }
.block-content-steps .step-number, .block-content-steps .step-num {
  background: linear-gradient(135deg, #4f46e5, #6366f1) !important; color:#fff !important;
  box-shadow: 0 8px 20px -8px rgba(79,70,229,.45);
}

@media (max-width: 768px) {
  .block-features, .block-features-4, .block-features-cards, .block-trust-badges,
  .block-trust-stats, .block-cta-banner, .block-faq, .block-content-text,
  .block-content-columns, .block-content-steps { padding: 56px 0 !important; }
}
