/**
 * DirectTech E-Commerce
 * Main Stylesheet
 */

/* ============================================
   CSS Variables / Design System
   ============================================ */
:root {
    /* Brand Colors */
    --primary: #1181fb;
    --primary-dark: #0a5bb5;
    --primary-light: #4da3fc;
    --primary-rgb: 17, 129, 251;

    /* Accent Colors - Red for sales/CTAs */
    --accent: #ff365d;
    --accent-dark: #e6304f;
    --accent-light: #ff5c7d;
    --accent-rgb: 255, 54, 93;

    /* Neutral Colors - Improved contrast */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #868e96;
    --gray-500: #495057;
    --gray-600: #343a40;
    --gray-700: #212529;
    --gray-800: #1a1d20;
    --gray-900: #121416;

    /* Status Colors */
    --success: #22c55e;
    --success-light: #dcfce7;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --info: #3b82f6;
    --info-light: #dbeafe;

    /* Typography - Nunito Sans like live site */
    --font-primary: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Roboto Mono', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 200ms ease;
    --transition-slow: 300ms ease;

    /* Container */
    --container-max: 1280px;
    --container-padding: 1rem;

    /* Header */
    --header-height: 80px;
    --header-total-height: 180px; /* Top bar + main header + nav - increased for safety */
}

/* Main Content - Account for fixed header */
main {
    min-height: calc(100vh - var(--header-total-height) - 200px);
}

/* Ensure content doesn't hide behind fixed header */
main > section:first-child:not(.hero):not(.promo-banner),
main > .container:first-child,
.shop-page,
.pc-builder,
.deals-page,
.services-page {
    padding-top: var(--space-6);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--header-total-height); /* Account for fixed header (160px) */
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

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

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin-bottom: var(--space-4);
}

ul, ol {
    list-style: none;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--gray-600); }

.bg-primary { background-color: var(--primary); }
.bg-light { background-color: var(--gray-50); }
.bg-white { background-color: var(--white); }

.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: none;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.25);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.4);
}

/* Accent button - Red CTA */
.btn-accent {
    background-color: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.4);
}

.btn-secondary {
    background-color: var(--gray-100);
    color: var(--gray-800);
}

.btn-secondary:hover {
    background-color: var(--gray-200);
    color: var(--gray-900);
}

.btn-dark {
    background-color: var(--gray-900);
    color: var(--white);
}

.btn-dark:hover {
    background-color: var(--black);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    box-shadow: none;
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--success);
    color: var(--white);
}

.btn-danger {
    background-color: var(--danger);
    color: var(--white);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius);
}

.btn-icon-sm {
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: var(--text-sm);
}

/* ============================================
   Forms
   ============================================ */
.form-group {
    margin-bottom: var(--space-4);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 500;
    color: var(--gray-700);
}

.form-control {
    display: block;
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--gray-800);
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.form-control::placeholder {
    color: var(--gray-500);
}

.form-control:disabled {
    background-color: var(--gray-100);
    cursor: not-allowed;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-3) center;
    padding-right: var(--space-10);
}

.form-check {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.form-check-input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.form-error {
    color: var(--danger);
    font-size: var(--text-sm);
    margin-top: var(--space-1);
}

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.header-top {
    background-color: var(--primary);
    color: var(--white);
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
}

.header-top a {
    color: var(--white);
}

.header-top a:hover {
    opacity: 0.8;
}

.header-main {
    padding: var(--space-4) 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.logo img,
.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary);
}

.logo-text span {
    color: var(--gray-800);
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 600px;
}

.search-form {
    display: flex;
    position: relative;
}

.search-input {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    padding-right: 50px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: var(--text-base);
}

.search-input:focus {
    border-color: var(--primary);
    outline: none;
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition);
}

.search-btn:hover {
    background-color: var(--primary-dark);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    color: var(--gray-700);
    font-size: var(--text-xs);
    text-align: center;
    transition: color var(--transition);
}

.header-action:hover {
    color: var(--primary);
}

.header-action-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: var(--text-xl);
}

.header-action-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation */
.nav {
    background-color: var(--gray-900);
}

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

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-5);
    color: var(--white);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: background-color var(--transition);
}

.nav-link:hover {
    background-color: var(--primary);
    color: var(--white);
}

.nav-link i {
    font-size: var(--text-base);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 1000;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    color: var(--gray-700);
    font-size: var(--text-sm);
    transition: all var(--transition);
}

.dropdown-item:hover {
    background-color: var(--gray-50);
    color: var(--primary);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--gray-500);
}

.dropdown-divider {
    height: 1px;
    background-color: var(--gray-200);
    margin: var(--space-2) 0;
}

/* PC Builder Link */
.nav-pc-builder {
    background-color: var(--primary);
}

.nav-pc-builder:hover {
    background-color: var(--primary-dark);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    padding: var(--space-2);
    background: none;
    border: none;
    color: var(--white);
    font-size: var(--text-xl);
    cursor: pointer;
}

/* ============================================
   Hero Section - Modern Carousel Style
   ============================================ */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 50%, #0d1b2a 100%);
    padding: 0;
    min-height: 500px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(17, 129, 251, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 54, 93, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-slider {
    position: relative;
    z-index: 2;
}

.hero-slide {
    display: flex;
    align-items: center;
    min-height: 500px;
    padding: var(--space-12) 0;
}

.hero-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-12);
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero-label {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-4);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-4);
    line-height: 1.1;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
}

.hero-image {
    flex: 0 0 420px;
    width: 420px;
    height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-features {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-10);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
}

.hero-feature i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 129, 251, 0.2);
    border-radius: var(--radius);
    color: var(--primary);
    font-size: var(--text-lg);
}

/* ============================================
   Categories Section
   ============================================ */
.categories-section {
    padding: var(--space-16) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-10);
}

.section-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-2);
}

.section-subtitle {
    color: var(--gray-600);
    font-size: var(--text-lg);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-8) var(--space-4);
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
}

.category-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.category-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-100);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    font-size: var(--text-3xl);
    color: var(--primary);
    transition: all var(--transition);
}

.category-card:hover .category-icon {
    background-color: var(--primary);
    color: var(--white);
}

.category-name {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-1);
}

.category-count {
    font-size: var(--text-sm);
    color: var(--gray-600);
}

/* ============================================
   Product Cards
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.product-card {
    position: relative;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.product-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-6px);
}

/* Product Badges - Overlaid style like live site */
.product-badges {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    z-index: 10;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
}

.product-badge-sale {
    background-color: var(--accent);
    color: var(--white);
}

.product-badge-new {
    background-color: var(--primary);
    color: var(--white);
}

.product-badge-hot {
    background-color: #e67e00;
    color: var(--white);
}

.product-badge-discount {
    background-color: var(--accent);
    color: var(--white);
}

.product-actions {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition);
    z-index: 10;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition);
}

.product-action-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.product-action-btn.active {
    background-color: var(--danger);
    border-color: var(--danger);
    color: var(--white);
}

.product-image {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-50);
    padding: var(--space-4);
}

.product-image img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: var(--space-4);
}

.product-brand {
    font-size: var(--text-xs);
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-1);
}

.product-name {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-2);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name a {
    color: inherit;
}

.product-name a:hover {
    color: var(--primary);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.rating-stars {
    display: flex;
    gap: 2px;
    color: var(--warning);
    font-size: var(--text-sm);
}

.rating-count {
    font-size: var(--text-xs);
    color: var(--gray-600);
}

.product-price {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.current-price {
    font-family: var(--font-mono);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--primary);
}

.original-price {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--gray-500);
    text-decoration: line-through;
}

.discount-badge {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--danger);
}

.product-stock {
    font-size: var(--text-xs);
    margin-bottom: var(--space-3);
}

.stock-in {
    color: var(--success);
}

.stock-low {
    color: var(--warning);
}

.stock-out {
    color: var(--danger);
}

.product-footer {
    display: flex;
    gap: var(--space-2);
}

.btn-add-cart {
    flex: 1;
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
}

/* ============================================
   PC Builder Banner
   ============================================ */
.pc-builder-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: var(--space-16) 0;
    margin: var(--space-16) 0;
    position: relative;
    overflow: hidden;
}

.pc-builder-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(17, 129, 251, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.pc-builder-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 54, 93, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.pc-builder-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

.pc-builder-text {
    flex: 1;
}

.pc-builder-title {
    font-size: var(--text-3xl);
    color: var(--white);
    margin-bottom: var(--space-4);
}

.pc-builder-title span {
    color: var(--primary);
}

.pc-builder-desc {
    color: var(--gray-300);
    font-size: var(--text-lg);
    margin-bottom: var(--space-6);
}

.pc-builder-features {
    display: flex;
    gap: var(--space-8);
    margin-bottom: var(--space-6);
}

.pc-builder-feature {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--gray-300);
    font-size: var(--text-sm);
}

.pc-builder-feature i {
    color: var(--primary);
}

.pc-builder-image {
    flex: 0 0 400px;
}

/* ============================================
   Brands Section
   ============================================ */
.brands-section {
    padding: var(--space-12) 0;
    background-color: var(--gray-50);
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
}

.brand-logo {
    height: 40px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all var(--transition);
}

.brand-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding-top: var(--space-16);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-8);
    padding-bottom: var(--space-12);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.footer-logo-img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--white);
}

.footer-logo-text span {
    color: var(--primary);
}

.footer-desc {
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-800);
    border-radius: var(--radius);
    color: var(--gray-300);
    transition: all var(--transition);
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--white);
}

.footer-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-6);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-link {
    color: var(--gray-300);
    font-size: var(--text-sm);
    transition: color var(--transition);
}

.footer-link:hover {
    color: var(--primary);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
}

.footer-contact-item i {
    color: var(--primary);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: var(--space-6) 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.copyright {
    font-size: var(--text-sm);
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.payment-methods img {
    height: 24px;
}

/* ============================================
   Cards & Alerts
   ============================================ */
.card {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card-header {
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--gray-200);
    background-color: var(--gray-50);
}

.card-body {
    padding: var(--space-6);
}

.card-footer {
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid var(--gray-200);
    background-color: var(--gray-50);
}

.alert {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.alert-success {
    background-color: var(--success-light);
    color: var(--success);
    border: 1px solid var(--success);
}

.alert-danger {
    background-color: var(--danger-light);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.alert-warning {
    background-color: var(--warning-light);
    color: #856404;
    border: 1px solid var(--warning);
}

.alert-info {
    background-color: var(--info-light);
    color: var(--info);
    border: 1px solid var(--info);
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) 0;
    font-size: var(--text-sm);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.breadcrumb-item::after {
    content: '/';
    color: var(--gray-500);
}

.breadcrumb-item:last-child::after {
    display: none;
}

.breadcrumb-item a {
    color: var(--gray-600);
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--gray-800);
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-8);
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-3);
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    color: var(--gray-700);
    font-size: var(--text-sm);
    transition: all var(--transition);
}

.pagination-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-link.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   Loading & Spinners
   ============================================ */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1199px) {
    .products-grid,
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: var(--text-3xl);
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 400px;
    }

    .pc-builder-content {
        flex-direction: column;
        text-align: center;
    }

    .pc-builder-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .search-bar {
        display: none;
    }
}

@media (max-width: 767px) {
    :root {
        --header-height: 60px;
    }

    body {
        padding-top: 80px; /* Smaller header on mobile */
    }

    .header-top {
        display: none;
    }

    .header-content {
        gap: var(--space-4);
    }

    .logo-text {
        font-size: var(--text-xl);
    }

    .header-action span {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 280px;
        height: calc(100vh - var(--header-height));
        background-color: var(--gray-900);
        flex-direction: column;
        align-items: stretch;
        overflow-y: auto;
        transition: left var(--transition-slow);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        justify-content: space-between;
        border-bottom: 1px solid var(--gray-800);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        background-color: var(--gray-800);
        border-radius: 0;
    }

    .nav-item.open .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        color: var(--gray-300);
        padding-left: var(--space-8);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .products-grid,
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        padding: var(--space-10) 0;
    }

    .section-title {
        font-size: var(--text-2xl);
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: var(--text-2xl);
    }

    .btn {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

/* ============================================
   Promo Banner
   ============================================ */
.promo-banner {
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: var(--text-sm);
    font-weight: 600;
    overflow: hidden;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.promo-content span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.promo-content i {
    font-size: var(--text-base);
}

.promo-separator {
    opacity: 0.5;
}

@media (max-width: 767px) {
    .promo-banner {
        font-size: var(--text-xs);
    }
    .promo-separator {
        display: none;
    }
    .promo-content {
        gap: var(--space-2);
    }
}

/* ============================================
   Hero Slider Enhancements
   ============================================ */
.hero-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
    display: flex;
    opacity: 1;
}

.hero-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 var(--space-4);
    pointer-events: none;
    z-index: 10;
}

.hero-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: var(--text-lg);
    cursor: pointer;
    pointer-events: auto;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.hero-dots {
    position: absolute;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-3);
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.hero-dot.active {
    background: var(--white);
    width: 36px;
}

@media (max-width: 991px) {
    .hero-image {
        flex: 0 0 320px;
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 767px) {
    .hero-nav {
        display: none;
    }

    .hero-slide .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-image {
        flex: 0 0 250px;
        width: 250px;
        height: 250px;
        margin-bottom: var(--space-4);
    }

    .hero-slide .hero-title {
        font-size: var(--text-2xl);
    }

    .hero-slide .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   Chatbot Widget Styling (Jotform)
   ============================================ */
.jotform-agent {
    z-index: 9999 !important;
}

/* ============================================
   Enhanced Category Cards
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-8) var(--space-4);
    background: linear-gradient(145deg, var(--white) 0%, var(--gray-50) 100%);
    border: none;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(17, 129, 251, 0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-5);
    font-size: 2rem;
    color: var(--white);
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(17, 129, 251, 0.3);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(17, 129, 251, 0.4);
}

.category-name {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.category-count {
    font-size: var(--text-sm);
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   Promotional Banners
   ============================================ */
.promo-section {
    padding: var(--space-6) 0;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.promo-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: flex-end;
    padding: var(--space-6);
    color: var(--white);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.promo-card-content {
    position: relative;
    z-index: 2;
}

.promo-card-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--white);
}

.promo-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--white);
    font-weight: 600;
    font-size: var(--text-sm);
}

.promo-card-link i {
    transition: transform 0.3s ease;
}

.promo-card:hover .promo-card-link i {
    transform: translateX(5px);
}

.promo-card.gaming {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.promo-card.components {
    background: linear-gradient(135deg, var(--primary) 0%, #0052cc 100%);
}

.promo-card.deals {
    background: linear-gradient(135deg, var(--accent) 0%, #c91740 100%);
}

.promo-card-icon {
    position: absolute;
    top: 50%;
    right: var(--space-6);
    transform: translateY(-50%);
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.15);
    z-index: 0;
}

.promo-card-desc {
    font-size: var(--text-sm);
    opacity: 0.9;
    margin-bottom: var(--space-3);
}

/* ============================================
   Enhanced Product Cards
   ============================================ */
.product-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.product-image {
    position: relative;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    padding: var(--space-6);
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.02) 100%);
}

.product-image img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-info {
    padding: var(--space-5);
}

.product-brand {
    font-size: var(--text-xs);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.product-name {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
    line-height: 1.4;
    min-height: 2.8em;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.current-price {
    font-family: var(--font-mono);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--gray-900);
}

.original-price {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--gray-500);
    text-decoration: line-through;
}

.product-footer .btn {
    width: 100%;
    border-radius: var(--radius-lg);
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--space-3);
    color: var(--gray-900);
}

.section-subtitle {
    color: var(--gray-500);
    font-size: var(--text-lg);
    max-width: 600px;
    margin: 0 auto;
}

.section-header-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-8);
}

.section-header-inline .section-title {
    margin-bottom: 0;
    font-size: var(--text-2xl);
}

/* ============================================
   Features Section - Enhanced
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.feature-card {
    text-align: center;
    padding: var(--space-8);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    border-radius: var(--radius-full);
    font-size: 2rem;
    color: var(--white);
}

.feature-icon.shipping {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.feature-icon.secure {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.feature-icon.support {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.feature-icon.returns {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.feature-title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--gray-900);
}

.feature-desc {
    color: var(--gray-500);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Deals Section
   ============================================ */
.deals-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: var(--space-16) 0;
    position: relative;
    overflow: hidden;
}

.deals-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 54, 93, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.deals-section .section-title {
    color: var(--white);
}

.deals-section .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.deals-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--accent);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

/* ============================================
   Brands Section - Enhanced
   ============================================ */
.brands-section {
    padding: var(--space-12) 0;
    background: var(--gray-50);
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-10);
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.brand-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.brand-item img {
    height: 40px;
    width: auto;
}

/* ============================================
   Newsletter Section - Enhanced
   ============================================ */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--space-16) 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

.newsletter-text h3 {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-2);
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: var(--space-3);
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-4) var(--space-5);
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--text-base);
}

.newsletter-form .btn {
    padding: var(--space-4) var(--space-8);
}

@media (max-width: 991px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: var(--text-2xl);
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* ============================================
   Mega Menu Styles
   ============================================ */
.has-mega-menu {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border-top: 3px solid var(--primary);
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-8);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-6);
}

.mega-menu-section {
    display: flex;
    flex-direction: column;
}

.mega-menu-section h4 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.mega-menu-section h4 i {
    color: var(--primary);
}

.mega-menu-section a {
    color: var(--gray-600);
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    transition: all 0.2s ease;
    display: block;
}

.mega-menu-section a:hover {
    color: var(--primary);
    padding-left: var(--space-2);
}

.mega-menu-featured {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-menu-promo {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
    color: var(--white);
    width: 100%;
}

.mega-menu-promo .promo-tag {
    display: inline-block;
    background: var(--accent);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.mega-menu-promo h5 {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-2);
}

.mega-menu-promo p {
    font-size: var(--text-sm);
    opacity: 0.9;
    margin-bottom: var(--space-4);
}

.mega-menu-promo .btn {
    width: 100%;
}

.mega-menu-footer {
    background: var(--gray-50);
    padding: var(--space-4);
    display: flex;
    justify-content: center;
    gap: var(--space-8);
}

.mega-menu-footer a {
    color: var(--gray-700);
    font-size: var(--text-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: color 0.2s ease;
}

.mega-menu-footer a:hover {
    color: var(--primary);
}

.mega-menu-footer a i {
    color: var(--primary);
}

/* Navigation Link Highlights */
.nav-deals {
    position: relative;
}

.nav-deals::after {
    content: 'HOT';
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--accent);
    color: var(--white);
    font-size: 8px;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 3px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes navPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   Enhanced Brand Logo Showcase
   ============================================ */
.brands-showcase {
    padding: var(--space-12) 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    overflow: hidden;
}

.brands-showcase .section-header {
    margin-bottom: var(--space-10);
}

.brands-track {
    display: flex;
    animation: scrollBrands 40s linear infinite;
    width: max-content;
}

.brands-track:hover {
    animation-play-state: paused;
}

@keyframes scrollBrands {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-logo-item {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    margin: 0 var(--space-6);
    background: var(--white);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.brand-logo-item:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 15px 40px rgba(17, 129, 251, 0.15);
}

.brand-logo-item img {
    max-width: 120px;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.brand-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-logo-item span {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-400);
    transition: color 0.3s ease;
}

.brand-logo-item:hover span {
    color: var(--gray-700);
}

/* Static brand grid for non-scrolling */
.brands-grid-static {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-6);
}

@media (max-width: 991px) {
    .mega-menu-container {
        grid-template-columns: repeat(3, 1fr);
        padding: var(--space-6);
    }

    .mega-menu-featured {
        grid-column: span 3;
    }

    .mega-menu-promo {
        max-width: 300px;
        margin: 0 auto;
    }

    .brands-grid-static {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    .mega-menu {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: 70vh;
        overflow-y: auto;
        transform: translateY(100%);
    }

    .has-mega-menu:hover .mega-menu {
        transform: translateY(0);
    }

    .mega-menu-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4);
    }

    .mega-menu-featured {
        grid-column: span 2;
    }

    .mega-menu-footer {
        flex-wrap: wrap;
        gap: var(--space-4);
    }

    .brands-grid-static {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   Quick View Modal
   ============================================ */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quick-view-modal.active {
    opacity: 1;
    visibility: visible;
}

.quick-view-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-view-modal.active .quick-view-content {
    transform: scale(1);
    opacity: 1;
}

.quick-view-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quick-view-close:hover {
    background: var(--danger);
    color: var(--white);
}

/* ============================================
   Live Search Dropdown
   ============================================ */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    margin-top: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-3) var(--space-4);
    transition: background 0.2s ease;
}

.search-result-item:hover {
    background: var(--gray-50);
}

.search-result-image {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    object-fit: contain;
    background: var(--gray-100);
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.search-result-name mark {
    background: rgba(17, 129, 251, 0.2);
    color: var(--primary);
    padding: 0 2px;
    border-radius: 2px;
}

.search-result-price {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--primary);
}

.search-result-category {
    padding: var(--space-3) var(--space-4);
    background: var(--gray-50);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
}

.search-view-all {
    display: block;
    padding: var(--space-4);
    text-align: center;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    transition: background 0.2s ease;
}

.search-view-all:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* ============================================
   Toast Notifications
   ============================================ */
.toast-container {
    position: fixed;
    top: var(--space-4);
    right: var(--space-4);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.toast {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: var(--space-4) var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-width: 300px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
}

.toast-success .toast-icon {
    background: var(--success-light);
    color: var(--success);
}

.toast-error .toast-icon {
    background: var(--danger-light);
    color: var(--danger);
}

.toast-info .toast-icon {
    background: var(--info-light);
    color: var(--info);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--gray-900);
}

.toast-message {
    font-size: var(--text-xs);
    color: var(--gray-500);
}

.toast-close {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: var(--space-2);
    transition: color 0.2s ease;
}

.toast-close:hover {
    color: var(--gray-600);
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 20px rgba(17, 129, 251, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(17, 129, 251, 0.5);
}

/* ============================================
   Scroll Progress Bar
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 10000;
    transform-origin: left;
    transform: scaleX(0);
}

/* ============================================
   Homepage Stats Bar
   ============================================ */
.stats-bar {
    background: var(--gray-900);
    padding: var(--space-6) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    color: var(--white);
}

.stat-item > i {
    font-size: 2.5rem;
    color: var(--primary);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: var(--text-2xl);
    font-weight: 800;
    line-height: 1.2;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--gray-400);
}

/* ============================================
   Quick Access Cards
   ============================================ */
.quick-access-section {
    padding: var(--space-8) 0;
    background: var(--gray-50);
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

.quick-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--white);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--gray-800);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.quick-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.quick-card:hover::before {
    transform: scaleY(1);
}

.quick-card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.quick-card:hover .quick-card-icon {
    background: var(--primary);
    color: var(--white);
}

.quick-card.pc-builder .quick-card-icon { color: #8b5cf6; }
.quick-card.pc-builder:hover .quick-card-icon { background: #8b5cf6; color: var(--white); }
.quick-card.pc-builder::before { background: #8b5cf6; }

.quick-card.shop .quick-card-icon { color: var(--primary); }
.quick-card.shop:hover .quick-card-icon { background: var(--primary); }
.quick-card.shop::before { background: var(--primary); }

.quick-card.deals .quick-card-icon { color: var(--accent); }
.quick-card.deals:hover .quick-card-icon { background: var(--accent); }
.quick-card.deals::before { background: var(--accent); }

.quick-card.services .quick-card-icon { color: var(--success); }
.quick-card.services:hover .quick-card-icon { background: var(--success); }
.quick-card.services::before { background: var(--success); }

.quick-card-content h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-1);
    color: var(--gray-800);
}

.quick-card-content p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin: 0;
}

.quick-card-arrow {
    margin-left: auto;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.quick-card:hover .quick-card-arrow {
    color: var(--primary);
    transform: translateX(5px);
}

/* ============================================
   Section Badges
   ============================================ */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--primary);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.section-badge.new {
    background: var(--success);
}

/* ============================================
   Featured Section
   ============================================ */
.featured-section {
    padding: var(--space-16) 0;
    background: var(--gray-50);
}

/* ============================================
   PC Builder CTA
   ============================================ */
.pc-builder-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: var(--space-16) 0;
    position: relative;
    overflow: hidden;
}

.pc-builder-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-12);
}

.cta-text {
    flex: 1;
    max-width: 600px;
}

.cta-text h2 {
    font-size: var(--text-3xl);
    color: var(--white);
    margin-bottom: var(--space-4);
}

.cta-text h2 i {
    margin-right: var(--space-3);
}

.cta-text > p {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-6);
}

.cta-features {
    list-style: none;
    margin-bottom: var(--space-8);
}

.cta-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-3);
    font-size: var(--text-base);
}

.cta-features li i {
    color: #22c55e;
}

.cta-image {
    flex: 0 0 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-image i {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.15);
}

/* ============================================
   New Arrivals Section
   ============================================ */
.new-arrivals-section {
    padding: var(--space-16) 0;
    background: var(--white);
}

/* ============================================
   Features Section Enhanced
   ============================================ */
.features-section {
    padding: var(--space-16) 0;
    background: var(--gray-50);
}

/* ============================================
   Products Grid Variants
   ============================================ */
.products-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   Responsive - Homepage
   ============================================ */
@media (max-width: 1199px) {
    .stats-grid,
    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
    
    .stat-item > i {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: var(--text-xl);
    }
    
    .quick-access-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-image {
        display: none;
    }
    
    .cta-features {
        text-align: left;
    }
}

/* ============================================
   PC Builder Banner (Homepage)
   ============================================ */
.pc-builder-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: var(--space-16) 0;
    position: relative;
    overflow: hidden;
}

.pc-builder-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.pc-builder-banner-content {
    display: flex;
    align-items: center;
    gap: var(--space-12);
    position: relative;
    z-index: 1;
}

.pc-builder-banner-left {
    flex: 1;
}

.pc-builder-banner-left .banner-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.1);
    color: #ffd700;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.pc-builder-banner-left h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.pc-builder-banner-left h2 span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pc-builder-banner-left > p {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-6);
    max-width: 500px;
}

.banner-features {
    display: flex;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.banner-feature {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-sm);
}

.banner-feature i {
    color: #22c55e;
}

.btn-pc-builder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    font-weight: 600;
    padding: var(--space-4) var(--space-8);
    border: none;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.btn-pc-builder:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

.pc-builder-banner-right {
    flex: 0 0 400px;
}

.pc-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.pc-preview-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    text-align: center;
    transition: all 0.3s ease;
}

.pc-preview-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.5);
}

.pc-preview-item i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: var(--space-2);
    display: block;
}

.pc-preview-item span {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ============================================
   Services Section (Homepage)
   ============================================ */
.services-section {
    padding: var(--space-16) 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.service-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

.service-card p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary);
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: var(--space-3);
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(3px);
}

/* ============================================
   Responsive - PC Builder Banner & Services
   ============================================ */
@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .pc-builder-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .pc-builder-banner-left > p {
        max-width: 100%;
    }

    .banner-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .pc-builder-banner-right {
        flex: none;
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 767px) {
    .pc-builder-banner-left h2 {
        font-size: 1.75rem;
    }

    .pc-preview {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
