/* AgenticOps.Web — temel stil: belirteçler, tipografi, düzen, üst bilgi, alt bilgi, düğmeler.
   Bölümler: site.sections.css · Grafikler: site.charts.css */

:root {
    color-scheme: light;

    /* Marka — Studio ile aynı mavi (ShellTheme.Brand) */
    --brand-950: #071535;
    --brand-900: #0b1f4d;
    --brand-800: #13296b;
    --brand-700: #1e3a8a;
    --brand-600: #1e40af;
    --brand-500: #2563eb;
    --brand-100: #dbeafe;
    --brand-50: #eff6ff;

    /* Yapay zekâ vurgusu */
    --ai-1: #6366f1;
    --ai-2: #22d3ee;
    --ai-gradient: linear-gradient(110deg, #818cf8 0%, #22d3ee 100%);

    /* Metin ve yüzeyler */
    --ink-1: #0f172a;
    --ink-2: #334155;
    --ink-3: #64748b;
    --ink-on-dark-1: #f1f5f9;
    --ink-on-dark-2: #cbd5e1;
    --ink-on-dark-3: #94a3b8;
    --surface: #ffffff;
    --surface-muted: #f6f8fb;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;

    --good: #059669;
    --warn: #d97706;
    --bad: #dc2626;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgb(15 23 42 / 6%), 0 1px 3px rgb(15 23 42 / 8%);
    --shadow: 0 10px 30px -12px rgb(15 23 42 / 22%);
    --shadow-lg: 0 30px 60px -20px rgb(7 21 53 / 45%);

    --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --container: 1200px;
    --gutter: 24px;
    --header-h: 68px;
}

/* Inter (SIL OFL 1.1) sitenin kendi sunucusundan; Türkçe karakterler (ğ, ş, İ) latin-ext dosyasındadır. */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
        U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
        U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-2);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    color: var(--ink-1);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

a { color: var(--brand-600); }

img, svg { max-width: 100%; }

.lead {
    font-size: 1.15rem;
    color: var(--ink-3);
    max-width: 62ch;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 14px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-600);
}

.eyebrow--light { color: var(--ai-2); }

.text-gradient {
    background: var(--ai-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--brand-600);
    color: #fff;
}

.skip-link:focus { top: 12px; }

:focus-visible {
    outline: 3px solid var(--ai-2);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.narrow { max-width: 720px; }

.icon { flex: none; }

/* ---------- Düğmeler ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn--sm { padding: 8px 16px; font-size: 0.9rem; }
.btn--lg { padding: 14px 26px; font-size: 1.02rem; }

.btn--primary {
    background: var(--brand-500);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgb(37 99 235 / 70%);
}

.btn--primary:hover { background: var(--brand-600); }

.btn--ghost {
    border-color: rgb(255 255 255 / 28%);
    color: var(--ink-on-dark-1);
    background: rgb(255 255 255 / 6%);
}

.btn--ghost:hover { background: rgb(255 255 255 / 12%); }

.btn--light {
    background: #fff;
    color: var(--brand-700);
}

/* ---------- Marka ---------- */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-1);
    text-decoration: none;
}

.brand__name {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.brand__name b { font-weight: 800; color: var(--brand-600); }

.brand--light { color: #fff; }
.brand--light .brand__name b { color: var(--ai-2); }

/* ---------- Üst bilgi ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(255 255 255 / 88%);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-h);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav ul {
    display: flex;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav ul a {
    color: var(--ink-2);
    font-weight: 550;
    font-size: 0.95rem;
    text-decoration: none;
}

.site-nav ul a:hover { color: var(--brand-600); }

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle__button {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
}

.nav-toggle__button span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink-1);
}

@media (max-width: 960px) {
    .nav-toggle__button { display: inline-flex; }

    .site-nav {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px var(--gutter) 24px;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .site-nav ul { flex-direction: column; gap: 4px; }
    .site-nav ul a { display: block; padding: 10px 0; font-size: 1.05rem; }
    .nav-toggle:checked ~ .site-nav { display: flex; }
    .nav-toggle:focus-visible + .nav-toggle__button { outline: 3px solid var(--ai-2); }
}

/* ---------- Alt bilgi ---------- */

.site-footer {
    background: var(--brand-950);
    color: var(--ink-on-dark-3);
    padding: 64px 0 28px;
    font-size: 0.93rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 40px;
}

.site-footer__about p { margin-top: 16px; max-width: 36ch; }

.site-footer__title {
    margin: 0 0 14px;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-on-dark-1);
}

.site-footer__links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.site-footer__links a {
    color: var(--ink-on-dark-2);
    text-decoration: none;
}

.site-footer__links a:hover { color: #fff; }

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgb(255 255 255 / 10%);
    font-size: 0.85rem;
}

@media (max-width: 860px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
    :root { --gutter: 16px; }
    .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Görünüme girerken belirme (JS varsa) ---------- */

.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .btn:hover { transition: none; transform: none; }
}
