:root {
    /* Backgrounds - Updated: Lighter, less harsh */
    --bg-primary: #111111;
    --bg-secondary: #1A1A1A;
    --bg-card: rgba(255, 255, 255, 0.02);
    
    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;
    
    /* Brand */
    --gold: #F59E0B;
    --gold-dark: #D97706;
    --gold-glow: rgba(245, 158, 11, 0.15);
    --primary: #F59E0B;
    
    /* Status */
    --success: #22C55E;
    --danger: #EF4444;
    --info: #3B82F6;
    --accent: #3B82F6;
    
    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-default: rgba(255, 255, 255, 0.1);
    --border-gold: rgba(245, 158, 11, 0.3);
    
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Layout */
    --container-max: 1200px;
    --container-width: 1200px;
    --nav-height: 70px;
    --page-padding: 80px;
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Legacy support */
    --bg-color: #111111;
    --card-bg: #1A1A1A;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

/* ========================================
   UTILITIES
   ======================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.margin-top {
    margin-top: 80px;
}

.margin-bottom {
    margin-bottom: 80px;
}

.text-gold {
    color: var(--gold);
}

.text-blue {
    color: var(--info);
}

.text-green, .text-success {
    color: var(--success);
}

.text-red, .text-danger {
    color: var(--danger);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--gold);
    color: #000;
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--gold);
    padding: 10px 0;
}

.btn-ghost:hover {
    opacity: 0.8;
}

.link-btn {
    color: var(--gold);
    font-weight: 600;
    transition: opacity 0.2s;
}

.link-btn:hover {
    opacity: 0.8;
}

/* ========================================
   CARDS
   ======================================== */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 25px;
}

.card-lg {
    border-radius: var(--radius-lg);
    padding: 35px;
}

.card-featured {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.02));
    border-color: var(--border-gold);
}

/* ========================================
   BADGES
   ======================================== */

.badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: var(--gold);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   PAGE HEADER (Standardized - Center)
   ======================================== */

.page-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   SECTION HEADER (Standardized - Left with icon)
   ======================================== */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-secondary);
}

.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-default);
}

.section-label span {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

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

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--gold);
}

.logo-journey {
    color: var(--text-secondary);
    font-weight: 500;
    margin-left: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-admin {
    background: rgba(245, 158, 11, 0.1);
    padding: 6px 12px !important;
    border-radius: 6px;
    font-size: 0.85rem !important;
}

/* Main content offset for fixed nav */
main {
    padding-top: var(--nav-height);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    margin-top: 80px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-subtle);
}

.footer-newsletter {
    padding: 50px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-text h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.newsletter-text p {
    color: var(--text-secondary);
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.newsletter-form input {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-default);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 0.95rem;
    width: 280px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px 0;
    gap: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

/* ========================================
   GRIDS
   ======================================== */

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.ventures-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        max-width: 400px;
    }

    .newsletter-form input {
        flex: 1;
        width: auto;
    }

    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .strategy-grid,
    .ventures-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

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

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(17, 17, 17, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 0;
        z-index: 100;
    }

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

    .nav-links a {
        font-size: 1.5rem;
        padding: 20px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(245, 158, 11, 0.1);
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
    }

    .newsletter-form .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
}


/* ========================================
   SECTION HEADERS (Centered for home sections)
   ======================================== */

.section-header-center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.section-header-center h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-header-center p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Section with side link */
.section-header-with-link {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.section-header-with-link h2 {
    font-size: 1.75rem;
    margin-bottom: 5px;
}

.section-header-with-link p {
    color: var(--text-secondary);
}


/* ========================================
   NAV BUTTONS & MEMBER STYLES
   ======================================== */

.btn-nav {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
}

.nav-member {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.1);
    padding: 8px 14px !important;
    border-radius: 8px;
    color: var(--gold) !important;
}

.nav-admin {
    background: rgba(59, 130, 246, 0.1);
    padding: 6px 12px !important;
    border-radius: 6px;
    font-size: 0.85rem !important;
    color: #3B82F6 !important;
}


/* ========================================
   PAGE HEADER CARD (Standardized)
   ======================================== */

.page-header-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.02));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.page-header-content {
    max-width: 700px;
    margin: 0 auto;
}

.page-header-card h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.page-header-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Remove old page-header styles conflict */
.page-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}


/* ========================================
   DARK SCROLLBAR STYLING
   ======================================== */

/* Global dark scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0D0D0D;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #333 #0D0D0D;
}

/* Admin sidebar specific */
.admin-sidebar::-webkit-scrollbar {
    width: 6px;
}

.admin-sidebar::-webkit-scrollbar-track {
    background: #0D0D0D;
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 3px;
}

.sidebar-nav {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #222 #0D0D0D;
}
