/* SosialPost: mavi, qara, qırmızı */
:root {
    --blue: #0a3d91;
    --blue-600: #1257c4;
    --blue-soft: #e8f0fd;
    --red: #d7191f;
    --red-dark: #b3141a;
    --black: #0f1115;
    --black-2: #1b1f27;
    --bg: #f3f5f8;
    --surface: #ffffff;
    --text: #12151b;
    --muted: #5d6675;
    --line: #e2e6ed;
    --ok: #1e7a3c;
    --ok-soft: #e4f4ea;
    --err-soft: #fdecea;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(15, 17, 21, .08);
    --shadow-hover: 0 8px 24px rgba(15, 17, 21, .14);
    --font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    color-scheme: light;
}
[data-theme="dark"] {
    --blue: #3b82f6;
    --blue-600: #60a5fa;
    --blue-soft: #16243d;
    --red: #ef4444;
    --red-dark: #dc2626;
    --bg: #0b0e13;
    --surface: #141922;
    --text: #e7ebf0;
    --muted: #97a1af;
    --line: #262d38;
    --ok: #4ade80;
    --ok-soft: #12301f;
    --err-soft: #3a1717;
    --shadow: 0 1px 3px rgba(0, 0, 0, .4);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, .5);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.55; color: var(--text); background: var(--bg); }
img, canvas { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: 1.7rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }

/* Loqo */
.wm { font-family: "Roboto Condensed", var(--font); font-weight: 700; font-size: 1.7rem; letter-spacing: -.01em; line-height: 1; text-transform: uppercase; color: var(--text); display: inline-flex; gap: 4px; }
.wm b { color: var(--blue); font-weight: 700; }
.wm i { color: var(--red); font-style: normal; }
.topbar .wm, .landing-hero .wm, .footer .wm { color: #fff; }
.topbar .wm b, .landing-hero .wm b, .footer .wm b { color: #fff; }

/* Düymələr */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 10px 18px; border: 2px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; transition: filter .15s, transform .15s, background .15s; }
.btn:hover { filter: brightness(1.05); color: var(--text); }
.btn--blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--ghost { background: transparent; }
.btn--sm { padding: 6px 12px; font-size: .88rem; border-radius: 8px; }
.btn--block { width: 100%; }
.btn--danger { color: var(--red); border-color: var(--red); background: transparent; }
.btn--danger:hover { background: var(--red); color: #fff; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 50%; font-size: 1.1rem; }
.icon-btn:hover { background: rgba(255, 255, 255, .12); }

/* Formalar */
label.field, .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-weight: 700; font-size: .92rem; }
.field small { font-weight: 400; color: var(--muted); font-size: .8rem; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=search], select, textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; font-weight: 400; }
textarea { resize: vertical; min-height: 70px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
input[type=color] { width: 46px; height: 38px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; }
input[type=range] { width: 100%; accent-color: var(--red); }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: .92rem; cursor: pointer; margin-bottom: 8px; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.err { color: var(--red); font-size: .85rem; font-weight: 500; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > * { flex: 1 1 140px; }

/* Bildirişlər */
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 500; }
.alert--ok { background: var(--ok-soft); color: var(--ok); }
.alert--err { background: var(--err-soft); color: var(--red); }
.alert ul { margin: 6px 0 0; padding-left: 18px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); max-width: min(92vw, 440px); padding: 12px 18px; border-radius: 12px; background: var(--black); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .14); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 1000; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Üst zolaq və naviqasiya */
.topbar { background: var(--black); color: #fff; }
.topbar__inner { display: flex; align-items: center; gap: 18px; min-height: 60px; }
.topbar .wm { font-size: 1.6rem; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { color: #c9ced6; padding: 8px 14px; border-radius: 999px; font-weight: 500; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav a.is-active { color: #fff; background: var(--blue); }
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.topbar__user { color: #c9ced6; font-size: .9rem; margin-right: 6px; }
.theme-toggle .fa-sun, [data-theme="dark"] .theme-toggle .fa-moon { display: none; }
[data-theme="dark"] .theme-toggle .fa-sun { display: inline; color: #fbbf24; }
.menu-btn { display: none; color: #fff; }
.page { padding: 26px 0 60px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { margin: 0; }

/* Kartlar */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 20px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.post-card__img { aspect-ratio: 4 / 5; background: var(--black-2) center / cover no-repeat; display: block; }
.post-card__body { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.post-card__title { font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--text); }
.post-card__meta { font-size: .8rem; color: var(--muted); }
.post-card__actions { display: flex; gap: 6px; padding: 0 14px 12px; }
.empty { text-align: center; padding: 50px 20px; }
.empty i { font-size: 2.6rem; color: var(--blue); margin-bottom: 14px; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: .78rem; font-weight: 700; }
.chip--red { background: var(--red); color: #fff; }
.swatch { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); vertical-align: middle; }
table.tbl { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 12px; overflow: hidden; }
.tbl th, .tbl td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; }
.tbl th { background: var(--blue-soft); color: var(--blue); font-weight: 700; }
.tbl-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); }
.stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 20px; }
.stat b { display: block; font-size: 1.9rem; color: var(--blue); line-height: 1.1; }
.pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.pager a, .pager span { padding: 7px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font-weight: 500; }
.pager .is-current { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager .is-off { opacity: .45; }

/* Giriş / qeydiyyat */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: linear-gradient(135deg, var(--blue) 0%, var(--black) 100%); }
.auth__box { width: min(420px, 100%); background: var(--surface); border-radius: 16px; padding: 30px 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.auth__logo { display: flex; justify-content: center; margin-bottom: 18px; }
.auth__box h1 { text-align: center; font-size: 1.35rem; }
.auth__alt { text-align: center; margin: 16px 0 0; font-size: .92rem; color: var(--muted); }
.pw { position: relative; }
.pw button { position: absolute; right: 4px; top: 4px; }
.pw .icon-btn { color: var(--muted); width: 34px; height: 34px; }
.pw .icon-btn:hover { background: var(--blue-soft); }

/* Əsas səhifə */
.landing-hero { background: radial-gradient(1000px 500px at 85% 0%, rgba(215, 25, 31, .35), transparent 60%), linear-gradient(135deg, var(--blue) 0%, var(--black) 100%); color: #fff; padding: 0 0 70px; }
.landing-hero .topbar { background: transparent; }
.landing-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 30px; }
.landing-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 900; line-height: 1.1; margin-bottom: 16px; }
.landing-hero h1 em { font-style: normal; color: #ff6b70; }
.landing-hero p.lead { font-size: 1.15rem; color: #d5dbe6; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.landing-hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.landing-hero .btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.mock { position: relative; width: min(340px, 100%); margin-inline: auto; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #1c4a96 0%, #2a6aa8 45%, #101820 100%); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); transform: rotate(2.5deg); }
.mock::before { content: ""; position: absolute; width: 36%; aspect-ratio: 1; right: 8%; top: 12%; border-radius: 50%; background: #e7c066; opacity: .9; }
.mock::after { content: ""; position: absolute; inset: auto 0 0 0; height: 62%; background: linear-gradient(180deg, transparent, rgba(15, 17, 21, .96)); }
.mock__in { position: absolute; z-index: 2; left: 7%; right: 7%; bottom: 7%; }
.mock__chip { display: inline-block; background: var(--red); color: #fff; font-weight: 700; font-size: .62rem; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; }
.mock__t { font-weight: 900; font-size: 1.4rem; line-height: 1.15; margin: 10px 0 12px; }
.mock__f { display: flex; justify-content: space-between; font-size: .66rem; color: #d5dbe6; font-weight: 500; border-top: 3px solid var(--red); padding-top: 8px; }
.mock__logo { position: absolute; z-index: 2; left: 7%; top: 6%; font-family: "Roboto Condensed", var(--font); font-weight: 700; font-size: 1rem; text-transform: uppercase; }
.mock__logo i { color: #ff6b70; font-style: normal; }
.section { padding: 56px 0; }
.section h2 { text-align: center; font-size: 1.7rem; margin-bottom: 30px; }
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { text-align: center; }
.step__n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; background: var(--red); color: #fff; font-weight: 900; font-size: 1.2rem; }
.features { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature i { font-size: 1.5rem; color: var(--blue); margin-bottom: 10px; }
.nets { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.net { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; }
.net i { color: var(--blue); }
.cta-band { background: var(--blue); color: #fff; text-align: center; padding: 44px 16px; border-radius: 18px; }
.cta-band h2 { color: #fff; }
.footer { background: var(--black); color: #97a1af; padding: 26px 0; font-size: .9rem; }
.footer__in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Brend kartları */
.brand-card { display: flex; gap: 14px; align-items: center; }
.brand-logo { width: 72px; height: 72px; border-radius: 12px; background: var(--blue-soft) center / contain no-repeat; border: 1px solid var(--line); flex: none; display: grid; place-items: center; font-weight: 900; color: var(--blue); font-size: 1.6rem; }
.brand-form { max-width: 620px; }
.colors { display: flex; gap: 16px; flex-wrap: wrap; }
.colors .field { margin-bottom: 0; }

@media (max-width: 860px) {
    .landing-hero__grid { grid-template-columns: 1fr; }
    .mock { max-width: 280px; }
    .menu-btn { display: inline-grid; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 60px; flex-direction: column; background: var(--black); padding: 8px 16px 14px; z-index: 50; margin: 0; }
    .nav.is-open { display: flex; }
    .topbar { position: relative; }
    .topbar__user { display: none; }
}
