/* ==========================================================================
   NEPTON STORE LLC - Core Design System & Global Styles
   Enterprise Computer Systems & Hardware Architecture
   Albuquerque, New Mexico
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-base: #060911;
    --bg-primary: #0A0F1D;
    --bg-surface: #10192D;
    --bg-surface-elevated: #16223D;
    --bg-card: rgba(16, 25, 45, 0.72);
    --bg-glass: rgba(10, 15, 29, 0.82);
    --bg-glass-strong: rgba(6, 9, 17, 0.94);
    
    /* Neon & Brand Accents */
    --cyan: #00E5FF;
    --cyan-rgb: 0, 229, 255;
    --cyan-glow: rgba(0, 229, 255, 0.35);
    --cobalt: #2563EB;
    --cobalt-rgb: 37, 99, 235;
    --cobalt-glow: rgba(37, 99, 235, 0.4);
    --blue-accent: #38BDF8;
    
    /* Status & Trust Accents */
    --emerald: #10B981;
    --emerald-glow: rgba(16, 185, 129, 0.3);
    --amber: #F59E0B;
    --purple: #8B5CF6;
    
    /* Typography Colors */
    --text-pure: #FFFFFF;
    --text-main: #F1F5F9;
    --text-muted: #94A3B8;
    --text-dim: #64748B;
    
    /* Borders & Outlines */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.14);
    --border-glow: rgba(0, 229, 255, 0.28);
    --border-emerald: rgba(16, 185, 129, 0.35);
    
    /* Shadows */
    --shadow-card: 0 16px 36px -10px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 25px rgba(0, 229, 255, 0.25);
    --shadow-glow-emerald: 0 0 20px rgba(16, 185, 129, 0.25);
    
    /* Spacing & Layout */
    --container-width: 1280px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Elements */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    line-height: 1.6;
    background: radial-gradient(circle at 50% 0%, #0F1D38 0%, var(--bg-base) 65%);
    background-attachment: fixed;
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
}

input, select, textarea, button {
    font-family: inherit;
    font-size: 16px; /* iOS Safari zoom prevention */
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-pure);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    word-break: break-word;
    overflow-wrap: break-word;
}

h1 { font-size: clamp(1.85rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.15rem; font-weight: 600; }

p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    word-break: break-word;
    overflow-wrap: break-word;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Subtle Gradient Glow Text */
.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 20%, var(--cyan) 75%, var(--blue-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.emerald-gradient-text {
    background: linear-gradient(135deg, #34D399 0%, var(--emerald) 60%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.section-spacing {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .section-spacing {
        padding: 3.75rem 0;
    }
}

.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3.5rem auto;
}

.section-header .tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 229, 255, 0.08);
    color: var(--cyan);
    border: 1px solid rgba(0, 229, 255, 0.28);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    margin-top: 1rem;
}

/* Top Official Verification Bar */
.gov-compliance-bar {
    background: linear-gradient(90deg, #070e1b 0%, #0c1830 50%, #070e1b 100%);
    border-bottom: 1px solid rgba(16, 185, 129, 0.22);
    font-size: 0.825rem;
    color: var(--text-muted);
    padding: 0.45rem 1rem;
    position: relative;
    z-index: 101;
}

.gov-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gov-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--emerald);
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--emerald);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.gov-details {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.gov-item strong {
    color: var(--text-pure);
}

.verify-badge-btn {
    background: rgba(16, 185, 129, 0.12);
    color: var(--emerald);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 0.15rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.verify-badge-btn:hover {
    background: var(--emerald);
    color: #032014;
    box-shadow: 0 0 12px var(--emerald-glow);
}

/* Header & Main Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-normal);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 78px;
}

/* Brand Identity / Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.site-official-logo {
    height: 56px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    transition: var(--transition-fast);
}

.site-official-logo:hover {
    transform: scale(1.04);
    filter: drop-shadow(0 0 16px rgba(0, 229, 255, 0.45));
}

.footer-official-logo {
    height: 64px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    margin-bottom: 1.25rem;
    display: block;
    transition: var(--transition-fast);
}

.footer-official-logo:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.35));
}

.logo-symbol {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00E5FF 0%, #2563EB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 229, 255, 0.35);
    position: relative;
    overflow: hidden;
}

.logo-symbol::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    background: #0A0F1D;
    border-radius: 10.5px;
    z-index: 1;
}

.logo-symbol svg {
    position: relative;
    z-index: 2;
    width: 24px;
    height: 24px;
    fill: var(--cyan);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--text-pure);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.brand-name span {
    color: var(--cyan);
}

.brand-sub {
    font-size: 0.68rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    font-weight: 600;
    text-transform: uppercase;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-pure);
}

.nav-link.active::after, .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--cobalt));
    border-radius: 2px;
}

/* Nav Right Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Cart Trigger Button */
.cart-trigger-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-pure);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cart-trigger-btn:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--cyan);
    color: var(--cyan);
}

.cart-counter {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--cyan);
    color: #060911;
    font-size: 0.7rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px var(--cyan);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.925rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan) 0%, #0099FF 100%);
    color: #050B14;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 229, 255, 0.5);
    background: linear-gradient(135deg, #33EBFF 0%, #1AA3FF 100%);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-2px);
}

.btn-emerald {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
    background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 26px rgba(16, 185, 129, 0.5);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

/* Mobile Navigation Drawer & Backdrop */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 995;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-pure);
    font-size: 1.35rem;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    line-height: 1;
    flex-shrink: 0;
}

.mobile-toggle:hover, .mobile-toggle.active {
    background: rgba(0, 229, 255, 0.12);
    border-color: var(--cyan);
    color: var(--cyan);
}

/* Footer Section */
.site-footer {
    background: #050810;
    border-top: 1px solid var(--border-subtle);
    padding: 5rem 0 2rem 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 2px;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 80%);
}

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

.footer-company-desc {
    margin: 1.25rem 0 1.5rem 0;
    max-width: 360px;
    font-size: 0.92rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-pure);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--cyan);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: var(--cyan);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-contact-item svg {
    flex-shrink: 0;
    color: var(--cyan);
    margin-top: 3px;
}

/* Compliance Card in Footer */
.footer-compliance-card {
    background: rgba(16, 25, 45, 0.6);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.footer-compliance-card h5 {
    color: var(--emerald);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-compliance-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal-links a:hover {
    color: var(--text-pure);
}

/* ==========================================================================
   Comprehensive Responsive Breakpoints (Tablet, Laptop, PC, Phone)
   ========================================================================== */

/* Tablet & Mobile Drawer (<= 992px) */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(340px, 85vw);
        background: var(--bg-surface-elevated);
        border-left: 1px solid var(--border-light);
        padding: 4.5rem 1.75rem 2rem 1.75rem;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        z-index: 998;
        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.85);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        list-style: none;
    }
    
    .nav-links.open {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.05rem;
        font-weight: 600;
        padding: 0.75rem 0.5rem;
        display: block;
        border-radius: var(--radius-sm);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link:hover, .nav-link.active {
        background: rgba(0, 229, 255, 0.08);
        color: var(--cyan);
        padding-left: 0.75rem;
    }

    .nav-link.active::after, .nav-link:hover::after {
        display: none;
    }

    .mobile-nav-cta {
        display: block;
        width: 100%;
        margin-top: 0.5rem;
    }

    .mobile-drawer-footer {
        margin-top: 1.25rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-subtle);
        font-size: 0.825rem;
    }
}

@media (min-width: 993px) {
    .mobile-nav-cta {
        display: none !important;
    }
    .nav-backdrop {
        display: none !important;
    }
}

/* Tablets & Smaller Laptops (<= 768px) */
@media (max-width: 768px) {
    .nav-wrapper {
        height: 68px;
    }

    .site-official-logo {
        height: 44px;
        max-width: 175px;
    }

    /* Hide the direct top bar quote button on mobile/tablet to avoid collision */
    .nav-actions .open-quote-btn {
        display: none !important;
    }

    .gov-details {
        display: none;
    }

    .gov-bar-content {
        justify-content: center;
        text-align: center;
    }

    .gov-badge {
        font-size: 0.76rem;
        text-align: center;
        justify-content: center;
        line-height: 1.4;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }
}

/* Mobile Devices (<= 640px) */
@media (max-width: 640px) {
    .site-footer {
        padding: 3.5rem 0 2rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Narrow & Small Phones (<= 480px) */
@media (max-width: 480px) {
    .site-official-logo {
        height: 40px;
        max-width: 155px;
    }

    .btn-lg {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }

    .nav-actions {
        gap: 0.65rem;
    }

    .cart-trigger-btn, .mobile-toggle {
        width: 40px;
        height: 40px;
    }
}

/* Ultra-Compact Phones (<= 360px - iPhone SE 1st gen, Galaxy Fold closed) */
@media (max-width: 360px) {
    .site-official-logo {
        height: 34px;
        max-width: 130px;
    }

    .gov-compliance-bar {
        font-size: 0.72rem;
        padding: 0.35rem 0.5rem;
    }

    .nav-actions {
        gap: 0.4rem;
    }

    .cart-trigger-btn, .mobile-toggle {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
}
