/* ═══════════════════════════════════════════════════════════════════
   BUFFETAG — tanıtım sitesi ortak teması

   NEDEN VAR: her sayfa (index, about, contact, demo-request) kendi
   <style> bloğunda AYNI :root token'larını ve aynı .section-* /
   .btn-*-custom / .feature-card kurallarını yeniden tanımlıyordu.
   Kopyalanan token kaçınılmaz olarak ayrışır ve ayrışan yarısı
   sessizce yanlış kalır — bu kod tabanında bizzat yaşandı:
   MisafirTema::baski() token'ların ikinci kopyasıydı ve o yüzden
   silindi.

   Yeni sayfalar :root'u TEKRARLAMAZ, buradan alır. Mevcut dört
   sayfaya dokunulmadı (aynı değerleri yazdıkları için çakışmıyorlar);
   onlar da zamanla buraya taşınabilir.
   ═══════════════════════════════════════════════════════════════════ */

:root {
    --primary: #0b1120;
    --primary-light: #1a2540;
    --accent: #0ea5e9;
    --accent-light: #38bdf8;
    --accent-dark: #0284c7;
    --accent-glow: #22d3ee;
    --success: #10b981;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;

    /* Koyu bantların tek gradyanı — hero, CTA ve iç sayfa başlığı
       aynı yüzeyi paylaşsın diye token. Üç yerde elle yazılırsa
       biri değişince diğerleri geride kalır. */
    --koyu-bant: linear-gradient(135deg, #0b1120 0%, #14223f 55%, #0e2a3d 100%);
}

/* ── Düğmeler ────────────────────────────────────────────────────── */
.btn-primary-custom { padding: 16px 32px; background: linear-gradient(120deg, #0ea5e9, #06b6d4); color: var(--white); border: none; border-radius: 10px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s ease; text-decoration: none; box-shadow: 0 8px 24px rgba(14,165,233,0.35); }
.btn-primary-custom:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(14,165,233,0.5); filter: brightness(1.08); color: var(--white); }
.btn-primary-custom.btn-wa { background: linear-gradient(120deg, #25D366, #128C7E); box-shadow: 0 8px 24px rgba(37,211,102,0.35); }
.btn-primary-custom.btn-wa:hover { box-shadow: 0 14px 38px rgba(37,211,102,0.5); }
.btn-outline-custom { padding: 16px 32px; background: transparent; color: var(--white); border: 2px solid var(--gray-500); border-radius: 8px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s ease; text-decoration: none; }
.btn-outline-custom:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.05); }

/* ── Bölüm başlığı ───────────────────────────────────────────────── */
.section-header { max-width: 700px; margin: 0 auto 60px; text-align: center; }
.section-label { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; padding: 6px 14px; background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.2); border-radius: 30px; }
.section-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(14,165,233,0.2); }
.section-title { font-size: 38px; font-weight: 700; color: var(--primary); margin-bottom: 16px; line-height: 1.25; }
.section-desc { font-size: 17px; color: var(--gray-500); line-height: 1.7; }

/* ── Kartlar ─────────────────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card { padding: 36px 32px; background: var(--gray-50); border-radius: 12px; border: 1px solid var(--gray-200); transition: all 0.3s ease; }
.feature-card:hover { background: var(--white); border-color: var(--accent); box-shadow: 0 20px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.feature-icon { width: 56px; height: 56px; background: linear-gradient(135deg, #0ea5e9, #0284c7); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: #fff; font-size: 26px; box-shadow: 0 8px 20px rgba(14,165,233,0.25); transition: all .3s; }
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-3deg); box-shadow: 0 12px 28px rgba(14,165,233,0.4); }
.feature-card h3, .feature-card h4 { font-size: 19px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.feature-card p { font-size: 15px; color: var(--gray-500); line-height: 1.7; margin: 0; }

/* ── İç sayfa başlık bandı ───────────────────────────────────────── */
.sayfa-hero { background: var(--koyu-bant); padding: 88px 0 76px; position: relative; overflow: hidden; }
.sayfa-hero::after { content: ''; position: absolute; top: -22%; right: -6%; width: 460px; height: 460px; background: radial-gradient(circle, rgba(14,165,233,0.20) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.sayfa-hero .ic { position: relative; z-index: 2; max-width: 760px; }
.sayfa-hero h1 { font-size: 46px; font-weight: 800; color: var(--white); line-height: 1.16; letter-spacing: -0.02em; margin-bottom: 20px; }
.sayfa-hero h1 .vurgu { background: linear-gradient(120deg, #38bdf8, #22d3ee); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sayfa-hero p { font-size: 18px; color: #c3d0e0; line-height: 1.68; margin: 0; max-width: 640px; }

/* ── Kırıntı yolu ────────────────────────────────────────────────── */
.kirinti { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 14px; flex-wrap: wrap; }
.kirinti a { color: #7dd3fc; text-decoration: none; font-weight: 600; }
.kirinti a:hover { color: var(--white); text-decoration: underline; }
.kirinti span { color: var(--gray-400); }
.kirinti .simdi { color: var(--white); font-weight: 600; }

/* ── Alt çağrı bandı ─────────────────────────────────────────────── */
.cta-section { padding: 100px 0; background: var(--koyu-bant); text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ""; position: absolute; top: -10%; right: 5%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(14,165,233,0.15), transparent 70%); border-radius: 50%; pointer-events: none; }
.cta-section h2 { font-size: 36px; font-weight: 700; color: var(--white); margin-bottom: 16px; position: relative; z-index: 2; }
.cta-section p { font-size: 18px; color: var(--gray-400); margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto; position: relative; z-index: 2; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }

/* ── Bölüm dolgusu ───────────────────────────────────────────────── */
.bolum { padding: 96px 0; }
.bolum-gri { padding: 96px 0; background: var(--gray-50); }

@media (max-width: 991px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .sayfa-hero h1 { font-size: 38px; }
}

@media (max-width: 767px) {
    .feature-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 30px; }
    .sayfa-hero { padding: 64px 0 56px; }
    .sayfa-hero h1 { font-size: 31px; }
    .sayfa-hero p { font-size: 16px; }
    .cta-section h2 { font-size: 28px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn-primary-custom, .btn-outline-custom { width: 100%; justify-content: center; }
    .bolum, .bolum-gri { padding: 68px 0; }
}
