/* ============================================================
   Multistok.ai — Ortak bileşen stilleri (master layout)
   ============================================================ */

/* ── Preflight (Tailwind CSS v3.4.17 | MIT License | https://tailwindcss.com) */
*,
::after,
::before {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}
::after,
::before {
    --tw-content: "";
}
:host,
html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-family:
        ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
}
body {
    margin: 0;
    line-height: inherit;
}
hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
}
abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}
a {
    color: inherit;
    text-decoration: inherit;
}
b,
strong {
    font-weight: bolder;
}
code,
kbd,
pre,
samp {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-feature-settings: normal;
    font-variation-settings: normal;
    font-size: 1em;
}
small {
    font-size: 80%;
}
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sub {
    bottom: -0.25em;
}
sup {
    top: -0.5em;
}
table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
}
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}
button,
select {
    text-transform: none;
}
button,
input:where([type="button"]),
input:where([type="reset"]),
input:where([type="submit"]) {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none;
}
:-moz-focusring {
    outline: auto;
}
:-moz-ui-invalid {
    box-shadow: none;
}
progress {
    vertical-align: baseline;
}
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}
::-webkit-search-decoration {
    -webkit-appearance: none;
}
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}
summary {
    display: list-item;
}
blockquote,
dd,
dl,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
pre {
    margin: 0;
}
fieldset {
    margin: 0;
    padding: 0;
}
legend {
    padding: 0;
}
menu,
ol,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
dialog {
    padding: 0;
}
textarea {
    resize: vertical;
}
input::placeholder,
textarea::placeholder {
    opacity: 1;
    color: #9ca3af;
}
[role="button"],
button {
    cursor: pointer;
}
:disabled {
    cursor: default;
}
audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
    display: block;
    vertical-align: middle;
}
img,
video {
    max-width: 100%;
    height: auto;
}
[hidden]:where(:not([hidden="until-found"])) {
    display: none;
}

/* ── Değişkenler ── */
:root {
    --ms-red: #ba0013;
    --ms-red-hover: #d4001a;
    --ms-dark: #1e2124;
    --ms-bg: #f9f9f9;
    --ms-font-heading: "Plus Jakarta Sans", sans-serif;
    --ms-font-body: "Inter", sans-serif;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ms-font-body);
    background: var(--ms-bg);
    color: var(--ms-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

h1,
h2,
h3,
h4 {
    font-family: var(--ms-font-heading);
}

a {
    text-decoration: none;
}

/* ── Layout ── */
/* Standart container: genel sayfalar için */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* İçerik alanları için */
.container-content {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Blog yazı sayfası gibi dar içerik alanları için */
.container-sm {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    padding: 80px 0;
}

/* Grid yardımcıları: masaüstünde N eşit sütun, mobilde daralır */
.grid-2,
.grid-3,
.grid-4,
.grid-5,
.grid-6,
.footer-grid {
    display: grid;
}
.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}
.grid-5 {
    grid-template-columns: repeat(5, 1fr);
}
.grid-6 {
    grid-template-columns: repeat(6, 1fr);
}
.footer-grid {
    grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}

/* ── Tag ── */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ebebeb;
    border-radius: 999px;
    padding: 5px 13px;
    font-family: var(--ms-font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #444;
}

.tag .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ms-red);
    flex-shrink: 0;
}

.tag-light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.tag-default {
    background: #f0f0f0;
    color: #555;
}

.tag-red {
    background: rgba(186, 0, 19, 0.08);
    color: var(--ms-red);
}

/* ── Buttons ── */
.btn-dark {
    display: inline-block;
    background: #252a2e;
    color: #fff;
    font-family: var(--ms-font-heading);
    font-weight: 700;
    font-size: 13px;
    border-radius: 999px;
    padding: 11px 24px;
    transition:
        background 0.18s,
        transform 0.15s;
    letter-spacing: -0.01em;
}

.btn-dark:hover {
    background: #363c42;
    transform: scale(0.97);
}

.btn-red {
    display: inline-block;
    background: var(--ms-red);
    color: #fff;
    font-family: var(--ms-font-heading);
    font-weight: 700;
    font-size: 13px;
    border-radius: 999px;
    padding: 11px 24px;
    transition:
        background 0.18s,
        transform 0.15s;
    letter-spacing: -0.01em;
}

.btn-red:hover {
    background: var(--ms-red-hover);
    transform: scale(0.97);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--ms-dark);
    font-family: var(--ms-font-heading);
    font-weight: 700;
    font-size: 13px;
    border-radius: 999px;
    padding: 10px 22px;
    border: 1.5px solid #ccc;
    transition:
        border-color 0.18s,
        color 0.18s;
    letter-spacing: -0.01em;
}

.btn-ghost:hover {
    border-color: var(--ms-dark);
}

.btn-ghost-white {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-family: var(--ms-font-heading);
    font-weight: 700;
    font-size: 13px;
    border-radius: 999px;
    padding: 10px 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    transition: background 0.18s;
}

.btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ── Cards ── */
.card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8e8e8;
}

/* İstatistik şeridi */
.stats-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 156px;
    border-right: 1px solid #f0f0f0;
}

.stats-grid > div:last-child {
    border-right: none;
}

.card-dark {
    background: #252a2e;
    border-radius: 16px;
    color: #fff;
}

.card-red {
    background: var(--ms-red);
    border-radius: 16px;
    color: #fff;
}

.card-shadow {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.card-hover {
    transition:
        transform 0.22s,
        box-shadow 0.22s;
}

.card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* ── Material Symbols ── */
.material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-variation-settings:
        "FILL" 0,
        "wght" 400,
        "GRAD" 0,
        "opsz" 24;
    vertical-align: middle;
    line-height: 1;
}

.ms-f {
    font-variation-settings:
        "FILL" 1,
        "wght" 400,
        "GRAD" 0,
        "opsz" 24;
}

/* ── Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.reveal.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ── FAQ ── */
details summary {
    cursor: pointer;
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    transition: transform 0.2s;
}

details[open] .faq-icon {
    transform: rotate(45deg);
}

/* ── Section header ── */
.sh {
    font-family: var(--ms-font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--ms-dark);
}

/* ── Navigasyon (bileşenlerden sonra gelmeli: .nav-cta-mobile aynı zamanda .btn-dark taşıyor) ── */
.nav-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 300;
    background: rgba(249, 249, 249, 0.82);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-inner {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-logo {
    font-family: var(--ms-font-heading);
    font-weight: 800;
    font-size: 19px;
    color: var(--ms-dark);
    letter-spacing: -0.025em;
    flex-shrink: 0;
}
.nav-logo span {
    color: var(--ms-red);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-a {
    font-family: var(--ms-font-heading);
    font-size: 13.5px;
    font-weight: 600;
    color: #5a5f63;
    transition: color 0.15s;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.nav-a:hover {
    color: var(--ms-dark);
}
.nav-a.active {
    color: var(--ms-red);
}
.nav-cta {
    display: inline-block;
    background: var(--ms-red) !important;
    color: #fff !important;
    font-family: var(--ms-font-heading);
    font-weight: 700;
    font-size: 13px;
    border-radius: 999px;
    padding: 11px 22px;
    transition:
        background 0.18s,
        transform 0.15s;
    letter-spacing: -0.01em;
    flex-shrink: 0;
    white-space: nowrap;
}
.nav-cta:hover {
    background: var(--ms-red-hover) !important;
    transform: translateY(-1px);
}
.nav-cta-mobile {
    display: none;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 9px;
    border-radius: 10px;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 22px;
    background: var(--ms-dark);
    border-radius: 2px;
    transition:
        transform 0.25s ease,
        opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 1080px) {
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(249, 249, 249, 0.985);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding: 6px 0 14px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.32s ease;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
    }
    .nav-links.open {
        max-height: 520px;
    }
    .nav-a {
        padding: 14px 32px;
        font-size: 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }
    .nav-cta {
        display: none;
    }
    .nav-cta-mobile {
        display: block;
        margin: 14px 32px 0;
        text-align: center;
    }
    .nav-toggle {
        display: flex;
    }
}

/* ── Responsive ── */
@media (max-width: 880px) {
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    /* Tek sütunda geniş içerik sütunu ekrandan taşırmasın */
    .hero-grid > * {
        min-width: 0;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .stats-grid > div {
        border-right: none !important;
        border-bottom: 1px solid #f0f0f0;
    }
}
@media (max-width: 760px) {
    .container {
        padding: 0 22px !important;
    }
    .container-content {
        padding: 0 22px !important;
    }
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .grid-4,
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}
@media (max-width: 520px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
    /* Kendi padding'i olmayan hücreler tek sütuna sıkışmasın */
    .stats-grid > div {
        padding-top: 14px;
        padding-bottom: 14px;
    }
    .grid-4,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 400px) {
    .grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}
