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

html, body {
    width: 100%;
    overflow-x: hidden;
}

:root {
    --rust-orange: #CE422B;
    --ocean-blue: #0369A1;
    --navy: #1E293B;
    --cargo-brown: #8B4513;
    --warning-yellow: #FCD34D;
    --success-green: #10B981;
    --bg-dark: #0F172A;
    --bg-light: #F8FAFC;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-light: #F8FAFC;
    --error: #EF4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--navy);
    overflow-x: hidden;
    padding-top: 80px; /* Account for fixed header */
}

.site-wrapper {
    width: 100%;
    min-height: 100vh;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Main Navigation */
.main-nav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin: 0;
    padding: 0;
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    min-height: 70px;
}

.nav-logo {
    flex-shrink: 0;
    min-width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.nav-logo svg {
    width: 220px !important;
    height: auto !important;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin: 0 1rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.nav-link {
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--rust-orange);
}

.nav-actions {
    flex-shrink: 0;
    min-width: 150px;
}

.nav-actions .btn {
    background: linear-gradient(135deg, var(--rust-orange), #E85D3D);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(206, 66, 43, 0.2);
}

.nav-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(206, 66, 43, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--navy);
    transition: all 0.3s;
}

/* Legacy nav styles for backward compatibility */
nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--rust-orange);
}

.cta-button {
    background: linear-gradient(135deg, var(--rust-orange), #E85D3D);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(206, 66, 43, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8rem 2rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--rust-orange);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(206, 66, 43, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(206, 66, 43, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
}

.terminal {
    background: var(--bg-dark);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    font-family: 'Monaco', 'Menlo', monospace;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.terminal-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.terminal-content {
    color: #10B981;
    font-size: 0.9rem;
}

.terminal-line {
    margin: 0.5rem 0;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.5s; }
.terminal-line:nth-child(2) { animation-delay: 1s; }
.terminal-line:nth-child(3) { animation-delay: 1.5s; }
.terminal-line:nth-child(4) { animation-delay: 2s; }
.terminal-line:nth-child(5) { animation-delay: 2.5s; }
.terminal-line:nth-child(6) { animation-delay: 3s; }
.terminal-line:nth-child(7) { animation-delay: 3.5s; }
.terminal-line:nth-child(8) { animation-delay: 4s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

.prompt { color: #60A5FA; }
.error { color: #EF4444; }
.warning { color: var(--warning-yellow); }
.success { color: #10B981; }

/* Command Showcase */
.commands-showcase {
    padding: 5rem 2rem;
    background: var(--bg-dark);
    color: white;
}

.commands-showcase h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.command-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.command-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s;
}

.command-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: var(--ocean-blue);
}

.command-title {
    font-family: monospace;
    font-size: 1.25rem;
    color: var(--warning-yellow);
    margin-bottom: 0.5rem;
}

.command-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

.command-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: var(--bg-dark);
    color: var(--text-light);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(206, 66, 43, 0.03) 0%, transparent 50%);
    background-attachment: fixed;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border-color: rgba(206, 66, 43, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--navy) 0%, #334155 100%);
    color: white;
    text-align: center;
}

.pricing h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.pricing-cards {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem;
    border-radius: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--rust-orange), #E85D3D);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(206, 66, 43, 0.3);
}

.pricing-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin: 1rem 0;
}

.price-period {
    font-size: 1rem;
    opacity: 0.8;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before {
    content: "✓";
    color: #10B981;
    font-weight: bold;
}

.badge {
    background: var(--warning-yellow);
    color: var(--navy);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Installation Section */
.installation {
    padding: 3rem 2rem;
    background: var(--bg-dark);
    text-align: center;
    color: var(--text-light);
}

.install-command {
    background: var(--bg-dark);
    color: #10B981;
    padding: 1.5rem;
    border-radius: 0.5rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 1.25rem;
    max-width: 600px;
    margin: 2rem auto;
    position: relative;
}

.copy-button {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--ocean-blue);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background 0.3s;
}

.copy-button:hover {
    background: #0284C7;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #F8FAFC;
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rust-orange), transparent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-section {
    background: none !important;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section p {
    color: #CBD5E1;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-section a {
    color: #CBD5E1;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-radius: 0.25rem;
    position: relative;
}

.footer-section a:hover {
    color: var(--rust-orange);
    transform: translateX(5px);
}

.footer-section a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--rust-orange);
    transition: width 0.3s ease;
}

.footer-section a:hover::before {
    width: 8px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    color: #CBD5E1;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--rust-orange);
    color: white;
    transform: translateY(-2px);
    border-color: var(--rust-orange);
    box-shadow: 0 8px 20px rgba(206, 66, 43, 0.3);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-copyright p {
    color: #94A3B8;
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--rust-orange);
}

/* Payment Security Section */
.payment-security {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.security-badge {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.security-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.payment-method {
    background: rgba(255, 255, 255, 0.05);
    color: #CBD5E1;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.payment-method:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-1px);
}

.security-note {
    color: #94A3B8;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .security-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .payment-methods {
        justify-content: center;
    }
}




.error-container {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
    margin: 0 auto;
}

/* Dark theme for 404 page */
body:has(.error-container) {
    background: var(--bg-dark);
    color: var(--text-light);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(206, 66, 43, 0.03) 0%, transparent 50%);
    background-attachment: fixed;
}

.error-code {
    font-size: 8rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--rust-orange), var(--ocean-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.error-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.error-message {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--ocean-blue), #0284C7);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(3, 105, 161, 0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
    border: 2px solid rgba(255,255,255,0.2);
}

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

.suggestions {
    margin-top: 3rem;
    text-align: left;
}

.suggestions h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.suggestion-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.suggestion-card:hover {
    border-color: var(--rust-orange);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.suggestion-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.suggestion-title {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.suggestion-desc {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

.pirate-mode {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(206, 66, 43, 0.1);
    border-radius: 1rem;
    border: 1px solid rgba(206, 66, 43, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(206, 66, 43, 0.1);
}

.pirate-mode h4 {
    color: var(--rust-orange);
    margin-bottom: 0.5rem;
}

.pirate-mode p {
    color: rgba(255,255,255,0.8);
    font-style: italic;
}

@media (max-width: 768px) {
    .error-code {
        font-size: 6rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .suggestions-grid {
        grid-template-columns: 1fr;
    }
}



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

.community-header {
    text-align: center;
    margin-bottom: 4rem;
}

.community-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--rust-orange), var(--ocean-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.community-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.community-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.main-content {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
}

.sidebar {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    height: fit-content;
}

.section-title {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--rust-orange);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.journey-card {
    background: rgba(255,255,255,0.05);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.journey-card:hover {
    border-color: var(--ocean-blue);
    transform: translateY(-2px);
}

.journey-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.journey-title {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.journey-meta {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.journey-desc {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.journey-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat {
    background: rgba(255,255,255,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
}

.journey-actions {
    display: flex;
    gap: 1rem;
}


.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255,255,255,0.05);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--success-green);
}

.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.leaderboard {
    background: rgba(255,255,255,0.05);
    border-radius: 0.5rem;
    padding: 1rem;
}

.leaderboard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.leaderboard-item:last-child {
    border-bottom: none;
}

.leaderboard-rank {
    font-weight: bold;
    color: var(--rust-orange);
    width: 2rem;
}

.community-links {
    margin-bottom: 2rem;
}

.link-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.link-card {
    background: linear-gradient(135deg, var(--ocean-blue), #0284C7);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(3, 105, 161, 0.3);
}

.link-card.discord {
    background: linear-gradient(135deg, #5865F2, #7289DA);
}

.link-card.github {
    background: linear-gradient(135deg, #333, #666);
}

.link-card h4 {
    margin-bottom: 0.5rem;
}

.link-card p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.recent-activity {
    margin-bottom: 2rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    font-size: 1.2rem;
}

.activity-content {
    flex: 1;
}

.activity-title {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.activity-meta {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.activity-time {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}

.getting-started {
    background: linear-gradient(135deg, var(--success-green), #059669);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.getting-started h3 {
    color: white;
    margin-bottom: 1rem;
}

.getting-started p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.getting-started .btn {
    background: var(--rust-orange);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.getting-started .btn:hover {
    background: rgba(255,255,255,0.9);
}

@media (max-width: 768px) {
    .community-container {
        padding: 1rem;
    }

    .community-grid {
        grid-template-columns: 1fr;
    }

    .community-header h1 {
        font-size: 2rem;
    }

    .link-grid {
        grid-template-columns: 1fr;
    }

    .journey-actions {
        flex-direction: column;
    }
}

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

.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--rust-orange), var(--ocean-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-header p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.pricing-card.pro {
    background: linear-gradient(135deg, var(--rust-orange), #E85D3D);
    transform: scale(1.05);
}

.pricing-card.pro .price {
    color: white;
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--success-green), #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.plan-desc {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}



.features {
    list-style: none;
    margin: 2rem 0;
}

.features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.features li:last-child {
    border-bottom: none;
}

.feature-icon {
    color: var(--success-green);
    font-size: 1.2rem;
}

.features li.free {
    color: rgba(255,255,255,0.6);
}

.features li.free .feature-icon {
    color: rgba(255,255,255,0.4);
}


.comparison-section {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 4rem;
}

.comparison-header {
    text-align: center;
    margin-bottom: 2rem;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.comparison-table th {
    background: rgba(255,255,255,0.05);
    font-weight: 600;
    color: var(--text-light);
}

.comparison-table td {
    color: rgba(255,255,255,0.8);
}

.comparison-table .check {
    color: var(--success-green);
    font-weight: bold;
}

.comparison-table .cross {
    color: rgba(239, 68, 68, 0.6);
}

.faq-section {
    margin-top: 4rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 0.5rem;
    padding: 1.5rem;
    border-left: 4px solid var(--ocean-blue);
}

.faq-question {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .pricing-container {
        padding: 1rem;
    }

    .pricing-header h1 {
        font-size: 2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.pro {
        transform: none;
        margin: 0 1rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        padding: 1rem 1rem;
    }
    
    .nav-logo svg {
        width: 150px !important;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-actions .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        gap: 1rem;
        margin: 0 0.5rem;
    }
    
    .nav-logo svg {
        width: 160px !important;
    }
    
    .nav-logo {
        min-width: 160px;
    }
}

@media (max-width: 900px) {
    .nav-links {
        gap: 0.8rem;
        margin: 0 0.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .nav-logo svg {
        width: 140px !important;
    }
    
    .nav-logo {
        min-width: 140px;
    }
    
    .nav-actions .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* Animated wave */
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f8fafc' fill-opacity='1' d='M0,224L48,229.3C96,235,192,245,288,229.3C384,213,480,171,576,176C672,181,768,235,864,245.3C960,256,1056,224,1152,197.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
}

.mutiny-warning {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--error);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.docs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    min-height: calc(100vh - 80px);
}

/* Dark theme for docs page */
body:has(.docs-container) {
    background: var(--bg-dark);
    color: var(--text-light);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(206, 66, 43, 0.03) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Legal Pages Styling */
body:has(.legal-container) {
    background: var(--bg-dark);
    color: var(--text-light);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(206, 66, 43, 0.03) 0%, transparent 50%);
    background-attachment: fixed;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: calc(100vh - 80px);
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(206, 66, 43, 0.3);
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--rust-orange), var(--ocean-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.legal-meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-weight: 500;
}

.legal-intro {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.legal-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.legal-section:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(206, 66, 43, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.legal-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--rust-orange);
    border-bottom: 2px solid rgba(206, 66, 43, 0.3);
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    color: var(--ocean-blue);
    font-weight: 600;
}

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

.legal-section ul {
    margin: 1rem 0 1rem 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-section strong {
    color: var(--rust-orange);
    font-weight: 600;
}

.legal-section a {
    color: var(--ocean-blue);
    text-decoration: none;
    border-bottom: 1px solid rgba(3, 105, 161, 0.3);
    transition: all 0.3s ease;
}

.legal-section a:hover {
    color: var(--rust-orange);
    border-bottom-color: var(--rust-orange);
}

.contact-info {
    background: rgba(206, 66, 43, 0.1);
    border: 1px solid rgba(206, 66, 43, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    backdrop-filter: blur(10px);
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-info strong {
    color: var(--rust-orange);
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-container {
        padding: 2rem 1rem;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-section {
        padding: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
}

/* General Dark Theme for All Sections */
body {
    background: var(--bg-dark);
    color: var(--text-light);
}

/* Ensure all sections have proper dark backgrounds */
section, .section, [class*="section"] {
    background: var(--bg-dark);
    color: var(--text-light);
}

/* Override any remaining light backgrounds */
[class*="light"], [class*="white"] {
    background: var(--bg-dark) !important;
    color: var(--text-light) !important;
}

.docs-sidebar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.docs-sidebar h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.docs-nav {
    list-style: none;
}

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

.docs-nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: block;
    transition: all 0.3s ease;
}

.docs-nav a:hover,
.docs-nav a.active {
    background: var(--ocean-blue);
    color: white;
}

.docs-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.docs-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

.docs-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--rust-orange), var(--ocean-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.docs-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

.docs-section {
    margin-bottom: 3rem;
    background: none !important;
}
.docs-section .feature-card {
    margin-top:15px;
}

.docs-section h2 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--rust-orange);
}

.docs-section h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
}

.docs-section p {
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.code-block {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

.code-block .comment {
    color: #64748B;
}

.code-block .command {
    color: #10B981;
}

.code-block .option {
    color: #3B82F6;
}


.command-list {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.command-item {
    background: rgba(255,255,255,0.05);
    border-radius: 0.5rem;
    padding: 1rem;
    border-left: 4px solid var(--success-green);
}

.command-name {
    font-family: monospace;
    font-weight: bold;
    color: var(--success-green);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.command-desc {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.5rem;
}

.command-example {
    background: rgba(0,0,0,0.2);
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-family: monospace;
    font-size: 0.9rem;
    color: #10B981;
}

.alert {
    background: rgba(252, 211, 77, 0.1);
    border: 1px solid var(--warning-yellow);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
}

.alert strong {
    color: var(--warning-yellow);
}

.pro-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--rust-orange), #E85D3D);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .docs-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .docs-sidebar {
        position: static;
    }

    .docs-header h1 {
        font-size: 2rem;
    }

    .docs-section h2 {
        font-size: 1.5rem;
    }
    
    .nav-logo {
        min-width: 200px;
    }
    
    .nav-logo svg {
        width: 160px !important;
        height: auto !important;
    }
}