/* Tanıtım sayfası (MarketingLayout + Home). Panel ve giriş stilleri app.css'te. */

.mk {
    --night: #07131f;
    --night-2: #0c1c2c;
    --teal: #19c3a0;
    --teal-ink: #04241d;
    --sky: #6aa8ff;
    --ink: #0b1424;
    --muted: #5d6b80;
    --line: #e3e8ef;
    --surface: #ffffff;
    --alt: #f3f5f8;
    --map-grid: #dde5ef;
    --map-road: #d6dfeb;
    background: var(--surface);
    color: var(--ink);
}

@media (prefers-color-scheme: dark) {
    .mk {
        --ink: #e7edf3;
        --muted: #9badbf;
        --line: #213244;
        --surface: #0b1724;
        --alt: #0f1e2d;
        --map-grid: #1b2c3d;
        --map-road: #23384c;
    }
}

.mk-in { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mk-narrow { max-width: 820px; }

/* Başlık çubuğu */
.mk-header { position: absolute; inset: 0 0 auto 0; z-index: 10; }
.mk-header-row { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.mk-logo { font-weight: 800; font-size: 24px; letter-spacing: -.03em; color: #fff; text-decoration: none; }
.mk-logo span { color: var(--teal); }
.mk-nav { display: flex; gap: 28px; }
.mk-nav a { color: #c6d3e1; text-decoration: none; font-size: 15px; font-weight: 500; }
.mk-nav a:hover { color: #fff; }
.mk-actions { display: flex; gap: 10px; }

.mk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform .15s ease, background .15s ease; }
.mk-btn:hover { transform: translateY(-1px); }
.mk-btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.mk-btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.mk-btn-teal { background: var(--teal); color: var(--teal-ink); }
.mk-btn-teal:hover { background: #2fd6b3; }
.mk-btn-dark { background: #0b1424; color: #fff; }
.mk-btn-lg { padding: 14px 22px; font-size: 16px; }

/* Hero */
.mk-hero {
    background:
        radial-gradient(900px 420px at 12% 0, #0f3b4a 0, transparent 60%),
        radial-gradient(800px 420px at 95% 30%, #11294a 0, transparent 60%),
        var(--night);
    color: #fff;
    padding: 120px 0 64px;
}
.mk-hero-head { text-align: center; padding-bottom: 36px; }
.mk-hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.06; letter-spacing: -.035em; margin: 0 0 16px; font-weight: 800; }
.mk-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--teal), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-hero-head p { color: #b4c4d6; font-size: 18px; max-width: 640px; margin: 0 auto; }

.mk-panel { max-width: 1040px; margin: 0 auto; background: #fff; color: #0b1424; border-radius: 20px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .65); overflow: hidden; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #e6ebf1; }
.tab { padding: 18px 12px; text-align: center; font-weight: 700; font-size: 15px; color: #64748b; text-decoration: none; display: flex; gap: 8px; justify-content: center; align-items: center; }
.tab:hover { color: #0b1424; background: #f8fafc; }
.tab.on { color: #0b1424; box-shadow: inset 0 -3px 0 var(--teal); background: #f4fbf9; }

.planner { display: grid; grid-template-columns: 1fr 1.15fr; }
.planner-form { padding: 26px 28px; border-right: 1px solid #e6ebf1; }
.planner h3 { margin: 0 0 4px; font-size: 20px; letter-spacing: -.01em; }
.planner .hint, .tab-info .hint { margin: 0 0 16px; color: #64748b; font-size: 14.5px; line-height: 1.55; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: #475569; margin: 0 0 6px; }
.field input, .field select {
    width: 100%; border: 1px solid #d5dde6; border-radius: 10px; padding: 11px 12px;
    font: inherit; font-size: 15px; font-weight: 600; color: #0b1424; background: #fff;
}
.field input:focus, .field select:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: transparent; }
.btn-dark { width: 100%; margin-top: 6px; background: #0b1424; color: #fff; border: 0; padding: 14px; border-radius: 10px; font: inherit; font-weight: 700; font-size: 15.5px; cursor: pointer; }
.btn-dark:hover { background: #16243a; }
.planner-error { color: #b42318; font-size: 14px; margin: 4px 0 8px; }

.planner-result { padding: 26px 28px; background: #fbfcfd; position: relative; }
.badge { position: absolute; top: 18px; right: 22px; font-size: 11.5px; font-weight: 700; color: #475569; background: #eef2f6; padding: 4px 9px; border-radius: 99px; }
.overline { font-size: 12px; font-weight: 700; color: #0ea582; text-transform: uppercase; letter-spacing: .06em; }
.planner-result h3 { margin: 6px 0 4px; font-size: 22px; }
.truck-plan { width: 100%; max-height: 190px; margin: 6px 0 12px; display: block; }
.truck-plan .trailer { fill: #fff; stroke: #0b1424; stroke-width: 6; }
.truck-plan .pallet.used { fill: var(--teal); }
.truck-plan .pallet.free { fill: #e6ebf1; }
.truck-plan .cab { fill: #0b1424; }
.truck-plan .windshield { fill: #7fd9c6; }
.meter { height: 10px; border-radius: 99px; background: #e6ebf1; overflow: hidden; margin: 4px 0 6px; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, #19c3a0, #0ea582); }
.meter-labels { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: #475569; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: 13px; font-weight: 600; padding: 7px 11px; border-radius: 8px; background: #eef2f6; color: #1e293b; text-decoration: none; }
.chip:hover { background: #e2e8f0; }
.fineprint { font-size: 12px; color: #94a3b8; margin: 14px 0 0; }

.tab-info { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding: 28px; align-items: end; }
.tab-info h3 { margin: 0 0 8px; font-size: 21px; }
.tab-note { margin: 0; padding: 16px; border-radius: 12px; background: #f4f7fa; color: #475569; font-size: 14px; border: 1px dashed #d5dde6; }

.checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(25, 195, 160, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230ea582' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

.mk-assurances { list-style: none; padding: 0; margin: 26px auto 0; max-width: 1040px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mk-assurances li { display: flex; flex-direction: column; gap: 2px; padding-left: 28px; position: relative; color: #b4c4d6; font-size: 14px; }
.mk-assurances li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 800; }
.mk-assurances b { color: #fff; font-size: 15px; }

/* Bölümler */
.mk-section { padding: 96px 0; background: var(--surface); }
.mk-alt { background: var(--alt); }
.mk-overline { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0ea582; }
.mk-section h2, .mk-cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.12; letter-spacing: -.03em; margin: 0 0 14px; font-weight: 800; }
.mk-lead { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 680px; margin: 0 0 32px; }

.mk-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; position: relative; }
.mk-flow::before { content: ""; position: absolute; top: 22px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--teal), var(--sky)); opacity: .45; }
.mk-flow li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 56px 18px 20px; }
.mk-flow .n { position: absolute; top: 4px; left: 18px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #0b1424; color: #fff; font-weight: 800; border: 3px solid var(--teal); }
.mk-flow h3 { margin: 0 0 6px; font-size: 17px; }
.mk-flow p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.mk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.mk-split-reverse > :first-child { order: 2; }
.mk-split .checks b { color: var(--ink); }
.mk-split .checks { color: var(--muted); }
.mk-visual { margin: 0; }
.mk-visual figcaption { margin-top: 14px; font-size: 13.5px; color: var(--muted); text-align: center; }

/* Takip kartı */
.track-card, .ops-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 40px 80px -40px rgba(15, 40, 90, .45); overflow: hidden; }
.track-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.track-brand { display: flex; gap: 10px; align-items: center; }
.track-brand b { display: block; font-size: 14px; }
.track-brand small { font-size: 12px; color: var(--muted); }
.av { width: 34px; height: 34px; border-radius: 9px; background: #0b1424; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.live { font-size: 12px; font-weight: 700; color: #0e9a6a; background: rgba(18, 163, 109, .12); padding: 5px 10px; border-radius: 99px; }
.track-map { display: block; width: 100%; height: 220px; background: var(--alt); }
.map-label { font-size: 13px; font-weight: 700; fill: var(--ink); }
.track-info { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.track-info div { padding: 14px 18px; border-left: 1px solid var(--line); }
.track-info div:first-child { border-left: 0; }
.track-info small { display: block; color: var(--muted); font-size: 12px; }
.track-info b { font-size: 15px; }
.track-steps { list-style: none; margin: 0; padding: 16px 18px; display: flex; border-top: 1px solid var(--line); }
.track-steps li { flex: 1; font-size: 12px; color: var(--muted); position: relative; padding-top: 18px; }
.track-steps li::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 3px; background: var(--line); }
.track-steps li::after { content: ""; position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--line); border: 3px solid var(--surface); }
.track-steps .done::before, .track-steps .now::before { background: var(--teal); }
.track-steps .done::after { background: var(--teal); }
.track-steps .now::after { background: var(--surface); box-shadow: 0 0 0 3px var(--teal); }
.track-steps .now { color: var(--ink); font-weight: 700; }

/* Nakliyeci panel kartı */
.ops-head { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.ops-head small { color: var(--muted); font-size: 12px; }
.ops-card table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ops-card th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 10px 18px; }
.ops-card td { padding: 12px 18px; border-top: 1px solid var(--line); }
.ops-card .num { text-align: right; font-variant-numeric: tabular-nums; }
.st { font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.st-road { background: rgba(14, 91, 216, .12); color: #2f6fe0; }
.st-load { background: rgba(245, 165, 36, .16); color: #b7791f; }
.st-open { background: rgba(100, 116, 139, .14); color: var(--muted); }
.st-done { background: rgba(18, 163, 109, .14); color: #0e9a6a; }
.ops-foot { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.ops-foot div { padding: 14px 18px; }
.ops-foot div + div { border-left: 1px solid var(--line); }
.ops-foot small { display: block; color: var(--muted); font-size: 12px; }
.ops-foot b { font-size: 18px; font-variant-numeric: tabular-nums; }

/* Şoför telefonu */
.mk-phone-wrap { display: flex; flex-direction: column; align-items: center; }
.phone { width: 300px; background: #0b1424; border-radius: 36px; padding: 18px 14px 22px; box-shadow: 0 40px 80px -30px rgba(7, 19, 31, .6); }
.phone-top { color: #fff; padding: 8px 8px 14px; }
.phone-top b { display: block; font-size: 18px; }
.phone-top small { color: #8fa3b8; font-size: 12px; }
.job { background: #fff; color: #0b1424; border-radius: 16px; padding: 14px; margin-bottom: 10px; }
.job-route b { display: block; font-size: 15px; }
.job-route span { font-size: 12.5px; color: #64748b; }
.job-meta { display: flex; justify-content: space-between; margin: 10px 0; font-size: 13px; color: #475569; }
.job-meta b { color: #0b1424; font-size: 16px; }
.job-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.job-actions span { text-align: center; padding: 9px; border-radius: 10px; font-weight: 700; font-size: 13.5px; }
.job-actions .go { background: var(--teal); color: var(--teal-ink); }
.job-actions .alt { background: #eef2f6; color: #334155; }
.job-muted { background: #13253a; color: #fff; }
.job-muted span { color: #8fa3b8; }

/* Ücretsiz araçlar */
.mk-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool { display: block; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: inherit; text-decoration: none; }
a.tool { border-color: rgba(25, 195, 160, .55); box-shadow: 0 16px 40px -28px rgba(14, 165, 130, .8); }
a.tool:hover { transform: translateY(-2px); transition: transform .15s ease; }
.tool h3 { margin: 12px 0 6px; font-size: 17px; }
.tool p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.tag { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 99px; background: var(--alt); color: var(--muted); }
.tag-live { background: rgba(25, 195, 160, .15); color: #0e9a6a; }

/* İlkeler */
.mk-dark { background: radial-gradient(800px 360px at 90% 0, #11294a 0, transparent 60%), var(--night); color: #fff; }
.mk-dark .mk-overline { color: var(--teal); }
.mk-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; overflow: hidden; margin-top: 30px; }
.mk-principles div { background: var(--night-2); padding: 26px; }
.mk-principles h3 { margin: 0 0 8px; font-size: 17px; }
.mk-principles p { margin: 0; color: #a9b9cb; font-size: 14.5px; line-height: 1.6; }

/* SSS */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 18px; }
summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: #0ea582; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); line-height: 1.65; margin: 12px 0 0; }

/* Son çağrı ve alt bilgi */
.mk-cta { background: linear-gradient(120deg, #0d4f4a, #0b2a4a); color: #fff; padding: 64px 0; }
.mk-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.mk-cta p { color: #c8d6e5; margin: 0; font-size: 17px; }
.mk-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.mk-footer { background: var(--night); color: #8fa3b8; padding: 56px 0 24px; font-size: 14px; }
.mk-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.mk-footer p { max-width: 320px; line-height: 1.6; }
.mk-footer h4 { color: #fff; font-size: 14px; margin: 4px 0 12px; }
.mk-footer a:not(.mk-logo) { display: block; color: #8fa3b8; text-decoration: none; margin-bottom: 8px; }
.mk-footer a:hover { color: #fff; }
.mk-footer-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 32px; padding-top: 20px; font-size: 13px; }

/* Duyarlı düzen */
@media (max-width: 960px) {
    .mk-nav { display: none; }
    .planner, .tab-info, .mk-split { grid-template-columns: 1fr; }
    .planner-form { border-right: 0; border-bottom: 1px solid #e6ebf1; }
    .mk-split { gap: 40px; }
    .mk-split-reverse > :first-child { order: 0; }
    .mk-flow { grid-template-columns: 1fr; }
    .mk-flow::before { top: 0; bottom: 0; left: 37px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--teal), var(--sky)); }
    .mk-flow li { padding: 18px 18px 18px 72px; }
    .mk-flow .n { top: 16px; }
    .mk-tools, .mk-principles { grid-template-columns: 1fr 1fr; }
    .mk-cta-row { flex-direction: column; align-items: flex-start; }
    .mk-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .mk-in { padding: 0 16px; }
    .mk-hero { padding-top: 100px; }
    .mk-hero-head p { font-size: 16px; }
    .mk-actions .mk-btn-ghost { display: none; }
    .tabs { grid-template-columns: repeat(3, minmax(130px, 1fr)); overflow-x: auto; }
    .tab { font-size: 14px; padding: 14px 10px; }
    .planner-form, .planner-result, .tab-info { padding: 20px 18px; }
    .field-row { grid-template-columns: 1fr; }
    .mk-assurances, .mk-tools, .mk-principles { grid-template-columns: 1fr; }
    .mk-section { padding: 64px 0; }
    .phone { width: 100%; max-width: 320px; }
    .ops-card th:nth-child(2), .ops-card td:nth-child(2) { display: none; }
    .mk-footer-grid { grid-template-columns: 1fr; }
    .mk-footer-bottom { flex-direction: column; }
}
