/* Variables CSS */
:root {
    --bg-color: #121414;
    --surface-color: #1a1c1c;
    --surface-hover: #282a2b;
    --text-primary: #e2e2e2;
    --text-secondary: #8e9192;
    --accent-color: #2ff801;
    --accent-hover: #79ff5b;
    --border-color: #333535;
    --card-bg: rgba(40, 42, 43, 0.3);
    --card-border: rgba(255, 255, 255, 0.05);
    --nav-bg: rgba(18, 20, 20, 0.4);
    
    --font-heading: 'Hanken Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body.light-theme {
    --bg-color: #f7f8f8;
    --surface-color: #ffffff;
    --surface-hover: #eaeaea;
    --text-primary: #121414;
    --text-secondary: #606263;
    --accent-color: #007cff;
    --accent-hover: #0062cc;
    --border-color: #d1d3d4;
    --card-bg: rgba(255, 255, 255, 0.65);
    --card-border: rgba(0, 0, 0, 0.08);
    --nav-bg: rgba(247, 248, 248, 0.5);
}

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

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Transición suave para todos los componentes al cambiar de tema */
.glass-card, .scarcity-list, .navbar, .custom-button, .toggle-button, .live-badge {
    transition: background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

::selection {
    background-color: var(--accent-color);
    color: #000;
}

/* Tipografía general */
h1, h2, h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: 1.5rem 0;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: none;
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.aurora-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.aurora-ribbon {
    position: absolute;
    filter: blur(25px);
    opacity: 0.6;
    mix-blend-mode: screen;
    animation: sway ease-in-out infinite alternate;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.ribbon-1 {
    top: 0%;
    left: -10%;
    width: 50%;
    height: 120px;
    background: linear-gradient(90deg, transparent, rgba(47, 248, 1, 0.6), rgba(0, 255, 128, 0.4), transparent);
    --base-rot: -15deg;
    --base-skew: 30deg;
    animation-duration: 5.25s;
}

.ribbon-2 {
    top: -10%;
    left: 10%;
    width: 60%;
    height: 150px;
    background: linear-gradient(90deg, transparent, rgba(0, 220, 255, 0.3), rgba(47, 248, 1, 0.8), transparent);
    --base-rot: 5deg;
    --base-skew: -20deg;
    animation-duration: 6.75s;
    animation-direction: alternate-reverse;
}

.ribbon-3 {
    top: 20%;
    left: 40%;
    width: 50%;
    height: 100px;
    background: linear-gradient(90deg, transparent, rgba(47, 248, 1, 0.5), rgba(0, 200, 255, 0.2), transparent);
    --base-rot: -5deg;
    --base-skew: 40deg;
    animation-duration: 8.25s;
}

.ribbon-4 {
    top: 5%;
    left: 50%;
    width: 60%;
    height: 130px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 150, 0.4), rgba(47, 248, 1, 0.7), transparent);
    --base-rot: 10deg;
    --base-skew: -30deg;
    animation-duration: 6s;
    animation-direction: alternate-reverse;
}

@keyframes sway {
    0% {
        transform: translateY(-10px) rotate(var(--base-rot)) skewX(var(--base-skew)) scaleX(0.9);
    }
    100% {
        transform: translateY(10px) rotate(calc(var(--base-rot) + 5deg)) skewX(calc(var(--base-skew) - 10deg)) scaleX(1.1);
    }
}

.logo {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.nav-links {
    position: relative;
    z-index: 1;
}

.shop-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.shop-link:hover {
    color: var(--accent-hover);
}

/* Contenedor principal */
main {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 5% 3rem;
    gap: 5rem;
}

.hero-content {
    flex: 1.2;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 10;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    letter-spacing: -0.03em;
    text-shadow: 0 0 10px rgba(47, 248, 1, 0.2);
}

.hero-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 450px;
    margin-bottom: 2rem;
}

.cta-wrapper {
    width: 100%;
}

.cta-center {
    display: flex;
    justify-content: center;
}

.custom-button {
    background-color: #f5f5f5;
    color: #121212;
    border: none;
    padding: 1rem 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    min-width: 200px;
}

.custom-button:hover {
    border-bottom: 2px solid var(--accent-color);
    background-color: #fff;
}

.hero-image-wrapper {
    flex: 0.8;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.toggle-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-button .material-symbols-outlined {
    font-size: 1.1rem;
}

.toggle-button:hover {
    border-color: var(--accent-color);
    color: var(--accent-hover);
}

.hero-image-wrapper img {
    max-width: 420px;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 35px rgba(47, 248, 1, 0.55)) brightness(1.25) contrast(1.05);
    transition: filter 0.5s ease;
}

/* Product Details (Bento Grid) */
.details {
    padding: 4rem 5%;
}

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

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    transition: border-color 0.3s ease;
}

.glass-card:hover {
    border-color: var(--accent-color);
}

.icon {
    font-size: 2.5rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.glass-card:hover .icon {
    color: var(--accent-hover);
}

.card-text h3 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card-text p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Scarcity Section */
.scarcity {
    padding: 5rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.scarcity h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
}

.scarcity-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    padding: 2rem 3rem;
}

.scarcity-list li {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Action Buttons */
.action-buttons-section {
    padding: 3rem 5%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 20, 20, 0.85);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: var(--surface-color);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 2.5rem 2rem;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--accent-hover);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.1em;
}

/* Tabla de Medidas Custom */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.custom-table th, .custom-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.custom-table th {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.custom-table td {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.size-table-img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 1.5rem;
    display: block;
}

.size-note {
    font-size: 0.75rem;
    margin-top: 1.5rem;
    font-style: italic;
    color: var(--text-secondary);
    text-align: center;
}

/* Preguntas Frecuentes */
.faq-list {
    text-align: left;
}

.faq-list h4 {
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.faq-list h4:first-child {
    margin-top: 0;
}

.faq-list p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    padding-left: 1rem;
    border-left: 2px solid var(--border-color);
}

/* Efecto Halo para botón FAQ */
.glow-halo {
    box-shadow: 0 0 20px rgba(47, 248, 1, 0.25);
    border-color: rgba(47, 248, 1, 0.4);
}

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 5%;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-primary);
}

.social a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.social a:hover {
    color: var(--accent-hover);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        padding-top: 6rem;
        text-align: center;
        align-items: center;
        gap: 2rem;
    }

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

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-wrapper {
        order: -1;
        width: 100%;
        margin-bottom: 1rem;
    }

    .hero-image-wrapper img {
        max-width: 320px;
    }

    .custom-button {
        width: 100%;
    }

    .scarcity-list {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
        width: 100%;
        align-items: center;
    }

    .scarcity-list li {
        justify-content: center;
        width: 100%;
    }
}

/* Overrides para el tema claro (Día) */
body.light-theme .ribbon-1 {
    background: linear-gradient(90deg, transparent, rgba(18, 218, 255, 0.7), rgba(0, 124, 255, 0.4), transparent);
}
body.light-theme .ribbon-2 {
    background: linear-gradient(90deg, transparent, rgba(0, 50, 255, 0.3), rgba(18, 218, 255, 0.9), transparent);
}
body.light-theme .ribbon-3 {
    background: linear-gradient(90deg, transparent, rgba(18, 218, 255, 0.6), rgba(0, 50, 255, 0.2), transparent);
}
body.light-theme .ribbon-4 {
    background: linear-gradient(90deg, transparent, rgba(18, 218, 255, 0.5), rgba(0, 124, 255, 0.8), transparent);
}

body.light-theme .aurora-ribbon {
    mix-blend-mode: normal;
    opacity: 0.35;
    filter: blur(30px);
}

body.light-theme .hero-content h1,
body.light-theme .final-cta h2 {
    text-shadow: 0 0 10px rgba(0, 124, 255, 0.15);
}

body.light-theme .custom-button {
    background-color: #121414;
    color: #ffffff;
}

body.light-theme .custom-button:hover {
    background-color: #000000;
    border-bottom: 2px solid var(--accent-color);
}

body.light-theme .hero-image-wrapper img {
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1)) brightness(1) contrast(1);
}

body.light-theme .glow-halo {
    box-shadow: 0 0 20px rgba(0, 124, 255, 0.3);
    border-color: rgba(0, 124, 255, 0.5);
}

/* Estilos para el contador digital tipo reloj */
#promo-title {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.digital-number {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--accent-color);
    background-color: #0b0d0d;
    border: 2px solid rgba(255, 255, 255, 0.05);
    padding: 6px 20px;
    border-radius: 8px;
    text-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color);
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.95), 0 0 20px rgba(48, 222, 0, 0.15);
    letter-spacing: 0.05em;
    min-width: 100px;
    text-align: center;
    line-height: 1;
}

body.light-theme .digital-number {
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 196, 255, 0.25);
}

.digital-label {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.8vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    #promo-title {
        justify-content: center;
    }
}


