:root {
    /* Colors extracted from the Malux 3D Logo */
    --color-pink: #ff428a;
    --color-purple: #9d4edd;
    --color-cyan: #06d6a0;
    --color-cyan-light: #2dd4bf;
    --color-yellow: #ffd166;
    
    /* Background & Surface */
    --bg-dark: #0f0a1f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.1);
    
    /* Text */
    --text-main: #f8f9fa;
    --text-muted: #adb5bd;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-pink), var(--color-purple));
    --gradient-secondary: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
    
    /* Shadows */
    --shadow-glow-pink: 0 0 20px rgba(255, 66, 138, 0.4);
    --shadow-glow-cyan: 0 0 20px rgba(6, 214, 160, 0.4);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    cursor: default; /* Let's keep default but we add a custom glow behind it */
}

/* Custom Cursor Glow */
#cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.15) 0%, rgba(255, 66, 138, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.2s;
    mix-blend-mode: screen;
}

/* Dynamic Background Blob */
.blob-bg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200vw;
    height: 200vh;
    background: radial-gradient(circle at 50% 50%, rgba(157, 78, 221, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 20%, rgba(255, 66, 138, 0.1) 0%, transparent 30%),
                radial-gradient(circle at 20% 80%, rgba(6, 214, 160, 0.1) 0%, transparent 30%);
    z-index: -1;
    animation: rotateBg 60s linear infinite;
    pointer-events: none;
}

@keyframes rotateBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Typing Effect */
.typing-text {
    border-right: none;
    display: inline-block;
}
.cursor {
    display: inline-block;
    width: 3px;
    animation: blink 1s step-end infinite;
    color: var(--color-cyan);
    margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--color-cyan);
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 10px rgba(6, 214, 160, 0.2);
}

/* Navigation */
.navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(15, 10, 31, 0.7);
    border-bottom: 1px solid var(--border-glass);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: contain;
    background: white; 
    border: 2px solid var(--color-purple);
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.5);
    transition: transform 0.3s ease;
}

.logo-container:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    letter-spacing: 1px;
}

.highlight-3d {
    color: var(--color-cyan);
    text-shadow: 2px 2px 0px var(--color-purple);
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--color-pink);
}

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

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1rem;
    border: none;
}

.btn-large {
    font-size: 1.3rem;
    padding: 15px 40px;
    border-radius: 50px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow-pink);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 66, 138, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--color-cyan);
    box-shadow: inset 0 0 0 rgba(6, 214, 160, 0), 0 0 15px rgba(6, 214, 160, 0.2);
}

.btn-secondary:hover {
    background: rgba(6, 214, 160, 0.1);
    box-shadow: inset 0 0 10px rgba(6, 214, 160, 0.5), 0 0 20px rgba(6, 214, 160, 0.4);
    transform: translateY(-3px);
}

.btn-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-glass);
    padding: 8px 20px;
    border-radius: 20px;
}

.btn-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

/* Tilt Effect */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}
.tilt-card > * {
    transform: translateZ(30px);
}

/* Layout Sections */
.section {
    padding: 100px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 15px auto 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.main-showcase {
    padding: 20px;
    border-radius: 50%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border: 2px solid rgba(255,255,255,0.05);
    box-shadow: 0 0 40px rgba(157, 78, 221, 0.3);
}

.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    transform: translateZ(50px); /* 3D pop out */
}

/* Products Section */
.section-title {
    font-size: 3rem;
}

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

.product-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px currentColor;
    transition: transform 0.3s ease;
}

.product-card:hover .card-icon {
    transform: scale(1.2) translateZ(40px);
}

.product-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Desire Section */
.desire-content {
    padding: 60px;
    position: relative;
    overflow: hidden;
}
.desire-content::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(6, 214, 160, 0.1) 0%, transparent 60%);
    pointer-events: none;
}
.benefits-list {
    list-style: none;
    margin: 30px 0;
}
.benefits-list li {
    margin-bottom: 20px;
    font-size: 1.15rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.benefits-list li i {
    font-size: 1.5rem;
    margin-top: 5px;
}
.testimonial {
    margin-top: 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--color-pink);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    font-size: 1.1rem;
}
.testimonial span {
    display: block;
    margin-top: 15px;
    font-size: 0.95rem;
    font-style: normal;
    color: var(--color-yellow);
    font-weight: bold;
}

/* Banner CTA */
.banner-cta .cta-content {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(255, 66, 138, 0.1), rgba(157, 78, 221, 0.1));
    border: 1px solid rgba(255, 66, 138, 0.3);
}

.banner-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.banner-cta p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}
.floating-whatsapp:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: white;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-glass);
    margin-top: 50px;
}

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

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo p {
    color: var(--text-muted);
    margin-top: 10px;
}

.footer-contact p {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.footer-bottom {
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 66, 138, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(255, 66, 138, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 66, 138, 0); }
}

.floating-whatsapp.pulse {
    animation: pulseWhatsapp 2s infinite;
}
@keyframes pulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Initial States for Intersection Observer */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.stagger-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-text .subtitle {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .main-showcase {
        max-width: 400px;
        margin: 0 auto;
    }
    
    #cursor-glow {
        display: none; /* Disable glow on mobile for performance */
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .desire-content {
        padding: 30px 20px;
    }
    
    .btn-large {
        padding: 12px 25px;
        font-size: 1.1rem;
    }
}
