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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #111827;
    color: #f9fafb;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation Header */
.navbar {
    background-color: #1e293b;
    border-bottom: 1px solid #334155;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.navbar-logo-icon {
    width: 2rem;
    height: 2rem;
    background-color: #0f172a;
    border: 1px solid #475569;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-logo-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #10b981;
}

.navbar-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.navbar-logo-text .highlight {
    color: #10b981;
}

/* Navigation Links */
.navbar-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

.navbar-nav.desktop {
    display: flex;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #10b981;
}

.nav-link.active {
    color: #10b981;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0.375rem;
    height: 0.375rem;
    background-color: #10b981;
    border-radius: 50%;
}

/* Order Button */
.navbar-cta {
    background-color: #10b981;
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border: none;
    cursor: pointer;
}

.navbar-cta:hover {
    background-color: #059669;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
}

.mobile-menu-btn:hover {
    background-color: #334155;
}

.mobile-menu-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20rem;
    background-color: #1e293b;
    border-left: 1px solid #334155;
    z-index: 60;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 1.5rem;
    border-bottom: 1px solid #334155;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-menu-close:hover {
    color: #ffffff;
}

.mobile-menu-close svg {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-menu-nav {
    padding: 1.5rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    text-decoration: none;
    color: #cbd5e1;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: #10b981;
}

.mobile-nav-link.active {
    color: #10b981;
}

.mobile-nav-link svg {
    width: 1.125rem;
    height: 1.125rem;
    color: #10b981;
    flex-shrink: 0;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 50;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.visible {
    opacity: 1;
}

/* Responsive Design */
@media (min-width: 768px) {
    .navbar-nav.desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

@media (max-width: 767px) {
    .navbar-nav.desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

/* Content Spacing */
.main-content {
    margin-top: 0;
}

/* Loading State */
.loading-state {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    background: #111827;
    z-index: 100;
}

.loading-state .spinner {
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-right: 0.75rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hidden {
    display: none !important;
}

.block {
    display: block;
}
