/* =========================================================
   ESC KNOWLEDGE CENTER – GLOBAL + INDEX STYLES
   Applies to ALL pages (FAQ, Troubleshooting, How-To, Index)
   ========================================================= */

/* ===== ROOT VARIABLES ===== */

:root {
    --bg: #0b0e1a;
    --text: #f4f6ff;
    --muted: #9aa0c6;
    --accent: #ff4fd8;
    --accent2: #4fd8ff;
    --panel: #14182b;
    --radius: 16px;
    --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===== BODY ===== */

body {
    margin: 0;
    font-family: var(--font);
    background: radial-gradient(circle at top, #1a1f4f 0, var(--bg) 60%);
    color: var(--text);
}

/* ===== HEADER ===== */

header {
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

header nav a {
    margin-left: 24px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.85;
}

/* ===== MAIN WRAPPER ===== */

.main-wrapper {
    max-width: 1000px;
    margin: 40px auto 80px;
    padding: 0 20px;
}

/* ===== TITLES ===== */

.page-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.page-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 40px;
}

/* ===== SECTION BLOCKS (used in all subpages) ===== */

.section-block {
    margin-bottom: 50px;
}

.section-block h2 {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 12px;
}

.section-block p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
}

/* =========================================================
   INDEX PAGE STYLES (content-section, content-item, etc.)
   ========================================================= */

.content-section {
    margin: 50px 0;
}

.content-section h2 {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 24px;
}

.content-item {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 18px 18px 16px;
    margin-bottom: 18px;
}

.content-item h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.content-item p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 10px;
}

.content-link {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #0b0e1a;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s;
}

.content-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* ===== FOOTER ===== */

footer {
    margin-top: 80px;
    padding: 30px 20px;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    background: #0a0c16;
}
