/* ============================================================
   İDEAL ÇÖZÜMLER // RADAR — Cyber Design System
   Palet: #04070F / #0F172A / #2563EB / #06B6D4
   ============================================================ */

:root {
    --bg-0: #04070f;
    --bg-1: #070d1c;
    --bg-2: #0a142e;
    --navy: #0f172a;
    --blue: #2563eb;
    --cyan: #06b6d4;
    --cyan-soft: rgba(6, 182, 212, .35);
    --text: #e6edf7;
    --muted: #93a5c4;
    --faint: #5c6d8f;
    --glass: rgba(13, 22, 44, .55);
    --glass-strong: rgba(15, 25, 50, .78);
    --stroke: rgba(148, 197, 255, .09);
    --stroke-hi: rgba(103, 232, 249, .35);
    --critical: #f43f5e;
    --high: #fb923c;
    --medium: #facc15;
    --low: #34d399;
    --radius: 18px;
    --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg-0);
    color: var(--text);
    font-family: var(--font);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(6, 182, 212, .35); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--blue), var(--cyan));
    border-radius: 99px;
    border: 2px solid var(--bg-0);
}

/* ---------- Atmosfer ---------- */
#fx {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.aurora {
    position: fixed; z-index: 0; pointer-events: none;
    width: 60vw; height: 60vw; border-radius: 50%;
    filter: blur(120px); opacity: .16;
}
.aurora.a { top: -25vw; left: -15vw; background: var(--blue); animation: drift 26s ease-in-out infinite alternate; }
.aurora.b { bottom: -30vw; right: -20vw; background: var(--cyan); animation: drift 32s ease-in-out infinite alternate-reverse; }
@keyframes drift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(6vw, 4vw) scale(1.15); }
}
.grain {
    position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .35;
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px);
}

.shell { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; color: inherit; }

/* ---------- Ticker ---------- */
.ticker-wrap {
    position: sticky; top: 0; z-index: 60;
    background: rgba(4, 7, 15, .9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stroke);
    overflow: hidden;
    font-family: var(--mono);
    font-size: 11.5px;
}
.ticker {
    display: flex; gap: 48px; white-space: nowrap;
    padding: 7px 0; width: max-content;
    animation: tick 60s linear infinite;
}
.ticker-wrap:hover .ticker { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.ticker a:hover { color: #7ddcff; }
.ticker .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.ticker .sev-kritik { color: #ff8ba0; }

/* ---------- Navbar ---------- */
.nav {
    position: sticky; top: 32px; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; margin: 22px auto 0; max-width: 1240px; padding: 0 24px;
}
.nav-in {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    background: var(--glass);
    border: 1px solid var(--stroke);
    border-radius: 999px;
    padding: 10px 14px;
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 60px -30px rgba(0, 0, 0, .8);
}
.brand { display: flex; align-items: center; gap: 12px; padding-left: 10px; }
.brand-logo {
    width: 34px; height: 34px; border-radius: 10px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 0 24px rgba(37, 99, 235, .55);
    font-weight: 800; font-size: 13px; color: #fff; letter-spacing: .5px;
}
.brand-name { font-weight: 800; font-size: 15px; letter-spacing: .4px; }
.brand-name span { color: #7ddcff; font-family: var(--mono); font-size: 12px; display: block; letter-spacing: 2px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    padding: 8px 14px; border-radius: 99px; font-size: 13.5px; color: var(--muted);
    transition: .25s;
}
.nav-links a:hover, .nav-links a.on { color: #eaf6ff; background: rgba(103, 232, 249, .08); }
.nav-clock {
    font-family: var(--mono); font-size: 12px; color: var(--muted);
    border: 1px solid var(--stroke); padding: 8px 14px; border-radius: 99px;
    display: flex; align-items: center; gap: 8px;
}
.nav-clock i {
    width: 7px; height: 7px; border-radius: 50%; background: #34d399;
    box-shadow: 0 0 10px #34d399; animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Hero ---------- */
.hero { padding: 110px 0 60px; text-align: center; position: relative; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--mono); font-size: 12px; letter-spacing: 3px; color: #7ddcff;
    border: 1px solid var(--stroke-hi); border-radius: 99px; padding: 8px 18px;
    background: rgba(6, 182, 212, .06);
    box-shadow: 0 0 30px -10px var(--cyan-soft), inset 0 0 20px -12px var(--cyan-soft);
    text-transform: uppercase;
}
.hero h1 {
    margin: 26px auto 0;
    font-size: clamp(52px, 9vw, 118px);
    font-weight: 800; line-height: .98; letter-spacing: -2.5px;
    background: linear-gradient(180deg, #fff 20%, #9fd8ff 55%, #2563eb 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    position: relative;
}
.hero h1 .glow {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, #fff, #06b6d4);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: blur(42px); opacity: .45;
}
.hero-sub {
    margin: 24px auto 0; max-width: 640px; color: var(--muted);
    font-size: 17px; line-height: 1.7;
}
.hero-sub b { color: #cfe8ff; font-weight: 600; }

.stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
    max-width: 900px; margin: 48px auto 0;
}
.stat {
    background: var(--glass); border: 1px solid var(--stroke); border-radius: var(--radius);
    padding: 20px 18px; text-align: left; position: relative; overflow: hidden;
    backdrop-filter: blur(14px);
    transition: .3s;
}
.stat::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--stroke-hi), transparent);
}
.stat:hover { border-color: var(--stroke-hi); transform: translateY(-3px); }
.stat-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 2px; color: var(--faint); text-transform: uppercase; }
.stat-value { font-size: 34px; font-weight: 800; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat-value small { font-size: 13px; color: var(--faint); font-weight: 600; }
.stat.alert .stat-value { color: #ff96a8; text-shadow: 0 0 24px rgba(244, 63, 94, .4); }

/* ---------- Filtre paneli ---------- */
.panel-hud {
    margin: 56px auto 0;
    background: var(--glass); border: 1px solid var(--stroke); border-radius: 22px;
    padding: 22px; backdrop-filter: blur(16px);
    position: relative;
}
.panel-hud::before {
    content: "GÖZLEM KONTROL PANELİ // v2.6"; position: absolute; top: -9px; left: 22px;
    background: var(--bg-0); padding: 0 10px;
    font-family: var(--mono); font-size: 10px; letter-spacing: 2.5px; color: var(--faint);
}
.hud-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hud-row + .hud-row { margin-top: 12px; }
.hud-label {
    font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--faint);
    text-transform: uppercase; width: 86px; flex-shrink: 0;
}
.pill {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid var(--stroke); border-radius: 99px;
    padding: 8px 15px; font-size: 13px; font-weight: 600; color: var(--muted);
    background: rgba(8, 13, 28, .4); cursor: pointer; transition: .22s;
    position: relative;
}
.pill svg { width: 14px; height: 14px; }
.pill:hover { color: #eaf6ff; border-color: var(--stroke-hi); }
.pill.on {
    color: #fff; border-color: var(--pill-c, var(--cyan));
    background: color-mix(in srgb, var(--pill-c, var(--cyan)) 14%, transparent);
    box-shadow: 0 0 22px -6px var(--pill-c, var(--cyan)), inset 0 0 14px -8px var(--pill-c, var(--cyan));
}
.pill .cnt { font-family: var(--mono); font-size: 10.5px; color: var(--faint); background: rgba(255,255,255,.05); padding: 2px 7px; border-radius: 99px; }
.pill.on .cnt { color: #dff6ff; }

.search-box {
    flex: 1; min-width: 240px; display: flex; align-items: center; gap: 10px;
    border: 1px solid var(--stroke); border-radius: 99px; padding: 0 18px;
    background: rgba(8, 13, 28, .55); transition: .25s;
}
.search-box:focus-within { border-color: var(--cyan); box-shadow: 0 0 30px -8px var(--cyan-soft); }
.search-box svg { width: 15px; height: 15px; color: var(--faint); flex-shrink: 0; }
.search-box input {
    background: transparent; border: 0; outline: 0; height: 42px; width: 100%;
    font-size: 14px; color: var(--text);
}
.search-box input::placeholder { color: var(--faint); }
.search-box kbd {
    font-family: var(--mono); font-size: 10px; color: var(--faint);
    border: 1px solid var(--stroke); border-radius: 6px; padding: 3px 7px;
}

/* ---------- Öne çıkanlar ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 72px 0 26px; }
.section-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.5px; display: flex; align-items: center; gap: 12px; }
.section-head h2 svg { width: 22px; height: 22px; color: var(--cyan); filter: drop-shadow(0 0 6px var(--cyan-soft)); }
.section-head .line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--stroke-hi), transparent); margin-left: 10px; }
.section-head .more { font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: 1px; }
.section-head .more:hover { color: #7ddcff; }

.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ---------- Kartlar ---------- */
.grid-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.card {
    --ac: var(--cyan);
    position: relative;
    background: linear-gradient(160deg, rgba(18, 29, 58, .65), rgba(8, 13, 28, .72));
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 22px;
    display: flex; flex-direction: column; gap: 14px;
    transition: transform .35s cubic-bezier(.2, .8, .25, 1), border-color .3s, box-shadow .35s;
    transform-style: preserve-3d;
    overflow: hidden;
}
.card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--ac), transparent);
    opacity: 0; transition: .35s;
}
.card::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--ac) 11%, transparent), transparent 65%);
    opacity: 0; transition: opacity .35s; pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--ac) 45%, transparent); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 40px -18px var(--ac); }
.card:hover::before, .card:hover::after { opacity: 1; }

.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-plat { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--ac); letter-spacing: .3px; }
.card-plat svg { width: 15px; height: 15px; }
.card-date { font-family: var(--mono); font-size: 11px; color: var(--faint); }

.badge {
    font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; padding: 5px 11px; border-radius: 99px;
    border: 1px solid; display: inline-flex; align-items: center; gap: 6px; width: fit-content;
}
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.badge.critical { color: #ff96a8; border-color: rgba(244, 63, 94, .45); background: rgba(244, 63, 94, .09); }
.badge.high { color: #ffb381; border-color: rgba(251, 146, 60, .4); background: rgba(251, 146, 60, .08); }
.badge.medium { color: #fde047; border-color: rgba(250, 204, 21, .35); background: rgba(250, 204, 21, .07); }
.badge.low { color: #6ee7b7; border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .07); }
.badge.cat { color: #8fd8ff; border-color: rgba(103, 232, 249, .25); background: rgba(103, 232, 249, .06); }

.card-title { font-size: 17.5px; font-weight: 700; line-height: 1.45; letter-spacing: -.2px; }
.card:hover .card-title { color: #d9f2ff; }
.card-excerpt { font-size: 13.5px; color: var(--muted); line-height: 1.65; flex: 1; }

.card-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 14px; border-top: 1px solid var(--stroke); }
.chip {
    font-family: var(--mono); font-size: 10.5px; color: var(--muted);
    background: rgba(255, 255, 255, .045); border: 1px solid var(--stroke);
    border-radius: 7px; padding: 4px 9px; display: inline-flex; align-items: center; gap: 6px;
}
.chip.cve { color: #8fd8ff; border-color: rgba(103, 232, 249, .3); background: rgba(6, 182, 212, .07); }
.chip.ver { color: color-mix(in srgb, var(--ac) 80%, #fff); border-color: color-mix(in srgb, var(--ac) 35%, transparent); }

/* ---------- Sayfalama ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 48px 0 10px; }
.pager a, .pager span.pg {
    min-width: 40px; height: 40px; display: grid; place-items: center;
    border: 1px solid var(--stroke); border-radius: 12px; font-family: var(--mono);
    font-size: 13px; color: var(--muted); background: var(--glass); transition: .25s; padding: 0 12px;
}
.pager a:hover { border-color: var(--stroke-hi); color: #dff6ff; }
.pager span.pg.cur { color: #fff; border-color: var(--cyan); box-shadow: 0 0 18px -6px var(--cyan-soft); font-weight: 700; }
.pager span.pg.dots { border: 0; background: none; }

/* ---------- Boş durum ---------- */
.empty {
    grid-column: 1 / -1; text-align: center; padding: 80px 20px;
    border: 1px dashed var(--stroke); border-radius: var(--radius); color: var(--faint);
}
.empty .glyph { font-family: var(--mono); font-size: 40px; color: var(--cyan); opacity: .5; }
.empty p { margin-top: 12px; font-size: 14px; }

/* ---------- Footer ---------- */
.footer { margin-top: 110px; border-top: 1px solid var(--stroke); position: relative; }
.footer::before {
    content: ""; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: .5;
}
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 38px 0; flex-wrap: wrap; }
.footer .term {
    font-family: var(--mono); font-size: 11.5px; color: var(--faint);
    display: flex; align-items: center; gap: 10px;
}
.footer .term b { color: #34d399; font-weight: 600; }
.footer small { color: var(--faint); font-size: 12.5px; }

/* ---------- Duyuru detayı ---------- */
.detail-hero { padding: 70px 0 34px; }
.crumb { font-family: var(--mono); font-size: 12px; color: var(--faint); display: flex; gap: 8px; align-items: center; margin-bottom: 26px; }
.crumb a:hover { color: #7ddcff; }
.detail-hero h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.12; max-width: 900px; }
.detail-sub { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 720px; margin-top: 18px; }

.meta-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 34px;
}
.meta-card {
    background: var(--glass); border: 1px solid var(--stroke); border-radius: 14px;
    padding: 16px 18px; backdrop-filter: blur(10px);
}
.meta-card .k { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--faint); text-transform: uppercase; }
.meta-card .v { font-size: 15px; font-weight: 700; margin-top: 7px; font-family: var(--mono); }
.meta-card .v.cyan { color: #7ddcff; }

.cvss-track { height: 6px; border-radius: 99px; background: rgba(255,255,255,.07); margin-top: 10px; overflow: hidden; }
.cvss-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--low), var(--medium), var(--critical)); box-shadow: 0 0 12px currentColor; }

.body-card {
    background: linear-gradient(170deg, rgba(14, 23, 46, .6), rgba(7, 11, 24, .7));
    border: 1px solid var(--stroke); border-radius: 22px;
    padding: clamp(26px, 4vw, 52px); margin-top: 40px; position: relative; overflow: hidden;
}
.body-card::before {
    content: ""; position: absolute; top: 0; left: 5%; right: 5%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--stroke-hi), transparent);
}
.prose { max-width: 780px; font-size: 15.5px; line-height: 1.85; color: #c4d2e8; }
.prose h2 {
    color: #eaf4ff; font-size: 21px; margin: 34px 0 14px; letter-spacing: -.3px;
    display: flex; align-items: center; gap: 12px;
}
.prose h2::before { content: "//"; font-family: var(--mono); color: var(--cyan); font-size: 16px; opacity: .8; }
.prose p + p { margin-top: 14px; }
.prose ul { list-style: none; margin: 14px 0; display: grid; gap: 10px; }
.prose ul li { padding-left: 26px; position: relative; }
.prose ul li::before { content: "▸"; position: absolute; left: 4px; color: var(--cyan); }
.prose code {
    font-family: var(--mono); font-size: 13px; color: #9ff0ff;
    background: rgba(6, 182, 212, .1); border: 1px solid rgba(6, 182, 212, .2);
    padding: 2px 7px; border-radius: 6px;
}
.prose a { color: #7ddcff; border-bottom: 1px dashed rgba(125, 220, 255, .4); }
.prose strong { color: #fff; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tag-cloud .chip { padding: 6px 12px; font-size: 11px; }

.btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 12px 22px; border-radius: 12px; border: 1px solid var(--stroke-hi);
    background: linear-gradient(135deg, rgba(37, 99, 235, .25), rgba(6, 182, 212, .18));
    color: #dff6ff; font-weight: 700; font-size: 13.5px; cursor: pointer; transition: .25s;
}
.btn:hover { box-shadow: 0 0 30px -8px var(--cyan-soft); transform: translateY(-2px); }
.btn svg { width: 15px; height: 15px; }

.src-banner {
    margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    border: 1px dashed var(--stroke-hi); border-radius: 14px; padding: 16px 20px;
    background: rgba(6, 182, 212, .05); flex-wrap: wrap;
}
.src-banner .t { font-size: 13px; color: var(--muted); }
.src-banner .t b { color: #cfe8ff; }

/* ---------- Reveal animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .25, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .grid-feed, .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .nav-links a.hide-m { display: none; }
}
@media (max-width: 640px) {
    .grid-feed, .featured-grid, .stats { grid-template-columns: 1fr; }
    .hero { padding-top: 70px; }
    .nav-clock { display: none; }
    .hud-label { width: 100%; }
}
