﻿/* =====================================================================
   SAN Abacus – Kurumsal web sitesi stil dosyası
   Harici bağımlılık yoktur (CDN, font servisi vb. kullanılmaz).
   ===================================================================== */

:root {
    --navy: #0d2c54;
    --navy-2: #12355b;
    --navy-3: #0a2240;
    --blue: #1e6fe0;
    --blue-light: #4f9cf5;
    --amber: #ffb300;
    --amber-dark: #f59e0b;
    --ink: #1b2733;
    --muted: #5b6b7c;
    --line: #e4e9f0;
    --bg: #ffffff;
    --bg-soft: #f5f8fc;
    --bg-navy-soft: #eef3fb;
    --white: #ffffff;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 10px rgba(13, 44, 84, .06);
    --shadow-md: 0 12px 30px rgba(13, 44, 84, .10);
    --shadow-lg: 0 24px 60px rgba(13, 44, 84, .16);
    --container: 1180px;
    --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); 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; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 1000;
    background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .55em;
    padding: .85em 1.6em; border-radius: 999px; font-weight: 600; font-size: .98rem;
    border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
    text-align: center; line-height: 1;
}
.btn-primary { background: var(--amber); color: var(--navy-3); box-shadow: 0 10px 24px rgba(255, 179, 0, .35); }
.btn-primary:hover { transform: translateY(-2px); color: var(--navy-3); box-shadow: 0 14px 30px rgba(255, 179, 0, .45); }
.btn-outline { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-lg { padding: 1.05em 2em; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 200;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 18px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand-mark { display: inline-flex; filter: drop-shadow(0 6px 12px rgba(13, 44, 84, .18)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-size: 1.22rem; color: var(--navy); }
.brand-text strong { color: var(--navy); font-weight: 800; }
.brand-text small { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 3px; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { color: var(--navy); font-weight: 600; padding: 10px 14px; border-radius: 10px; font-size: .97rem; }
.site-nav a:hover { background: var(--bg-navy-soft); color: var(--blue); }
.site-nav a.active { color: var(--blue); }
.nav-cta {
    background: var(--navy); color: #fff !important; margin-left: 8px; padding: 10px 20px !important;
    box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--blue) !important; }

.lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--line); }
.lang-switch a { padding: 6px 8px; border-radius: 8px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.lang-switch a:hover { color: var(--blue); background: var(--bg-navy-soft); }
.lang-switch a.active { color: var(--navy); background: var(--bg-navy-soft); }

.nav-toggle { display: none; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border-radius: 8px; }
.nav-burger span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: .25s ease; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); color: #dce6f5; }
.section-navy h2, .section-navy h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
    display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--blue); background: var(--bg-navy-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-navy .eyebrow { color: var(--amber); background: rgba(255, 255, 255, .08); }
.lead { font-size: 1.12rem; color: var(--muted); }
.section-navy .lead { color: #b9c9e0; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: #eaf1fb;
    background: radial-gradient(1100px 600px at 78% -10%, #1c4c8a 0%, transparent 55%),
                linear-gradient(155deg, var(--navy) 0%, var(--navy-3) 68%);
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 26px 26px; opacity: .5;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding: 96px 0 104px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
    padding: 7px 16px; border-radius: 999px; color: #dce9fb; margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 179, 0, .25); }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .hl { color: var(--amber); }
.hero p.lead { color: #c4d4ea; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-metrics { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero-metric .num { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-metric .lbl { font-size: .82rem; color: #a9bfdd; letter-spacing: .02em; }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card {
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-lg); backdrop-filter: blur(6px);
}
.hero-card .hc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hero-card .hc-top span { font-weight: 700; color: #fff; }
.hero-card .hc-dots { display: flex; gap: 6px; }
.hero-card .hc-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.hc-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px; background: rgba(255, 255, 255, .07); margin-bottom: 10px; }
.hc-row .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--amber); color: var(--navy-3); font-weight: 800; flex: none; }
.hc-row .tx { flex: 1; }
.hc-row .tx b { color: #fff; display: block; font-size: .95rem; }
.hc-row .tx small { color: #a9bfdd; }
.hc-row .val { color: #7ee0a8; font-weight: 700; font-size: .9rem; }

/* ---------- Trust bar ---------- */
.trustbar { border-bottom: 1px solid var(--line); background: #fff; }
.trustbar .container { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; }
.trustbar span { color: var(--muted); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 9px; }
.trustbar .chk { color: #16a34a; font-weight: 800; }

/* ---------- Product cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.pcard {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.pcard::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--amber), var(--blue)); transition: width .25s ease; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.pcard:hover::before { width: 100%; }
.pcard .picon {
    width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
    background: var(--bg-navy-soft); color: var(--blue);
}
.pcard .picon svg { width: 28px; height: 28px; }
.pcard h3 { margin-bottom: 8px; }
.pcard p { color: var(--muted); margin-bottom: 18px; flex: 1; }
.pcard .plink { font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.pcard .plink:hover { color: var(--navy); gap: 10px; }

/* Colored icon variants */
.i-amber { background: #fff4d6 !important; color: var(--amber-dark) !important; }
.i-blue { background: #e3efff !important; color: var(--blue) !important; }
.i-green { background: #e0f6ea !important; color: #1a9d5a !important; }
.i-purple { background: #efe7fb !important; color: #7c4dd1 !important; }
.i-navy { background: var(--bg-navy-soft) !important; color: var(--navy) !important; }

/* ---------- Feature list ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .fic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; flex: none; color: var(--amber); }
.section:not(.section-navy) .feature .fic { background: var(--bg-navy-soft); color: var(--blue); }
.feature h3 { font-size: 1.08rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .96rem; margin: 0; }
.section-navy .feature p { color: #b9c9e0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .num { font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 800; color: var(--amber); line-height: 1; }
.stat .lbl { color: #c4d4ea; margin-top: 8px; font-weight: 500; }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.check-list .ck { width: 24px; height: 24px; border-radius: 50%; background: #e0f6ea; color: #16a34a; display: grid; place-items: center; font-weight: 800; flex: none; font-size: .8rem; }
.section-navy .check-list li { color: #dce6f5; }

.media-frame {
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
    background: linear-gradient(160deg, #143a68, #0a2240); padding: 26px; border: 1px solid rgba(255,255,255,.08);
}
.media-frame .mf-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: #cdddf3; font-weight: 600; }
.mf-bars { display: grid; gap: 12px; }
.mf-bar { background: rgba(255,255,255,.08); border-radius: 10px; height: 46px; display: flex; align-items: center; padding: 0 16px; gap: 12px; color: #dbe7f8; }
.mf-bar .mf-ico { width: 30px; height: 30px; border-radius: 8px; background: var(--amber); flex: none; }
.mf-bar .mf-grow { flex: 1; height: 8px; border-radius: 5px; background: linear-gradient(90deg, var(--blue-light), transparent); }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--blue) 0%, var(--navy) 100%); color: #fff;
    border-radius: var(--radius-lg); padding: 54px; text-align: center; box-shadow: var(--shadow-lg);
    position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 90% 0%, rgba(255,255,255,.18), transparent 60%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #dbe7fb; max-width: 620px; margin: 0 auto 26px; position: relative; }
.cta-band .hero-actions { justify-content: center; position: relative; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background: radial-gradient(900px 400px at 85% -30%, #1c4c8a 0%, transparent 60%),
                linear-gradient(155deg, var(--navy) 0%, var(--navy-3) 100%);
    color: #eaf1fb; padding: 70px 0 74px; text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #c4d4ea; max-width: 640px; margin: 0 auto; font-size: 1.1rem; }
.breadcrumb { color: #92abd0; font-size: .88rem; margin-bottom: 16px; }
.breadcrumb a { color: #cddcf3; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 46px; align-items: start; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.info-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-navy-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.info-card h4 { margin: 0 0 3px; color: var(--navy); }
.info-card a, .info-card span { color: var(--muted); }
.info-card a:hover { color: var(--blue); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .92rem; }
.field input, .field textarea, .field select {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink);
    background: #fbfcfe; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 111, 224, .15); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; }
.alert-success { background: #e0f6ea; color: #147a45; border: 1px solid #b7e6ca; }
.alert-error { background: #fde8e8; color: #a61b1b; border: 1px solid #f5bcbc; }
.field .err { color: #c0392b; font-size: .85rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow-sm); }
.avatar { width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; color: #fff; background: linear-gradient(140deg, var(--blue), var(--navy)); }
.tcard h4 { margin: 0 0 2px; }
.tcard span { color: var(--muted); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin: 0 0 16px; }

/* ---------- Value / about ---------- */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.value { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.value .vic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: var(--bg-navy-soft); color: var(--blue); }
.value h3 { margin-bottom: 6px; }
.value p { color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); color: #aebfd6; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; padding: 64px 22px 46px; }
.brand--footer .brand-text { color: #fff; font-size: 1.3rem; }
.brand--footer .brand-text strong { color: #fff; }
.footer-brand p { margin-top: 14px; color: #93a7c4; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: #aebfd6; }
.footer-col a:hover { color: var(--amber); }
.footer-contact a { font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom .container { display: flex; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: #8299b9; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 34px; padding: 64px 0 74px; }
    .hero-visual { max-width: 460px; }
    .split, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
    .card-grid, .feature-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .section { padding: 64px 0; }
    .nav-burger { display: flex; }
    .site-nav {
        position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
        padding: 10px 18px 20px; transform: translateY(-120%); transition: transform .28s ease; z-index: 150;
    }
    .nav-toggle:checked ~ .site-nav { transform: translateY(0); }
    .site-nav a { padding: 14px 6px; border-radius: 8px; border-bottom: 1px solid var(--line); }
    .site-nav a:last-child { border-bottom: none; }
    .nav-cta { margin: 12px 0 0 !important; text-align: center; justify-content: center; }
    .lang-switch { border-left: none; padding-left: 0; margin: 10px 0 0; justify-content: center; }
    .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .card-grid, .card-grid.cols-2, .feature-grid, .value-grid, .team-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .cta-band { padding: 38px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .hero-metrics { gap: 22px; }
}

/* =====================================================================
   Marka logoları (gerçek Abacus görselleri)
   ===================================================================== */
.brand-logo { height: 42px; width: auto; display: block; }
.brand--footer { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo-mark { height: 34px; width: auto; display: block; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.header-inner .brand:hover { opacity: .9; }
@media (max-width: 720px) { .brand-logo { height: 34px; } }

/* Hero pano - küçük logo rozetleri */
.hc-top .hc-brand { display: inline-flex; align-items: center; gap: 8px; }
.hc-top .hc-brand img { height: 20px; width: auto; }
.hc-row .ic img { width: 24px; height: 24px; object-fit: contain; }
.hc-row .ic.ic-plain { background: #fff; }

/* GİB / onay rozetleri */
.badge-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.logo-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; box-shadow: var(--shadow-sm); font-size: .82rem; font-weight: 600; color: var(--muted); }
.logo-badge img { height: 22px; width: auto; }
.section-navy .logo-badge { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #dce6f5; }

/* Ürün başlığı yanında logo */
.brand-inline { height: 30px; width: auto; vertical-align: middle; margin-bottom: 10px; }

/* =====================================================================
   Entegrasyon dokümanı sayfası
   ===================================================================== */
.api-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.api-side { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.api-side h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.api-side ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 4px; }
.api-side a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--navy); font-weight: 600; font-size: .92rem; }
.api-side a:hover { background: var(--bg-navy-soft); color: var(--blue); }
.api-side .postman-btn { margin-top: 6px; }

.api-main h2 { scroll-margin-top: 92px; }
.api-block { margin-bottom: 46px; }
.api-block > p { color: var(--muted); }

.method { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .04em; padding: 3px 9px; border-radius: 6px; color: #fff; min-width: 52px; text-align: center; }
.m-get { background: #1a9d5a; }
.m-post { background: #1e6fe0; }
.m-put { background: #f59e0b; }
.m-delete { background: #d94b4b; }

.endpoint-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .93rem; }
.endpoint-table th { text-align: left; background: var(--bg-soft); color: var(--navy); font-weight: 700; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.endpoint-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); }
.endpoint-table tr:last-child td { border-bottom: none; }
.endpoint-table td code { color: var(--navy); }
.table-scroll { width: 100%; overflow-x: auto; }

code, .mono { font-family: "Cascadia Code", "Consolas", ui-monospace, "SF Mono", Menlo, monospace; }
:not(pre) > code { background: var(--bg-navy-soft); color: var(--navy); padding: 2px 7px; border-radius: 6px; font-size: .88em; }
pre.code { background: #0b2240; color: #d6e4fb; border-radius: var(--radius); padding: 20px 22px; overflow-x: auto; font-size: .88rem; line-height: 1.6; border: 1px solid rgba(255,255,255,.06); box-shadow: var(--shadow-sm); }
pre.code .c-key { color: #7cc7ff; }
pre.code .c-str { color: #9ff0c0; }
pre.code .c-com { color: #7f9bc4; }
pre.code .c-mut { color: #ffb86b; }

.callout { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-navy-soft); border: 1px solid #d5e3f7; border-left: 4px solid var(--blue); border-radius: 10px; padding: 16px 18px; margin: 18px 0; }
.callout .ci { flex: none; color: var(--blue); font-weight: 800; }
.callout p { margin: 0; color: var(--navy-2); font-size: .93rem; }

.postman-btn { display: inline-flex; align-items: center; gap: 10px; background: #ff6c37; color: #fff !important; padding: 12px 20px; border-radius: 10px; font-weight: 700; box-shadow: 0 10px 24px rgba(255,108,55,.32); }
.postman-btn:hover { background: #ef5a26; color: #fff !important; transform: translateY(-2px); }
.postman-btn svg { width: 20px; height: 20px; }

.step-list { counter-reset: step; list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 16px; }
.step-list li { position: relative; padding-left: 52px; }
.step-list li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.step-list li h4 { margin: 0 0 4px; }
.step-list li p { margin: 0; color: var(--muted); font-size: .95rem; }

@media (max-width: 960px) {
    .api-layout { grid-template-columns: 1fr; }
    .api-side { position: static; }
    .api-side ul { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================================
   InvoiceMatch — öne çıkan ürün
   ===================================================================== */
.eyebrow.eyebrow-featured { background: var(--amber); color: var(--navy-3); }

.pcard--featured { border-color: var(--amber); box-shadow: 0 16px 38px rgba(255, 179, 0, .20); }
.pcard--featured::before { width: 100%; }
.pill-featured {
    position: absolute; top: 16px; right: 16px; background: var(--amber); color: var(--navy-3);
    font-size: .66rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
    padding: 4px 11px; border-radius: 999px;
}

/* Öne çıkan bölüm - akış görseli */
.im-feature { position: relative; overflow: hidden; }
.im-badge {
    display: inline-flex; align-items: center; gap: 8px; background: var(--amber); color: var(--navy-3);
    font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    padding: 7px 16px; border-radius: 999px; margin-bottom: 18px; box-shadow: 0 8px 20px rgba(255,179,0,.35);
}

.flow-card {
    background: linear-gradient(160deg, #143a68, #0a2240); border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg);
}
.flow-step { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-radius: 12px; background: rgba(255,255,255,.07); color: #e7eefb; }
.flow-step .fs-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; font-size: 1.15rem; }
.flow-step .fs-ic img { width: 24px; height: 24px; object-fit: contain; }
.flow-step b { display: block; color: #fff; font-size: .96rem; }
.flow-step small { color: #a9bfdd; }
.flow-step.is-final { background: rgba(126, 224, 168, .14); border: 1px solid rgba(126,224,168,.3); }
.flow-step.is-final .fs-ic { background: #1a9d5a; color: #fff; }
.flow-arrow { text-align: center; color: var(--amber); font-size: 1.1rem; line-height: 1; padding: 7px 0; }

.im-stats { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 26px; }
.im-stat b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--navy); line-height: 1; }
.im-stat span { font-size: .86rem; color: var(--muted); }
