@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg: #03050a;
    --surface: #080b14;
    --card: rgba(15, 20, 35, 0.4);
    --border: rgba(255, 255, 255, 0.06);
    --primary: #00f2ff;
    --secondary: #7000ff;
    --accent: #ff00d4;
    --text: #f8fafc;
    --text-dim: #94a3b8;
    --text-muted: #64748b;
    --glass: blur(16px) saturate(180%);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Elements */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    opacity: 0.1;
}

.hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
    border-bottom: 1px solid var(--border);
    background: radial-gradient(circle at top right, rgba(112, 0, 255, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(0, 242, 255, 0.05), transparent);
}

.hero-content { position: relative; z-index: 1; max-width: 1000px; }

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #fff, var(--text-dim));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.meta-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    backdrop-filter: var(--glass);
}

.meta-item .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.meta-item .value {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.container { max-width: 1100px; margin: 0 auto; padding: 4rem 2rem; }

.toc {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 6rem;
    backdrop-filter: var(--glass);
}

.toc h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 2rem;
}

.toc ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; list-style: none; counter-reset: toc; }
.toc ol li { counter-increment: toc; }
.toc ol li a {
    display: block;
    padding: 0.75rem 0;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border);
}

.toc ol li a::before { content: counter(toc) ". "; color: var(--primary); font-weight: 700; margin-right: 0.5rem; }
.toc ol li a:hover { color: var(--primary); padding-left: 10px; }

section { margin-bottom: 8rem; }
section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

section h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 3rem 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

section h3::before { content: ''; width: 4px; height: 1.25rem; background: var(--primary); border-radius: 2px; }

p { color: var(--text-dim); margin-bottom: 1.5rem; font-size: 1rem; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}

thead th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}

tbody td { padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--text-dim); }
tbody tr:hover td { background: rgba(0, 242, 255, 0.02); color: var(--text); }
tbody tr:last-child td { border-bottom: none; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 2rem; margin: 2rem 0; backdrop-filter: var(--glass); }
.card.info { border-left: 4px solid var(--primary); }
.card.warn { border-left: 4px solid #f59e0b; }
.card.success { border-left: 4px solid #10b981; }

.badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 100px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.badge.pass { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }
.badge.important { background: rgba(245, 158, 11, 0.1); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.2); }
.badge.critical { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }

.process-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin: 3rem 0; }
.process-step { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 2rem; text-align: center; }
.process-step .step-num { width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #000; margin: 0 auto 1.5rem; font-size: 0.9rem; }
.process-step .step-title { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 0.75rem; }
.process-step .step-desc { font-size: 0.85rem; color: var(--text-muted); }

.verify-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.verify-item { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 1.75rem; }
.verify-item .v-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.verify-item .v-title { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem; }

.footer { text-align: center; padding: 6rem 2rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.85rem; }

@media (max-width: 768px) {
    .hero { padding: 6rem 1.5rem; }
    .hero h1 { font-size: 2.5rem; }
    .container { padding: 2rem 1.5rem; }
    .toc { padding: 2rem; }
    .toc ol { grid-template-columns: 1fr; }
}
