﻿
/* ========== Hero ========== */
.kvkk-hero {
    background: radial-gradient(1200px 500px at 10% 10%, var(--ring), transparent), linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f5f7ff 100%);
    border-bottom: 1px solid #e5e7eb;
}

.kvkk-hero__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 56px 20px 40px;
}

.kvkk-chip {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.kvkk-hero h1 {
    margin: 0 0 6px;
    font-weight: 800;
    letter-spacing: .3px;
}

.kvkk-sub {
    margin: 0;
    color: var(--muted);
    max-width: 760px;
}

.kvkk-date {
    text-align: right;
    min-width: 140px;
}

.kvkk-date__label {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

.kvkk-date__value {
    font-weight: 700;
}

/* ========== Layout ========== */
.kvkk-section {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 28px 20px 60px;
}

@media (max-width: 992px) {
    .kvkk-section {
        grid-template-columns: 1fr;
    }

    .kvkk-toc {
        order: 2;
    }
}

/* ========== Kartlar ========== */
.kvkk-card {
    background: var(--card);
    border: 1px solid #eef2ff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 26px;
}

.kvkk-card--toc {
    position: sticky;
    top: 20px;
    padding: 18px;
}

.kvkk-card__title {
    font-weight: 700;
    margin-bottom: 12px;
}

/* ========== İçindekiler ========== */
.kvkk-toc nav a {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    transition: background .2s ease, transform .08s ease;
    border: 1px dashed transparent;
}

    .kvkk-toc nav a:hover {
        background: #f8fafc;
        border-color: #e2e8f0;
        transform: translateX(2px);
    }

    .kvkk-toc nav a:focus {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
    }

/* ========== İçerik ========== */
.kvkk-content .kvkk-card h2 {
    margin-top: 12px;
    padding-top: 70px; /* anchor boşluğu */
    margin-bottom: 10px;
    scroll-margin-top: 80px;
    border-top: 1px solid #f1f5f9;
}

    .kvkk-content .kvkk-card h2:first-of-type {
        border-top: none;
        padding-top: 0;
    }

.kvkk-list {
    margin: 10px 0 6px 0;
    padding-left: 0;
    list-style: none;
}

    .kvkk-list li {
        position: relative;
        padding-left: 26px;
        margin: 6px 0;
    }

        .kvkk-list li::before {
            content: "";
            width: 10px;
            height: 10px;
            border-radius: 3px;
            background: linear-gradient(90deg, var(--accent), var(--accent-2));
            position: absolute;
            left: 6px;
            top: .55em;
            box-shadow: 0 0 0 4px rgba(108,92,231,.08);
        }

/* ========== Not & Top butonu ========== */
.kvkk-note {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px dashed #e2e8f0;
    color: #334155;
}

.kvkk-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    line-height: 1;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow);
    opacity: .9;
    transition: transform .15s ease, opacity .2s ease;
}

    .kvkk-top:hover {
        transform: translateY(-2px);
        opacity: 1;
    }

/* ========== Tipografi ========== */
.kvkk-content p {
    color: #334155;
}

.kvkk-content a {
    color: var(--accent);
}

    .kvkk-content a:hover {
        text-decoration: underline;
    }
