/* ============================================
   DIGIT MEDIA DERMENONVILLE - Modern Gradient Style
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Syne:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f8fafc;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #06b6d4 100%);
    --gradient-2: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-text: linear-gradient(90deg, #6366f1, #ec4899, #06b6d4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, background 0.15s ease;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease;
}

.cursor.active {
    transform: translate(-50%, -50%) scale(1.5);
    background: rgba(99, 102, 241, 0.2);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--gray-light);
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* Glowing Effect */
.glow {
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5),
                 0 0 40px rgba(236, 72, 153, 0.3),
                 0 0 60px rgba(6, 182, 212, 0.2);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 25px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

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

.logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-btn {
    position: relative;
    padding: 10px;
    cursor: pointer;
}

.cart-btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    stroke-width: 2;
    fill: none;
    transition: stroke 0.3s ease;
}

.cart-btn:hover svg {
    stroke: var(--primary);
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        font-size: 1.5rem;
    }
    
    .mobile-toggle {
        display: flex;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.4);
}

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

.btn-outline:hover {
    background: var(--primary);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.btn-dark {
    background: var(--dark-light);
    color: var(--white);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.btn-dark:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.btn-small {
    padding: 12px 25px;
    font-size: 0.8rem;
}

.btn-icon {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.hero-gradient-1 {
    top: -200px;
    right: -200px;
    background: var(--primary);
}

.hero-gradient-2 {
    bottom: -300px;
    left: -200px;
    background: var(--secondary);
    animation-delay: -4s;
}

.hero-gradient-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent);
    width: 500px;
    height: 500px;
    animation-delay: -2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 30px;
}

.hero-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

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

.hero-text h1 {
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s ease forwards 0.2s;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 500px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards 0.4s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards 0.6s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-shape {
    width: 500px;
    height: 500px;
    position: relative;
}

.hero-ring {
    position: absolute;
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.hero-ring:nth-child(1) {
    inset: 0;
}

.hero-ring:nth-child(2) {
    inset: 50px;
    animation-direction: reverse;
    animation-duration: 15s;
}

.hero-ring:nth-child(3) {
    inset: 100px;
    animation-duration: 25s;
}

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

.hero-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Syne', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-dots {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--secondary);
}

.hero-dots:nth-child(5) { top: 0; left: 50%; }
.hero-dots:nth-child(6) { top: 50%; right: 0; }
.hero-dots:nth-child(7) { bottom: 0; left: 50%; }
.hero-dots:nth-child(8) { top: 50%; left: 0; }

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    position: relative;
}

.scroll-mouse::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--secondary);
    border-radius: 2px;
    animation: scrollDown 1.5s ease infinite;
}

@keyframes scrollDown {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0; top: 20px; }
}

.scroll-text {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray);
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* Services Cards */
.services-section {
    background: var(--dark-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

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

.service-card {
    background: var(--dark);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--white);
}

.service-card p {
    font-size: 1rem;
    margin-bottom: 25px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 15px;
}

/* Products Grid */
.products-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background: transparent;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--gray-light);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.product-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.2);
}

.product-card:hover::before {
    opacity: 0.03;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: var(--gradient-1);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 1;
}

.product-content {
    padding: 35px;
    position: relative;
    z-index: 1;
}

.product-category {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.product-card h3 {
    margin-bottom: 15px;
    color: var(--white);
}

.product-card > .product-content > p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.product-features {
    list-style: none;
    margin-bottom: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(99, 102, 241, 0.15);
}

.product-features li {
    font-size: 0.9rem;
    color: var(--gray-light);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.product-features li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 0.7rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 35px;
    background: rgba(15, 23, 42, 0.5);
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    z-index: 1;
}

.product-price {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.product-price span {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gray);
}

/* Stats Section */
.stats-section {
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 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.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");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Syne', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Contact Section */
.contact-section {
    background: var(--dark-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

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

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info > p {
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
    stroke-width: 2;
    fill: none;
}

.contact-item h4 {
    margin-bottom: 5px;
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
}

.contact-item p {
    font-size: 1rem;
    color: var(--gray-light);
    margin: 0;
}

.contact-form {
    background: var(--dark);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 25px;
    padding: 50px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-light);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: var(--dark-light);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--dark);
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* Map Section */
.map-section {
    padding: 0;
    height: 450px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) invert(92%) contrast(83%);
}

/* ============================================
   CART PAGE
   ============================================ */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

.page-header h1 {
    position: relative;
    z-index: 1;
}

.cart-section {
    padding: 80px 0;
}

.cart-empty {
    text-align: center;
    padding: 80px 0;
}

.cart-empty h3 {
    margin-bottom: 15px;
}

.cart-empty p {
    margin-bottom: 30px;
}

.cart-container {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 50px;
}

@media (max-width: 1024px) {
    .cart-container {
        grid-template-columns: 1fr;
    }
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 25px;
    align-items: center;
    padding: 30px;
    background: var(--dark-light);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.cart-item-info h4 {
    color: var(--white);
    margin-bottom: 5px;
    font-family: 'Space Grotesk', sans-serif;
}

.cart-item-info p {
    font-size: 0.85rem;
    color: var(--gray);
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    background: var(--dark);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.qty-value {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.cart-item-price {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    min-width: 120px;
    text-align: right;
}

.cart-remove {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.cart-remove:hover {
    opacity: 1;
}

.cart-remove svg {
    width: 20px;
    height: 20px;
    stroke: var(--secondary);
    stroke-width: 2;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.cart-summary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 25px;
    padding: 40px;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.cart-summary h3 {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    color: var(--white);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 0.95rem;
    color: var(--gray-light);
}

.summary-row.total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    padding-top: 20px;
    margin-top: 15px;
    border-top: 2px solid var(--primary);
    font-family: 'Syne', sans-serif;
}

.cart-summary .btn {
    width: 100%;
    justify-content: center;
    margin-top: 25px;
}

.cart-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--gray);
    text-align: center;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--dark);
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

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

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

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-col h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 25px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: var(--gray);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-col ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: var(--gray);
    font-size: 0.85rem;
}

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

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    color: #10b981;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Magnetic Button Effect */
.magnetic {
    transition: transform 0.3s ease;
}

/* Tilt Effect */
.tilt {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

/* Particles */
#particles-js {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Loading Animation */
.loader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(99, 102, 241, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive */
@media (max-width: 576px) {
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cart-item-price {
        text-align: center;
    }
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
