:root {
    --bg: #050505;
    --bg-soft: #0c0f14;
    --panel: #12161d;
    --panel-2: #171b23;
    --border: #232834;
    --text: #eaeaea;
    --muted: #9aa3b2;
    --accent: #ff6a00;
    --accent-strong: #ff9a2a;
    --radius: 18px;
}

/* RESET */
* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

/* BASE */
body {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 18px;
    background: #050505;
    color: var(--text);
    line-height: 1.6;
}

/* HEADER with proper navigation */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid rgba(255, 106, 0, 0.2);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo-link {
    flex-shrink: 0;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.2s ease;
}

.logo-img:hover {
    transform: scale(1.02);
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.desktop-nav a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 4px;
    transition: color 0.2s ease;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.desktop-nav a:hover {
    color: var(--accent);
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    color: #ffaa66;
    font-size: 32px;
    padding: 8px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.menu-toggle:hover {
    background: #1a1a1a;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 80px;
    right: 20px;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    padding: 16px;
    gap: 12px;
    width: 240px;
    z-index: 200;
    box-shadow: 0 20px 35px rgba(0,0,0,0.5);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    padding: 12px 16px;
    border-radius: 40px;
    background: #111;
    text-align: center;
    font-weight: 500;
    text-decoration: none;
    color: #e0e0e0;
    border: 1px solid #2a2a2a;
    transition: all 0.2s;
    font-size: 1rem;
}

.mobile-nav a:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* LAYOUT */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* TYPOGRAPHY */
h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #ffaa66 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 48px;
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 40px;
    margin-bottom: 20px;
}

h2:first-of-type {
    margin-top: 0;
}

p {
    color: var(--muted);
    line-height: 1.7;
}

ul, ol {
    line-height: 1.8;
    color: var(--muted);
    padding-left: 24px;
}

li {
    margin: 8px 0;
}

/* CARDS */
.card {
    background: #0c0c0c;
    border: 1px solid #1e1e1e;
    padding: 28px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 106, 0, 0.12);
}

.card ul, 
.card ol {
    margin-top: 8px;
}

/* STRUCTURE */
.section {
    margin-bottom: 40px;
}

.section:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 20px;
}

/* EMPHASIS */
strong {
    color: var(--accent-strong);
}

ul li::marker,
ol li::marker {
    color: var(--accent);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 48px 24px;
    border-top: 1px solid #1a1a1a;
    background: #020202;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    height: 60px;
    opacity: 0.6;
    transition: opacity 0.2s;
    margin-bottom: 20px;
}

.footer-logo:hover {
    opacity: 1;
}

footer p {
    color: #6a6a6a;
    font-size: 0.85rem;
    margin: 8px 0;
}

.footer-links {
    margin-top: 16px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .header-inner {
        padding: 12px 20px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .container {
        padding: 40px 24px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .card {
        padding: 20px;
    }
    
    ul, ol, p {
        font-size: 0.95rem;
    }
}

@media (max-width: 550px) {
    .container {
        padding: 30px 16px;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .mobile-nav {
        top: 70px;
        right: 16px;
        width: 200px;
    }
}

/* Accessibility */
a:focus-visible, 
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 4px;
}