/* ==========================================================================
   STRUCTURAL LAYOUT - CORE STYLING (BIOSCHEMATICS)
   ========================================================================== */

/* Grid and Layout Defaults */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Banner Tech Styling */
header.hero-section {
    position: relative;
    padding: 140px 0 60px 0;
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 45%),
                radial-gradient(circle at bottom left, rgba(255, 71, 71, 0.05), transparent 40%),
                var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    overflow: hidden;
}

header.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
    mask-image: radial-gradient(circle, black, transparent 75%);
    -webkit-mask-image: radial-gradient(circle, black, transparent 75%);
    pointer-events: none;
}

header.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 30%, #94a3b8 70%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header.hero-section p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 30px auto;
    font-weight: 400;
}

/* Floating Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 76px;
    background: var(--glass-background);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: var(--glass-border);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    height: 68px;
    background: rgba(11, 15, 25, 0.85);
    box-shadow: var(--shadow-sm);
}

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

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

.brand-logo svg {
    width: 32px;
    height: 32px;
    fill: var(--primary);
    filter: drop-shadow(0 0 6px rgba(14, 165, 233, 0.4));
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #ffffff 40%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-badge {
    background: linear-gradient(135deg, var(--secondary), #ff7a00);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: var(--shadow-neon-red);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(14, 165, 233, 0.3);
}

/* App Main Container Layout */
main.app-main {
    padding: 50px 0 80px 0;
    background-color: var(--bg-darker);
    min-height: 60vh;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

/* Technical Footer */
footer.tech-footer {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.82rem;
}

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

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--text-secondary);
}

/* Responsiveness Settings */
@media (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header.hero-section h1 {
        font-size: 2.2rem;
    }
    
    .nav-links {
        display: none; /* Can be toggled on mobile if needed */
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
