@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ========================================
   VARIABLES CSS - DARK MODE THEME
   ======================================== */
:root {
    /* Couleurs principales - Mode Sombre */
    --color-primary: #0066FF;
    --color-primary-light: #4D94FF;
    --color-primary-dark: #0047B3;

    --color-bg: #050505;
    /* Fond principal presque noir */
    --color-bg-secondary: #0F0F0F;
    /* Fond secondaire */
    --color-bg-card: #141414;
    /* Fond des cartes */

    --color-text: #FFFFFF;
    --color-text-muted: #A0A0A0;

    --color-border: #2A2A2A;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #00A3FF 100%);
    --gradient-glow: linear-gradient(180deg, rgba(0, 102, 255, 0) 0%, rgba(0, 102, 255, 0.1) 100%);

    /* Glassmorphism */
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    /* Navbar Glass */
    --nav-glass-bg: rgba(10, 10, 10, 0.8);
    --nav-glass-border: rgba(255, 255, 255, 0.08);

    /* Ombres */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(0, 102, 255, 0.2);
    --shadow-glow-hover: 0 0 30px rgba(0, 102, 255, 0.4);

    /* Espacements & Rayons */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-family: 'Inter', sans-serif;
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(0, 102, 255, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 71, 179, 0.08) 0%, transparent 25%);
    background-attachment: fixed;
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none !important;
    /* Performance optimizations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Performance: Force GPU acceleration on key elements */
header,
.hero,
.product-card,
.timeline-item,
footer {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* CSS Containment for better rendering performance */
.product-card,
.timeline-item,
.footer-section {
    contain: layout style paint;
}

.section {
    contain: layout style;
}


/* Hide cursor on all elements */
*,
*::before,
*::after {
    cursor: none !important;
}

/* Custom Cursor */
:root {
    --cursor-x: 0px;
    --cursor-y: 0px;
}

body::before {
    content: '';
    position: fixed;
    left: var(--cursor-x);
    top: var(--cursor-y);
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.2s ease-out;
}

/* Show cursor when mouse moves */
body.cursor-active::before {
    opacity: 1;
}

/* Cursor scale effect on interactive elements */
body:has(a:hover)::before,
body:has(button:hover)::before,
body:has(.filter-btn:hover)::before,
body:has(.product-card:hover)::before {
    transform: translate(-50%, -50%) scale(1.5);
    background: rgba(0, 102, 255, 0.8);
}

/* Hide scrollbar for all browsers */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

html,
body {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    background: linear-gradient(to right, #FFFFFF, #808080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
}

p {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition-fast);
}

/* ========================================
   NAVBAR MODERN REDESIGN
   ======================================== */
header {
    position: fixed;
    top: var(--spacing-md);
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 var(--spacing-md);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-container {
    background: var(--nav-glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--nav-glass-border);
    border-radius: var(--radius-full);
    padding: var(--spacing-sm) var(--spacing-xl);
    /* Increased vertical padding */
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: auto;
    max-width: 1200px;
}

.logo-img {
    height: 50px;
    /* Adjust height as needed */
    width: auto;
    vertical-align: middle;
    filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.3));
    transition: var(--transition-normal);
}

.logo-img:hover {
    filter: drop-shadow(0 0 15px rgba(0, 102, 255, 0.6));
    transform: scale(1.05);
}

.logo a {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    /* Increased gap from 2rem */
    align-items: center;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

nav a:hover,
nav a.active {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
}

.btn-nav-primary {
    background: var(--color-text);
    color: var(--color-bg) !important;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.btn-nav-primary:hover {
    background: var(--color-primary-light);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   HERO SECTION DARK
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 140px;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.95)),
        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='%230066ff' fill-opacity='0.05'%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");
}

/* Animated logo background effect */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background-image: url('../images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    filter: drop-shadow(0 0 80px rgba(0, 102, 255, 0.4)) brightness(1.5) contrast(1.3);
    mix-blend-mode: screen;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes float {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        filter: drop-shadow(0 0 80px rgba(0, 102, 255, 0.4));
    }

    25% {
        transform: translate(-48%, -52%) rotate(5deg) scale(1.05);
        filter: drop-shadow(0 0 100px rgba(0, 102, 255, 0.5));
    }

    50% {
        transform: translate(-52%, -50%) rotate(-5deg) scale(0.95);
        filter: drop-shadow(0 0 80px rgba(0, 102, 255, 0.4));
    }

    75% {
        transform: translate(-50%, -48%) rotate(3deg) scale(1.02);
        filter: drop-shadow(0 0 90px rgba(0, 102, 255, 0.45));
    }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--color-bg), transparent);
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    padding: 0 var(--spacing-md);
}

.hero h1 {
    margin-bottom: var(--spacing-xl);
    /* Increased margin bottom */
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-2xl);
    /* Increased margin bottom */
}

/* ========================================
   COMPONENTS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn i {
    font-size: 1.2em;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-hover);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.btn-outline:hover {
    border-color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
}

/* Search Box Dark */
.search-box {
    max-width: 500px;
    margin: 2rem auto 5rem;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 10;
}

.search-box input {
    width: 100%;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 1rem 1.5rem 1rem 3.5rem;
    /* Increased left padding for icon */
    border-radius: var(--radius-full);
    font-size: 1rem;
    transition: var(--transition-normal);
}

/* Filter Buttons Dark */
.filter-btn {
    background: var(--color-bg-secondary);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover {
    color: var(--color-text);
    border-color: var(--color-text-muted);
}

.filter-btn.active {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
    font-weight: 600;
}

/* Product Cards Dark */
.product-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary-dark);
    box-shadow: var(--shadow-glow);
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: var(--color-bg-secondary);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    background: rgba(0, 102, 255, 0.1);
    color: var(--color-primary-light);
    border: 1px solid rgba(0, 102, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-title {
    color: var(--color-text);
    font-size: 1.25rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.5rem;
    color: var(--color-text);
    font-weight: 700;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.product-link {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-link:hover {
    color: var(--color-primary-light);
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products-header {
    text-align: center;
    margin-bottom: 5rem;
    /* Increased margin further */
}

.products-header h2 {
    margin-bottom: var(--spacing-md);
}

.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    /* Explicit gap */
    margin-bottom: 5rem;
    /* Increased margin further */
}

.search-box {
    max-width: 500px;
    margin: 2rem auto 5rem;
    /* Added top margin and increased bottom margin */
    position: relative;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: 5rem 0 3rem;
    /* Increased padding */
    margin-top: 6rem;
    /* Increased margin top */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    /* Increased gap between columns */
    margin-bottom: 4rem;
}

.footer-section h3 {
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
    /* Increased margin */
}

.footer-section p {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    display: inline-block;
    /* Ensure block display for vertical spacing */
    margin-bottom: 0.5rem;
    /* Add spacing between links */
}

.section-dark {
    background: var(--color-bg-secondary);
}

/* ========================================
   UTILITIES & LAYOUT
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    /* Increased side padding */
}

.grid {
    display: grid;
    gap: 3rem;
    /* Increased grid gap */
}

.grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.text-center {
    text-align: center;
}

.section {
    padding: 6rem 0;
    /* Increased section padding */
}

/* Adjustment for content spacing */
p+.btn {
    margin-top: var(--spacing-md);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    header {
        top: 0;
        padding: 0;
    }

    .navbar-container {
        border-radius: 0;
        width: 100%;
        border-top: none;
        border-left: none;
        border-right: none;
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   LIGHT MODE THEME
   ======================================== */
[data-theme="light"] {
    --color-bg: #FFFFFF;
    --color-bg-secondary: #F5F5F5;
    --color-bg-card: #FFFFFF;

    --color-text: #1A1A1A;
    --color-text-muted: #666666;

    --color-border: #E0E0E0;

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);

    --nav-glass-bg: rgba(255, 255, 255, 0.8);
    --nav-glass-border: rgba(0, 0, 0, 0.08);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] body {
    background-image:
        radial-gradient(circle at 15% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 71, 179, 0.05) 0%, transparent 25%);
}

[data-theme="light"] .hero {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.95)),
        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='%230066ff' 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");
}

[data-theme="light"] h1 {
    background: linear-gradient(to right, #1A1A1A, #666666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   PARTICLES CANVAS
   ======================================== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* ========================================
   THEME TOGGLE BUTTON
   ======================================== */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 0.6rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-primary);
    transform: rotate(180deg);
}

.theme-toggle i {
    font-size: 1.2rem;
}

/* ========================================
   FOOTER REDESIGN
   ======================================== */
footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-brand {
    max-width: 350px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.3));
}

.footer-description {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    align-items: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: var(--transition-normal);
}

.social-icon:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.social-icon i {
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer-links i {
    font-size: 0.875rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

.footer-contact i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.footer-contact a {
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--color-primary);
}

.footer-categories {
    margin-top: 2rem;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text-muted);
    font-size: 0.875rem;
    transition: var(--transition-normal);
}

.category-tag:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.category-tag i {
    font-size: 1rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.footer-credit {
    font-size: 0.875rem;
}

.footer-credit i {
    color: #FF0066;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ========================================
   PROCESS TIMELINE
   ======================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
            var(--color-primary) 0%,
            var(--color-primary-light) 50%,
            var(--color-primary) 100%);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: var(--color-bg-card);
    border: 3px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.3);
}

.timeline-icon i {
    font-size: 2rem;
    color: var(--color-primary);
}

.timeline-content {
    flex: 1;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition-normal);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--color-primary);
}

.timeline-content h3 {
    color: var(--color-text);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.timeline-content p {
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
[data-animate] {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-left {
    animation: slideLeft 0.8s ease-out forwards;
}

.animate-slide-right {
    animation: slideRight 0.8s ease-out forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   FILTER BUTTON ICONS
   ======================================== */
.filter-btn i {
    margin-right: 0.5rem;
    font-size: 1.1em;
}

/* ========================================
   RESPONSIVE UPDATES
   ======================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Header */
    header {
        top: 0;
        padding: 0;
    }

    .navbar-container {
        border-radius: 0;
        width: 100%;
        border-top: none;
        border-left: none;
        border-right: none;
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .logo-img {
        height: 40px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    nav a {
        font-size: 0.875rem;
        padding: 0.4rem 0.8rem;
    }

    .btn-nav-primary {
        padding: 0.5rem 1rem;
    }

    /* Hero */
    .hero {
        padding-top: 120px;
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Buttons */
    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }

    /* Products Section */
    .products-header {
        margin-bottom: 3rem;
    }

    .search-box {
        margin: 1.5rem auto 3rem;
    }

    .filters {
        gap: 0.75rem;
        margin-bottom: 3rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Timeline */
    .timeline::before {
        left: 40px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
        gap: 1.5rem;
    }

    .timeline-icon {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    .timeline-icon i {
        font-size: 1.5rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-content h3 {
        font-size: 1.25rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        max-width: 100%;
    }

    .category-tags {
        justify-content: flex-start;
    }

    /* Theme Toggle */
    .theme-toggle {
        width: 36px;
        height: 36px;
    }

    /* Sections */
    .section {
        padding: 4rem 0;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {

    /* Typography */
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.75rem;
    }

    /* Hero */
    .hero {
        padding-top: 100px;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-lg);
    }

    /* Navigation */
    nav ul {
        gap: 0.25rem;
    }

    nav a {
        font-size: 0.8rem;
        padding: 0.35rem 0.6rem;
    }

    nav a i {
        display: none;
        /* Hide icons on very small screens */
    }

    .btn-nav-primary {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .btn i {
        font-size: 1em;
    }

    /* Search & Filters */
    .search-box {
        margin: 1rem auto 2rem;
    }

    .search-box input {
        padding: 0.875rem 1.25rem 0.875rem 3rem;
        font-size: 0.9rem;
    }

    .filters {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .filter-btn i {
        font-size: 0.9em;
    }

    /* Products */
    .grid {
        gap: 1.5rem;
    }

    .product-card {
        border-radius: var(--radius-md);
    }

    .product-image {
        height: 220px;
    }

    .product-info {
        padding: 1.25rem;
    }

    /* Timeline */
    .timeline {
        padding: 0 1rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .timeline-icon {
        width: 50px;
        height: 50px;
    }

    .timeline-icon i {
        font-size: 1.25rem;
    }

    .timeline-content {
        padding: 1.25rem;
    }

    .timeline-content h3 {
        font-size: 1.125rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    /* Footer */
    footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .footer-logo-img {
        height: 35px;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-description {
        font-size: 0.9rem;
    }

    .footer-links a,
    .footer-contact li {
        font-size: 0.875rem;
    }

    .category-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.875rem;
    }

    /* Sections */
    .section {
        padding: 3rem 0;
    }

    /* Particles - Reduce on mobile for performance */
    #particles-canvas {
        opacity: 0.3;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 100px;
    }

    .navbar-container {
        flex-direction: row;
        justify-content: space-between;
    }

    nav ul {
        flex-direction: row;
    }
}