:root {
    --bg-color: #000000;
    /* Void Black */
    --text-color: #ffffff;
    --accent-color: #0071e3;
    --secondary-text: #a1a1a6;
    --nav-bg: rgba(20, 20, 20, 0.6);
    --font-main: 'Inter', sans-serif;
    --transition-speed: 0.6s;

    /* Liquid Glass Variables - Dark Mode */
    --glass-bg: rgba(30, 30, 30, 0.3);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: 40px;
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.4);
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Physics Background */
#physics-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
    /* Star Glow */
}

/* Ensure content is above background */
main,
nav {
    position: relative;
    z-index: 1;
}

/* Glass Mixin Class */
.glass-panel {
    background: rgba(30, 30, 30, 0.1);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Shimmer effect for glass panels */
.glass-panel::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
    pointer-events: none;
}

/* Rainbow chromatic aberration edge effect for glass panels */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg,
            rgba(255, 100, 100, 0.6) 0%,
            rgba(255, 200, 100, 0.5) 15%,
            rgba(255, 255, 100, 0.4) 25%,
            rgba(100, 255, 100, 0.4) 40%,
            rgba(100, 200, 255, 0.4) 55%,
            rgba(150, 100, 255, 0.5) 70%,
            rgba(255, 100, 200, 0.5) 85%,
            rgba(255, 255, 255, 0.6) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    transition: all 0.4s ease;
    z-index: 1;
}

.glass-panel:hover::after {
    transform: translateX(100%);
}

.glass-panel:hover::before {
    opacity: 1;
    background: linear-gradient(135deg,
            rgba(255, 100, 100, 1) 0%,
            rgba(255, 200, 100, 1) 15%,
            rgba(255, 255, 100, 1) 25%,
            rgba(100, 255, 100, 1) 40%,
            rgba(100, 200, 255, 1) 55%,
            rgba(150, 100, 255, 1) 70%,
            rgba(255, 100, 200, 1) 85%,
            rgba(255, 255, 255, 1) 100%);
    filter: brightness(1.5) saturate(150%);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1),
        0 0 30px 5px rgba(255, 255, 255, 0.5),
        0 0 60px 10px rgba(255, 255, 255, 0.3),
        0 0 100px 20px rgba(200, 150, 255, 0.15);
}

/* Interactive Feature Boxes */
.feature-box-interactive {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-box-interactive:hover {
    transform: translateY(-8px);
}

.feature-box-interactive:hover .feature-image-container img {
    transform: scale(1.05);
}

.feature-image-container {
    position: relative;
    overflow: hidden;
}

/* Checkout Styles */
.checkout-container {
    padding-top: 120px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.checkout-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.form-group {
    display: flex;
    gap: 20px;
}

input,
select {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    font-size: 1rem;
    color: var(--text-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

input:focus,
select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.2);
    border-color: var(--accent-color);
}

input::placeholder {
    color: var(--secondary-text);
}

.payment-methods {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.payment-option {
    padding: 20px;
    background: rgba(30, 30, 30, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    cursor: pointer;
    flex: 1;
    text-align: center;
    transition: all 0.3s ease;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.payment-option:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.payment-option.selected {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(0, 113, 227, 0.15);
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.3);
}

.order-summary {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 32px;
    height: fit-content;
    box-shadow: var(--glass-shadow);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--secondary-text);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.full-width {
    width: 100%;
    margin-top: 20px;
}

/* Typography */
h1 {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Dissolve Effect */
.hero-content {
    transition: opacity 0.1s ease-out, transform 0.1s ease-out, filter 0.1s ease-out;
    will-change: opacity, transform, filter;
}

.hero-content.dissolving {
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
    filter: blur(10px);
}

.hero-content h1 {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3), 0 0 60px rgba(255, 255, 255, 0.2);
}

h2 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.2rem;
    color: var(--secondary-text);
    font-weight: 400;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    z-index: 1000;
    background: rgba(30, 30, 30, 0.1);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.4s ease;
}

.nav-content {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.logo {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg,
            rgba(255, 180, 180, 0.7) 0%,
            rgba(255, 220, 180, 0.7) 15%,
            rgba(255, 255, 200, 0.7) 25%,
            rgba(200, 255, 200, 0.7) 40%,
            rgba(200, 230, 255, 0.7) 55%,
            rgba(220, 200, 255, 0.7) 70%,
            rgba(255, 200, 230, 0.7) 85%,
            rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 30px rgba(200, 150, 255, 0.3));
    transition: all 0.4s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 1)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 50px rgba(200, 150, 255, 0.5));
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:not(.btn-primary):hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    color: #000;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 16px 48px;
    background: rgba(30, 30, 30, 0.15);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Shimmer for buttons */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.15) 50%,
            transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
    pointer-events: none;
}

/* Rainbow edge for buttons */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    padding: 1.5px;
    background: linear-gradient(135deg,
            rgba(255, 100, 100, 0.5) 0%,
            rgba(255, 200, 100, 0.4) 20%,
            rgba(100, 255, 100, 0.3) 40%,
            rgba(100, 200, 255, 0.4) 60%,
            rgba(150, 100, 255, 0.4) 80%,
            rgba(255, 100, 200, 0.5) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.4;
    transition: all 0.4s ease;
    z-index: 1;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: rgba(30, 30, 30, 0.05);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow:
        0 0 30px rgba(255, 255, 255, 0.3),
        0 0 60px rgba(200, 150, 255, 0.2),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.btn-primary:hover::after {
    transform: translateX(100%);
}

.btn-primary:hover::before {
    opacity: 1;
    filter: brightness(1.5) saturate(150%);
}

.btn-primary.small {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.link {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-left: 20px;
}

.link:hover {
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(0, 113, 227, 0.4);
}

/* Layout */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 120px 0;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 100px;
}

.hero-content {
    margin-bottom: 60px;
    max-width: 700px;
    z-index: 2;
    padding: 40px;
    position: relative;
    transition: all 0.4s ease;
}

.hero-content h1 {
    text-align: center;
}

.hero-content p {
    text-align: center;
}


@keyframes rotateRainbow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateRainbow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Animated Rainbow Text for Prisma */
@keyframes prismaRainbow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.prisma-rainbow {
    background: linear-gradient(90deg,
            #ff0000,
            #ff7f00,
            #ffff00,
            #00ff00,
            #00ffff,
            #0000ff,
            #8b00ff,
            #ff0000);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: prismaRainbow 6s ease infinite;
    font-weight: inherit;
}

.hero-image-container {
    width: 100%;
    max-width: 900px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: transform 0.5s ease;
    background: transparent !important;
    /* Ensure floating effect */
}

.hero-image-container:hover {
    transform: translateY(-10px);
}

.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Intro */
.intro {
    text-align: center;
}

.section-text {
    max-width: 700px;
    margin: 0 auto;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-card {
    padding: 40px 30px;
    background: rgba(30, 30, 30, 0.1);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

/* Shimmer effect */
.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
    pointer-events: none;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(135deg,
            rgba(255, 100, 100, 0.6) 0%,
            rgba(255, 200, 100, 0.5) 15%,
            rgba(255, 255, 100, 0.4) 25%,
            rgba(100, 255, 100, 0.4) 40%,
            rgba(100, 200, 255, 0.4) 55%,
            rgba(150, 100, 255, 0.5) 70%,
            rgba(255, 100, 200, 0.5) 85%,
            rgba(255, 255, 255, 0.6) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1),
        0 0 40px rgba(255, 255, 255, 0.4),
        0 0 80px rgba(200, 150, 255, 0.2);
    background: rgba(30, 30, 30, 0.05);
    border-color: rgba(255, 255, 255, 0.9);
    border-width: 2px;
}

.feature-card:hover::after {
    transform: translateX(100%);
}

.feature-card:hover::before {
    opacity: 1;
    padding: 2px;
    filter: brightness(1.5) saturate(150%);
    background: linear-gradient(135deg,
            rgba(255, 50, 50, 0.9) 0%,
            rgba(255, 150, 50, 0.8) 12%,
            rgba(255, 255, 50, 0.7) 25%,
            rgba(50, 255, 50, 0.7) 37%,
            rgba(50, 150, 255, 0.7) 50%,
            rgba(100, 50, 255, 0.8) 62%,
            rgba(255, 50, 150, 0.8) 75%,
            rgba(255, 100, 100, 0.9) 87%,
            rgba(255, 255, 255, 0.9) 100%);
}

/* Large Image */
.large-image-section {
    width: 100%;
    padding: 0;
    overflow: hidden;
    margin: 60px 0;
}

.full-width-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    padding: 60px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.copyright {
    color: var(--secondary-text);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
}

/* Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .navbar {
        width: 95%;
        top: 10px;
    }

    .nav-content {
        padding: 0 20px;
    }

    .nav-links a:not(.btn-primary) {
        display: none;
    }

    .hero-content {
        padding: 20px;
    }

    /* Features page responsive grids */
    .glass-panel>div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .glass-panel>div>div[style*="padding: 60px"] {
        padding: 30px !important;
    }
}

/* Color Picker Section */
.color-picker-section {
    text-align: center;
    padding: 120px 0;
}

.color-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    padding: 20px;
    background: rgba(30, 30, 30, 0.1);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border-radius: 100px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.color-swatch {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.color-swatch:hover {
    transform: scale(1.2);
}

.color-swatch.active {
    border-color: var(--accent-color);
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.4);
}

.swatch-black {
    background-color: #1d1d1f;
}

.swatch-gold {
    background-color: #d4af37;
}

.swatch-silver {
    background-color: #c0c0c0;
}

.color-display {
    margin-top: 80px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.color-display img {
    max-height: 100%;
    max-width: 100%;
    position: absolute;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: scale(0.95);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.2));
}

.color-display img.active {
    opacity: 1;
    transform: scale(1);
}

/* Special Glass Effect for Profile Box */
.special-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 60px 20px 60px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.special-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1), transparent 40%);
    pointer-events: none;
    opacity: 0.6;
}

.special-glass:hover {
    transform: perspective(1000px) rotateX(0) rotateY(0) translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 40px rgba(255, 255, 255, 0.1),
        0 0 30px rgba(255, 255, 255, 0.2);
}

.special-glass h2 {
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Cart Icon Styles */
.cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: visible;
}

.cart-icon svg {
    stroke: url(#cartRainbowGradient);
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 3px rgba(255, 200, 150, 0.3));
}

/* Define inline SVG gradient via CSS - fallback to white with rainbow tint */
.cart-icon svg {
    stroke: rgba(255, 220, 200, 0.9);
    filter:
        drop-shadow(0 0 2px rgba(255, 100, 100, 0.4)) drop-shadow(0 0 4px rgba(255, 200, 100, 0.3)) drop-shadow(0 0 6px rgba(100, 255, 200, 0.3)) drop-shadow(0 0 8px rgba(150, 100, 255, 0.3));
}

.cart-icon:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.15);
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.15),
        0 0 40px rgba(200, 150, 255, 0.1);
}

.cart-icon:hover svg {
    stroke: rgba(255, 255, 255, 0.9);
    filter:
        drop-shadow(0 0 4px rgba(255, 100, 100, 0.6)) drop-shadow(0 0 8px rgba(255, 200, 100, 0.5)) drop-shadow(0 0 12px rgba(100, 255, 100, 0.4)) drop-shadow(0 0 16px rgba(100, 200, 255, 0.4)) drop-shadow(0 0 20px rgba(150, 100, 255, 0.5)) drop-shadow(0 0 24px rgba(255, 100, 200, 0.4)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 100, 100, 0.5);
}

/* Cart Page Styles */
.cart-container {
    padding-top: 120px;
    min-height: 100vh;
}

.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

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

.cart-item {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 30px;
    padding: 30px;
    align-items: center;
}

.cart-item-image {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item-details h3 {
    margin: 0;
    font-size: 1.5rem;
}

.cart-item-description {
    color: var(--secondary-text);
    font-size: 0.95rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    width: fit-content;
}

.quantity-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.quantity-display {
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.cart-item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.cart-item-price .price {
    font-size: 1.5rem;
    font-weight: 600;
}

.remove-btn {
    background: transparent;
    border: 1px solid rgba(255, 100, 100, 0.3);
    color: #ff6b6b;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: rgba(255, 100, 100, 0.1);
    border-color: #ff6b6b;
    transform: translateY(-2px);
}

.cart-empty {
    text-align: center;
    padding: 80px 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 32px;
}

.cart-empty h2 {
    margin-bottom: 20px;
}

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

.cart-summary {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 32px;
    height: fit-content;
    box-shadow: var(--glass-shadow);
    position: sticky;
    top: 120px;
    box-sizing: border-box;
}

.cart-summary h3 {
    margin: 0 0 20px 0;
    font-size: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 15px 0 20px 0;
}

.cart-summary hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.cart-summary .btn-primary {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 16px 20px;
}

.cart-summary .link {
    margin: 0;
}

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

    .cart-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cart-item-image {
        width: 100%;
        height: 200px;
    }

    .cart-item-price {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .cart-summary {
        position: static;
    }

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

/* Language Switcher */
.lang-switch {
    position: fixed;
    top: 20px;
    right: 30px;
    z-index: 1001;
    background: rgba(30, 30, 30, 0.1);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 8px 16px;
    display: flex;
    gap: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.lang-switch a {
    color: var(--secondary-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 4px 8px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.lang-switch a.active {
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.lang-switch a:hover {
    color: var(--text-color);
}

/* BluFilter Box Specifics */
.tech-gradient-text {
    margin-bottom: 20px;
    background: linear-gradient(135deg, #00d4ff 0%, #0066ff 25%, #7c3aed 50%, #00d4ff 75%, #0066ff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: gradientShift 4s ease infinite;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.tech-checklist-item {
    display: block;
    padding: 15px 20px;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 113, 227, 0.2);
    color: #fff;
    font-size: 1rem;
    backdrop-filter: blur(5px);
}

/* Clean Confetti Effect */
.spark-particle {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 8px;
    height: 8px;
    background: var(--confetti-color, #ffffff);
    animation: confettiFly 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.spark-particle.square {
    border-radius: 2px;
}

.spark-particle.circle {
    border-radius: 50%;
}

.spark-particle.line {
    width: 3px;
    height: 12px;
    border-radius: 2px;
}

@keyframes confettiFly {
    0% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(var(--tx, 80px), var(--ty, -80px)) rotate(var(--rotation, 360deg)) scale(0.4);
    }
}

.tech-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(20, 20, 20, 1) 0%, rgba(20, 20, 20, 0) 20%);
    pointer-events: none;
}

/* ==========================================
   RESPONSIVE DESIGN - MOBILE OPTIMIZATION
   ========================================== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 30px;
    }

    .section-padding {
        padding: 60px 0;
    }

    /* Two-column grids become single column */
    .glass-panel>div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Feature boxes stack vertically */
    .feature-box-interactive>div {
        grid-template-columns: 1fr !important;
    }

    .feature-box-interactive .feature-image-container {
        min-height: 300px !important;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    p {
        font-size: 1rem;
    }

    .container {
        padding: 0 20px;
    }

    .section-padding {
        padding: 40px 0;
    }

    /* Navbar Mobile */
    .navbar {
        width: 95%;
        top: 10px;
    }

    .nav-content {
        height: 50px;
        padding: 0 15px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-links a {
        font-size: 0.85rem;
        padding: 6px 10px;
    }

    .nav-links a.btn-primary.small {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* Hero Section */
    .hero {
        min-height: 80vh;
        padding: 100px 20px 60px;
    }

    .hero-content {
        text-align: center;
    }

    /* Hero words stack on mobile */
    .hero-content>div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .hero-content>div h1 {
        opacity: 1 !important;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100%;
    }

    .btn-primary {
        padding: 14px 28px;
        font-size: 1rem;
        width: auto;
        max-width: 280px;
        text-align: center;
    }

    /* Hero content button centering */
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    /* Glass panels */
    .glass-panel {
        border-radius: 16px;
    }

    .glass-panel::before {
        border-radius: 16px;
    }

    /* Feature cards */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 30px;
    }

    /* Product page */
    .product-image-container {
        height: auto !important;
        min-height: 200px !important;
        width: calc(100% + 40px) !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
        margin-top: -20px !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .product-image-container .product-image {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
    }

    .color-selector {
        justify-content: center;
    }

    .color-option {
        width: 35px;
        height: 35px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    /* Language switch */
    .lang-switch {
        top: 65px;
        right: 15px;
    }

    .lang-switch a {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    /* Cart icon */
    .cart-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Intro section */
    .intro h1 {
        font-size: 2.5rem !important;
    }

    .hero-image-container {
        height: 300px !important;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .navbar {
        width: 98%;
        border-radius: 50px;
    }

    .hero {
        padding: 80px 15px 40px;
    }

    .glass-panel {
        border-radius: 12px;
    }

    .glass-panel::before {
        border-radius: 12px;
    }

    .section-padding {
        padding: 30px 0;
    }

    /* Feature image containers smaller */
    .feature-image-container {
        min-height: 200px !important;
    }

    /* Checkout/Cart */
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cart-item img {
        width: 100px;
        height: 100px;
    }
}

/* ==========================================
   HAMBURGER MENU - MOBILE NAVIGATION
   ========================================== */

/* Hamburger button - hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger animation when open */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile navigation overlay */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar.active {
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        background: rgba(0, 0, 0, 0.98) !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: transparent;
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center !important;
        gap: 20px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1001;
        padding: 80px 20px;
        overflow-x: hidden;
        overflow-y: auto;
        width: 100%;
        height: 100vh;
        text-align: center !important;
        box-sizing: border-box;
    }

    .nav-links.active {
        display: flex !important;
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.5rem !important;
        padding: 15px 30px !important;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
        display: block !important;
        text-align: center !important;
        width: auto !important;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
        display: block !important;
    }

    /* Ensure hamburger stays visible and correct in full screen mode */
    .navbar.active .nav-content {
        z-index: 1002;
        position: relative;
    }

    .hamburger {
        z-index: 1003 !important;
        position: relative !important;
    }

    .nav-links.active a:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active a:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links.active a:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links.active a:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links.active a:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-links a.btn-primary.small {
        font-size: 1.2rem !important;
        padding: 15px 40px !important;
        width: auto !important;
        max-width: none !important;
        text-align: center !important;
    }

    .nav-links .cart-icon {
        margin-top: 20px;
        justify-content: center;
    }

    .nav-links .cart-icon svg {
        width: 28px;
        height: 28px;
    }
}

/* --- UNIVERSAL MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {

    /* Global Container & Spacing */
    .container {
        padding: 0 20px !important;
    }

    .section-padding {
        padding: 60px 0 !important;
    }

    /* Typography */
    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
        margin-bottom: 30px !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    /* Grids - Force Single Column */
    .feature-grid,
    .checkout-grid,
    .cart-grid,
    .values-grid,
    .glass-panel>div[style*="grid-template-columns"],
    .container>div[style*="display: grid"],
    div[style*="grid-template-columns: 1fr 1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        display: grid !important;
    }

    /* Flex Containers - Force Stack */
    .payment-methods,
    .footer-content,
    .hero-actions {
        flex-direction: column !important;
        align-items: center !important;
    }

    /* Specific Page Fixes */

    /* Checkout */
    .checkout-box {
        padding: 20px !important;
    }

    .payment-method-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .payment-arrow {
        transform: rotate(90deg);
        margin-top: 5px;
    }

    /* Product */
    .product-image-container {
        height: auto !important;
        margin-top: -20px !important;
        margin-bottom: 20px;
    }

    /* About Us - Fix timeline/history/values */
    .about-grid,
    .values-container {
        grid-template-columns: 1fr !important;
    }

    /* Navbar fixes */
    .navbar.active {
        border-radius: 0 !important;
    }

    /* Amazon/Cart Buttons on Product Page */
    div[style*="display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;"] {
        flex-direction: column !important;
        gap: 15px !important;
        width: 100%;
    }

    #add-to-cart-btn,
    a[href*="amazon"] {
        width: 100% !important;
        justify-content: center;
    }

    /* Cart Page adjustments */
    .cart-table {
        display: block;
        overflow-x: auto;
        /* Allow scroll if table is wide */
    }

    /* Hide specific desktop elements if needed */
    .desktop-only {
        display: none !important;
    }

    /* Values Row (About page "Wir stehen für" section) */
    .values-row {
        flex-direction: column !important;
        gap: 40px !important;
    }

    .values-row>div[style*="width: 1px"] {
        display: none !important;
    }

    .values-row>div[style*="max-width: 280px"] {
        max-width: 100% !important;
    }

    /* Language toggle - move below navbar and don't overlap content */
    .lang-switch {
        top: 70px !important;
        right: 20px !important;
        padding: 6px 12px !important;
    }

    /* Glass panels - add more padding on top to avoid lang switch overlap */
    .glass-panel {
        padding: 30px 20px !important;
    }

    /* Product page glass panel - no side padding for full-width image */
    .glass-panel[style*="padding: 0"] {
        padding: 0 !important;
    }

    /* Feature boxes text padding */
    .feature-box-interactive div[style*="padding: 60px"] {
        padding: 30px 20px !important;
    }

    /* Product page - button and text alignment */
    .glass-panel div[style*="padding: 40px"] {
        padding: 30px 20px !important;
    }

    /* Buttons full width on mobile */
    .glass-panel .btn-primary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    /* Fix inline button containers */
    .glass-panel div[style*="display: flex"][style*="gap: 20px"][style*="flex-wrap"] {
        flex-direction: column !important;
        width: 100% !important;
    }

    /* Product bullet points - left align text */
    .glass-panel ul {
        text-align: left !important;
        padding-left: 20px !important;
    }

    .glass-panel ul li {
        text-align: left !important;
    }

    /* Features page 3-column grid */
    div[style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Checkout page fixes */
    .form-group {
        flex-direction: column !important;
    }

    .payment-methods {
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* Contact page form */
    .kontakt-form input,
    .kontakt-form textarea {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Contact form - glass panel on mobile */
    .glass-panel form .form-group {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .glass-panel form .form-group input {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .glass-panel form textarea {
        width: 100% !important;
        box-sizing: border-box !important;
        min-height: 120px !important;
    }

    /* Glass panel padding on mobile */
    .glass-panel[style*="padding: 60px"] {
        padding: 30px !important;
    }

    /* Contact info row - stack vertically on mobile */
    .container>div[style*="margin-bottom: 80px"]>div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 40px !important;
        align-items: center !important;
    }

    /* Hide vertical dividers on mobile */
    .container>div[style*="margin-bottom: 80px"]>div[style*="display: flex"]>div[style*="width: 1px"] {
        display: none !important;
    }

    /* Product image container - full bleed on mobile */
    .product-image-container {
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Product image - fill width completely */
    .product-image {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        display: block !important;
    }
}