/**
 * Meta satış sayfası. Koyu düzen, yalnızca Facebook ve Instagram.
 * Bağımlılıklar: index.php, assets/js/sales.js
 */

:root {
    --bg: #070b16;
    --bg-2: #0c1222;
    --card: #10182b;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --text: #f5f7fb;
    --muted: #9aa6bd;
    --blue: #3b82f6;
    --blue-2: #60a5fa;
    --fb: #1877f2;
    --ig: #e1306c;
    --danger: #ff8d86;
    --sans: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
    --header: 68px;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background:
        radial-gradient(900px 480px at 80% -10%, rgba(59, 130, 246, 0.22), transparent 55%),
        radial-gradient(700px 380px at 0% 20%, rgba(225, 48, 108, 0.08), transparent 50%),
        var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
}

a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { letter-spacing: -0.04em; }

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 50;
    background: #fff;
    color: var(--bg);
    padding: 8px 12px;
    border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    height: var(--header);
    background: rgba(7, 11, 22, 0.82);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-bar {
    height: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 12px 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.mark {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: linear-gradient(90deg, var(--fb) 0 50%, var(--ig) 50% 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.site-nav { display: flex; justify-content: center; gap: 4px; }
.site-nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 999px;
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: transparent;
    place-items: center;
    cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--text);
    position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.site-header.is-open .nav-toggle-bars { background: transparent; }
.site-header.is-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.site-header.is-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.button:hover { background: #2f6fe0; }
.button-small { min-height: 38px; border-radius: 10px; }
.button-ghost {
    background: transparent;
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--line-strong);
}
.button-ghost:hover { background: rgba(255, 255, 255, 0.04); }
.button:disabled { opacity: 0.6; cursor: progress; }
.cta-short { display: none; }

.hero { padding: 72px 0 36px; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.pill {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.14);
    color: #c9dcff;
    font-size: 12px;
    font-weight: 700;
}

h1 {
    max-width: 12em;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.02;
    font-weight: 800;
}
h1 em { font-style: normal; color: var(--blue-2); }

.lede { max-width: 38rem; margin-top: 16px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    color: #c5d0e4;
    font-size: 14px;
    font-weight: 600;
}
.checks li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #3dd68c; }

.link-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.link-option {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 108px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(16, 24, 43, 0.9);
    border: 1px solid var(--line-strong);
    text-decoration: none;
}
.link-option:hover { border-color: rgba(96, 165, 250, 0.7); background: rgba(59, 130, 246, 0.12); }
.link-option strong { font-size: 14px; letter-spacing: -0.03em; }
.link-option span { color: var(--muted); font-size: 12px; font-weight: 600; }

.orbit {
    position: relative;
    height: 420px;
}
.orbit-ring {
    position: absolute;
    inset: 36px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 50%;
}
.orbit-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 168px;
    height: 168px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 30%, #1d4ed8, #0b1224 70%);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.35);
}
.orbit-core strong { font-size: 28px; }
.orbit-core span { color: #dbe7ff; font-size: 12px; font-weight: 600; }

.badge {
    position: absolute;
    padding: 8px 12px;
    border-radius: 999px;
    background: #121a2e;
    border: 1px solid var(--line-strong);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.badge-fb { top: 46px; left: 28px; color: #d7e6ff; }
.badge-ig { top: 78px; right: 8px; color: #ffd0e2; }
.badge-safe { bottom: 78px; left: 8px; }
.badge-sale { bottom: 42px; right: 24px; color: #d9fbe8; }

.stat-row, .highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 28px;
}
.stat-row article, .highlights article {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(16, 24, 43, 0.75);
    border: 1px solid var(--line);
}
.stat-row strong, .highlights strong {
    display: block;
    font-size: 22px;
    letter-spacing: -0.04em;
}
.stat-row span, .highlights span { color: var(--muted); font-size: 13px; font-weight: 600; }
.highlights { margin: 0 0 14px; }

.strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(8, 12, 24, 0.7);
    padding: 22px 0 26px;
    text-align: center;
}
.strip p {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.strip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    background: #10182b;
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 700;
}
.chip-fb { box-shadow: inset 3px 0 0 var(--fb); }
.chip-ig { box-shadow: inset 3px 0 0 var(--ig); }

.band { padding: 80px 0; }
.section-head { max-width: 40rem; margin-bottom: 28px; }
.section-head h2, .request-card h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1.08; }
.section-head p { margin-top: 10px; color: var(--muted); }

.platform-grid, .flow, .steps, .feature-grid {
    display: grid;
    gap: 14px;
}
.platform-grid { grid-template-columns: 1fr 1fr; }
.flow, .feature-grid { grid-template-columns: repeat(3, 1fr); }
.steps { grid-template-columns: repeat(4, 1fr); }

.platform-grid article, .flow article, .steps li, .feature-grid article, .plan, .request-card, .window {
    background: rgba(16, 24, 43, 0.9);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.platform-grid article, .feature-grid article, .flow article, .steps li { padding: 22px; }
.kicker { margin-bottom: 8px; font-size: 12px; font-weight: 800; }
.kicker-facebook { color: #8eb7ff; }
.kicker-instagram { color: #ff9ec4; }
.platform-grid h3, .flow h3, .steps h3, .feature-grid h3 { font-size: 20px; font-weight: 700; }
.platform-grid p, .flow p, .steps p, .feature-grid p, .plan p, .faq-panel p, .lede { color: var(--muted); }
.platform-grid p, .feature-grid p { margin-top: 8px; }

.platform-grid ul, .plan ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}
.platform-grid li, .plan li {
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 600;
}

.flow article.flow-split {
    display: grid;
    gap: 12px;
    background: #0b1220;
}
.flow-split h3 { font-size: 16px; }
.flow span, .steps span {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.16);
    color: #b9d0ff;
    font-size: 12px;
    font-weight: 800;
}

.steps { margin: 0; padding: 0; list-style: none; }

.window { overflow: hidden; }
.table-scroll { overflow-x: auto; }
.traffic { margin-top: 14px; }
table { width: 100%; min-width: 560px; border-collapse: collapse; }
.traffic table { min-width: 0; }
caption {
    padding: 14px 16px 0;
    text-align: left;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}
th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    white-space: nowrap;
}
th { color: var(--muted); font-size: 12px; font-weight: 700; }
tfoot td { font-weight: 800; }

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    align-items: stretch;
}
.plan {
    display: flex;
    flex-direction: column;
    padding: 24px;
}
#paket .section-head { margin-inline: auto; text-align: center; }
.plan h3 { margin: 8px 0 0; font-size: 40px; font-weight: 800; letter-spacing: -0.05em; }
.plan-links { margin-top: 4px; color: var(--text); font-size: 16px; font-weight: 700; }
.plan .button { width: 100%; margin-top: auto; }
.plan ul.plan-points {
    display: grid;
    grid-template-columns: 1fr;
    flex-wrap: nowrap;
    gap: 0;
    margin: 18px 0 22px;
    padding: 2px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}
.plan ul.plan-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 40px;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}
.plan-points li::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2 6.4 11 12.5 4.8' fill='none' stroke='%233dd68c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat,
        rgba(61, 214, 140, 0.12);
    box-shadow: inset 0 0 0 1px rgba(61, 214, 140, 0.28);
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 32px;
    align-items: start;
}
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border: 0;
    background: transparent;
    text-align: left;
    font-weight: 700;
    cursor: pointer;
}
.faq-trigger span { position: relative; width: 14px; height: 14px; flex: 0 0 auto; }
.faq-trigger span::before,
.faq-trigger span::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    width: 14px;
    height: 1.5px;
    background: var(--text);
}
.faq-trigger span::after { transform: rotate(90deg); }
.faq-item.is-open .faq-trigger span::after { opacity: 0; }
.faq-panel { display: none; padding: 0 0 16px; }
.faq-item.is-open .faq-panel { display: block; }

.request-card {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 32px;
    padding: 28px;
}
.whatsapp-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: 28px;
}
.whatsapp-card .button { background: #1f8f4e; }
.whatsapp-card .button:hover { background: #187a42; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 12px; }
.field label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
}
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: #0b101c;
    font-size: 16px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
    background-position: calc(100% - 18px) 19px, calc(100% - 12px) 19px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { margin-top: 4px; color: var(--danger); font-size: 13px; }
.field-error:empty { display: none; }
.form-alert {
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255, 141, 134, 0.12);
    color: #ffd0cc;
}
.success h3 { font-size: 28px; font-weight: 800; }
.success p { margin-top: 8px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wa-float {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 16px 0 12px;
    border-radius: 999px;
    background: #1f8f4e;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}
.wa-float:hover { background: #187a42; }
.wa-float-icon {
    width: 22px;
    height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M5 4.5A2.5 2.5 0 0 1 7.5 2h9A2.5 2.5 0 0 1 19 4.5v9a2.5 2.5 0 0 1-2.5 2.5H12l-4.2 3.2A1 1 0 0 1 6 18.4V16H7.5A2.5 2.5 0 0 1 5 13.5v-9Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; }
.footer-bar { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.footer-bar p { margin-top: 8px; color: var(--muted); font-size: 13px; }

section[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

@media (max-width: 980px) {
    .hero-grid, .platform-grid, .flow, .steps, .feature-grid, .faq-layout, .request-card, .field-row, .stat-row, .highlights, .plan-grid {
        grid-template-columns: 1fr;
    }
    .whatsapp-card { flex-direction: column; align-items: flex-start; }
    .whatsapp-card .button { width: 100%; }
    .stat-row, .highlights { grid-template-columns: repeat(3, 1fr); }
    .orbit { height: 320px; }
    h1 { max-width: none; }
}

@media (max-width: 860px) {
    .header-bar { grid-template-columns: 1fr auto auto auto; }
    .nav-toggle { display: grid; }
    .cta-long { display: none; }
    .cta-short { display: inline; }
    .band { padding: 52px 0; }
    .site-nav {
        display: none;
        position: absolute;
        top: var(--header);
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 8px 16px 14px;
        background: #0c1222;
        border-bottom: 1px solid var(--line);
    }
    .site-header.is-open .site-nav { display: flex; }
}

@media (max-width: 720px) {
    .wrap { width: min(1120px, calc(100% - 28px)); }
    .stat-row, .highlights { grid-template-columns: 1fr; }
    .plan h3 { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
