/* ==========================================================================
   DESIGN SYSTEM & CSS VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-dark: #080c14;
    --bg-card: rgba(13, 20, 35, 0.65);
    --bg-nav: rgba(8, 12, 20, 0.9);
    
    --primary: #00f2fe;       /* Neon Cyan */
    --primary-glow: rgba(0, 242, 254, 0.35);
    
    --secondary: #7b2cbf;     /* Cyber Purple */
    --secondary-glow: rgba(123, 44, 191, 0.3);
    
    --accent: #39ff14;        /* Neon Green (Success / Price) */
    --accent-glow: rgba(57, 255, 20, 0.25);
    
    --text-white: #ffffff;
    --text-silver: #c5d1ec;
    --text-muted: #64748b;
    --border-color: rgba(0, 242, 254, 0.15);
    
    /* Layout Details */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-quick: all 0.15s ease-in-out;
    --border-radius: 12px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

html {
    background-color: var(--bg-dark);
}

html, body {
    color: var(--text-silver);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

h1, h2, h3, h4 {
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-quick);
}

a:hover {
    color: var(--text-white);
}

ul {
    list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================================================
   BACKGROUND DYNAMIC GLOWS & GRID
   ========================================================================== */
.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 242, 254, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 254, 0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
    animation: grid-drift 90s linear infinite; /* Slowly scrolls the grid */
}

@keyframes grid-drift {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -3; /* Render behind the grid and content */
    opacity: 0.65;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: screen;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary), var(--secondary));
    top: 10%;
    right: -100px;
    animation: pulse-orb 15s infinite alternate;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary), var(--bg-dark));
    bottom: 20%;
    left: -200px;
    animation: pulse-orb 20s infinite alternate-reverse;
}

@keyframes pulse-orb {
    0% { transform: scale(1) translate(0, 0); opacity: 0.12; }
    100% { transform: scale(1.2) translate(50px, 30px); opacity: 0.22; }
}

/* ==========================================================================
   REUSABLE COMPONENTS
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0088ff 100%);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--primary);
    color: var(--bg-dark);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Form Styles */
.cyber-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.cyber-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cyber-form input, 
.cyber-form textarea {
    width: 100%;
    background: rgba(8, 12, 20, 0.7);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-quick);
}

.cyber-form input:focus, 
.cyber-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
    background: rgba(8, 12, 20, 0.9);
}

.cyber-form input::placeholder, 
.cyber-form textarea::placeholder {
    color: var(--text-muted);
}

.required {
    color: #ff3366;
}

/* Glowing text */
.text-glow {
    text-shadow: 0 0 10px var(--primary-glow);
    background: linear-gradient(90deg, var(--primary), #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-glow-cyan {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary-glow);
}

.text-glow-green {
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent-glow);
}

/* Section Common Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 15%;
    bottom: -8px;
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-silver);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 242, 254, 0.1);
    z-index: 100;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    height: 70px;
    border-bottom-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-white);
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.logo-accent {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-silver);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    transition: var(--transition-quick);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-toggle-btn {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid var(--border-color);
    color: var(--primary);
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    position: relative;
    transition: var(--transition-smooth);
}

.cart-toggle-btn:hover, .cart-toggle-btn.active {
    background: rgba(0, 242, 254, 0.2);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    color: var(--text-white);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px var(--accent);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    min-height: 75vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.badge-container {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(57, 255, 20, 0.08);
    border: 1px solid rgba(57, 255, 20, 0.2);
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: blink-indicator 1.5s infinite;
}

@keyframes blink-indicator {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-silver);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Terminal Visual */
.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.server-rack-box {
    width: 100%;
    max-width: 440px;
    background: rgba(5, 8, 15, 0.95);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.1);
    font-family: 'Courier New', Courier, monospace;
    overflow: hidden;
}

.rack-header {
    background: rgba(13, 20, 35, 0.9);
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-left: 10px;
    letter-spacing: 0.5px;
}

.rack-body {
    padding: 20px;
    font-size: 0.85rem;
}

.cmd-line {
    color: var(--text-white);
    margin-bottom: 12px;
}

.prompt {
    color: var(--primary);
}

.output-line {
    color: var(--text-silver);
    margin-bottom: 8px;
}

.output-line.success {
    color: #27c93f;
}

/* ==========================================================================
   CATALOG FILTERS
   ========================================================================== */
.catalog-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-silver);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-quick);
}

.filter-btn:hover {
    background: rgba(0, 242, 254, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 12px var(--primary-glow);
    font-weight: 600;
}

/* ==========================================================================
   SERVICES SECTION & CARDS
   ========================================================================== */
.services-section {
    padding: 60px 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    z-index: 1; /* Stacking context */
}

.card-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1; /* Render ABOVE parent background but below content */
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: var(--border-radius);
}

.service-card:hover .card-canvas {
    opacity: 0.28; /* Visible overlay on hover */
}

/* Force other content children to draw above the canvas stacking layer */
.service-card > *:not(.card-canvas) {
    position: relative;
    z-index: 2;
}

.service-card.hidden {
    display: none !important;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.3;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 242, 254, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 24px;
    text-shadow: 0 0 10px var(--primary-glow);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
    background: rgba(0, 242, 254, 0.15);
    color: var(--text-white);
    box-shadow: 0 0 15px var(--primary-glow);
}

.service-name {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-silver);
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.5;
}

.service-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.detail-tag {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-silver);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.detail-tag i {
    color: var(--primary);
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.price-container {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-val {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-heading);
}

.price-val .period {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

.btn-add-cart {
    padding: 8px 16px;
    font-size: 0.85rem;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-quick);
}

.btn-add-cart:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 12px var(--primary-glow);
}

/* ==========================================================================
   CREDENTIALS & COMPLIANCE SECTION
   ========================================================================== */
.credentials-section {
    padding: 60px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(13, 20, 35, 0.3) 50%, transparent 100%);
}

.credentials-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.profile-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.profile-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.profile-card:hover {
    background: rgba(0, 242, 254, 0.03);
    border-color: rgba(0, 242, 254, 0.15);
}

.card-icon {
    font-size: 1.6rem;
    color: var(--primary);
    background: rgba(0, 242, 254, 0.06);
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.05);
}

.profile-card h4 {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.profile-card .highlight-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 2px;
}

.profile-card p {
    font-size: 0.9rem;
    color: var(--text-silver);
}

.compliance-box {
    background: rgba(13, 20, 35, 0.8);
    border: 1px solid rgba(255, 215, 0, 0.15); /* Gold outline */
    border-radius: var(--border-radius);
    padding: 40px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.compliance-box::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), transparent 40%);
    z-index: -1;
    pointer-events: none;
}

.badge-gold {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.25);
    color: #ffd700;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.compliance-box h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.compliance-box p {
    font-size: 0.95rem;
    color: var(--text-silver);
    margin-bottom: 24px;
    line-height: 1.7;
}

.compliance-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compliance-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-white);
}

.compliance-list li i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 60px 0;
}

.contact-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-info-panel {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.05) 0%, rgba(123, 44, 191, 0.05) 100%);
    padding: 50px;
    border-right: 1px solid rgba(0, 242, 254, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-panel h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.contact-info-panel p {
    font-size: 1rem;
    color: var(--text-silver);
    margin-bottom: 40px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-detail-item i {
    font-size: 1.8rem;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
    background: rgba(0, 242, 254, 0.08);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 242, 254, 0.15);
}

.contact-detail-item h5 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-detail-item p {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 0;
    font-weight: 500;
}

.contact-form-panel {
    padding: 50px;
}

.contact-form-panel h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
}

/* ==========================================================================
   CART SECTION & CHECKOUT SPECIFICS
   ========================================================================== */
.cart-section {
    padding: 60px 0;
}

.filled-cart-view {
    padding: 40px;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 242, 254, 0.12);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: row; /* Flow row to align checkbox and content */
    align-items: center;
    gap: 16px;
}

.cart-item-checkbox-wrapper {
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.2s ease, margin-right 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.batch-active .cart-item-checkbox-wrapper {
    width: 28px;
    opacity: 1;
    margin-right: 12px;
}

/* Custom Cyberpunk Checkbox Styling */
.cart-item-checkbox-wrapper input[type="checkbox"],
.cart-control-bar input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(0, 242, 254, 0.4);
    border-radius: 4px;
    outline: none;
    background: rgba(8, 12, 20, 0.6);
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cart-item-checkbox-wrapper input[type="checkbox"]:hover,
.cart-control-bar input[type="checkbox"]:hover {
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

.cart-item-checkbox-wrapper input[type="checkbox"]:checked,
.cart-control-bar input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
}

.cart-item-checkbox-wrapper input[type="checkbox"]:checked::after,
.cart-control-bar input[type="checkbox"]:checked::after {
    content: '\2713'; /* Unicode checkmark */
    font-size: 11px;
    color: var(--bg-dark);
    font-weight: 900;
}


.cart-item-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.3;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition-quick);
    display: flex;
    padding: 4px;
}

.cart-item-remove:hover {
    color: #ff3366;
}

.cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    background: none;
    border: none;
    color: var(--text-silver);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-quick);
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

.qty-val {
    width: 30px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
}

.cart-item-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-heading);
}

/* Reference pricing box */
.cart-summary-box {
    background: rgba(0, 242, 254, 0.03);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 8px;
    padding: 24px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    flex-wrap: wrap;
    gap: 12px;
}

.total-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
    font-family: var(--font-heading);
}

.audit-warning {
    display: flex;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.audit-warning i {
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.audit-warning p {
    font-size: 0.8rem;
    color: var(--text-silver);
    line-height: 1.5;
}

.cart-form-container {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
}

.checkout-submit-btn {
    margin-top: 10px;
}

/* Empty view inside cart */
.empty-cart-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.empty-cart-view .subtext {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 360px;
    line-height: 1.6;
}

/* ==========================================================================
   MODAL DIALOGS (EMAIL PREVIEW)
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 15, 0.85);
    backdrop-filter: blur(6px);
    z-index: 1010;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) scale(0.95);
    width: 90%;
    max-width: 580px;
    background: rgba(10, 15, 26, 0.98);
    border: 1px solid rgba(0, 242, 254, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 242, 254, 0.15);
    border-radius: var(--border-radius);
    z-index: 1011;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-window.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-quick);
}

.modal-close-btn:hover {
    color: var(--primary);
}

.modal-body {
    padding: 24px;
}

.modal-body p {
    font-size: 0.95rem;
    color: var(--text-white);
    margin-bottom: 8px;
}

.modal-body .secondary-p {
    font-size: 0.85rem;
    color: var(--text-silver);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Structured Email Preview Panel */
.email-preview-card {
    background: rgba(5, 8, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 24px;
    font-family: 'Courier New', Courier, monospace;
}

.preview-header {
    background: rgba(13, 20, 35, 0.9);
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: var(--text-silver);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.preview-body {
    padding: 16px;
    max-height: 220px;
    overflow-y: auto;
    font-size: 0.8rem;
    color: #27c93f; /* Terminal Green text */
    text-align: left;
}

.preview-body pre {
    white-space: pre-wrap;
    word-break: break-all;
}

.modal-actions {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 12px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.cyber-footer {
    background: rgba(5, 8, 15, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 242, 254, 0.15);
    padding-top: 60px;
    position: relative;
    margin-top: auto;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-brand .footer-tagline {
    font-size: 0.9rem;
    color: var(--text-silver);
    margin-top: 16px;
    margin-bottom: 24px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1.2rem;
    color: var(--text-silver);
    transition: var(--transition-quick);
}

.social-links a:hover {
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.footer-links h4, 
.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after, 
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-silver);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-address-text {
    font-size: 0.9rem;
    color: var(--text-silver);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.footer-address-text i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablet view styling */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        justify-content: center;
    }
    
    .credentials-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-box {
        grid-template-columns: 1fr;
    }
    
    .contact-info-panel {
        border-right: none;
        border-bottom: 1px solid rgba(0, 242, 254, 0.1);
        padding: 40px;
    }
    
    .contact-form-panel {
        padding: 40px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

/* Mobile responsive styling */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .navbar {
        height: 70px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(8, 12, 20, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        
        /* Fade transition to prevent layout horizontal displacement */
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    
    .nav-menu.active {
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .modal-window {
        padding: 4px;
        max-width: 95%;
    }
    
    .modal-actions {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .filled-cart-view {
        padding: 20px;
    }
    
    .catalog-filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .filled-cart-view {
        padding: 16px;
    }
    
    .total-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .cart-item {
        padding: 16px;
        gap: 8px;
    }
    
    .cart-item-name {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   FLOATING TIME CONTROL PANEL (Cyberpunk theme)
   ========================================================================== */
.time-control-panel {
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.time-control-panel:hover {
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.3) !important;
}

#btn-toggle-demo:hover {
    background: rgba(0, 242, 254, 0.25) !important;
    text-shadow: 0 0 5px var(--primary-glow);
}

@media (max-width: 768px) {
    .time-control-panel {
        bottom: 16px !important;
        right: 16px !important;
        padding: 5px 12px !important;
    }
    .time-control-dashboard {
        bottom: 64px !important;
        right: 16px !important;
        width: calc(100% - 32px) !important;
        max-width: 320px !important;
    }
    #weather-status {
        display: none !important; /* Hide weather details on small screens to save navbar space */
    }
}
