:root {
    --primary-purple: #9f5cff;
    --neon-pink: #ff006e;
    --neon-cyan: #00d9ff;
    --dark-bg: #05020a;
    --card-bg: #0f0a1a;
    --border-color: #2a1a4a;
}

* {
    box-sizing: border-box;
}

html, body {
    background: linear-gradient(135deg, #05020a 0%, #0a0515 100%);
    color: #e5e5ff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

body {
    background-attachment: fixed;
}

/* Text Colors */
.text-purple { color: #b66cff !important; }
.text-neon-pink { color: #ff006e !important; }
.text-neon-cyan { color: #00d9ff !important; }

/* Buttons */
.btn-purple,
.btn-outline-purple,
.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.btn-purple {
    background: linear-gradient(135deg, #9f5cff 0%, #7f3cff 100%);
    border: 1px solid #9f5cff;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(159, 92, 255, 0.3);
}

.btn-purple:hover {
    background: linear-gradient(135deg, #b66cff 0%, #9f5cff 100%);
    border-color: #b66cff;
    box-shadow: 0 0 30px rgba(159, 92, 255, 0.6);
    transform: translateY(-2px);
}

.btn-outline-purple {
    color: #9f5cff;
    border-color: #9f5cff;
}

.btn-outline-purple:hover {
    background-color: #9f5cff;
    border-color: #9f5cff;
    box-shadow: 0 0 20px rgba(159, 92, 255, 0.4);
}

/* Cards */
.card {
    background: rgba(15, 10, 26, 0.8);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #9f5cff;
    box-shadow: 0 0 30px rgba(159, 92, 255, 0.2);
    transform: translateY(-5px);
}

.card.bg-dark {
    background: rgba(15, 10, 26, 0.8) !important;
    border: 1px solid var(--border-color) !important;
}

.card-img-top {
    border-bottom: 1px solid var(--border-color);
    object-fit: cover;
    height: 250px;
}

.card-title {
    color: #fff;
    font-weight: 600;
}

.card-text {
    color: #b8b8d1;
    font-size: 0.95rem;
}

/* Navbar */
.navbar {
    background: rgba(5, 2, 10, 0.95) !important;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #9f5cff 0%, #00d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.navbar-brand:hover {
    text-shadow: 0 0 20px rgba(159, 92, 255, 0.5);
}

.navbar-nav .nav-link {
    color: #b8b8d1 !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9f5cff, #00d9ff);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #9f5cff !important;
}

.navbar-nav .nav-link:hover:after {
    width: 100%;
}

/* Footer */
footer {
    background: rgba(5, 2, 10, 0.95);
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    margin-top: 5rem;
}

footer a {
    color: #9f5cff;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #b66cff;
    text-shadow: 0 0 10px rgba(159, 92, 255, 0.5);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(159, 92, 255, 0.15) 0%, rgba(0, 217, 255, 0.08) 100%);
    border: 1px solid rgba(159, 92, 255, 0.25);
    border-radius: 1rem;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(159, 92, 255, 0.25), transparent 60%);
    border-radius: 50%;
    animation: float 7s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.18), transparent 60%);
    border-radius: 50%;
}

.hero-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(180deg, transparent, rgba(9, 8, 13, 0.95));
}

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #9f5cff 0%, #00d9ff 50%, #ff006e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    text-shadow: 0 0 40px rgba(159, 92, 255, 0.3);
}

.hero-section .lead {
    color: #d3d3ee;
    font-size: 1.1rem;
    line-height: 1.8;
}

.hero-stats {
    margin-top: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.3rem;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.stat-label {
    margin-top: 0.4rem;
    color: #b8b8d1;
}

.hero-cta {
    gap: 1rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.75rem;
    min-height: 220px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.feature-card i {
    font-size: 1.7rem;
    color: #9f5cff;
    margin-bottom: 1rem;
}

.feature-card h6 {
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.product-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-body {
    padding: 1.5rem;
}

.product-title {
    margin-bottom: 0.75rem;
}

.product-text {
    font-size: 0.95rem;
    line-height: 1.8;
}

.benefit-section {
    background: rgba(15, 10, 26, 0.9);
    border-radius: 1rem;
    border: 1px solid rgba(159, 92, 255, 0.18);
    padding: 3rem 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.benefit-icon.bg-purple {
    background: linear-gradient(135deg, #9f5cff 0%, #7f3cff 100%);
}

.benefit-card h5 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #c6c6e3;
}

.gallery-section {
    background: rgba(15, 10, 26, 0.95);
    border-radius: 1rem;
    border: 1px solid rgba(159, 92, 255, 0.18);
    padding: 3rem 2rem;
}

.cta-section {
    background: linear-gradient(135deg, rgba(159, 92, 255, 0.22), rgba(0, 217, 255, 0.12));
    border-radius: 1rem;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-section h2 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta-section p {
    color: #d9d9f5;
}

.btn-xl {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* Section Titles */
h2 {
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #9f5cff, #00d9ff, transparent);
    border-radius: 2px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    aspect-ratio: 4/3;
    cursor: pointer;
    group: 1;
}

.gallery-item img, .gallery-item iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img, .gallery-item:hover iframe {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(159, 92, 255, 0.3), rgba(0, 217, 255, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Badges */
.badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid transparent;
}

.badge.bg-purple {
    background: linear-gradient(135deg, #9f5cff 0%, #7f3cff 100%) !important;
    box-shadow: 0 0 15px rgba(159, 92, 255, 0.4);
}

.badge.bg-success {
    background: linear-gradient(135deg, #00d9ff 0%, #00b8cc 100%) !important;
}

/* Contact Buttons */
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid;
}

.btn-whatsapp {
    background-color: #25d366;
    border-color: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #20c246;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

.btn-call {
    background-color: #0088cc;
    border-color: #0088cc;
    color: white;
}

.btn-call:hover {
    background-color: #0066aa;
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.4);
    transform: translateY(-2px);
}

/* Form Elements */
.form-control {
    background: rgba(15, 10, 26, 0.8);
    border: 1px solid var(--border-color);
    color: #e5e5ff;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: #7a7a99;
}

.form-control:focus {
    background: rgba(15, 10, 26, 0.9);
    border-color: #9f5cff;
    color: #e5e5ff;
    box-shadow: 0 0 20px rgba(159, 92, 255, 0.3);
}

.form-label {
    color: #b8b8d1;
    font-weight: 500;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fab-whatsapp {
    background-color: #25d366;
    color: white;
}

.fab-whatsapp:hover {
    background-color: #20c246;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.5);
    transform: scale(1.1);
}

.fab-call {
    background: linear-gradient(135deg, #9f5cff 0%, #7f3cff 100%);
    color: white;
}

.fab-call:hover {
    box-shadow: 0 0 25px rgba(159, 92, 255, 0.6);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .navbar-nav .nav-link {
        margin: 0.25rem 0;
    }

    .floating-buttons {
        bottom: 1rem;
        right: 1rem;
    }

    .fab {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .contact-buttons {
        gap: 0.5rem;
    }

    .btn-contact {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .btn-outline-light {
        border-color: rgba(255, 255, 255, 0.3);
    }
}
