/* ============================================================
   KoçKar Bilişim ve Güvenlik Sistemleri
   Tema sistemi: kırmızı-siyah-beyaz ağırlıklı 3 tema
   (data-theme = dark | light | aurora)
   ============================================================ */

/* ---- Yapısal (temadan bağımsız) ---- */
:root {
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.10);
    --shadow: 0 10px 30px -12px rgba(0,0,0,.28);
    --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.45);
    --container: 1180px;
    --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ================= TEMA: DARK (Kırmızı-Siyah) ================= */
[data-theme="dark"] {
    --bg: #0c0c0e; --surface: #151519; --surface-2: #1b1c21;
    --text: #c3c7cf; --heading: #f4f5f7; --muted: #8b9099; --line: #2a2b31;
    --accent: #e5383b; --accent-2: #ff5a5f; --accent-soft: rgba(229,56,59,.14); --accent-ink: #ffffff;
    --dark: #000000; --dark-2: #141418; --on-dark: #eef0f3; --on-dark-muted: #9aa0aa;
    --header-bg: rgba(12,12,14,.85);
    --btn-dark-bg: #26272e; --btn-dark-bg-h: #33343d; --btn-dark-text: #ffffff;
    --hero: radial-gradient(1100px 480px at 82% -10%, rgba(229,56,59,.22), transparent 60%),
            radial-gradient(760px 460px at 8% 115%, rgba(229,56,59,.10), transparent 55%),
            linear-gradient(160deg, #101013 0%, #000000 60%);
    --grid-line: rgba(255,255,255,.05);
    --body-bg: var(--bg);
}

/* ================= TEMA: LIGHT (Beyaz-Kırmızı) ================= */
[data-theme="light"] {
    --bg: #ffffff; --surface: #ffffff; --surface-2: #f5f6f8;
    --text: #4b5563; --heading: #15171c; --muted: #6b7280; --line: #e6e8ec;
    --accent: #c1121f; --accent-2: #e5383b; --accent-soft: rgba(193,18,31,.10); --accent-ink: #ffffff;
    --dark: #17181d; --dark-2: #212228; --on-dark: #eef0f3; --on-dark-muted: #a7adb8;
    --header-bg: rgba(255,255,255,.90);
    --btn-dark-bg: #17181d; --btn-dark-bg-h: #2a2b32; --btn-dark-text: #ffffff;
    --hero: radial-gradient(1100px 480px at 82% -10%, rgba(229,56,59,.26), transparent 60%),
            radial-gradient(760px 460px at 8% 115%, rgba(193,18,31,.16), transparent 55%),
            linear-gradient(160deg, #1a1b20 0%, #0e0f12 65%);
    --grid-line: rgba(255,255,255,.05);
    --body-bg: var(--bg);
}

/* ================= TEMA: AURORA (Kırmızı gradyan / cam) ================= */
[data-theme="aurora"] {
    --bg: #0a0710; --surface: rgba(255,255,255,.045); --surface-2: rgba(255,255,255,.06);
    --text: #cfc7d6; --heading: #ffffff; --muted: #9b8fa8; --line: rgba(255,255,255,.10);
    --accent: #ff2d55; --accent-2: #ff6b81; --accent-soft: rgba(255,45,85,.16); --accent-ink: #ffffff;
    --dark: #120616; --dark-2: #1c0a22; --on-dark: #f2ecf6; --on-dark-muted: #ac9fb6;
    --header-bg: rgba(10,7,16,.66);
    --btn-dark-bg: rgba(255,255,255,.10); --btn-dark-bg-h: rgba(255,255,255,.18); --btn-dark-text: #ffffff;
    --hero: radial-gradient(900px 500px at 80% -5%, rgba(255,45,85,.35), transparent 60%),
            radial-gradient(700px 500px at 15% 110%, rgba(150,30,120,.30), transparent 55%),
            linear-gradient(160deg, #1a0820 0%, #0a0710 60%);
    --grid-line: rgba(255,255,255,.06);
    --body-bg: radial-gradient(1200px 800px at 85% -5%, rgba(255,45,85,.10), transparent 55%),
               radial-gradient(1000px 700px at 0% 100%, rgba(150,30,120,.10), transparent 55%),
               var(--bg);
}
[data-theme="aurora"] .card,
[data-theme="aurora"] .feature-group,
[data-theme="aurora"] .form-card,
[data-theme="aurora"] .faq details { backdrop-filter: blur(10px); }
[data-theme="aurora"] .field input,
[data-theme="aurora"] .field textarea,
[data-theme="aurora"] .field select { background: rgba(255,255,255,.05); color: var(--heading); }

/* ---- Reset / temel ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; font-family: var(--font); color: var(--text);
    background: var(--body-bg); line-height: 1.7; font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { color: var(--heading); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-2); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--surface-2); }
.section--navy { background: var(--dark); color: var(--on-dark); }
.section--tight { padding: 56px 0; }

/* ---- Butonlar ---- */
.btn {
    display: inline-flex; align-items: center; gap: .55rem; padding: 13px 26px;
    border-radius: 999px; font-weight: 600; font-size: .98rem; border: 2px solid transparent;
    cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); box-shadow: 0 8px 22px -8px var(--accent); }
.btn-primary:hover { color: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 14px 28px -10px var(--accent); }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { color: var(--on-dark); border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--btn-dark-bg); color: var(--btn-dark-text); }
.btn-dark:hover { color: var(--btn-dark-text); background: var(--btn-dark-bg-h); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---- Top bar ---- */
.topbar { background: var(--dark); color: var(--on-dark-muted); font-size: .86rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: var(--on-dark); }
.topbar a:hover { color: var(--accent-2); }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 15px; height: 15px; opacity: .8; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social svg { width: 16px; height: 16px; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; border-radius: 12px; flex: none; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px -6px var(--accent); }
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { line-height: 1.1; }
.brand-logo { height: 48px; width: auto; max-width: 280px; object-fit: contain; display: block; }
.footer-logo-badge { display: inline-flex; align-items: center; background: #fff; border-radius: 999px; padding: 14px 30px; box-shadow: 0 10px 26px -12px rgba(0,0,0,.55); }
.footer-logo-badge img { height: 46px; width: auto; max-width: 230px; object-fit: contain; display: block; }
.brand-text b { display: block; color: var(--heading); font-size: 1.12rem; letter-spacing: -.01em; }
.brand-text span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.menu a { display: block; padding: 10px 15px; border-radius: 9px; color: var(--heading); font-weight: 500; font-size: .96rem; }
.menu a:hover, .menu a.active { color: var(--accent); background: var(--surface-2); }

/* Açılır alt menü (Kurumsal) */
.menu .has-sub { position: relative; }
.sub-toggle { display: flex; align-items: center; gap: 5px; padding: 10px 15px; border-radius: 9px; color: var(--heading); font-weight: 500; font-size: .96rem; cursor: pointer; user-select: none; }
.sub-toggle svg { width: 15px; height: 15px; opacity: .7; transition: transform .2s; }
.menu .has-sub:hover .sub-toggle, .sub-toggle.active { color: var(--accent); background: var(--surface-2); }
.menu .has-sub:hover .sub-toggle svg { transform: rotate(180deg); }
.submenu { list-style: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 200px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 7px; display: none; z-index: 60; }
.submenu::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.menu .has-sub:hover .submenu { display: block; }
.submenu a { white-space: nowrap; }
.menu-mobile-cta { display: none; }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 60; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--heading); margin: 5px 0; border-radius: 2px; transition: .3s; }
#nav-check { display: none; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; background: var(--hero); color: var(--on-dark); padding: 96px 0 104px; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(70% 60% at 70% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 70% 30%, #000, transparent 75%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero-lede { font-size: 1.15rem; color: var(--on-dark-muted); max-width: 34ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: var(--on-dark); padding: 7px 15px; border-radius: 999px; font-size: .82rem; font-weight: 600; margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust { margin-top: 34px; display: flex; gap: 26px; flex-wrap: wrap; color: var(--on-dark-muted); font-size: .9rem; }
.hero-trust b { color: #fff; font-size: 1.35rem; display: block; }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 26px; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg); }
.hero-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.hero-card h3 svg { width: 20px; height: 20px; color: var(--accent-2); }
.mini-list { list-style: none; display: grid; gap: 12px; }
.mini-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-dark); font-size: .95rem; }
.mini-list .ic { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; }
.mini-list .ic svg { width: 18px; height: 18px; }
.mini-list b { color: #fff; display: block; font-weight: 600; }

/* ---- Bölüm başlığı ---- */
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker { color: var(--accent); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; display: block; margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---- Grid & kart ---- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .2s ease, box-shadow .25s ease, border-color .2s; position: relative; overflow: hidden; }
.service-card { display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }
.card-media { display: block; margin: -30px -30px 22px; height: 190px; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-card:hover .card-media img { transform: scale(1.06); }
.service-card .card-media + .ic-badge { margin-top: -50px; position: relative; z-index: 1; border: 3px solid var(--surface); }
.detail-hero-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 26px; box-shadow: var(--shadow); }
.service-card .ic-badge { width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; background: var(--dark); color: var(--accent-2); transition: background .25s, color .25s; }
.service-card:hover .ic-badge { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.service-card .ic-badge svg { width: 30px; height: 30px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: .96rem; margin-bottom: 20px; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--accent); }
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.service-card:hover .card-link svg { transform: translateX(4px); }

/* ---- İstatistik ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 8px; }
.stat b { display: block; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1; }
.stat span { color: var(--on-dark-muted); font-size: .95rem; margin-top: 8px; display: block; }

/* ---- Checklist / split ---- */
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .tick { flex: none; width: 26px; height: 26px; border-radius: 8px; margin-top: 1px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.checklist .tick svg { width: 15px; height: 15px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media-frame { border-radius: var(--radius); overflow: hidden; position: relative; background: linear-gradient(135deg, var(--dark), var(--dark-2)); min-height: 340px; box-shadow: var(--shadow); display: grid; place-items: center; padding: 30px; }
.media-frame .big-ic { width: 120px; height: 120px; color: var(--accent-2); }
.media-frame .big-ic svg { width: 100%; height: 100%; }
.media-frame--photo { padding: 0; }
.media-frame--photo img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }

/* ---- Hizmet detay ---- */
.page-hero { background: var(--hero); color: var(--on-dark); padding: 16px 0; position: relative; overflow: hidden; }
.page-hero + .section { padding-top: 36px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 4px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.page-hero .tagline { color: var(--accent-2); font-weight: 600; font-size: .95rem; margin: 0; }
.breadcrumb { font-size: .84rem; color: var(--on-dark-muted); margin-bottom: 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--on-dark); }
.breadcrumb a:hover { color: var(--accent-2); }
.breadcrumb span { opacity: .5; }
.feature-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); height: 100%; }
.feature-group h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.feature-group h3 .n { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .9rem; flex: none; }
.feature-group h3 svg { width: 22px; height: 22px; color: var(--accent); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { background: var(--surface-2); color: var(--heading); padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); }
.pill svg { width: 15px; height: 15px; color: var(--accent); }
.sidebar-card { background: var(--dark); color: var(--on-dark); border-radius: var(--radius); padding: 28px; position: sticky; top: 96px; }
.sidebar-card h3 { color: #fff; }
.sidebar-card p { color: var(--on-dark-muted); }
.sidebar-card .other-service { display: block; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: var(--on-dark); }
.sidebar-card .other-service:last-child { border-bottom: 0; }
.sidebar-card .other-service:hover { color: var(--accent-2); }

/* ---- Referans ---- */
.ref-card { display: flex; gap: 16px; align-items: flex-start; }
.ref-card .logo { flex: none; width: 54px; height: 54px; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; overflow: hidden; }
.ref-card .logo img { width: 100%; height: 100%; object-fit: cover; }
.ref-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.ref-card .cat { color: var(--accent); font-weight: 600; font-size: .88rem; }
.ref-card .city { color: var(--muted); font-size: .85rem; }

/* ---- SSS ---- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--accent); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--heading); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); color: var(--accent); display: grid; place-items: center; transition: transform .25s; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary .chev { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq details p { padding: 0 0 20px; margin: 0; color: var(--text); }

/* ---- İletişim ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.info-list { list-style: none; display: grid; gap: 22px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ic { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--dark); color: var(--accent-2); display: grid; place-items: center; }
.info-item .ic svg { width: 22px; height: 22px; }
.info-item b { display: block; color: var(--heading); margin-bottom: 2px; }
.info-item a, .info-item span { color: var(--text); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--heading); margin-bottom: 7px; font-size: .93rem; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: .97rem; color: var(--heading); background: var(--surface-2); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.validation-error, .field-validation-error, span[data-valmsg-for] { color: var(--accent); font-size: .85rem; margin-top: 5px; display: block; }
.input-validation-error { border-color: var(--accent) !important; }
.alert-success { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.4); color: #16a34a; padding: 16px 20px; border-radius: 12px; margin-bottom: 24px; display: flex; gap: 12px; align-items: center; font-weight: 500; }
.alert-success svg { flex: none; width: 22px; height: 22px; }
.map-frame { border: 0; width: 100%; height: 320px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---- Port kontrol aracı ---- */
.port-quick { cursor: pointer; border: 1px solid var(--line); font-family: inherit; }
.port-quick:hover { border-color: var(--accent); color: var(--accent); }
.port-quick b { color: var(--accent); font-weight: 700; }
.port-quick-sm { padding: 5px 12px; font-size: .82rem; }
.port-result { display: flex; gap: 16px; align-items: flex-start; margin-top: 24px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); }
.port-result .pr-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.port-result .pr-icon svg { width: 24px; height: 24px; }
.port-result b { color: var(--heading); font-size: 1.05rem; }
.port-result .pr-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; color: var(--muted); font-size: .88rem; }
.port-result code { background: var(--surface-2); padding: 2px 7px; border-radius: 6px; color: var(--heading); }
.res-open { background: rgba(34,197,94,.10); border-color: rgba(34,197,94,.4); }
.res-open .pr-icon { background: #16a34a; }
.res-closed { background: rgba(245,158,11,.10); border-color: rgba(245,158,11,.4); }
.res-closed .pr-icon { background: #f59e0b; }
.res-error { background: var(--accent-soft); border-color: var(--accent); }
.res-error .pr-icon { background: var(--accent); }
.info-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 18px 20px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); font-size: .92rem; }
.info-note svg { flex: none; width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.info-note b { color: var(--heading); }
.port-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.port-table { width: 100%; border-collapse: collapse; }
.port-table th { text-align: left; padding: 13px 18px; background: var(--surface-2); color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.port-table td { padding: 13px 18px; border-top: 1px solid var(--line); }
.port-table code { background: var(--surface-2); padding: 3px 9px; border-radius: 6px; color: var(--accent); font-weight: 700; }
.port-table tbody tr:hover td { background: var(--surface-2); }

/* ---- Ürünler ---- */
.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.cat-chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 600; font-size: .9rem; transition: .18s; }
.cat-chip:hover { border-color: var(--accent); color: var(--accent); }
.cat-chip.active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; color: #fff; }

.product-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; color: var(--text); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }
.product-media { position: relative; height: 210px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-media-empty { color: var(--muted); opacity: .5; }
.product-media-empty svg { width: 64px; height: 64px; }
.product-brand { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.65); color: #fff; font-size: .76rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; backdrop-filter: blur(4px); }
.product-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-cat { color: var(--accent); font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
.product-card h3 { font-size: 1.1rem; margin: 8px 0 8px; }
.product-body p { font-size: .93rem; margin-bottom: 16px; flex: 1; }
.product-more { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--accent); font-size: .92rem; }
.product-more svg { width: 16px; height: 16px; transition: transform .2s; }
.product-card:hover .product-more svg { transform: translateX(4px); }

.empty-state { text-align: center; padding: 60px 20px; }
.empty-state svg { width: 64px; height: 64px; color: var(--muted); opacity: .5; margin: 0 auto 18px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--muted); max-width: 440px; margin: 0 auto 22px; }

.product-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.product-detail-media { border-radius: var(--radius); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); min-height: 360px; display: grid; place-items: center; position: sticky; top: 96px; }
.product-detail-media img { width: 100%; height: 100%; object-fit: contain; max-height: 520px; }
.pd-empty { color: var(--muted); opacity: .4; }
.pd-empty svg { width: 110px; height: 110px; }

.spec-table { width: 100%; border-collapse: collapse; margin: 22px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th { text-align: left; width: 40%; padding: 12px 16px; background: var(--surface-2); color: var(--muted); font-weight: 600; font-size: .9rem; border-bottom: 1px solid var(--line); }
.spec-table td { padding: 12px 16px; color: var(--heading); font-weight: 500; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.price-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-top: 24px; }
.price-label { display: block; color: var(--muted); font-size: .85rem; }
.price-cta-text { color: var(--accent); font-size: 1.4rem; }
.price-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.phone-hint { color: var(--muted); font-size: .9rem; margin-top: 14px; }
.product-desc { margin-top: 44px; max-width: 800px; }
.product-desc h3 { margin-bottom: 12px; }

/* ---- Yazılımlar ---- */
.sw-card { display: flex; flex-direction: column; }
.sw-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }
.sw-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sw-logo { flex: none; width: 56px; height: 56px; border-radius: 13px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; color: var(--accent); }
.sw-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.sw-logo svg { width: 28px; height: 28px; }
.sw-card h3 { font-size: 1.12rem; margin: 0; }
.sw-vendor { color: var(--muted); font-size: .85rem; }
.sw-cat { align-self: flex-start; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; }
.sw-card p { font-size: .94rem; flex: 1; }
.sw-platforms { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.sw-badge { background: var(--surface-2); border: 1px solid var(--line); color: var(--heading); font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 8px; }
.sw-actions { display: flex; gap: 10px; margin-top: 16px; }
.sw-actions .btn { padding: 9px 18px; font-size: .88rem; }

/* ---- CTA bandı ---- */
.cta-band { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-radius: 24px; padding: 48px 44px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; box-shadow: 0 24px 50px -20px var(--accent); }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; }

/* ---- Footer ---- */
.footer { background: var(--dark); color: var(--on-dark-muted); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 46px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer a { color: var(--on-dark-muted); display: inline-block; }
.footer a:hover { color: var(--accent-2); }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer .brand-text b { color: #fff; }
.footer .brand-text span { color: var(--on-dark-muted); }
.footer .desc { margin-top: 16px; font-size: .92rem; color: var(--on-dark-muted); max-width: 34ch; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.footer-contact svg { flex: none; width: 17px; height: 17px; margin-top: 4px; color: var(--accent-2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .86rem; color: var(--on-dark-muted); }

/* ---- WhatsApp float ---- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(37,211,102,.6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---- Yardımcılar ---- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.lead { font-size: 1.12rem; color: var(--text); }

/* ---- Responsive ---- */
@media (max-width: 980px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; }
    .hero-lede { max-width: none; }
    .split, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .sidebar-card { position: static; }
    .detail-layout { grid-template-columns: 1fr !important; }
    .product-detail { grid-template-columns: 1fr; gap: 30px; }
    .product-detail-media { position: static; min-height: 260px; }
}
@media (max-width: 860px) {
    .nav-toggle { display: block; }
    /* header'da backdrop-filter olduğu için fixed menü header'a hapsoluyordu;
       tam ekran yükseklik + z-index ile viewport'a sabitliyoruz */
    .site-header { backdrop-filter: none; }
    .menu { position: fixed; top: 0; right: 0; bottom: auto; height: 100dvh; width: min(320px, 84vw); background: var(--surface); flex-direction: column; align-items: stretch; gap: 4px; padding: 86px 20px 30px; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; z-index: 60; }
    #nav-check:checked ~ .site-header .menu, body:has(#nav-check:checked) .menu { transform: translateX(0); }
    .menu a { padding: 13px 16px; border-radius: 10px; }
    .nav-cta .btn { display: none; }
    /* Mobilde CTA gizli olduğu için menüye belirgin İletişim butonu */
    .menu .menu-mobile-cta { display: block; margin-top: 12px; }
    .menu .menu-mobile-cta a { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; text-align: center; font-weight: 700; }
    .menu .menu-mobile-cta a:hover { color: #fff; filter: brightness(1.05); }
    .topbar-left { gap: 14px; }
    /* Mobilde açılır menü alt alta açık gösterilir */
    .submenu { position: static; display: block; box-shadow: none; border: 0; background: transparent; padding: 0 0 4px 12px; min-width: 0; }
    .submenu::before { display: none; }
    .sub-toggle { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; padding: 14px 16px 4px; cursor: default; }
    .sub-toggle svg { display: none; }
}
@media (max-width: 620px) {
    .section { padding: 60px 0; }
    .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
    .field-row { grid-template-columns: 1fr; }
    .cta-band { padding: 34px 26px; }
    .footer-grid { grid-template-columns: 1fr; }
    .topbar-social { display: none; }
    .topbar-item.hide-sm { display: none; }
}
