:root {
    --primary: #8b5cf6; /* Vibrant Purple */
    --primary-hover: #7c3aed;
    --secondary: #ec4899; /* Magenta */
    --accent: #f59e0b; /* Warm Gold */
    --bg-dark: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --glass-bg: rgba(30, 41, 59, 0.2); /* Más transparente para que brille el blur */
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Blobs for extra dynamism */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    /* Explicitly remove any background image to prevent 404s */
    background-image: none !important;
    background-color: rgba(15, 23, 42, 0.7); 
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 35s infinite ease-in-out alternate;
    will-change: transform;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 30%;
    right: 20%;
    opacity: 0.35; /* Un poco más visible */
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { transform: translate(30px, 30px) rotate(15deg) scale(1.05); }
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll at container level */
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.25rem;
    }
    .logo-text {
        font-size: 1.1rem;
    }
    .logo-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2.5rem;
    width: 100%;
    position: relative;
    z-index: 1002;
}

@media (max-width: 900px) {
    .header {
        padding: 0.5rem 0 1.5rem 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 36px; /* Balanceado */
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.logo-icon.small {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
    border-radius: 8px;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text-main); /* Asegurar color blanco premium */
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5); 
    animation: opacity-pulse 3s infinite ease-in-out;
    will-change: opacity;
}

@media (max-width: 400px) {
    .logo-text {
        font-size: 1rem;
    }
}

@media (max-width: 340px) {
    .logo-text {
        display: none; /* Ocultar texto en pantallas extremadamente pequeñas */
    }
}

@keyframes opacity-pulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}
textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    resize: none;
    outline: none;
    transition: all 0.3s;
}

textarea:focus {
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}



/* Navigation */
.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Inter', sans-serif;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    cursor: pointer;
    z-index: 1001;
    padding: 0.6rem;
    border-radius: 10px;
    transition: all 0.3s;
    align-items: center;
    justify-content: center;
}

.mobile-toggle.active svg {
    color: var(--secondary);
    transform: rotate(90deg);
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 6rem 0;
    width: 100%;
    min-height: 75vh;
}

.hero.centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 6rem 2rem 8rem;
    min-height: 50vh;
    position: relative;
}

.hero.centered .subtitle {
    margin: 1.5rem auto 0;
}

.hero-slider {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

.hero-slider .hero-content {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.hero-slider .hero-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.slider-dots {
    display: flex;
    gap: 0.8rem;
    margin-top: 2rem;
}

.dot {
    width: 24px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent);
    width: 40px;
    box-shadow: 0 0 10px var(--accent);
}

/* Scroll Indicator Helper */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    opacity: 0.7;
    animation: bounce 2.5s infinite ease-in-out;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    z-index: 10;
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.scroll-icon {
    color: var(--accent);
    filter: drop-shadow(0 0 5px var(--accent));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

.dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 2rem 0;
        gap: 2rem;
        text-align: center;
    }
    
    .slider-dots {
        justify-content: center;
    }
}

.hero.centered {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
}

.hero.centered .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero.centered .subtitle {
    margin: 1.5rem auto 0;
    max-width: 100%;
}

.title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Mejor contraste */
}

@media (max-width: 480px) {
    .title {
        font-size: clamp(1.75rem, 10vw, 2.5rem);
    }
}

.highlight {
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    font-weight: 800;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 480px;
}

.subtitle strong {
    color: var(--text-main);
}

/* Waitlist 3D Card */
.waitlist-wrapper {
    perspective: 1000px;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

@media (max-width: 500px) {
    .waitlist-wrapper {
        max-width: 100%;
        padding: 0 0.5rem;
    }
}

.card-3d-container {
    width: 100%;
    height: 420px;
    position: relative;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

@media (max-width: 400px) {
    .card-3d-container {
        height: 460px; /* Mas espacio para el contenido en pantallas muy angostas */
    }
    .card-face {
        padding: 1.5rem;
    }
}

.card-3d-container.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .glass-panel {
        padding: 1.5rem !important; /* Force smaller padding on mobile */
    }
}

.card-back {
    transform: rotateY(180deg);
}

/* Front Form */
.form-header {
    text-align: center;
}

.form-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.input-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.check-icon {
    position: absolute;
    right: 1rem;
    color: #10b981;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.check-icon.visible {
    opacity: 1;
    transform: scale(1);
}

input, textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus, textarea:focus {
    background: rgba(15, 23, 42, 0.9);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1), 0 8px 20px -8px rgba(0,0,0,0.5);
    transform: translateY(-1px);
}

input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
    color: var(--primary);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    width: 100%; /* Asegurar que ocupe todo el ancho del padre */
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--primary);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(0);
}

.arrow-icon {
    transition: transform 0.3s;
}

.submit-btn:hover .arrow-icon {
    transform: translateX(4px);
}

.privacy-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: auto;
}

/* Back Ticket */
.ticket-panel {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.ticket-panel::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+') repeat;
    opacity: 0.5;
    pointer-events: none;
    border-radius: 24px;
}

.ticket-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed rgba(255,255,255,0.2);
    margin-bottom: 1.5rem;
}

.ticket-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.ticket-body {
    flex: 1;
}

.ticket-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.ticket-email {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    word-break: break-all;
}

.ticket-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    background: rgba(0,0,0,0.2);
    padding: 1rem;
    border-radius: 12px;
}

@media (max-width: 360px) {
    .ticket-details {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-item .label {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.detail-item .value {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.value.success {
    color: #10b981;
}

.value.highlight {
    color: var(--accent);
}

.barcode {
    display: flex;
    height: 40px;
    gap: 4px;
    justify-content: center;
    opacity: 0.5;
}

.bar {
    background: white;
    height: 100%;
}

.bar-1 { width: 2px; }
.bar-2 { width: 4px; }
.bar-3 { width: 1px; }
.bar-4 { width: 6px; }
.bar-5 { width: 3px; }

.ticket-bottom {
    text-align: center;
    border-top: 1px dashed rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    position: relative;
    z-index: 2;
}

.ticket-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.reset-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.reset-btn:hover {
    background: rgba(255,255,255,0.1);
}

/* Modules Showcase */
.modules-showcase {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    content-visibility: auto;
    contain-intrinsic-size: 1500px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.modules-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.module-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2.5rem;
    border-radius: 24px;
    transition: transform 0.3s;
    overflow: hidden; /* Evitar desbordes en móvil */
}

@media (max-width: 768px) {
    .module-card {
        padding: 1.5rem;
        gap: 2rem;
    }
}

.module-card:hover {
    transform: translateY(-5px);
}

.module-card.reverse {
    /* For alternating layout on desktop */
}

.module-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.module-content p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

.module-content strong {
    color: var(--primary);
}

.module-image-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.6);
}

.module-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    pointer-events: none;
    z-index: 10;
}

.module-image {
    width: 100%;
    height: auto;
    max-height: 400px; /* Evitar imágenes masivas */
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.module-card:hover .module-image {
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .subtitle {
        margin: 0 auto;
    }
    
    .waitlist-wrapper {
        margin-top: 2rem;
    }

    .module-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 1.5rem;
    }

    .module-card.reverse .module-content {
        grid-row: 2; /* Ensure image is always on top on mobile */
    }

    /* Mobile Nav */
    .mobile-toggle {
        display: flex !important;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 75%; 
        max-width: 260px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 3rem 2rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2000;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        gap: 2.5rem;
        display: flex;
        transform: translateX(105%); /* Asegurar que esté fuera del viewport */
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
        pointer-events: all;
        box-shadow: -20px 0 60px rgba(0,0,0,0.8);
    }

    .nav-link {
        font-size: 1.75rem;
        font-family: 'Outfit', sans-serif;
    }
    
    .header .badge {
        display: none;
    }

    .mobile-toggle {
        margin-left: auto;
    }
}

/* Email Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

.email-client {
    width: 90%;
    max-width: 600px;
    background: #1e293b;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.1);
}

.modal-overlay.active .email-client {
    transform: translateY(0);
}

.email-client-header {
    background: #0f172a;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.window-controls {
    display: flex;
    gap: 8px;
}

.window-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #334155;
}
.window-controls span:nth-child(1) { background: #ef4444; }
.window-controls span:nth-child(2) { background: #f59e0b; }
.window-controls span:nth-child(3) { background: #10b981; }

.window-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.close-modal-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-modal-btn:hover {
    color: white;
}

.email-client-body {
    padding: 2rem;
}

.email-meta {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.email-sender {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.email-subject {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.email-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.email-content h2 {
    font-family: 'Outfit', sans-serif;
    margin-bottom: 1rem;
}

.email-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.email-ticket-box {
    background: rgba(15, 23, 42, 0.5);
    border: 1px dashed rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.email-ticket-box p {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}
.email-ticket-box p:last-child {
    margin-bottom: 0;
}

.highlight-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: bold;
    font-family: 'Outfit', sans-serif;
}

/* Footer Styles */
.footer {
    margin-top: 6rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer.mt-auto {
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

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

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Legal Page Styles */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content {
    padding: 3rem;
    border-radius: 24px;
    margin-top: 2rem;
}

.legal-text {
    color: var(--text-muted);
    line-height: 1.8;
}

.legal-text h2 {
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    margin-bottom: 1rem;
}

.legal-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

.legal-text strong {
    color: var(--primary);
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer-links {
        justify-content: flex-end;
    }
}



/* Contact Page Specifics */
.contact-section {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.contact-info-card, .contact-form-card {
    padding: 2.5rem;
    height: 100%;
}
.module-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.contact-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-channels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

a.channel-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem;
    margin: -0.5rem;
    border-radius: 18px;
}

a.channel-item:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(8px);
}

.channel-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

a.channel-item:hover .channel-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.channel-icon.primary { background: rgba(139, 92, 246, 0.1); color: var(--primary); }
.channel-icon.success { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.channel-icon.instagram { background: rgba(236, 72, 153, 0.1); color: #ec4899; }
.channel-icon.facebook { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.channel-icon.x-twitter { background: rgba(255, 255, 255, 0.05); color: #fff; border: 1px solid rgba(255, 255, 255, 0.1); }

.channel-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    transition: color 0.3s;
}

a.channel-item:hover .channel-label {
    color: var(--text-main);
}

.channel-value {
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0;
    color: var(--text-main);
}

@media (max-width: 900px) {
    .contact-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info-card, .contact-form-card {
        padding: 1.5rem;
    }
}

/* Legal Page Specifics */
.legal-simple-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 6rem;
}

.legal-card {
    padding: 2.5rem;
}

.legal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.legal-header.centered {
    justify-content: center;
}

.legal-icon {
    font-size: 1.5rem;
}

.legal-title {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: var(--text-main);
}

.legal-description {
    color: var(--text-muted);
    line-height: 1.6;
}

.legal-list {
    margin-top: 1rem;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-muted);
}

.legal-link-large {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.25rem;
    display: block;
    margin-top: 1rem;
    transition: all 0.3s;
}

.legal-link-large:hover {
    color: var(--secondary);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .legal-simple-container {
        gap: 1.5rem;
        margin-bottom: 4rem;
    }
    
    .legal-card {
        padding: 1.5rem;
    }

    .legal-title {
        font-size: 1.25rem;
    }
}
