:root {
    --bg-main: #0d0d0f;
    --bg-card: #16161a;
    --accent: #C5A880; /* Dorado elegante */
    --text-main: #ffffff;
    --text-muted: #a0a0a5;
    --font-heading: 'Montserrat', sans-serif;
}

/* =========================================
   BARRA DE SCROLL MODERNA Y MINIMALISTA
   ========================================= */

/* Para navegadores basados en WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px; /* Ancho muy sutil y delgado */
}

::-webkit-scrollbar-track {
    background: #0d0d0f; /* Fondo oscuro que combina con la página */
}

::-webkit-scrollbar-thumb {
    background: #2a2a32; /* Color base de la barra */
    border-radius: 4px;  /* Bordes totalmente redondeados */
    border: 2px solid #0d0d0f; /* Margen flotante */
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent); /* Se ilumina en dorado elegante al pasar el mouse */
}

/* Para Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #2a2a32 #0d0d0f;
}

html {
    scroll-behavior: smooth !important;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-heading);
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(13, 13, 15, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease-in-out; /* <-- Agrega esta línea para que se mueva suave */
}

/* Clase que ocultará la barra hacia arriba */
.navbar-hidden {
    transform: translateY(-100%);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent);
    font-weight: 300;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-whatsapp-nav {
    background: transparent;
    border: 1px solid var(--accent);
    padding: 8px 20px;
    border-radius: 20px;
    color: var(--accent) !important;
}

.btn-whatsapp-nav:hover {
    background: var(--accent);
    color: #000 !important;
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background: linear-gradient(rgba(13,13,15,0.7), rgba(13,13,15,0.9)), url('Gemini_Generated_Image_u7qqhzu7qqhzu7qq.jfif'); /* Opcional si quieres usar tu logo de fondo difuminado */
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-main {
    background: var(--accent);
    color: #000;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(197, 168, 128, 0.4);
}

/* Secciones Generales */
.section {
    padding: 80px 20px;
    text-align: center;
    scroll-margin-top: 100px;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 50px;
}

/* Grid de Demos */
.demos-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.demo-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 40px 30px;
    width: 350px;
    text-align: left;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.demo-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.demo-tag {
    font-size: 0.75rem;
    background: rgba(197, 168, 128, 0.1);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 10px;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.demo-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.demo-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

.btn-demo {
    display: block;
    text-align: center;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-demo:hover {
    background: var(--accent);
    color: #000;
}

/* Precios */
.bg-light {
    background-color: #111115;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 40px 30px;
    width: 320px;
    text-align: left;
    position: relative;
}

.price-card.popular {
    border-color: var(--accent);
    transform: scale(1.05);
    background: #1a1a21;
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    text-transform: uppercase;
}

.price-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.price-card ul li {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.btn-price {
    display: block;
    text-align: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-price:hover {
    border-color: #fff;
}

.popular-btn {
    background: var(--accent);
    color: #000;
    border: none;
    font-weight: 700;
}

.popular-btn:hover {
    background: #b5956f;
    color: #000;
}

/* Footer */
footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

footer p {
    margin: 5px 0;
}

/* =========================================
   DISEÑO RESPONSIVO (CELULARES)
   ========================================= */
@media (max-width: 768px) {
    /* Menú superior apilado */
    .navbar {
        flex-direction: column;
        padding: 15px;
        gap: 12px;
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Ajuste de la portada para que el menú no la tape */
    .hero {
        padding-top: 170px; /* Da el espacio exacto para que el menú no tape el texto */
        padding-bottom: 50px;
        height: auto;
        min-height: auto; /* Quitamos el 100vh forzado que crea el hueco */
        display: block;   /* Cambiamos de flex centrado a flujo natural */
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    /* Tarjetas adaptables al 100% de la pantalla */
    .demo-card, .price-card {
        width: 100%;
        padding: 30px 20px;
    }

    /* Separación extra entre los paquetes VIP y Premium */
    .pricing-grid {
        gap: 40px;
    }

    .section h2 {
        font-size: 2rem;
    }
}
