
:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-alt: #f1f5f9;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --primary: #6366f1;
    --primary-light: #eef2ff;
    --primary-dark: #4f46e5;
    --accent: #06b6d4;
    --accent-light: #ecfeff;
    --warning: #f59e0b;
    --warning-light: #fffbeb;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --success: #10b981;
    --success-light: #ecfdf5;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.05), 0 4px 6px rgba(0,0,0,0.04);
    --max-width: 820px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── HERO HEADER ─────────────────────────── */
.hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 100%);
    position: relative;
    overflow: hidden;
    padding: 64px 24px 56px;
    text-align: center;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99,102,241,0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(16,185,129,0.1) 0%, transparent 50%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50px;
    padding: 8px 20px;
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}
.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(52,211,153,0.6);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.2;
}
.hero h1 span {
    background: linear-gradient(135deg, #a5b4fc, #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    max-width: 520px;
    margin: 0 auto;
    font-weight: 400;
}
.hero-meta {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.hero-meta-item {
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-meta-item strong {
    color: rgba(255,255,255,0.9);
}

/* ─── CONTAINER ──────────────────────────── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 48px 24px 64px;
}

/* ─── LAST UPDATED BANNER ───────────────── */
.updated-banner {
    background: var(--primary-light);
    border: 1px solid #c7d2fe;
    border-radius: var(--radius);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
}
.updated-banner .icon-circle {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 18px;
}
.updated-banner .info strong {
    display: block;
    font-size: 14px;
    color: var(--primary-dark);
}
.updated-banner .info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ─── SECTIONS ──────────────────────────── */
.section {
    margin-bottom: 40px;
}
.section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.section-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.section-icon.blue   { background: #eef2ff; color: #6366f1; }
.section-icon.cyan   { background: #ecfeff; color: #06b6d4; }
.section-icon.amber  { background: #fffbeb; color: #f59e0b; }
.section-icon.green  { background: #ecfdf5; color: #10b981; }
.section-icon.red    { background: #fef2f2; color: #ef4444; }
.section-icon.purple { background: #f5f3ff; color: #8b5cf6; }
.section-icon.rose   { background: #fff1f2; color: #f43f5e; }

.section h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
}
.section h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin-top: 28px;
    margin-bottom: 10px;
}
.section p, .section li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
}
.section p {
    margin-bottom: 14px;
}
.section ul, .section ol {
    padding-left: 20px;
    margin-bottom: 16px;
}
.section li {
    margin-bottom: 8px;
}
.section li::marker {
    color: var(--primary);
    font-weight: 600;
}

/* ─── CARD ──────────────────────────────── */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}
.card.warn {
    background: var(--warning-light);
    border-color: #fcd34d;
}
.card.info {
    background: var(--accent-light);
    border-color: #67e8f9;
}

/* ─── DATA TABLE ────────────────────────── */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 14px;
}
.data-table thead th {
    background: var(--surface-alt);
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
    color: var(--text);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 2px solid var(--border);
}
.data-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    vertical-align: top;
}
.data-table tbody tr:last-child td {
    border-bottom: none;
}
.data-table .perm-cat {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.perm-cat.normal   { background: #dbeafe; color: #1d4ed8; }
.perm-cat.dangerous { background: #fce7f3; color: #be185d; }
.perm-cat.special  { background: #fef3c7; color: #b45309; }

/* ─── DIVIDER ───────────────────────────── */
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 48px 0 32px;
}

/* ─── FOOTER ────────────────────────────── */
.footer {
    text-align: center;
    padding: 32px 24px 48px;
    border-top: 1px solid var(--border);
    background: var(--surface);
}
.footer-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.footer-logo span {
    color: var(--primary);
}
.footer p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.footer a:hover {
    text-decoration: underline;
}

/* ─── LANGUAGE SWITCHER ─────────────────── */
.lang-switcher {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 100;
    display: flex;
    gap: 8px;
}
.lang-switcher a {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}
.lang-switcher a:hover,
.lang-switcher a.active {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* ─── RESPONSIVE ────────────────────────── */
@media (max-width: 640px) {
    .hero {
        padding: 44px 16px 36px;
    }
    .container {
        padding: 32px 16px 40px;
    }
    .card {
        padding: 20px;
    }
    .data-table {
        font-size: 12px;
    }
    .data-table thead th,
    .data-table tbody td {
        padding: 10px 12px;
    }
    .hero-meta {
        gap: 16px;
    }
}

/* ─── PRINT ─────────────────────────────── */
@media print {
    body { background: #fff; }
    .hero { background: #1e1b4b; -webkit-print-color-adjust: exact; }
}
