/* Inter (öz serverimizdən — CSP xarici şriftlərə icazə vermir). latin-ext Azərbaycan hərfləri (ə, ş, ç, ğ, ı, İ) üçündür. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   Dizayn tokenləri — rəsmi/korporativ hosting şirkəti üslubu
   ========================================================================== */
:root {
    --primary: #0d8f72;
    --primary-dark: #0a6f59;
    --primary-light: #e3f6f1;
    --primary-contrast: #ffffff;
    --navy: #0b1f3a;
    --navy-2: #132a4d;
    --accent: #ff7a1a;
    --accent-light: #fff1e5;

    --bg: #ffffff;
    --bg-soft: #f5f7f9;
    --surface: #ffffff;
    --surface-2: #eef1f4;
    --text: #0f1b2d;
    --muted: #5b6472;
    --border: #e2e5ea;

    --success: #0a8a4a;
    --success-bg: #e0f5e9;
    --success-text: #075c32;
    --danger: #c8221f;
    --danger-bg: #fbe6e5;
    --danger-text: #7a1512;

    --radius: 12px;
    --radius-sm: 8px;
    --shadow-xs: 0 1px 2px rgba(15, 27, 45, .06);
    --shadow-sm: 0 4px 14px rgba(15, 27, 45, .08);
    --shadow-md: 0 14px 34px -12px rgba(15, 27, 45, .18);
    --shadow-lg: 0 26px 54px -18px rgba(15, 27, 45, .26);
    --ring: 0 0 0 4px var(--primary-light);

    --font: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color-scheme: light;
}

:root[data-theme="dark"] {
    --primary: #22c99f;
    --primary-dark: #1aa483;
    --primary-light: rgba(34, 201, 159, .15);
    --primary-contrast: #06120d;
    --navy: #050b14;
    --navy-2: #0a1522;
    --accent: #ff9142;
    --accent-light: rgba(255, 145, 66, .14);

    --bg: #0a0f15;
    --bg-soft: #0d141b;
    --surface: #111922;
    --surface-2: #161f2a;
    --text: #e8edf1;
    --muted: #93a0ad;
    --border: #232d3a;

    --success: #34d399;
    --success-bg: rgba(52, 211, 153, .14);
    --success-text: #6ee7b7;
    --danger: #f87171;
    --danger-bg: rgba(248, 113, 113, .14);
    --danger-text: #fca5a5;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, .35);
    --shadow-md: 0 16px 40px -14px rgba(0, 0, 0, .55);
    --shadow-lg: 0 30px 64px -20px rgba(0, 0, 0, .65);
    --ring: 0 0 0 4px var(--primary-light);
    color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --primary: #22c99f; --primary-dark: #1aa483; --primary-light: rgba(34, 201, 159, .15); --primary-contrast: #06120d;
        --navy: #050b14; --navy-2: #0a1522; --accent: #ff9142; --accent-light: rgba(255, 145, 66, .14);
        --bg: #0a0f15; --bg-soft: #0d141b; --surface: #111922; --surface-2: #161f2a;
        --text: #e8edf1; --muted: #93a0ad; --border: #232d3a;
        --success: #34d399; --success-bg: rgba(52, 211, 153, .14); --success-text: #6ee7b7;
        --danger: #f87171; --danger-bg: rgba(248, 113, 113, .14); --danger-text: #fca5a5;
        --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4); --shadow-sm: 0 4px 16px rgba(0, 0, 0, .35);
        --shadow-md: 0 16px 40px -14px rgba(0, 0, 0, .55); --shadow-lg: 0 30px 64px -20px rgba(0, 0, 0, .65);
        --ring: 0 0 0 4px var(--primary-light);
        color-scheme: dark;
    }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; font-family: var(--font); background: var(--bg); color: var(--text);
    line-height: 1.65; font-size: 16px; display: flex; flex-direction: column; min-height: 100vh;
    transition: background-color .2s ease, color .2s ease; -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
h1, h2, h3, h4 { letter-spacing: -.015em; line-height: 1.22; font-weight: 800; margin: 0; color: var(--text); }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary-dark); }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
main.container { padding-top: 8px; padding-bottom: 64px; }

/* Tam-en zolaq (fon rəngini bütün ekran enində göstərmək üçün, konteyner daxilində belə) */
.full-bleed { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
.band { padding: 80px 0; }
.band-soft { background: var(--bg-soft); }
.band-tight { padding: 56px 0; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 800;
    letter-spacing: .09em; text-transform: uppercase; color: var(--primary);
    margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--accent); }

/* ---- Üst etibar zolağı ---- */
.topbar { background: var(--navy); color: #c7d2e0; font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 34px; height: 38px; }
.topbar-item { display: flex; align-items: center; gap: 7px; font-weight: 600; white-space: nowrap; }
.topbar-item .dot { color: var(--primary); font-weight: 900; }
@media (max-width: 780px) { .topbar-item:nth-child(n+3) { display: none; } .topbar .container { gap: 20px; } }

/* ---- Header / naviqasiya ---- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 30; box-shadow: var(--shadow-xs); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.header-actions { display: flex; align-items: center; gap: 28px; }
.logo { font-weight: 800; font-size: 1.28rem; color: var(--text); letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.logo::before { content: ""; width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; background: var(--primary); }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { color: var(--text); font-weight: 600; font-size: .93rem; padding: 10px 14px; border-radius: var(--radius-sm); }
.main-nav a:hover { background: var(--surface-2); color: var(--primary-dark); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--text); }
.header-actions > .btn { margin-left: 6px; }

.theme-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: var(--surface); color: var(--text);
    cursor: pointer; font-size: 1.05rem; line-height: 1; flex-shrink: 0;
    transition: background-color .15s ease, border-color .15s ease;
}
.theme-toggle:hover { background: var(--surface-2); border-color: var(--primary); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle .icon-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-light { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-dark { display: inline; }

/* ---- Hero ---- */
.hero { text-align: center; padding: 84px 20px 0; background: var(--bg-soft); }
.hero-inner { max-width: 780px; margin: 0 auto; }
.hero .eyebrow { justify-content: center; }
.hero .eyebrow::before { display: none; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border);
    padding: 7px 16px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--text);
    box-shadow: var(--shadow-xs); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.1rem); margin: 0 0 20px; font-weight: 900; }
.hero-sub { color: var(--muted); font-size: 1.15rem; max-width: 620px; margin: 0 auto 32px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.muted { color: var(--muted); }
.debug { text-align: left; background: var(--danger-bg); color: var(--danger-text); padding: 14px; border-radius: var(--radius-sm); overflow-x: auto; }

/* ---- Etibar / statistika zolağı ---- */
.trust-strip { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item {
    display: flex; align-items: center; justify-content: center; gap: 12px; padding: 26px 18px; text-align: left;
    border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: 0; }
.trust-icon {
    width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.trust-num { font-weight: 800; font-size: 1.02rem; }
.trust-label { color: var(--muted); font-size: .8rem; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } .trust-item:nth-child(2) { border-right: 0; } .trust-item:nth-child(n+3) { border-top: 1px solid var(--border); } }
@media (max-width: 500px) { .trust-grid { grid-template-columns: 1fr; } .trust-item { border-right: 0 !important; border-top: 1px solid var(--border); } .trust-item:first-child { border-top: 0; } }

/* ---- Düymələr ---- */
.btn {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    background: var(--primary); color: var(--primary-contrast);
    padding: 13px 26px; border-radius: var(--radius-sm); border: 1.5px solid var(--primary); font-weight: 700; font-size: .95rem;
    cursor: pointer; box-shadow: var(--shadow-xs); transition: background-color .15s ease, box-shadow .15s ease, transform .1s ease;
    white-space: nowrap;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--primary-contrast); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-secondary { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); box-shadow: none; }
.btn-secondary:hover { background: var(--surface-2); color: var(--text); border-color: var(--muted); }
.btn-invert { background: var(--surface); color: var(--primary); border-color: var(--surface); }
.btn-invert:hover { background: var(--surface-2); color: var(--primary-dark); }
.btn-block { width: 100%; text-align: center; }

/* ---- Bildirişlər ---- */
.alert { padding: 14px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; cursor: pointer; font-weight: 600; border: 1px solid transparent; font-size: .93rem; }
.alert-success { background: var(--success-bg); color: var(--success-text); border-color: color-mix(in srgb, var(--success) 30%, transparent); }
.alert-error { background: var(--danger-bg); color: var(--danger-text); border-color: color-mix(in srgb, var(--danger) 30%, transparent); }

/* ---- Footer (çoxsütunlu, rəsmi) ---- */
.site-footer { background: var(--navy); color: #aab7c9; margin-top: 0; }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand .logo::before { background: var(--primary); }
.footer-brand p { color: #90a0b7; font-size: .9rem; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: #aab7c9; font-size: .9rem; font-weight: 500; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: #8494ab;
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: #8494ab; }
.footer-legal a:hover { color: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

@media (max-width: 720px) {
    .nav-toggle { display: block; }
    .main-nav {
        display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--surface);
        border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; padding: 10px 16px; gap: 4px;
        box-shadow: var(--shadow-md);
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 10px; }
    .hero { padding: 56px 20px 0; }
}

/* ---- Formalar və kartlar ---- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-xs); }
.form-card { max-width: 460px; margin: 48px auto; }
.form-card h1 { margin-top: 0; margin-bottom: 22px; font-size: 1.45rem; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; flex: 1; }
.form-row { display: flex; gap: 14px; }
.form-group label { font-weight: 700; margin-bottom: 7px; font-size: .84rem; color: var(--text); }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-weight: 500 !important; }
.checkbox-label input { width: auto; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], select, textarea {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font: inherit; background: var(--surface); color: var(--text); transition: border-color .15s ease, box-shadow .15s ease;
}
input:disabled { opacity: .6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
.field-error { color: var(--danger); font-size: .85rem; margin-top: 5px; font-weight: 600; }
.form-links { text-align: center; margin-bottom: 0; color: var(--muted); }
.nav-form { margin: 0; display: inline; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--text); cursor: pointer; }
.link-btn:hover { color: var(--primary); }
@media (max-width: 720px) { .form-row { flex-direction: column; gap: 0; } }

/* ---- Cədvəllər / siyahı-tipli səhifələr ---- */
.page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.page-head h1 { margin: 0; }
.table-card { padding: 0; overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.admin-table th, .admin-table td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--border); white-space: nowrap; font-size: .92rem; }
.admin-table th { background: var(--surface-2); font-size: .74rem; text-transform: uppercase; color: var(--muted); letter-spacing: .06em; font-weight: 800; }
.admin-table tbody tr { transition: background-color .12s ease; }
.admin-table tbody tr:hover { background: var(--surface-2); }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.row-actions { display: flex; gap: 16px; align-items: center; }
.row-actions form { margin: 0; }
.row-actions a { font-weight: 600; }
.link-danger { color: var(--danger); }

.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .02em; }
.badge-ok { background: var(--success-bg); color: var(--success-text); }
.badge-off { background: var(--surface-2); color: var(--muted); }
.form-card-wide { max-width: 780px; }

/* ---- Ana səhifə bölmələri ---- */
.section-head { margin-bottom: 24px; }
.section-head-center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; margin-bottom: 44px; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.55rem, 2.6vw, 2.05rem); margin: 0 0 10px; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.feature-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 30px 26px; box-shadow: var(--shadow-xs); transition: box-shadow .18s ease, border-color .18s ease;
}
.feature-card:hover { box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); }
.feature-icon {
    font-size: 1.4rem; margin: 0 0 18px; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm); background: var(--primary-light); color: var(--primary);
}
.feature-card h3 { margin: 4px 0 9px; font-size: 1.05rem; font-weight: 700; }

.about-block { text-align: center; max-width: 700px; margin: 0 auto; }
.about-block h2 { margin-bottom: 14px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.about-block p { font-size: 1.08rem; color: var(--muted); }

.category-block { margin-bottom: 52px; }
.category-block:last-child { margin-bottom: 0; }
.category-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 8px; }
.category-head h2, .category-head h3 { margin: 0; font-size: 1.25rem; }
.category-head a { font-weight: 700; font-size: .9rem; }

.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.plan-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-xs);
    transition: box-shadow .18s ease, border-color .18s ease;
}
.plan-card:hover { box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); }
.plan-card h4 { margin: 0 0 6px; font-size: 1.08rem; }
.plan-desc { flex: 1; margin-bottom: 16px; }
.plan-price { font-size: 1.65rem; font-weight: 800; margin-bottom: 18px; }
.plan-period { font-size: .8rem; font-weight: 500; color: var(--muted); }

/* ---- Qiymət planları bölməsi (admin idarəli) ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; align-items: stretch; }
.pricing-card {
    position: relative; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius);
    padding: 34px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-xs);
    transition: box-shadow .2s ease, border-color .2s ease;
}
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card h3 { margin: 6px 0 8px; font-size: 1.18rem; }
.pricing-card-featured { border-color: var(--primary); box-shadow: var(--shadow-md); }
.pricing-card-featured:hover { box-shadow: var(--shadow-lg); }
.pricing-badge {
    position: absolute; top: 0; left: 0; right: 0; transform: translateY(-50%);
    margin: 0 auto; width: fit-content; background: var(--primary); color: var(--primary-contrast);
    font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px;
    box-shadow: var(--shadow-sm); white-space: nowrap; left: 50%; transform: translate(-50%, -50%);
}
.pricing-desc { min-height: 44px; margin-bottom: 8px; }
.pricing-price { font-size: 2.3rem; font-weight: 900; margin: 10px 0 22px; letter-spacing: -.02em; }
.pricing-feature-list { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.pricing-feature-list li { padding-left: 28px; position: relative; font-size: .93rem; }
.pricing-feature-list li::before {
    content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-weight: 900; font-size: .78rem;
}

/* ---- CTA zolağı ---- */
.cta-band { text-align: center; background: var(--navy); color: #fff; }
.cta-band h2 { margin: 0 0 12px; color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-band p { margin: 0 0 28px; color: #b9c4d6; font-size: 1.08rem; }

/* ---- Sərbəst mətn bölməsi ---- */
.custom-section { max-width: 780px; margin: 0 auto; text-align: center; }
.custom-section h2 { margin-bottom: 12px; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.custom-section-body { color: var(--muted); text-align: left; margin-top: 16px; font-size: 1.03rem; }

.breadcrumb { color: var(--muted); font-size: .88rem; margin: 24px 0 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }

.product-detail { max-width: 740px; margin: 24px auto 64px; }
.product-price-box { background: var(--surface-2); border-radius: var(--radius); padding: 20px 24px; margin: 20px 0; border: 1px solid var(--border); }
.price-main { font-size: 2rem; font-weight: 800; }
.price-alt { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.product-description { margin: 20px 0; }
.feature-list { padding-left: 22px; margin: 18px 0; }
.feature-list li { margin-bottom: 7px; }

/* ---- Səbət / sifariş ---- */
.cart-summary { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; flex-wrap: wrap; gap: 12px; }
.cart-total { font-size: 1.3rem; font-weight: 800; }
.add-to-cart-form { margin-top: 12px; }
.order-list { list-style: none; padding: 0; margin: 0; }
.order-list li { padding: 14px 0; border-bottom: 1px solid var(--border); }
.order-list li:last-child { border-bottom: 0; }

/* ---- Hesab alt-naviqasiyası ---- */
.account-subnav { display: flex; gap: 6px; flex-wrap: wrap; margin: 24px 0 28px; border-bottom: 1px solid var(--border); }
.account-subnav a { padding: 12px 18px; color: var(--muted); font-weight: 600; font-size: .92rem; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.account-subnav a:hover { color: var(--text); }
.account-subnav a.active { color: var(--primary); border-color: var(--primary); }
.account-subnav a.account-subnav-admin { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: var(--primary); }
.account-subnav a.account-subnav-admin:hover { color: var(--primary-dark); }
@media (max-width: 640px) { .account-subnav a.account-subnav-admin { margin-left: 0; } }
.inline-status-form select { padding: 6px 8px; font-size: .85rem; }

/* ---- Dəstək tiketləri ---- */
.ticket-thread { display: flex; flex-direction: column; gap: 16px; }
.ticket-msg { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-xs); }
.ticket-msg-admin { background: var(--primary-light); border-color: color-mix(in srgb, var(--primary) 35%, transparent); }
.ticket-msg-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .88rem; flex-wrap: wrap; color: var(--muted); }
.ticket-msg-body { white-space: pre-line; }

/* ==========================================================================
   v2 — dizayn təkmilləşdirməsi + yeni komponentlər (səhifələr, redaktor məzmunu)
   ========================================================================== */
::selection { background: var(--primary); color: var(--primary-contrast); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.small { font-size: .85rem; }

/* Btn variantları (paylaşılan) */
.btn-sm { padding: 8px 14px; font-size: .84rem; }
.btn-danger-outline { background: transparent; color: var(--danger); border-color: color-mix(in srgb, var(--danger) 45%, transparent); box-shadow: none; }
.btn-danger-outline:hover { background: var(--danger-bg); color: var(--danger); border-color: var(--danger); }
.theme-toggle .icon-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-light { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-dark { display: block; }
.theme-toggle .icon-light { display: block; }
.theme-toggle svg { display: block; }

/* Səhifə (Haqqımızda və s.) */
.page-article { max-width: 820px; margin: 0 auto; padding: 8px 0 24px; }
.page-title { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 900; margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }

/* Redaktor məzmunu (səhifələr və sərbəst bölmə) */
.prose { font-size: 1.05rem; line-height: 1.8; color: var(--text); overflow-wrap: anywhere; }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.28rem; margin: 1.7em 0 .5em; }
.prose h4 { font-size: 1.08rem; margin: 1.5em 0 .4em; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.5em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--primary); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1em 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--primary); color: var(--muted); font-size: 1.08rem; }
.prose pre { background: #0d141b; color: #e8edf1; padding: 16px 18px; border-radius: var(--radius-sm); overflow-x: auto; font-size: .9rem; }
.prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.prose .ql-indent-1 { padding-left: 3em; } .prose .ql-indent-2 { padding-left: 6em; } .prose .ql-indent-3 { padding-left: 9em; }
.custom-section-body.prose { color: var(--text); text-align: left; }


.prose img { display: block; margin: 1.2em auto; }
.custom-section-body.prose img { margin-left: auto; margin-right: auto; }
