/* (Ana sayfa ile aynı temel stiller: reset, token, container, navbar, butonlar, footer) */

*, *::before, *::after { box-sizing: border-box; }
html {
    margin: 0 !important;
    padding: 0;
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    margin: 0 !important;
    padding: 0;
    overflow-x: hidden;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: #ffffff;
    color: #0f172a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { text-decoration: none; }
button { font-family: inherit; }

:root {
    --blue:        #0891b2;
    --blue-dark:   #0e7490;
    --blue-light:  #22d3ee;
    --blue-xlight: #a5f3fc;
    --blue-pale:   #ecfeff;
    --indigo:      #14b8a6;
    --violet:      #2dd4bf;

    --ink:         #0f172a;
    --ink-2:       #1e293b;
    --ink-3:       #334155;
    --muted:       #64748b;
    --faint:       #94a3b8;
    --divider:     #e2e8f0;
    --surface:     #f8fafc;
    --surface-2:   #f1f5f9;
    --card:        #ffffff;

    --r-sm:  0.5rem;
    --r-md:  0.875rem;
    --r-lg:  1.25rem;
    --r-xl:  1.75rem;
    --r-2xl: 2.5rem;
    --r-full: 9999px;

    --shadow-xs: 0 1px 2px rgba(15,23,42,.06);
    --shadow-sm: 0 1px 3px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.04);
    --shadow-md: 0 4px 12px rgba(15,23,42,.08), 0 2px 4px rgba(15,23,42,.04);
    --shadow-blue: 0 8px 32px rgba(8,145,178,.26);
    --shadow-blue-lg: 0 16px 48px rgba(8,145,178,.3);

    --t-fast: 0.15s ease;
    --t-base: 0.25s ease;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    height: 4rem;
    transition: background var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
    border-bottom: 1px solid transparent;
}
#navbar.is-scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-color: var(--divider);
    box-shadow: var(--shadow-sm);
}
.nav-inner {
    display: flex;
    align-items: center;
    height: 4rem;
    gap: 1rem;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--ink);
    flex-shrink: 0;
}
.nav-logo-mark {
    width: 2rem;
    height: 2rem;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, var(--blue), var(--indigo));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: var(--shadow-blue);
}
.nav-logo .site-platform-logo.site-platform-logo--marketing {
    flex-shrink: 0;
    height: auto;
    width: auto;
    max-height: 3rem;
    max-width: min(280px, 70vw);
    object-fit: contain;
    object-position: left center;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    margin-left: 1.75rem;
    flex: 1;
}
.nav-link {
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: var(--r-full);
    transition: color var(--t-fast), background var(--t-fast);
    white-space: nowrap;
}
.nav-link:hover { color: var(--ink); background: var(--surface-2); }
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--r-full);
    padding: 0.5rem 1.15rem;
    transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast), opacity var(--t-fast);
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
    border: 1.5px solid transparent;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    box-shadow: var(--shadow-blue-lg);
    transform: translateY(-1px);
    color: #fff;
}
.btn-secondary {
    background: var(--surface);
    color: var(--ink-3);
    border-color: var(--divider);
}
.btn-secondary:hover {
    border-color: #cbd5e1;
    background: var(--surface-2);
    color: var(--ink);
}
.btn-sm {
    font-size: 0.8125rem;
    padding: 0.375rem 0.875rem;
}
.nav-burger {
    display: none;
    background: none;
    border: 1.5px solid var(--divider);
    color: var(--ink-3);
    cursor: pointer;
    padding: 0.4rem;
    border-radius: var(--r-sm);
    margin-left: auto;
    transition: border-color var(--t-fast), background var(--t-fast);
}
.nav-burger:hover { background: var(--surface-2); }
.nav-mobile {
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid var(--divider);
    padding: 1rem 0 1.5rem;
    gap: 0.25rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
    display: block;
    padding: 0.6rem 1.25rem;
    border-radius: 0;
    font-size: 0.95rem;
    border-left: 2px solid transparent;
}
.nav-mobile .nav-link:hover { border-left-color: var(--blue); }
.nav-mobile .nav-divider {
    height: 1px;
    background: var(--divider);
    margin: 0.5rem 0;
}
.nav-mobile .nav-btns {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1.25rem;
    margin-top: 0.5rem;
}

@media (max-width: 860px) {
    .nav-links, .nav-actions { display: none; }
    .nav-burger { display: flex; align-items: center; }
}

/* Üst içerik bölümü — ana sayfadaki hero / SSS görünümü ile uyumlu */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.85rem;
    border-radius: var(--r-full);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-pale);
    border: 1px solid var(--blue-xlight);
    margin-bottom: 1.25rem;
}
.legal-shell {
    position: relative;
    overflow: hidden;
    padding-bottom: clamp(3rem, 8vw, 5rem);
    background: linear-gradient(180deg, #ecfeff 0%, #ffffff 55%, var(--surface) 100%);
}
.legal-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(8,145,178,0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% -10%, black, transparent 72%);
    pointer-events: none;
}
.legal-inner {
    position: relative;
    z-index: 1;
    padding-top: calc(4rem + clamp(2.25rem, 6vw, 3.5rem));
}
.legal-heading {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--ink);
    margin: 0 0 0.65rem;
}
.legal-intro {
    font-size: clamp(1rem, 1.65vw, 1.0825rem);
    color: var(--muted);
    line-height: 1.72;
    max-width: 42rem;
    margin: 0 0 1.75rem;
}
.legal-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}
.legal-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.05rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ink-3);
    background: var(--card);
    border: 1.5px solid var(--divider);
    border-radius: var(--r-full);
    transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.legal-pill:hover {
    color: var(--ink);
    border-color: #cbd5e1;
    background: var(--surface-2);
    transform: translateY(-1px);
}
.legal-pill.is-current {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--indigo));
    border-color: transparent;
    box-shadow: var(--shadow-blue);
}
.legal-pill.is-current:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--blue-dark), var(--indigo));
    box-shadow: var(--shadow-blue-lg);
}

.legal-sheet {
    background: var(--card);
    border: 1px solid var(--divider);
    border-radius: var(--r-xl);
    padding: clamp(1.65rem, 4.5vw, 2.75rem);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(255,255,255,0.6) inset;
    max-width: 52rem;
}
.legal-prose {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.78;
}
.legal-prose :where(h1, h2, h3, h4) {
    margin: 2rem 0 0.75rem;
    line-height: 1.28;
    color: var(--ink);
    letter-spacing: -0.02em;
    font-weight: 800;
}
.legal-prose h1:first-child,
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { margin: 0 0 1rem; }
.legal-prose ul, .legal-prose ol { margin: 0 0 1rem; padding-left: 1.35rem; }
.legal-prose li { margin-bottom: 0.4rem; }
.legal-prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 0.15em; }
.legal-prose a:hover { color: var(--blue-dark); }
.legal-empty {
    color: var(--muted);
    margin: 0;
    font-size: 0.9375rem;
}

/* Footer — ana sayfa ile aynı */
footer {
    background: var(--ink);
    color: #94a3b8;
    padding: 4rem 0 2.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2.5rem 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 860px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
}
.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff;
    margin-bottom: 0.85rem;
}
.footer-logo-link .site-platform-logo.site-platform-logo--marketing {
    flex-shrink: 0;
    height: auto;
    width: auto;
    max-height: 2.5rem;
    max-width: min(280px, 70vw);
    object-fit: contain;
    object-position: left center;
}
.footer-tagline {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.65;
    max-width: 22rem;
}
.footer-col-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #cbd5e1;
    margin: 0 0 1rem;
}
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
footer li a {
    font-size: 0.875rem;
    color: #64748b;
    transition: color var(--t-fast);
}
footer li a:hover { color: #f1f5f9; }
.footer-bottom {
    padding-top: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-copy { font-size: 0.8125rem; color: #475569; }
.footer-copy a { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; transition: color var(--t-fast); }
.footer-copy a:hover { color: #94a3b8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
.footer-links a { font-size: 0.8125rem; color: #475569; transition: color var(--t-fast); }
.footer-links a:hover { color: #94a3b8; }

.footer-bottom-end {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem 1.5rem;
}
.footer-paytr-badge {
    display: block;
    height: 1.125rem;
    width: auto;
    opacity: 0.88;
    transition: opacity var(--t-fast);
}
a.footer-paytr-link:hover .footer-paytr-badge { opacity: 1; }

.footer-contact-lines {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.8125rem;
}
.footer-contact-lines a {
    color: #94a3b8;
    text-decoration: none;
    transition: color var(--t-fast);
}
.footer-contact-lines a:hover { color: #e2e8f0; }

/* Kurumsal menü — masaüstü */
.nav-corporate {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-corporate > summary {
    list-style: none;
    cursor: pointer;
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: var(--r-full);
    transition: color var(--t-fast), background var(--t-fast);
    white-space: nowrap;
}
.nav-corporate > summary::-webkit-details-marker { display: none; }
.nav-corporate > summary::after {
    content: "";
    display: inline-block;
    width: 0.35rem;
    height: 0.35rem;
    margin-left: 0.35rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-0.05rem, -0.1rem);
    opacity: 0.65;
}
.nav-corporate[open] > summary { color: var(--ink); background: var(--surface-2); }
.nav-corporate > summary:hover { color: var(--ink); background: var(--surface-2); }
.nav-corporate-panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    min-width: 12rem;
    padding: 0.35rem;
    background: #fff;
    border: 1px solid var(--divider);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
    z-index: 950;
}
.nav-corporate-panel a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: var(--r-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink-3);
    transition: background var(--t-fast), color var(--t-fast);
}
.nav-corporate-panel a:hover {
    background: var(--surface);
    color: var(--ink);
}

@media (max-width: 860px) {
    .nav-corporate-panel {
        position: static;
        border: 0;
        box-shadow: none;
        padding: 0 0 0 0.5rem;
        margin-top: 0.15rem;
    }
    .nav-corporate > summary { padding-left: 1.25rem; }
}

/* İletişim sayfası */
.contact-shell .legal-inner { padding-bottom: 2rem; }
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
}
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
}
.contact-side-card,
.contact-form-card {
    background: var(--card);
    border: 1px solid var(--divider);
    border-radius: var(--r-xl);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    box-shadow: var(--shadow-sm);
}
.contact-side-card h2,
.contact-form-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.contact-addr {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.7;
    white-space: pre-wrap;
}
.contact-side-meta {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.875rem;
}
.contact-side-meta a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
}
.contact-side-meta a:hover { text-decoration: underline; }

.mco-field { margin-bottom: 1rem; }
.mco-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-3);
    margin-bottom: 0.35rem;
}
.mco-field input,
.mco-field textarea {
    width: 100%;
    font: inherit;
    font-size: 0.9375rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--r-md);
    border: 1.5px solid var(--divider);
    background: #fff;
    color: var(--ink);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.mco-field input:focus,
.mco-field textarea:focus {
    outline: none;
    border-color: var(--blue-light);
    box-shadow: 0 0 0 3px var(--blue-xlight);
}
.mco-field .is-invalid { border-color: #f97316; }
.mco-hint {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: var(--muted);
}
.alert-soft {
    padding: 0.75rem 1rem;
    border-radius: var(--r-md);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
.alert-soft.ok {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.alert-soft.err {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
}
