/* ALKOR public landing — final sales. Light, premium, engineering. Index only. */
:root {
    --paper: #f6f3ec;
    --white: #ffffff;
    --ink: #0c2a4d;
    --muted: #5a6b7c;
    --blue: #1a5fad;
    --blue-deep: #0c2a4d;
    --blue-soft: #e8f1fa;
    --gold: #c4a35a;
    --steel: #7b8b9a;
    --focus: #1a5fad;
    --wrap: min(1180px, calc(100% - 56px));
    --wrap-wide: min(1360px, calc(100% - 40px));
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--paper);
    color: var(--ink);
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 3000;
    padding: 8px 12px;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.wrap { width: var(--wrap); margin: 0 auto; }
.wrap-wide { width: var(--wrap-wide); margin: 0 auto; min-width: 0; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #144e91; color: #fff; }
.btn-on-blue { background: #fff; color: var(--ink); }
.btn-on-blue:hover { background: var(--gold); color: var(--ink); }
.btn-ghost-on {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost-on:hover { background: rgba(255, 255, 255, 0.12); }

/* Header: navy brand strip only — logo lives here. Not the page theme. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 2000;
    background: var(--blue-deep);
    border-top: 3px solid var(--gold);
}
.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 88px;
    padding: 8px 0;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 72px; width: auto; display: block; }

.nav-toggle { display: none; }
.nav-toggle-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}
.site-nav a {
    color: #e8eef5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.site-nav a:hover { color: #fff; }

/* Hero — advertising scene. Light paper. No 100vh. */
.hero {
    background: var(--paper);
    color: var(--ink);
    min-height: 0;
    padding: 64px 0 72px;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 40px 48px;
    align-items: center;
    min-width: 0;
}
.hero-copy h1 {
    margin: 0 0 20px;
    font-size: clamp(40px, 5.2vw, 72px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.04em;
}
.lead {
    margin: 0 0 32px;
    max-width: 34rem;
    font-size: 20px;
    line-height: 1.45;
    color: var(--muted);
    font-weight: 700;
}

.hero-scene {
    position: relative;
    min-height: 460px;
    min-width: 0;
    isolation: isolate;
}
.hero-slab {
    position: absolute;
    right: -6%;
    top: 0;
    width: 86%;
    height: 100%;
    background: var(--blue);
    clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-word {
    position: absolute;
    z-index: 1;
    right: 6%;
    top: 14%;
    font-size: clamp(56px, 9vw, 128px);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.16);
    line-height: 0.8;
    pointer-events: none;
    user-select: none;
}
.plane {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.6);
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.plane-a {
    width: 48%;
    height: 56%;
    left: 14%;
    top: 20%;
    transform: rotate(-10deg);
    animation: settleA 1.1s ease-out both;
}
.plane-b {
    width: 44%;
    height: 50%;
    left: 30%;
    top: 26%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(3deg);
    animation: settleB 1.2s ease-out 0.08s both;
}
.plane-c {
    width: 38%;
    height: 44%;
    left: 46%;
    top: 32%;
    background: rgba(246, 243, 236, 0.94);
    transform: rotate(11deg);
    animation: settleC 1.25s ease-out 0.16s both;
}
.hero-measure {
    position: absolute;
    z-index: 3;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.kicker {
    margin: 0 0 16px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    color: var(--blue);
}
.display {
    margin: 0;
    font-size: clamp(30px, 4.4vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.04em;
    font-weight: 800;
}
.display em {
    font-style: normal;
    color: var(--blue);
}

.belirsizlik {
    background: var(--white);
    padding: 88px 0 96px;
}

.analiz {
    background: var(--blue-soft);
    padding: 88px 0 96px;
}
.analiz-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 40px;
    align-items: end;
}
.analiz-side {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
    padding-bottom: 8px;
    border-bottom: 4px solid var(--gold);
}

/* Öngörü — curiosity. Royal blue color block, not near-black. */
.ongoru {
    background: var(--blue);
    color: #fff;
    padding: 96px 0 100px;
    overflow: hidden;
}
.kicker-on { color: rgba(255, 255, 255, 0.7); }
.ongoru .display { max-width: 16ch; }
.ongoru-cap {
    margin: 18px 0 0;
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}
.ongoru-inner { position: relative; min-height: 280px; }
.lens {
    position: absolute;
    right: 0;
    top: 8px;
    width: min(280px, 42vw);
    height: min(280px, 42vw);
    pointer-events: none;
}
.lens i {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}
.lens i:nth-child(2) {
    inset: 18%;
    border-color: rgba(255, 255, 255, 0.55);
}
.lens b {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    background: var(--gold);
    transform: rotate(45deg);
    animation: diamondIn 0.55s ease-out 0.2s both;
}

.senaryo {
    background: var(--paper);
    padding: 96px 0 108px;
}
.desk {
    position: relative;
    margin-top: 56px;
    min-height: 300px;
}
.sheet {
    position: absolute;
    width: min(300px, 38%);
    min-height: 168px;
    padding: 26px 22px 26px 28px;
    background: var(--white);
    border: 1px solid rgba(12, 42, 77, 0.14);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.sheet::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--blue-soft);
}
.sheet span {
    display: block;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--blue);
    margin-bottom: 8px;
}
.sheet b { font-weight: 800; }
.sheet-a { left: 2%; top: 48px; transform: rotate(-8deg); z-index: 1; opacity: 0.86; }
.sheet-b {
    left: 31%;
    top: 0;
    width: min(340px, 42%);
    min-height: 196px;
    transform: rotate(0.5deg);
    z-index: 4;
    border-color: rgba(12, 42, 77, 0.28);
}
.sheet-b::before { background: var(--blue); }
.sheet-c { right: 2%; top: 56px; transform: rotate(8deg); z-index: 2; opacity: 0.9; }
.desk-edge {
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: 18px;
    height: 3px;
    background: var(--gold);
}
.desk-edge i {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    background: var(--gold);
    transform: rotate(45deg);
}

.proof {
    background: var(--white);
    padding: 96px 0 108px;
}
.app-surface {
    margin-top: 40px;
    background: var(--blue-deep);
    color: #e8eef5;
    overflow: hidden;
    min-width: 0;
}
.app-topbar {
    padding: 12px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: #b8c7d6;
}
.app-main { padding: 28px 28px 32px; }
.app-h {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}
.app-sub {
    margin: 0 0 22px;
    font-size: 15px;
    color: #b8c7d6;
}
.app-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}
.app-kpis article {
    padding: 16px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(8, 28, 52, 0.55);
}
.app-kpis b {
    display: block;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: #d6e4f2;
    margin-bottom: 10px;
}
.app-kpis span {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}
.app-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.app-table th,
.app-table td {
    text-align: left;
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #e8eef5;
}
.app-table th {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
}
.app-note {
    margin: 16px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.close {
    background: var(--blue);
    color: #fff;
    padding: 96px 0 92px;
}
.close h2 {
    margin: 0 0 28px;
    font-size: clamp(32px, 4.6vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    max-width: 14ch;
}
.close-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer {
    background: var(--paper);
    color: var(--muted);
    border-top: 1px solid rgba(12, 42, 77, 0.1);
    padding: 28px 0 36px;
    font-size: 13px;
}
.site-footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px 28px;
    align-items: center;
}
.foot-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
}
.foot-brand img { height: 40px; }
.foot-links { display: flex; gap: 18px; }
.foot-links a { color: var(--blue); text-decoration: none; font-weight: 700; }

@keyframes settleA {
    from { opacity: 0; transform: rotate(-11deg) translateY(18px); }
    to { opacity: 1; transform: rotate(-11deg) translateY(0); }
}
@keyframes settleB {
    from { opacity: 0; transform: rotate(4deg) translateY(18px); }
    to { opacity: 1; transform: rotate(4deg) translateY(0); }
}
@keyframes settleC {
    from { opacity: 0; transform: rotate(12deg) translateY(18px); }
    to { opacity: 1; transform: rotate(12deg) translateY(0); }
}
@keyframes diamondIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 1100px) {
    .hero-grid,
    .analiz-split,
    .site-footer-inner {
        grid-template-columns: 1fr;
    }
    .hero-scene { min-height: 360px; }
    .lens { position: relative; right: auto; top: 28px; margin-left: auto; }
    .ongoru-inner { min-height: 0; }
    .sheet { width: min(280px, 70%); }
    .app-kpis { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --wrap: min(100% - 28px, 1180px); --wrap-wide: min(100% - 20px, 1360px); }
    .site-header-inner { min-height: 72px; }
    .brand img { height: 48px; }
    .nav-toggle-btn { display: inline-flex; align-items: center; justify-content: center; }
    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 72px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--blue-deep);
        padding: 8px 14px 14px;
    }
    .nav-toggle:checked ~ .site-nav { display: flex; }
    .site-nav a { padding: 12px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
    .hero { padding: 40px 0 48px; }
    .hero-copy h1 { font-size: 34px; }
    .lead { font-size: 18px; }
    .hero-scene { min-height: 260px; }
    .hero-slab { width: 100%; right: 0; clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); }
    .hero-word { font-size: 64px; top: 12%; right: 8%; }
    .belirsizlik, .analiz, .ongoru, .senaryo, .proof, .close { padding: 56px 0; }
    .desk { min-height: 460px; }
    .sheet { position: relative; width: 100%; left: auto !important; right: auto !important; top: auto !important; transform: none; margin-bottom: 12px; min-height: 120px; }
    .sheet-b { width: 100%; min-height: 140px; }
    .desk-edge { position: relative; left: 0; right: 0; bottom: auto; margin-top: 8px; }
    .app-surface-tbfc { display: none; }
    .app-main { padding: 20px 16px 22px; }
    .app-h { font-size: 22px; }
    .app-kpis { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 390px) {
    .hero-copy h1 { font-size: 30px; }
    .hero-word { font-size: 48px; }
    .app-kpis { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .plane-a, .plane-b, .plane-c, .lens b {
        animation: none;
        opacity: 1;
    }
}

/* Promo modal — Index only. Landing sections unchanged. */
html:not(.promo-dismissed) {
    overflow: hidden;
}

.promo-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(12, 42, 77, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

html.promo-dismissed .promo-overlay,
.promo-overlay.is-closed {
    display: none;
}

.promo-dialog {
    position: relative;
    flex: 0 1 auto;
    min-width: 0;
    box-sizing: border-box;
    width: min(1402px, 100%, calc((100dvh - 32px) * 1402 / 1122));
    max-width: min(100%, calc(100vw - 32px));
    margin: auto;
}

.promo-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

.promo-close {
    position: absolute;
    top: calc(60 / 1122 * 100%);
    right: calc(79 / 1402 * 100%);
    z-index: 2;
    box-sizing: border-box;
    width: max(44px, calc(52 / 1402 * 100%));
    aspect-ratio: 1 / 1;
    height: auto;
    padding: 0;
    border: 2px solid #c4a35a;
    border-radius: 50%;
    background: #0c2a4d;
    color: #fff;
    font-size: clamp(18px, 2.4vw, 28px);
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.promo-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .promo-overlay {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}
