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

:root {
    --sunset-coral: #F09060;
    --golden-highway: #FFB366;
    --mountain-charcoal: #4A4A4A;
    --coastal-cream: #F5DEB3;
    --ocean-deep: #2C5F7C;
    --fog-gray: #B8B8B8;
    --white: #FFFFFF;
    --light-gray: #F8F8F8;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--mountain-charcoal);
    background: var(--white);
}

/* ===== NAVBAR STYLES (from main.css) ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--mountain-charcoal);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

.navbar {
    background: var(--mountain-charcoal);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-right: 2rem;
}

.nav-menu .nav-link {
    color: var(--coastal-cream);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu .nav-link:hover {
    color: var(--sunset-coral);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    color: var(--coastal-cream);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
}

.social-icon:hover {
    color: var(--sunset-coral);
    transform: translateY(-2px);
}

.social-icon i {
    color: var(--coastal-cream);
}

.social-icon:hover i {
    color: var(--sunset-coral);
}

.navbar .mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.navbar .mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--coastal-cream);
    border-radius: 2px;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--mountain-charcoal);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }

    .navbar .mobile-menu-toggle {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .logo a span {
        font-size: 16px !important;
    }

    .logo a svg {
        width: 32px;
        height: 32px;
    }
}
/* ===== END NAVBAR STYLES ===== */

/* Header */
header {
    background: linear-gradient(135deg, var(--mountain-charcoal) 0%, var(--ocean-deep) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 70px; /* Account for fixed navbar */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

header p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Layout */
.container {
    display: flex;
    max-width: 1600px;
    margin: 0 auto;
}

/* Sidebar Navigation */
.sidebar {
    width: 300px;
    background: var(--light-gray);
    padding: 2rem 1.5rem;
    position: sticky;
    top: 70px; /* Below fixed navbar */
    height: calc(100vh - 70px);
    overflow-y: auto;
    border-right: 2px solid #e0e0e0;
}

.sidebar h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fog-gray);
    margin-bottom: 1rem;
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav ul li {
    margin-bottom: 0.5rem;
}

.sidebar nav ul li a {
    color: var(--mountain-charcoal);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.sidebar nav ul li a:hover {
    background: white;
    color: var(--sunset-coral);
    transform: translateX(4px);
}

.sidebar nav ul li a.active {
    background: var(--sunset-coral);
    color: white;
    font-weight: 600;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 3rem;
    max-width: 900px;
}

.section {
    margin-bottom: 4rem;
    scroll-margin-top: 90px; /* Account for fixed navbar */
}

.section h2 {
    font-size: 2.5rem;
    color: var(--mountain-charcoal);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--sunset-coral);
}

.section h3 {
    font-size: 1.8rem;
    color: var(--ocean-deep);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.section h4 {
    font-size: 1.3rem;
    color: var(--mountain-charcoal);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.section p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.section ul, .section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.section li {
    margin-bottom: 0.5rem;
}

/* Tier Cards */
.tier-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tier-mini-card {
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.tier-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--sunset-coral);
}

.tier-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tier-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--mountain-charcoal);
    margin-bottom: 0.25rem;
}

.tier-price {
    font-size: 1.1rem;
    color: var(--sunset-coral);
    font-weight: 600;
}

/* Info Boxes */
.info-box {
    background: var(--light-gray);
    border-left: 4px solid var(--sunset-coral);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 6px;
}

.info-box.warning {
    border-left-color: var(--golden-highway);
    background: #FFF9F0;
}

.info-box.success {
    border-left-color: #4CAF50;
    background: #F0F9F0;
}

.info-box h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

th {
    background: var(--mountain-charcoal);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

tr:hover {
    background: var(--light-gray);
}

/* Code Blocks */
code {
    background: var(--light-gray);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

pre {
    background: var(--mountain-charcoal);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

/* Checklist */
.checklist {
    list-style: none;
    margin-left: 0;
}

.checklist li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.checklist li::before {
    content: '□';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    color: var(--fog-gray);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--sunset-coral);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        position: fixed;
        left: -300px;
        top: 0;
        height: 100vh;
        z-index: 999;
        transition: left 0.3s;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }

    .sidebar.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-content {
        padding: 2rem 1.5rem;
    }

    .section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }

    .main-content {
        padding: 1.5rem 1rem;
    }

    .section h2 {
        font-size: 1.75rem;
    }

    .section h3 {
        font-size: 1.5rem;
    }

    .tier-overview {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 0.85rem;
    }

    th, td {
        padding: 0.75rem 0.5rem;
    }
}

/* Print Styles */
@media print {
    .sidebar, .mobile-menu-toggle {
        display: none;
    }

    .main-content {
        max-width: 100%;
    }

    .section {
        page-break-inside: avoid;
    }
}
