/* ================================================================
   LocusNet — Modern Ultra-Premium Stylesheet
   Mobile-First, CSS Variables, Dual Light/Dark Modes, Glassmorphism
   ================================================================ */

/* ---- Color Palette & Tokens ---- */
:root {
    --primary: #0A192F;
    --primary-light: #112240;
    --secondary: #172A45;
    --accent: #64FFDA;
    --accent-glow: rgba(100, 255, 218, 0.25);
    --accent-dim: rgba(100, 255, 218, 0.10);
    --gradient-hero: linear-gradient(135deg, #0A192F 0%, #0D1B2A 50%, #172A45 100%);
    --gradient-accent: linear-gradient(135deg, #64FFDA 0%, #00F2FE 100%);
    --text-heading: #0A192F;
    --text-body: #2B3A4A;
    --text-muted: #5A6E85;
    --text-light: #E6F1FF;
    --bg: #F4F7FB;
    --bg-card: #FFFFFF;
    --bg-alt: #EBF1F8;
    --border: #DDE5ED;
    --shadow-sm: 0 2px 8px rgba(10, 25, 47, 0.05);
    --shadow-md: 0 8px 25px rgba(10, 25, 47, 0.08);
    --shadow-lg: 0 15px 45px rgba(10, 25, 47, 0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Theme */
[data-theme="dark"] {
    --text-heading: #F0F6FC;
    --text-body: #C9D1D9;
    --text-muted: #8B949E;
    --bg: #070F1E;
    --bg-card: #0D1B2A;
    --bg-alt: #162438;
    --border: #1E314B;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 15px 45px rgba(0, 0, 0, 0.6);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text-body);
    line-height: 1.65;
    transition: background var(--transition), color var(--transition);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: #00F2FE;
}

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

ul { list-style: none; }

/* ---- Layout & Containers ---- */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
    width: 100%;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    margin-top: 0.6rem;
    border-radius: 2px;
}

.section-intro {
    color: var(--text-muted);
    max-width: 780px;
    margin-bottom: 2.5rem;
    font-size: 1.08rem;
    line-height: 1.6;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: center;
    font-family: inherit;
    white-space: nowrap;
    text-decoration: none !important;
}

.btn-primary {
    background: var(--gradient-hero);
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(10, 25, 47, 0.2);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 25, 47, 0.35);
    background: var(--primary-light);
}

.btn-accent {
    background: var(--gradient-accent);
    color: #0A192F !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.5);
    filter: brightness(1.05);
}

.btn-outline {
    background: transparent;
    color: var(--text-heading) !important;
    border: 1px solid var(--border);
}
.btn-outline:hover {
    background: var(--bg-alt);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.45rem 1.1rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.icon-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.5rem;
    color: var(--text-light);
    transition: var(--transition);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.icon-btn:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

/* KBD shortcut pill */
.kbd-hint {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    font-size: 0.72rem;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    margin-left: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: monospace;
}

/* ---- Sticky Glassmorphic Header ---- */
header {
    background: rgba(10, 25, 47, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(100, 255, 218, 0.15);
}

nav {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF !important;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}
.logo span { color: var(--accent); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.nav-links a, .nav-links .dropdown-btn {
    color: #CCD6F6;
    font-weight: 500;
    font-size: 0.92rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.4rem 0;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-links a:hover, .nav-links .dropdown-btn:hover, .nav-links a.active {
    color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Dropdown Menu */
.dropdown { position: relative; }
.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: -15px;
    background: var(--primary-light);
    min-width: 300px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    z-index: 10;
    border-radius: var(--radius-md);
    border: 1px solid rgba(100, 255, 218, 0.2);
    max-height: 440px;
    overflow-y: auto;
    padding: 0.5rem 0;
}
@media (hover: hover) {
    .dropdown:hover .dropdown-content { display: block; animation: fadeIn 0.2s ease; }
}
.dropdown.open .dropdown-content { display: block; animation: fadeIn 0.2s ease; }

.dropdown-content a {
    color: #CCD6F6;
    padding: 9px 18px;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.88rem;
    transition: var(--transition);
}
.dropdown-content a:hover {
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent);
    padding-left: 22px;
}

/* Search Bar Overlay */
.search-bar {
    display: none;
    background: #0D1B2A;
    border-top: 1px solid rgba(100, 255, 218, 0.2);
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.search-bar.open { display: block; animation: fadeIn 0.2s ease; }

.search-bar-inner {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.search-bar-inner input {
    flex: 1;
    padding: 0.75rem 1.2rem;
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: #0A192F;
    color: #FFFFFF;
}
.search-bar-inner input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.2);
}

.search-results {
    max-width: 650px;
    margin: 0.75rem auto 0;
    background: #0A192F;
    border-radius: var(--radius-md);
    border: 1px solid rgba(100, 255, 218, 0.15);
    overflow: hidden;
}
.search-results:empty { display: none; }
.search-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.2rem;
    color: #CCD6F6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    font-size: 0.92rem;
}
.search-result-item:hover {
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent);
    text-decoration: none;
}

/* ---- Hero Banner ---- */
.hero {
    background: var(--gradient-hero);
    color: #FFFFFF;
    padding: 5.5rem 1.5rem 4.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(100,255,218,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(100, 255, 218, 0.12);
    color: var(--accent);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(100, 255, 218, 0.3);
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    color: #FFFFFF;
}
.hero p {
    font-size: 1.2rem;
    color: #8892B0;
    margin: 0 auto 2.5rem;
    max-width: 750px;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* Hero Stats Bar */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-item {
    text-align: center;
}
.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: 0.3rem;
}
.stat-label {
    font-size: 0.85rem;
    color: #8892B0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---- Category Tabs ---- */
.cat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}
.cat-tab {
    padding: 0.55rem 1.2rem;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-body);
    transition: var(--transition);
    font-family: inherit;
}
.cat-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.cat-tab.active {
    background: var(--gradient-hero);
    color: var(--accent) !important;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

/* ---- Product Grid & Cards ---- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    padding: 1.6rem;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.product-card .card-img {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1.2rem;
    position: relative;
}
.product-card .card-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.product-card:hover .card-img img {
    transform: scale(1.05);
}

.product-card .cat-tag {
    display: inline-block;
    background: var(--accent-dim);
    color: var(--accent);
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    align-self: flex-start;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.product-card h3 {
    color: var(--text-heading);
    margin-bottom: 0.4rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.product-card .tagline {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    flex: 1;
    line-height: 1.5;
}

.product-card .card-actions {
    display: flex;
    gap: 0.6rem;
    margin-top: auto;
}
.product-card .card-actions .btn {
    flex: 1;
}

/* ---- Product Detail View ---- */
.product-detail {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    padding: 3rem;
}
.product-detail .product-header {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2rem;
}
.product-detail .product-img {
    flex: 0 0 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 2rem;
    min-height: 240px;
    border: 1px solid var(--border);
}
.product-detail .product-img img {
    max-height: 220px;
    object-fit: contain;
}
.product-detail .product-meta { flex: 1; min-width: 300px; }
.product-detail h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--text-heading);
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.product-detail .tagline {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.product-detail .desc {
    margin-bottom: 1.75rem;
    font-size: 1.02rem;
    line-height: 1.7;
}
.product-detail h3 {
    color: var(--text-heading);
    margin: 2rem 0 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}
.product-detail ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
    padding-left: 0;
}
.product-detail ul li {
    padding: 0.6rem 0.8rem 0.6rem 2rem;
    position: relative;
    font-size: 0.95rem;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
}
.product-detail ul li::before {
    content: '✓';
    color: var(--accent);
    position: absolute;
    left: 0.8rem;
    font-weight: bold;
}

/* ---- Cards & Grids ---- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.75rem;
}

.card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}
.card h3 {
    color: var(--text-heading);
    margin-bottom: 0.85rem;
    font-size: 1.2rem;
    font-weight: 700;
}
.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ---- Projects Map Section ---- */
.projects-map {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    padding: 2rem;
}
.map-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}
.map-region-btn {
    padding: 0.6rem 1.4rem;
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--bg-card);
    color: var(--text-body);
    transition: var(--transition);
    font-family: inherit;
}
.map-region-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.map-region-btn.active {
    background: var(--gradient-accent);
    color: #0A192F !important;
    border-color: var(--accent);
    font-weight: 700;
}
.map-detail {
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 2rem;
    min-height: 160px;
    border: 1px solid var(--border);
}
.map-detail h4 {
    color: var(--text-heading);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.map-detail p {
    font-size: 0.98rem;
    margin-bottom: 0.5rem;
}

/* ---- Contact Section ---- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.contact-card {
    background: var(--primary);
    color: #FFFFFF;
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(100, 255, 218, 0.2);
}
.contact-card h3 {
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}
.contact-card p {
    margin-bottom: 0.5rem;
    font-size: 0.98rem;
    color: #CCD6F6;
}

/* ---- Form Fields ---- */
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-heading);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--bg);
    color: var(--text-body);
    transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.15);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-status { margin-top: 1rem; font-weight: 600; font-size: 0.92rem; }
.form-status.success { color: #10B981; }
.form-status.error { color: #EF4444; }

/* ---- Modals ---- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(6px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.modal-overlay.open {
    display: flex;
    animation: fadeIn 0.2s ease;
}
.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.modal-lg { max-width: 760px; }
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    transition: var(--transition);
}
.modal-close:hover { color: var(--accent); }
.modal-content h2 { color: var(--text-heading); margin-bottom: 0.5rem; font-size: 1.5rem; }
.modal-product-name {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

/* Solution Builder Wizard */
.builder-steps { margin: 1.5rem 0; }
.builder-step { display: none; }
.builder-step.active { display: block; animation: fadeIn 0.3s ease; }
.builder-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.85rem;
    margin-top: 1.25rem;
}
.builder-option {
    padding: 1.2rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    font-size: 0.92rem;
    font-weight: 600;
    background: var(--bg-card);
    color: var(--text-body);
}
.builder-option:hover {
    border-color: var(--accent);
}
.builder-option.selected {
    border-color: var(--accent);
    background: var(--accent-dim);
    color: var(--accent);
}
.builder-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.builder-progress { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; }
.builder-result-item {
    padding: 0.85rem 1rem;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    margin-bottom: 0.6rem;
    border: 1px solid var(--border);
}

/* ---- Footer ---- */
footer {
    background: #0A192F;
    color: #CCD6F6;
    margin-top: auto;
    border-top: 1px solid rgba(100, 255, 218, 0.15);
}
.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    padding: 4rem 1.5rem 2.5rem;
}
.footer-col h4 {
    color: var(--accent);
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    font-weight: 700;
}
.footer-col p, .footer-col a {
    font-size: 0.92rem;
    margin-bottom: 0.5rem;
    display: block;
    color: #8892B0;
    text-decoration: none !important;
}
.footer-col a:hover {
    color: var(--accent);
}
.footer-bottom {
    text-align: center;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
    color: #8892B0;
}

/* ---- Animations ---- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Responsive Adjustments ---- */
@media (max-width: 860px) {
    .nav-actions .kbd-hint { display: none; }
    .menu-toggle { display: inline-flex !important; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: #0A192F;
        display: none;
        padding: 1rem 1.5rem 1.5rem;
        border-top: 1px solid rgba(100, 255, 218, 0.15);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a, .nav-links .dropdown-btn {
        width: 100%;
        text-align: left;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .dropdown-content {
        position: static;
        background: transparent;
        box-shadow: none;
        border: none;
        max-height: none;
        padding-left: 1rem;
    }

    .hero { padding: 3.5rem 1rem 3rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .container { padding: 2.5rem 1rem; }
    .product-detail { padding: 1.5rem; }
    .product-detail .product-img { flex: 0 0 100%; width: 100%; }
}

@media (min-width: 861px) {
    .menu-toggle { display: none !important; }
    .nav-links {
        position: static;
        display: flex !important;
        flex-direction: row;
        background: transparent;
        padding: 0;
        border-top: none;
    }
}

body.menu-open { overflow: hidden; }
