/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-teal: #70C7BA;
    --primary-black: #231F20;
    --primary-gray: #B6B6B6;
    --secondary-teal: #49EACB;
    
    /* Functional Colors */
    --bg-dark: var(--primary-black);
    --bg-darker: #1a1718;
    --bg-lighter: #2d2829;
    --text-primary: var(--primary-gray);
    --text-secondary: var(--primary-teal);
    --text-accent: var(--secondary-teal);
    --border-color: rgba(111, 199, 186, 0.2);
    --hover-color: var(--secondary-teal);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 60px;
    background-color: var(--bg-dark);
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0;
    text-align: center;
    color: white;
}

/* Main navigation container */
.main-nav {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    background: transparent;
    border-bottom: 1px solid var(--border-color);
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-container:hover .nav-logo {
    transform: rotate(360deg);
}

/* Logo styles */
.logo {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    font-family: 'Courier New', monospace;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.logo:hover {
    color: var(--text-accent);
    transform: translateY(-1px);
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.nav-links li {
    flex: 0 0 auto;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    width: 110px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    text-align: center;
    white-space: nowrap;
    font-size: 0.9rem;
    line-height: 1.2;
}

.nav-links a:hover {
    color: var(--hover-color);
    transform: translateY(-1px);
}

/* Adjust body padding and section margins */
body {
    padding-top: 60px;
}

.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    scroll-margin-top: 120px;
    position: relative;
}

#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 5rem 1rem 2rem;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

#hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    color: var(--text-secondary);
}

#hero h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.cta-button.primary {
    background-color: var(--primary-teal);
    color: var(--bg-dark);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
}

.cta-button:hover {
    background-color: var(--secondary-teal);
    color: var(--bg-dark);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.quick-stat {
    background: var(--bg-lighter);
    padding: 1rem 2rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.quick-stat:hover {
    border-color: var(--primary-teal);
    transform: translateY(-3px);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-lighter);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    border-color: var(--secondary-teal);
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--text-accent);
    margin: 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Setup Guide */
.setup-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.setup-box {
    background: var(--bg-lighter);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    border: 1px solid var(--border-color);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease;
}

.setup-box:hover {
    border-color: var(--primary-teal);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-teal);
    color: var(--bg-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.setup-box h3 {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: center;
    width: 100%;
}

.setup-box p {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.setup-note {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.note {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.dashboard-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bg-dark);
    text-decoration: none;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    background: var(--primary-teal);
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-link:hover {
    background-color: var(--secondary-teal);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.dashboard-link i {
    font-size: 1rem;
}

/* Network Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* First row - Network Hashrate, Current Supply, Block Reward, Next Halving */
.stats-grid > div:nth-child(-n+4) {
    grid-column: auto;
}

/* Second row - DAA Score, Current Fee Rate, Blocks Per Second, Block Reduction */
.stats-grid > div:nth-child(5) { /* DAA Score */
    grid-column: 1;
}
.stats-grid > div:nth-child(6) { /* Current Fee Rate */
    grid-column: 2;
}
.stats-grid > div:nth-child(7) { /* Blocks Per Second */
    grid-column: 3;
}
.stats-grid > div:nth-child(8) { /* Block Reduction */
    grid-column: 4;
}

.stat-box {
    background: var(--bg-lighter);
    padding: 1.2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    border: 1px solid var(--border-color);
}

.stat-box:hover {
    border-color: var(--secondary-teal);
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

.stat-box i {
    font-size: 1.3rem;
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
}

.stat-box h3 {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-accent);
    margin-bottom: 0.4rem;
}

.stat-subtitle {
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.2rem;
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    color: white;
    padding: 4rem 2rem 2rem;
    width: 100%;
    margin-top: auto;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
}

.footer-section h4 {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-teal);
    transition: width 0.3s ease;
}

.footer-section:hover h4::after {
    width: 75px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-links,
.community-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links a,
.community-links a {
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover,
.community-links a:hover {
    color: var(--hover-color);
    background: rgba(52, 152, 219, 0.2);
    transform: translateX(5px);
    border-color: rgba(52, 152, 219, 0.3);
}

.social-links i,
.community-links i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 152, 219, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-links a:hover i,
.community-links a:hover i {
    background: rgba(52, 152, 219, 0.4);
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 -2rem;
    padding: 2rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.disclaimer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-style: italic;
    max-width: 600px;
    margin: 1rem auto 0;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

.disclaimer a {
    color: var(--text-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.disclaimer a:hover {
    color: var(--primary-teal);
    text-decoration: underline;
}

/* Section Styles */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    scroll-margin-top: 120px;
    position: relative;
}

.section h2 {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    font-size: 2.5rem;
}

/* Remove duplicate scroll-margin-top */
section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Ensure proper spacing for sections */
#setup-guide,
#network-stats {
    padding-top: 2rem;
    scroll-margin-top: 120px;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
/* Large screens and TVs */
@media (min-width: 1441px) {
    .footer-content,
    nav,
    .section {
        max-width: 1400px;
    }

    header h1 {
        font-size: 3rem;
    }

    .header-logo {
        width: 120px;
        height: 120px;
    }

    .nav-links li a {
        width: 110px;
        font-size: 0.9rem;
    }

    .nav-links {
        gap: 0.35rem;
    }

    .stat-box {
        padding: 2.5rem;
    }

    .stat-value {
        font-size: 2rem;
    }
}

/* Standard laptops and desktops */
@media (max-width: 1440px) and (min-width: 1025px) {
    .footer-content,
    nav,
    .section {
        max-width: 1200px;
    }
}

/* Small laptops and tablets landscape */
@media (max-width: 1024px) {
    header {
        padding: 1.5rem 0;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        padding: 0.8rem 1.2rem;
        min-width: 140px;
    }

    .nav-links .link-title {
        font-size: 0.85rem;
    }

    .nav-links .link-desc {
        font-size: 0.7rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }

    .stats-grid > div:nth-child(n) {
        grid-column: auto;
    }

    .setup-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    #setup-guide,
    #network-stats {
        padding-top: 3rem;
        scroll-margin-top: 90px;
    }

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

    .setup-container,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-box {
        padding: 1.5rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links,
    .community-links {
        align-items: center;
    }

    .social-links a,
    .community-links a {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .quick-stat {
        width: 100%;
    }

    .feature-card,
    .setup-box,
    .stat-box {
        padding: 1.5rem;
    }

    .config-code {
        font-size: 0.75rem;
        padding: 0.6rem 0.8rem;
    }
    
    .copy-button {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .setup-box h3 {
        font-size: 1rem;
    }

    .rustforce-frame iframe {
        height: 250px;
    }
    
    .rustforce-frame {
        margin-top: 1.5rem;
    }

    .hero-logo {
        width: 350px;
        margin-bottom: 0.75rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    header h1 {
        font-size: 1.75rem;
    }

    .header-logo {
        width: 60px;
        height: 60px;
    }

    #hero h1 {
        font-size: 1.75rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .setup-box {
        padding: 1.2rem;
    }

    .config-code {
        font-size: 0.7rem;
        padding: 0.5rem 0.6rem;
    }
    
    .copy-button {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }

    .stat-box {
        padding: 1.2rem;
    }

    .stat-value {
        font-size: 1.3rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .social-links a,
    .community-links a {
        padding: 0.4rem;
        font-size: 0.9rem;
    }

    .rustforce-frame iframe {
        height: 200px;
    }
    
    .rustforce-frame {
        margin-top: 1rem;
        padding: 0.5rem 0;
    }

    .hero-logo {
        width: 300px;
        margin-bottom: 0.5rem;
    }
}

/* Handle height-based queries for shorter screens */
@media (max-height: 700px) {
    #hero {
        padding: 6rem 1rem 2rem;
        height: auto;
        min-height: 100vh;
    }

    .header-logo {
        width: 60px;
        height: 60px;
    }

    header {
        padding: 1rem 0;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #f0f0f0;
    }

    .setup-box,
    .stat-box {
        background: #2c2c2c;
        color: #f0f0f0;
    }

    .config-code {
        background: #333;
        color: #f0f0f0;
    }

    .stat-box h3 {
        color: #f0f0f0;
    }

    #hero {
        background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    }

    #hero h1,
    #hero p {
        color: #f0f0f0;
    }
}

/* Print styles */
@media print {
    header {
        position: static;
        box-shadow: none;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .nav-links,
    .cta-button,
    .social-links,
    .community-links {
        display: none;
    }

    #hero {
        height: auto;
        padding: 2rem 0;
    }

    .setup-box,
    .stat-box {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Additional Elements */
.setup-note, .note {
    color: var(--text-primary);
}

/* Hover Effects */
a:hover {
    color: var(--hover-color);
    transition: all 0.3s ease;
}

/* Stats Grid Hover Effects */
.stat-box:hover {
    border-color: var(--secondary-teal);
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

/* Loading States */
.loading {
    color: var(--primary-gray);
}

.error {
    color: #ff6b6b;
}

/* Transitions */
.stat-box, .feature-card, .setup-box {
    transition: all 0.3s ease;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-teal);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-teal);
}

/* Network Stats Section */
#network-stats {
    scroll-margin-top: 120px;
    padding-top: 2rem;
}

/* Stats Grid Layout */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

.config-code {
    background: var(--bg-darker);
    color: var(--secondary-teal);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0.75rem 0;
    position: relative;
    border: 1px solid var(--border-color);
}

.config-code span {
    text-align: center;
    word-break: break-all;
}

.copy-button {
    background: var(--primary-teal);
    color: var(--bg-dark);
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    align-self: center;
}

.worker-format {
    color: var(--secondary-teal);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    padding: 0.75rem 1rem;
    background: var(--bg-darker);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    margin: 0.75rem 0;
    text-align: center;
    word-break: break-all;
}

.copy-feedback {
    position: absolute;
    top: -30px;
    right: 0;
    background: var(--secondary-teal);
    color: var(--bg-dark);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-feedback.show {
    opacity: 1;
}

.hero-stats .stat-box {
    background: var(--bg-lighter);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.hero-stats .stat-box:hover {
    border-color: var(--primary-teal);
    transform: translateY(-3px);
}

.rustforce-frame {
    width: 100%;
    background: var(--bg-darker);
    padding: 1rem 0;
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.rustforce-frame iframe {
    display: block;
    width: 100%;
    max-width: 1200px;
    height: 300px;
    margin: 0 auto;
    background: var(--bg-lighter);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.rustforce-caption {
    text-align: center;
    color: var(--text-primary);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.hero-logo {
    width: 450px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-accent);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.text-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.text-link:active {
    transform: translateY(0);
}

.setup-box .note {
    text-align: center;
    font-size: 0.9em;
    color: #00e6e6;
    margin-top: 1rem;
}

.setup-box p {
    text-align: center;
}

.setup-box .worker-format {
    text-align: center;
}

/* Base Navigation Styles */
.menu-toggle {
    display: none;
}

/* Mobile Navigation Styles */
@media screen and (max-width: 768px) {
    .main-nav {
        padding: 1rem;
        position: relative;
    }

    .logo-container {
        z-index: 2;
    }

    /* Menu Toggle Button */
    .menu-toggle {
        display: block !important; /* Force display on mobile */
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001; /* Ensure button stays above menu */
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .menu-toggle i {
        font-size: 1.5rem;
        color: var(--primary-teal);
        transition: color 0.3s ease;
    }

    .menu-toggle:hover i {
        color: var(--secondary-teal);
    }

    /* Navigation Links */
    .nav-links {
        display: none;
        position: fixed; /* Change to fixed for full-width overlay */
        top: 60px; /* Height of header */
        left: 0;
        right: 0;
        background: var(--bg-darker);
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        z-index: 1000;
        border-top: 2px solid var(--primary-teal);
    }

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

    .nav-links li {
        width: 100%;
        margin: 0;
    }

    .nav-links li a {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
        color: var(--text-primary);
        background: var(--bg-lighter);
        font-weight: 500;
        border: 1px solid var(--border-color);
        border-radius: 4px;
        text-decoration: none;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
        margin: 0;
        font-size: 1rem;
    }

    .nav-links li a:hover {
        background: var(--primary-teal);
        color: var(--bg-dark);
        transform: translateY(-1px);
        border-color: var(--primary-teal);
    }

    /* Hero Section Mobile Styles */
    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-logo {
        max-width: 150px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .quick-stat {
        width: 100%;
    }

    /* Features Grid Mobile Styles */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    /* Setup Guide Mobile Styles */
    .setup-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    /* Network Stats Mobile Styles */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    /* Reset all grid columns to auto for mobile */
    .stats-grid > div:nth-child(n) {
        grid-column: auto;
    }

    .stat-box {
        padding: 1rem;
        min-height: 120px;
    }

    .stat-box h3 {
        font-size: 0.85rem;
    }

    .stat-value {
        font-size: 1.1rem;
    }

    .stat-subtitle {
        font-size: 0.8rem;
    }

    /* Footer Mobile Styles */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .footer-section {
        text-align: center;
    }

    .social-links, .community-links {
        justify-content: center;
    }
}

/* Smaller mobile adjustments */
@media screen and (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0.8rem;
    }

    .stat-box {
        padding: 0.8rem;
        min-height: 100px;
    }
}


/* Network Stats Mobile Layout */
@media (max-width: 500px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stats-grid > div:nth-child(n) {
        grid-column: 1;
    }

    .stat-box {
        padding: 1.25rem;
        min-height: 140px;
    }

    .stat-value {
        font-size: 1.25rem;
    }
}
