:root {
    --purple: #a78bfa;
    --blue: #67e8f9;
    --red: #ef4444;
    --black: #0f172a;
    --bg-card: #1e293b;
    --border: #334155;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --font-main: 'Tajawal', sans-serif;
    --font-display: 'Tajawal', sans-serif;
    --font-code: 'Fira Code', monospace;
}

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

body {
    background-color: var(--black);
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.6;
}

.orbitron {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.01em;
}

.inter {
    font-family: var(--font-main);
}
.text-center { text-align: center; }
.highlight-text { color: var(--blue); }
.text-justify { text-align: justify; }

.about-text p, .timeline-content p, .pub-meta {
    text-align: justify;
}

/* Background Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.07;
}

/* Header */
.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.85); /* Slate 900 with opacity */
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.header-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 4px rgba(103, 232, 249, 0.4));
}

.center-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.center-menu a {
    color: var(--text);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s, text-shadow 0.3s;
}

.center-menu a:hover {
    color: var(--blue);
    text-shadow: 0 0 8px rgba(103, 232, 249, 0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-code);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.skool-btn-nav {
    background: transparent;
    border: 2px solid var(--purple);
    color: var(--purple);
}

.skool-btn-nav:hover {
    background: var(--purple);
    color: var(--black);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.primary-btn {
    background: var(--purple);
    color: var(--black);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.primary-btn:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.danger-btn {
    background: var(--red);
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.danger-btn.pulsing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

main{
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

}

/* Ancho de secciones de la web 85% */
section {
    width: 100%;
    max-width: 1400px;
    padding: 2rem 2rem;
    margin: 1.5rem auto 1.5rem auto;
    background: rgba(8, 12, 26, 0.60);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 24px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    text-align: center;
   }

.hero-content {
      
    padding: 2.5rem 2rem;
    
}

.hero-logo {
    width: 150px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px var(--purple));
    border-radius: 50%; /* Just to make sure it looks nice if it's square */
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(107, 70, 193, 0.8);
}

.hero .subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: #ccc;
    margin-bottom: 2rem;
}

.hero-sub-mobile {
    display: none;
}

.video-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 2.5rem auto;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.hero-video {
    width: 100%;
    display: block;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta {
    margin-top: 1.25rem;
}

.hero-trust {
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .hero-cta {
        margin-top: 1rem;
    }

    .hero-trust {
        margin-top: 0.9rem;
    }
}

/* Problem vs Solution */
.problem-section {
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.problem-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--red);
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.6);
}

.columns-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.column {
    background: rgba(10, 10, 10, 0.5);
    border-radius: 15px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.problem-col {
    border-top: 4px solid var(--red);
    box-shadow: inset 0 20px 20px -20px rgba(255, 107, 107, 0.3);
}

.solution-col {
    border-top: 4px solid var(--blue);
    box-shadow: inset 0 20px 20px -20px rgba(0, 212, 255, 0.3);
}

.column h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.column ul {
    list-style: none;
}

.column ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 20px;
}

.column ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text);
}

.problem-col ul li::before { color: var(--red); }
.solution-col ul li::before { color: var(--blue); }

/* Process Section */
.process-section {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto 1.5rem auto;
    background: rgba(8, 12, 26, 0.60);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 24px;
    position: relative;
    z-index: 3;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.card {
    background: rgba(15, 21, 45, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2.5rem;
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.14);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    border-color: var(--purple);
}

.card-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    color: var(--purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    border: 2px solid var(--purple);
}

.card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-placeholder {
    width: 100%;
    height: 160px;
    background: var(--black);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card h3 {
    font-size: 1.2rem;
    color: var(--text);
}

/* About Section */
.about-section {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto 1.5rem auto;
    background: rgba(8, 12, 26, 0.60);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 24px;
    position: relative;
    z-index: 3;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text-wrapper {
    display: flex;
    flex-direction: column;
}

.about-body-text {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-bottom: 0.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.25s ease;
}

.stat-item:hover {
    border-color: var(--purple);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.stat-number {
    font-family: var(--font-code);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 0.4rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.about-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-container {
    width: 75%;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border);
    box-shadow: 0 0 30px rgba(103, 232, 249, 0.15);
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

/* legacy – kept for other pages */
.about-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    background: rgba(10, 14, 30, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(148, 163, 184, 0.10);
}

.profile-photo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bg-card);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.about-text h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.testimonials {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2rem;
    border-left: 4px solid var(--purple);
    padding-left: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.tiktok-neon {
    background: transparent;
    border: 2px solid #00f2fe;
    color: #00f2fe;
}
.tiktok-neon:hover {
    background: #00f2fe;
    color: var(--black);
}

.youtube-neon {
    background: transparent;
    border: 2px solid #ff0000;
    color: #ff0000;
}
.youtube-neon:hover {
    background: #ff0000;
    color: var(--text);
}

/* Videos Section */
.community-section {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto 1.5rem auto;
    background: rgba(8, 12, 26, 0.60);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 24px;
    text-align: center;
    position: relative;
    z-index: 3;
}

.videos-section {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto 1.5rem auto;
    background: rgba(8, 12, 26, 0.60);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 24px;
    position: relative;
    z-index: 3;
}

.tiktok-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 320px));
    gap: 1.5rem;
    justify-items: center;
    justify-content: center;
}

.tiktok-placeholder {
    width: 325px;
    height: 580px;
    background: rgba(20, 20, 20, 0.5);
    border: 2px dashed rgba(107, 70, 193, 0.4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    font-family: 'Orbitron', sans-serif;
}

footer {
    padding: 2rem;
    background: rgba(2, 6, 23, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 10;
}

/* ===============================
   CV Page Specific Styles
   =============================== */

/* Timeline for Professional Experience */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: rgba(107, 70, 193, 0.4);
    top: 0;
    bottom: 0;
    left: 20px;
    margin-left: -1px;
}

.timeline-item {
    padding: 1rem 2rem 1rem 3rem;
    position: relative;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 14, 30, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.3s;
}

.timeline-item:hover {
    transform: translateX(10px);
    border-color: rgba(107, 70, 193, 0.5);
    box-shadow: 0 5px 15px rgba(107, 70, 193, 0.2);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: auto;
    background-color: var(--black);
    border: 4px solid var(--blue);
    top: 24px;
    border-radius: 50%;
    z-index: 1;
    left: 12px;
}

.timeline-date {
    font-weight: bold;
    color: var(--blue);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-code);
}

.timeline-content h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

/* Pubs List */
.pub-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
}

.pub-list li {
    background: rgba(10, 14, 30, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--purple);
    transition: all 0.3s;
}

.pub-list li:hover {
    border-left-color: var(--blue);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.15);
}

.pub-title {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.pub-meta {
    color: #ccc;
    font-size: 0.9rem;
}

/* Clients Grid */
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.client-logo {
    width: 150px;
    height: 80px;
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ccc;
    font-weight: bold;
    transition: all 0.3s;
}

.client-logo:hover {
    border-color: var(--purple);
    color: var(--purple);
    box-shadow: 0 0 10px rgba(107, 70, 193, 0.3);
}

/* Contact Details */
.contact-details {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-details a {
    color: var(--blue);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 1rem;
}

.contact-details a:hover {
    text-shadow: 0 0 10px var(--blue);
}

.services-list {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.service-tag {
    background: rgba(107, 70, 193, 0.1);
    color: var(--purple);
    border: 1px solid var(--purple);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* ===============================
   Waitlist Section
   =============================== */
.waitlist-section {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto 1.5rem auto;
    background: rgba(8, 12, 26, 0.60);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 24px;
    position: relative;
    z-index: 3;
    overflow: hidden;
}

.waitlist-title {
    color: var(--purple);
    font-size: clamp(2rem, 4vw, 3rem);
    text-shadow: 0 0 15px rgba(107, 70, 193, 0.8);
    margin-bottom: 0.5rem;
}

.waitlist-subtitle {
    color: #ccc;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.waitlist-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.waitlist-benefits {
    flex: 1 1 260px;
    min-width: 220px;
}

.waitlist-benefits ul {
    list-style: none;
}

.waitlist-benefits li {
    margin-bottom: 1.2rem;
    position: relative;
    padding-left: 25px;
    font-size: 1.1rem;
}

.waitlist-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: bold;
    text-shadow: 0 0 8px var(--blue);
}

.waitlist-form-wrapper {
    flex: 1 1 300px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.neon-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(107, 70, 193, 0.5);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.neon-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.neon-input option {
    background: var(--black);
    color: var(--text);
    padding: 0.5rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
}

.success-message {
    color: var(--blue);
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--blue);
    border-radius: 8px;
}

.error-message {
    color: var(--red);
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
}

.urgency-counter {
    text-align: center;
    margin-top: 1.5rem;
    color: #ffcc00;
    font-weight: 600;
}

#spotCounter {
    font-size: 1.5rem;
    color: var(--red);
    text-shadow: 0 0 10px var(--red);
}

.testimonial-mini {
    margin-top: 4rem;
    color: #aaa;
}

/* Testimonial Carousel in Waitlist */
.testimonial-carousel {
    position: relative;
    height: 80px;
    margin-top: 2rem;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    color: #aaa;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.testimonial-author {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--blue);
}

/* Footer Social Links */
.footer-link {
    color: #888;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: bold;
    font-family: var(--font-code);
    transition: all 0.3s;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-link i { font-size: 1.2rem; }
.footer-link.tiktok:hover { color: #00f2fe; text-shadow: 0 0 10px #00f2fe; }
.footer-link.youtube:hover { color: #ff0000; text-shadow: 0 0 10px #ff0000; }
.footer-link.spotify:hover { color: #1DB954; text-shadow: 0 0 10px #1DB954; }
.footer-link.instagram:hover { color: #E1306C; text-shadow: 0 0 10px #E1306C; }
.footer-link.linkedin:hover { color: #0077b5; text-shadow: 0 0 10px #0077b5; }
.footer-link.github:hover { color: #ffffff; text-shadow: 0 0 10px #ffffff; }
.footer-link.twitter:hover { color: #1DA1F2; text-shadow: 0 0 10px #1DA1F2; }
.footer-link.scholar:hover { color: #4285F4; text-shadow: 0 0 15px #4285F4; }
.footer-link.email:hover { color: var(--blue); text-shadow: 0 0 15px var(--blue); }

/* Logo Carousel */
.logo-carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: scroll-logos 25s linear infinite;
}

.logo-track:hover {
    animation-play-state: paused;
}

.carousel-logo-box {
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    min-width: 180px;
    text-align: center;
}

.carousel-logo-box img {
    max-height: 58px;
    max-width: 220px;
    object-fit: contain;
}

.carousel-logo-box img.logo-simarro {
    max-height: 72px;
    max-width: 320px;
}

.carousel-logo-box:hover {
    filter: grayscale(0%) opacity(1);
    transform: translateY(-5px);
    border-color: var(--blue);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
    color: var(--blue);
}

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1.5rem)); } 
}

/* Specific Helper Classes */
.mb-2 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }
.mt-4 { margin-top: 4rem; }

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-8px, -8px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 0;
    z-index: 99;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text);
    text-decoration: none;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu a:hover {
    background: rgba(167, 139, 250, 0.1);
    padding-left: 2.5rem;
}

.mobile-menu .btn {
    margin: 1rem 1rem;
    width: auto;
}

/* Scroll to Top */
.scroll-top-btn {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.92);
    color: var(--blue);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 22px rgba(2, 6, 23, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    z-index: 120;
}

.scroll-top-btn:hover {
    transform: translateY(0) scale(1.04);
    box-shadow: 0 10px 26px rgba(103, 232, 249, 0.28);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .center-menu {
        display: none !important;
    }
    
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
        padding: 1rem;
    }

    .header-container > .skool-btn-nav {
        display: none;
    }
    
    .skool-btn-nav {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        text-align: center;
    }

    .waitlist-container {
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
    }

    .columns-container {
        grid-template-columns: 1fr;
    }
    
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonials {
        border-left: none;
        border-top: 4px solid var(--purple);
        padding-left: 0;
        padding-top: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }

    .scroll-top-btn {
        right: 1rem;
        bottom: 1rem;
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    /* Waitlist fixes */
    .input-group {
        flex-direction: column;
        gap: 1rem;
    }
    .input-group input {
        width: 100%;
    }
}

/* =====================================================
   PERSONALIDAD VISUAL ULTRA-FINA POR PÁGINA
   ===================================================== */

/* --- Variables por tema --- */
body.theme-home {
    --page-primary: #67e8f9;
    --page-secondary: #c084fc;
    --page-glow: rgba(103, 232, 249, 0.22);
    --page-glow2: rgba(192, 132, 252, 0.18);
}

body.theme-cv {
    --page-primary: #7dd3fc;
    --page-secondary: #818cf8;
    --page-glow: rgba(125, 211, 252, 0.20);
    --page-glow2: rgba(129, 140, 248, 0.16);
}

body.theme-books {
    --page-primary: #f472b6;
    --page-secondary: #e879f9;
    --page-glow: rgba(244, 114, 182, 0.22);
    --page-glow2: rgba(232, 121, 249, 0.18);
}

body.theme-music {
    --page-primary: #4ade80;
    --page-secondary: #34d399;
    --page-glow: rgba(74, 222, 128, 0.22);
    --page-glow2: rgba(52, 211, 153, 0.16);
}

body.theme-legal {
    --page-primary: #93c5fd;
    --page-secondary: #a5b4fc;
    --page-glow: rgba(147, 197, 253, 0.18);
    --page-glow2: rgba(165, 180, 252, 0.14);
}

/* --- Fondo radial con personalidad --- */
body.theme-home {
    background: #0a0e1a;
}

body.theme-cv {
    background:
        radial-gradient(circle at 10% 10%, rgba(125, 211, 252, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 90% 8%, rgba(129, 140, 248, 0.10) 0%, transparent 25%),
        radial-gradient(circle at 55% 92%, rgba(99, 102, 241, 0.08) 0%, transparent 20%),
        linear-gradient(180deg, #0c1527 0%, #010511 100%);
}

body.theme-books {
    background:
        radial-gradient(circle at 18% 8%, rgba(244, 114, 182, 0.18) 0%, transparent 32%),
        radial-gradient(circle at 82% 10%, rgba(232, 121, 249, 0.14) 0%, transparent 26%),
        radial-gradient(circle at 50% 90%, rgba(244, 114, 182, 0.08) 0%, transparent 22%),
        linear-gradient(180deg, #130a17 0%, #070008 100%);
}

body.theme-music {
    background:
        radial-gradient(circle at 12% 10%, rgba(74, 222, 128, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 88% 8%, rgba(52, 211, 153, 0.12) 0%, transparent 26%),
        radial-gradient(circle at 50% 92%, rgba(16, 185, 129, 0.08) 0%, transparent 22%),
        linear-gradient(180deg, #071510 0%, #010805 100%);
}

body.theme-legal {
    background:
        radial-gradient(circle at 10% 10%, rgba(147, 197, 253, 0.12) 0%, transparent 28%),
        radial-gradient(circle at 88% 8%, rgba(165, 180, 252, 0.10) 0%, transparent 22%),
        linear-gradient(180deg, #0e1729 0%, #030a14 100%);
}

/* --- Tipografía y pesos por sección --- */
body[class*="theme-"] h1,
body[class*="theme-"] h2,
body[class*="theme-"] h3 {
    font-weight: 800;
    line-height: 1.2;
}

body[class*="theme-"] h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
body[class*="theme-"] h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
body[class*="theme-"] h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

/* --- Hero h1 con gradiente de página --- */
body[class*="theme-"] .hero h1 {
    background: linear-gradient(135deg, var(--page-primary) 0%, var(--page-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    letter-spacing: -0.02em;
}

body[class*="theme-"] .hero .subtitle {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--page-primary) !important;
}

/* --- Cabecera sticky con acento de color de página --- */
body[class*="theme-"] .sticky-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 4px 24px rgba(0,0,0,0.28), 0 1px 0 var(--page-glow);
}

body[class*="theme-"] .logo img {
    filter: drop-shadow(0 0 6px var(--page-primary));
}

/* --- Nav links activos con color de página --- */
body[class*="theme-"] .center-menu a:hover,
body[class*="theme-"] .center-menu a[style*="color"] {
    color: var(--page-primary) !important;
    text-shadow: 0 0 10px var(--page-glow) !important;
}

body[class*="theme-"] .center-menu a::after {
    background: linear-gradient(90deg, var(--page-primary), var(--page-secondary));
}

/* --- Botón CTA de navegación con color de página --- */
body[class*="theme-"] .skool-btn-nav {
    border-color: var(--page-primary);
    color: var(--page-primary);
    background: rgba(255,255,255,0.04);
}

body[class*="theme-"] .skool-btn-nav:hover {
    background: linear-gradient(135deg, var(--page-primary), var(--page-secondary));
    color: #020617;
    box-shadow: 0 0 22px var(--page-glow);
}

/* --- Botón primary con gradiente de página --- */
body[class*="theme-"] .primary-btn {
    background: linear-gradient(135deg, var(--page-primary) 0%, var(--page-secondary) 100%);
    color: #020617;
    box-shadow: 0 8px 28px var(--page-glow);
}

body[class*="theme-"] .primary-btn:hover {
    box-shadow: 0 12px 36px var(--page-glow2), 0 0 0 2px var(--page-primary);
}

/* --- Cards con glow de página en hover --- */
body[class*="theme-"] .card:hover {
    border-color: var(--page-primary);
    box-shadow: 0 14px 40px var(--page-glow), 0 0 0 1px var(--page-primary);
    transform: translateY(-6px) scale(1.012);
}

body[class*="theme-"] .card-number {
    background: linear-gradient(135deg, var(--page-primary), var(--page-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-color: var(--page-primary);
}

/* --- Líneas de acento y resaltes --- */
body[class*="theme-"] .highlight-text,
body[class*="theme-"] .pub-title,
body[class*="theme-"] .timeline-date {
    color: var(--page-primary) !important;
}

body[class*="theme-"] .pub-list li {
    border-left-color: var(--page-primary);
}

body[class*="theme-"] .pub-list li:hover {
    border-left-color: var(--page-secondary);
    box-shadow: 0 4px 20px var(--page-glow);
}

body[class*="theme-"] .testimonials {
    border-left-color: var(--page-primary);
}

/* --- Footer con glow de página --- */
body[class*="theme-"] footer {
    border-top: 1px solid var(--page-primary);
    box-shadow: 0 -1px 0 var(--page-glow);
}

/* =====================================================
   INICIO (theme-home): impacto visual máximo
   ===================================================== */
body.theme-home .hero-logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
    z-index: 5;
    animation: heroLogoPulse 2.5s linear infinite;
}

@keyframes heroLogoPulse {
    0%   { filter: drop-shadow(0 0 14px #67e8f9) drop-shadow(0 0 32px rgba(103, 232, 249, 0.55)); }
    25%  { filter: drop-shadow(0 0 14px #c084fc) drop-shadow(0 0 32px rgba(192, 132, 252, 0.55)); }
    50%  { filter: drop-shadow(0 0 14px #f472b6) drop-shadow(0 0 32px rgba(244, 114, 182, 0.55)); }
    75%  { filter: drop-shadow(0 0 14px #c084fc) drop-shadow(0 0 32px rgba(192, 132, 252, 0.55)); }
    100% { filter: drop-shadow(0 0 14px #67e8f9) drop-shadow(0 0 32px rgba(103, 232, 249, 0.55)); }
}

body.theme-home .video-container {
    border: 2px solid rgba(103, 232, 249, 0.5);
    box-shadow: 0 0 40px rgba(103, 232, 249, 0.18), 0 16px 40px rgba(0,0,0,0.5);
    border-radius: 18px;
}

body.theme-home .waitlist-title {
    background: linear-gradient(135deg, #c084fc 0%, #a78bfa 40%, #67e8f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.theme-home .waitlist-container {
    border: 1px solid rgba(103, 232, 249, 0.25);
    box-shadow: 0 0 60px rgba(103, 232, 249, 0.1), 0 20px 60px rgba(0,0,0,0.4);
    border-radius: 22px;
}

body.theme-home .waitlist-benefits li::before {
    color: #67e8f9;
    text-shadow: 0 0 8px rgba(103, 232, 249, 0.6);
}

body.theme-home .danger-btn {
    background: linear-gradient(135deg, #ef4444 0%, #a855f7 100%);
    box-shadow: 0 12px 36px rgba(168, 85, 247, 0.35);
}

body.theme-home .testimonial-author {
    color: #67e8f9;
}

/* =====================================================
   CV (theme-cv): sobrio, profesional, azul-hielo
   ===================================================== */

/* CV Hero */
.cv-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 !important;
}

.cv-hero-content {
    position: relative;
    z-index: 2;
    width: 700px;
    max-width: 90%;
    background: rgba(8, 12, 30, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    border: 1px solid rgba(125, 211, 252, 0.25);
    box-shadow: 0 0 40px rgba(125, 211, 252, 0.12), 0 20px 60px rgba(0,0,0,0.4);
    padding: 2.5rem 3rem 2.5rem 3rem;
    padding-top: 130px;
    text-align: center;
    overflow: visible;
    margin-top: 80px;
}

.cv-hero-photo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 210px;
    height: 210px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(125, 211, 252, 0.6);
    box-shadow: 0 0 0 6px rgba(125, 211, 252, 0.08), 0 0 30px rgba(125, 211, 252, 0.35);
    animation: cvPhotoPulse 4s ease-in-out infinite;
    z-index: 5;
}

@keyframes cvPhotoPulse {
    0%, 100% { box-shadow: 0 0 0 6px rgba(125, 211, 252, 0.08), 0 0 30px rgba(125, 211, 252, 0.35); border-color: rgba(125, 211, 252, 0.6); }
    50%       { box-shadow: 0 0 0 8px rgba(129, 140, 248, 0.1), 0 0 45px rgba(129, 140, 248, 0.4); border-color: rgba(129, 140, 248, 0.7); }
}

.cv-hero-name {
    font-size: clamp(1.8rem, 3.8vw, 3rem) !important;
    color: #f1f5f9;
    text-shadow: 0 0 20px rgba(125, 211, 252, 0.4), 0 0 40px rgba(125, 211, 252, 0.15);
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.cv-hero-role {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.cv-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.cv-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(125, 211, 252, 0.08);
    border: 1px solid rgba(125, 211, 252, 0.3);
    border-radius: 50px;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    color: #7dd3fc;
    font-family: var(--font-main);
}

.cv-hero-badge i { font-size: 0.75rem; }

.cv-hero-badge-gold {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.35);
    color: #fbbf24;
}

.cv-hero-social-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.cv-social-link {
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(125, 211, 252, 0.25);
    background: rgba(125, 211, 252, 0.06);
    color: #7dd3fc;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.cv-social-link:hover {
    background: rgba(125, 211, 252, 0.18);
    border-color: rgba(125, 211, 252, 0.6);
    box-shadow: 0 0 12px rgba(125, 211, 252, 0.3);
    color: #e0f2fe;
}

@media (max-width: 600px) {
    .cv-hero-content {
        padding-top: 110px;
        max-width: 94%;
    }
    .cv-hero-photo {
        width: 160px;
        height: 160px;
    }
}

body.theme-cv .card {
    border-radius: 14px;
    border-left: 3px solid var(--page-primary);
}

body.theme-cv .card:hover {
    border-left-width: 4px;
}

body.theme-cv .timeline::after {
    background: linear-gradient(180deg, transparent, rgba(125, 211, 252, 0.4), rgba(129, 140, 248, 0.5), transparent);
    width: 2px;
}

body.theme-cv .timeline-item {
    border-left: 3px solid transparent;
    background: rgba(15, 23, 42, 0.62);
    transition: border-color 0.2s, transform 0.25s;
}

body.theme-cv .timeline-item:hover {
    border-left-color: var(--page-primary);
    box-shadow: 0 8px 30px rgba(125, 211, 252, 0.18);
    transform: translateX(8px);
}

body.theme-cv .timeline-item::after {
    border-color: var(--page-primary);
    background-color: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 12px var(--page-primary);
}

body.theme-cv .logo-carousel-container {
    border-top: 1px solid rgba(125, 211, 252, 0.12);
    border-bottom: 1px solid rgba(125, 211, 252, 0.12);
    padding: 1.5rem 0;
}

body.theme-cv .carousel-logo-box:hover {
    border-color: var(--page-primary);
    color: var(--page-primary);
    box-shadow: 0 6px 24px rgba(125, 211, 252, 0.22);
}

body.theme-cv i.fa-trophy { color: #fbbf24 !important; filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5)); }
body.theme-cv i.fa-medal  { color: var(--page-primary) !important; }
body.theme-cv i.fa-rocket { color: var(--page-secondary) !important; }
body.theme-cv i.fa-users  { color: var(--page-primary) !important; }

/* =====================================================
   LIBROS (theme-books): editorial, magenta, artístico
   ===================================================== */
body.theme-books .book-card {
    border: 1px solid rgba(244, 114, 182, 0.45) !important;
    background: rgba(20, 10, 20, 0.68) !important;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(244, 114, 182, 0.14);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

body.theme-books .book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 52px rgba(244, 114, 182, 0.3), 0 0 0 1px rgba(244, 114, 182, 0.45) !important;
}

body.theme-books .book-cover {
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.6), 0 0 0 2px rgba(244, 114, 182, 0.2);
    transition: transform 0.3s;
}

body.theme-books .book-card:hover .book-cover {
    transform: scale(1.03);
}

body.theme-books .lang-button {
    border: 1px solid rgba(244, 114, 182, 0.5) !important;
    color: #f9a8d4 !important;
    background: rgba(244, 114, 182, 0.06) !important;
    border-radius: 10px;
    font-family: var(--font-code);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: all 0.25s;
}

body.theme-books .lang-button:hover {
    background: linear-gradient(135deg, #f472b6, #e879f9) !important;
    color: #0f0010 !important;
    border-color: #f472b6 !important;
    box-shadow: 0 0 20px rgba(244, 114, 182, 0.4) !important;
}

body.theme-books .process-section h2,
body.theme-books .videos-section h2 {
    background: linear-gradient(135deg, #f472b6, #e879f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.theme-books .tiktok-placeholder {
    border-color: rgba(244, 114, 182, 0.5);
    color: #f9a8d4;
}

body.theme-books .danger-btn {
    background: linear-gradient(135deg, #f472b6, #e879f9);
    box-shadow: 0 12px 36px rgba(244, 114, 182, 0.4);
}

/* =====================================================
   MÚSICA (theme-music): Spotify / neon verde
   ===================================================== */
body.theme-music .hero i.fa-spotify {
    color: #4ade80 !important;
    filter: drop-shadow(0 0 18px rgba(74, 222, 128, 0.7));
    animation: spotifyPulse 2.5s ease-in-out infinite;
}

@keyframes spotifyPulse {
    0%, 100% { filter: drop-shadow(0 0 18px rgba(74, 222, 128, 0.7)); }
    50%       { filter: drop-shadow(0 0 32px rgba(52, 211, 153, 0.9)); }
}

body.theme-music .process-section h2 {
    background: linear-gradient(135deg, #4ade80, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.theme-music iframe {
    border-radius: 18px;
    border: 1px solid rgba(74, 222, 128, 0.3);
    box-shadow: 0 0 50px rgba(74, 222, 128, 0.15), 0 20px 50px rgba(0,0,0,0.5);
}

body.theme-music .about-section {
    border-top: 1px solid rgba(74, 222, 128, 0.18);
    border-bottom: 1px solid rgba(74, 222, 128, 0.18);
}

body.theme-music .service-tag {
    border-color: rgba(74, 222, 128, 0.5) !important;
    color: #4ade80 !important;
    background: rgba(74, 222, 128, 0.08);
    border-radius: 20px;
    font-weight: 700;
}

body.theme-music .btn[href*="spotify"] {
    background: linear-gradient(135deg, #1DB954, #4ade80) !important;
    color: #fff !important;
    box-shadow: 0 8px 28px rgba(29, 185, 84, 0.4) !important;
}

/* =====================================================
   LEGAL (theme-legal): limpio, azul frío, legible
   ===================================================== */
body.theme-legal .legal-content {
    border: 1px solid rgba(147, 197, 253, 0.22) !important;
    background: rgba(8, 18, 42, 0.70) !important;
    border-radius: 20px;
    padding: 3rem;
}

body.theme-legal .legal-content h2.orbitron {
    background: linear-gradient(135deg, #93c5fd, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
    margin-top: 2.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(147, 197, 253, 0.15);
}

body.theme-legal .legal-content p,
body.theme-legal .legal-content li {
    color: #c7d8f0;
    line-height: 1.85;
    font-size: 1.02rem;
}

body.theme-legal .legal-content a {
    color: var(--page-primary) !important;
    text-decoration: underline;
    text-decoration-color: rgba(147, 197, 253, 0.35);
    text-underline-offset: 3px;
}

body.theme-legal .legal-content a:hover {
    text-decoration-color: var(--page-primary);
}

body.theme-legal .hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

/* =====================================================
   FORMAS Y BORDES GLOBALES ULTRA-FINOS
   ===================================================== */
.video-container,
.profile-photo,
.card-img,
.card-placeholder,
.neon-input,
.success-message,
.error-message {
    border-radius: 14px;
}

.tiktok-placeholder,
.carousel-logo-box {
    border-radius: 14px;
}

.waitlist-container {
    border-radius: 22px;
}

.legal-content {
    border-radius: 20px;
}

.card {
    border-radius: 18px;
}

.timeline-item {
    border-radius: 12px;
}

.pub-list li {
    border-radius: 10px;
}

/* Scrollbar elegante */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #020617; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #c084fc, #67e8f9);
    border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e879f9, #22d3ee);
}

/* =====================================
   Restyling inspirado en webbonita
   ===================================== */
:root {
    --primary: #c084fc;
    --secondary: #a78bfa;
    --accent: #67e8f9;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-card-soft: rgba(30, 41, 59, 0.72);
    --border-strong: rgba(148, 163, 184, 0.28);
    --text-soft: #cbd5e1;
    --gradient-main: linear-gradient(135deg, #c084fc 0%, #a78bfa 55%, #67e8f9 100%);
    --gradient-alt: linear-gradient(135deg, #67e8f9 0%, #a78bfa 60%, #fbbf24 100%);
    --shadow-soft: 0 10px 35px rgba(2, 6, 23, 0.35);
    --shadow-glow: 0 0 30px rgba(192, 132, 252, 0.22);
}

body {
    background:
        radial-gradient(circle at 20% 10%, rgba(192, 132, 252, 0.18) 0%, transparent 32%),
        radial-gradient(circle at 80% 0%, rgba(103, 232, 249, 0.12) 0%, transparent 25%),
        linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    color: var(--text);
    letter-spacing: 0.01em;
}

.sticky-header {
    background: rgba(10, 14, 39, 0.82);
    border-bottom: 1px solid var(--border-strong);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 25px rgba(2, 6, 23, 0.32);
}

.center-menu a {
    position: relative;
    padding: 0.35rem 0.2rem;
    font-weight: 700;
    color: var(--text-soft);
}

.center-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: var(--gradient-main);
    transition: transform 0.25s ease;
}

.center-menu a:hover {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(103, 232, 249, 0.35);
}

.center-menu a:hover::after {
    transform: scaleX(1);
}

.btn {
    border-radius: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    border: 1px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
}

.skool-btn-nav {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(192, 132, 252, 0.08);
}

.skool-btn-nav:hover {
    background: var(--gradient-main);
    color: #0f172a;
    box-shadow: var(--shadow-glow);
}

.primary-btn {
    background: var(--gradient-main);
    color: #0f172a;
    box-shadow: var(--shadow-soft);
}

.primary-btn:hover {
    box-shadow: var(--shadow-glow);
}

.danger-btn {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: #fff;
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.32);
}

.hero h1,
.waitlist-title {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero .subtitle,
.waitlist-subtitle,
.pub-meta {
    color: var(--text-soft);
}

.video-container,
.card,
.column,
.timeline-item,
.pub-list li,
.waitlist-container,
.carousel-logo-box,
.tiktok-placeholder,
.legal-content {
    background: rgba(10, 14, 30, 0.88);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.card:hover,
.timeline-item:hover,
.pub-list li:hover,
.carousel-logo-box:hover {
    border-color: rgba(192, 132, 252, 0.6);
    box-shadow: 0 12px 32px rgba(192, 132, 252, 0.18);
}

.card-number {
    background: var(--bg-dark);
    border-color: var(--secondary);
    color: var(--secondary);
}


.neon-input {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.neon-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.18);
}

/* Mantener el fondo animado en zonas destacadas */
[data-shape-mask] {
    position: relative;
    
}

.about-container[data-shape-mask],
.card[data-shape-mask],
.waitlist-container[data-shape-mask],
blockquote[data-shape-mask],
footer[data-shape-mask] {
    background: rgba(15, 23, 42, 0.44);
    border: 1px solid rgba(148, 163, 184, 0.24);
    backdrop-filter: blur(6px);
}

footer {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.98));
    border-top: 1px solid var(--border-strong);
}

@media (max-width: 768px) {
    .center-menu a {
        margin: 0;
        font-size: 0.92rem;
    }

    .btn {
        width: 100%;
    }

    .hero,
    .process-section,
    .videos-section,
    .about-section,
    .waitlist-section {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        order: -1;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .stat-number {
        font-size: 1.7rem;
    }

    .hero-sub-desktop {
        display: none;
    }

    .hero-sub-mobile {
        display: inline;
    }
}

/* Nuevo Estilo de Titulos Webbonita */
.section-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.section-number {
    font-family: var(--font-code, 'Fira Code', monospace);
    font-size: 1.5rem;
    color: var(--primary, #c084fc);
    font-weight: 700;
}

.section-title {
    font-family: var(--font-code, 'Fira Code', monospace);
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.title-bracket {
    color: var(--purple, #a78bfa);
}

body[class*="theme-"] .title-bracket {
    color: var(--page-primary);
}

.title-text {
    background: linear-gradient(135deg, #c084fc 0%, #a78bfa 50%, #67e8f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(135deg, #c084fc 0%, #a78bfa 50%, #67e8f9 100%);
    margin-inline-start: 2rem;
}

/* Degradado rojo para libros */
body.theme-books .title-text {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
body.theme-books .section-line {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #fbbf24 100%);
}

/* Degradado verde para música */
body.theme-music .title-text {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #86efac 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
body.theme-music .section-line {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #86efac 100%);
}

/* ===============================
   Welcome Overlay
   =============================== */
.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #030303;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(103, 232, 249, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 50%, rgba(167, 139, 250, 0.15) 0%, transparent 50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    box-sizing: border-box;
}

.welcome-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.welcome-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #fff;
    text-shadow: 0 0 15px rgba(103, 232, 249, 0.6);
    margin-bottom: 3rem;
    z-index: 2;
    text-transform: uppercase;
}

.welcome-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4rem;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.avatar-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 320px;
}

.avatar-desc {
    margin-top: 1.5rem;
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: 0 0 5px rgba(0,0,0,0.8);
}

.welcome-avatar {
    width: 100%;
    max-width: 250px;
    border-radius: 20px;
    box-shadow: 0 0 35px rgba(103, 232, 249, 0.6);
    border: 2px solid rgba(103, 232, 249, 0.8);
    filter: brightness(0.9) contrast(1.1);
    transition: filter 0.3s, box-shadow 0.3s, transform 0.3s;
}

.nyxia-container .welcome-avatar {
    box-shadow: 0 0 35px rgba(167, 139, 250, 0.6);
    border: 2px solid rgba(167, 139, 250, 0.8);
}

.welcome-avatar:hover {
    filter: brightness(1.1) contrast(1.1);
    transform: translateY(-5px);
    box-shadow: 0 0 50px rgba(103, 232, 249, 0.9);
}
.nyxia-container .welcome-avatar:hover {
    box-shadow: 0 0 50px rgba(167, 139, 250, 0.9);
}

.welcome-btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 800;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    border: 2px solid var(--purple);
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
    text-transform: uppercase;
    transition: all 0.3s;
    white-space: normal;
    text-align: center;
    max-width: 90%;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.welcome-btn:hover {
    background: var(--purple);
    color: #000;
    box-shadow: 0 0 30px var(--purple), inset 0 0 10px rgba(0,0,0,0.2);
    transform: scale(1.05);
}

/* Animación sutil de respiración o partículas en el overlay en CSS */
.welcome-overlay::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="4" height="4" xmlns="http://www.w3.org/2000/svg"><rect width="4" height="4" fill="none"/><rect x="1" y="1" width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 900px) {
    .welcome-overlay {
        padding: 1.5rem;
        overflow-y: auto;
        justify-content: flex-start;
    }
    
    .welcome-title {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .welcome-content {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }
    
    .avatar-container {
        max-width: 280px;
    }
    
    .welcome-btn {
        margin-bottom: 3rem;
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }
}

/* ===============================
   Gamified Parallax Container
   =============================== */
html {
    scroll-behavior: smooth;
}


.snap-section {
    position: relative;
    min-height: 100vh;
    padding-top: 80px; /* Offset for fixed header */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
    transition: filter 0.8s ease, background-image 0.8s ease, transform 0.25s ease-out;
    will-change: transform;
}

.narrative-module {
    --orb-shift: 0px;
}

.narrative-module::before {
    content: '';
    position: absolute;
    inset: -15%;
    background:
        radial-gradient(circle at 22% 38%, rgba(0, 255, 204, 0.2), transparent 48%),
        radial-gradient(circle at 78% 62%, rgba(255, 0, 60, 0.16), transparent 45%);
    z-index: 1;
    pointer-events: none;
    transform: translate3d(var(--orb-shift), 0, 0);
    transition: transform 0.2s linear;
}

.parallax-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
    width: 100%;
    will-change: transform;
}

.module-card {
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: transform 0.3s, box-shadow 0.3s;
    background: transparent;
    max-width: 800px;
    margin: 0 auto;
}

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

.module-video {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s;
}

/* ===============================
   Themes (Lid.IA vs Nyxia)
   =============================== */

/* THEME: Lid.IA */
body.theme-lidia {
    --page-primary: #ff7eb3;
    --page-secondary: #ff758c;
    background-color: #210924; /* Deep purple/pink */
}
body.theme-lidia .parallax-bg {
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255, 126, 179, 0.15) 0%, rgba(33, 9, 36, 1) 100%),
        url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23ff7eb3" opacity="0.3"/></svg>'); /* Estrellitas mágicas */
    background-size: cover, 50px 50px;
    background-attachment: fixed;
}
body.theme-lidia .module-card {
    border: 2px solid #ff7eb3;
    box-shadow: 0 0 25px rgba(255, 126, 179, 0.4);
    background: rgba(60, 20, 60, 0.6);
}
body.theme-lidia .card-number {
    background: #ff7eb3;
    color: #fff;
    border-color: #ff758c;
    box-shadow: 0 0 15px #ff7eb3;
}
body.theme-lidia .module-video {
    border: 2px solid #ff7eb3;
    box-shadow: 0 0 20px rgba(255, 126, 179, 0.5);
}
body.theme-lidia .page-title {
    color: #ff7eb3;
    text-shadow: 0 0 15px rgba(255, 126, 179, 0.8), 0 0 30px rgba(255, 126, 179, 0.4);
}

/* THEME: Nyxia */
body.theme-nyxia {
    --page-primary: #00ffcc;
    --page-secondary: #ff003c;
    background-color: #050505;
}
body.theme-nyxia .parallax-bg {
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(0, 255, 204, 0.1) 0%, rgba(5, 5, 5, 1) 80%),
        repeating-linear-gradient(0deg, rgba(0,255,204,0.03) 0px, rgba(0,255,204,0.03) 1px, transparent 1px, transparent 4px); /* Scanlines */
    background-size: cover, 100% 4px;
    background-attachment: fixed;
}
body.theme-nyxia .module-card {
    border: 2px solid #00ffcc;
    box-shadow: 0 0 25px rgba(0, 255, 204, 0.4);
    background: rgba(10, 15, 15, 0.8);
}
body.theme-nyxia .card-number {
    background: #00ffcc;
    color: #000;
    border-color: #ff003c;
    box-shadow: 0 0 15px #00ffcc;
}
body.theme-nyxia .module-video {
    border: 2px solid #00ffcc;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
}
body.theme-nyxia .page-title {
    color: #00ffcc;
    text-shadow: 0 0 15px rgba(0, 255, 204, 0.8), 2px 0px 5px rgba(255, 0, 60, 0.8); /* Glitch effect offset */
}


/* ===============================
   Gamified Module Split Layout
   =============================== */
.giant-bg-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40vw;
    line-height: 1;
    color: #fff;
    opacity: 0.03;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    will-change: transform, opacity;
}

.module-split {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2; /* Encima de fondos y números gigantes */
}

.split-left, .split-right {
    flex: 1;
}

.mini-video {
    max-height: 85vh;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    border: 2px solid var(--page-primary, var(--blue));
}

.fake-demo-box {
    background: rgba(20, 25, 35, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    backdrop-filter: blur(10px);
}

/* Specific Fake Demos */
.m2-slider {
    width: 100%;
    accent-color: var(--page-primary, var(--purple));
}
.color-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    cursor: pointer;
    transition: transform 0.2s;
}
.color-btn:hover { transform: scale(1.1); }
.m4-btn {
    background: transparent;
    color: var(--page-primary, #fff);
    border: 2px solid var(--page-primary, #fff);
    border-radius: 30px;
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}
.m4-btn:hover {
    background: var(--page-primary, #fff);
    color: #000;
}
.audio-visualizer {
    display: flex;
    gap: 5px;
    justify-content: center;
    height: 30px;
    align-items: flex-end;
}
.audio-visualizer span {
    display: inline-block;
    width: 8px;
    background: var(--page-primary, var(--blue));
    height: 5px;
    border-radius: 4px;
    transition: height 0.1s ease;
}
.visualizer-active span {
    animation: eq 0.8s infinite alternate ease-in-out;
}
.visualizer-active span:nth-child(2) { animation-delay: 0.2s; }
.visualizer-active span:nth-child(3) { animation-delay: 0.4s; }
.visualizer-active span:nth-child(4) { animation-delay: 0.1s; }
.visualizer-active span:nth-child(5) { animation-delay: 0.3s; }
@keyframes eq {
    0% { height: 5px; }
    100% { height: 30px; }
}

.workflow-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.step {
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    font-size: 0.8rem;
    transition: all 0.3s;
}
.step.active {
    background: var(--page-primary, var(--blue));
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 15px var(--page-primary, var(--blue));
}
.step-line {
    flex-grow: 1;
    height: 2px;
    background: rgba(255,255,255,0.2);
    margin: 0 0.5rem;
    position: relative;
}
.step-line::after {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0; width: 0%;
    background: var(--page-primary, var(--blue));
    transition: width 0.5s ease;
}
.step-line.filled::after { width: 100%; }

.tiktok-mockup {
    width: 200px;
    height: 350px;
    border: 4px solid #333;
    border-radius: 20px;
    background: #000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
.tt-header {
    padding: 10px;
    font-size: 0.8rem;
    font-weight: bold;
    border-bottom: 1px solid #333;
}
.tt-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #111;
    transition: background 0.3s;
}
.tiktok-published {
    background: var(--page-primary, var(--blue)) !important;
    color: #000;
}
.hearts-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.floating-heart {
    position: absolute;
    bottom: -20px;
    font-size: 1.5rem;
    color: red;
    animation: floatUp 2s forwards ease-in;
}
@keyframes floatUp {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-300px) scale(1.5) rotate(15deg); opacity: 0; }
}

@media (max-width: 900px) {
    .module-split {
        flex-direction: column;
        gap: 2rem;
    }
    .giant-bg-number { font-size: 60vw; }
    .split-left { order: 2; }
    .split-right { order: 1; }
    .mini-video { max-height: 40vh; }
}

/* ===============================
   Scroll global normal + módulos en horizontal
   =============================== */
html, body {
    height: auto;
}

main {
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

/* Parallax Zigzag Backgrounds */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: var(--black);
}

.parallax-bg::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    left: -25%;
    top: -25%;
    transform-origin: center;
    opacity: 0.9;
}

/* Adjust gradients to overlap and create the zigzag */
.bg-intro { background: linear-gradient(135deg, var(--black), #1a2035); }

.bg-m1::after {
    background: linear-gradient(170deg, #1e1b4b 20%, #2e1065);
    transform: skewY(-8deg);
}

.bg-m2::after {
    background: linear-gradient(190deg, #0f172a 20%, #1e293b);
    transform: skewY(8deg);
}

.bg-m3::after {
    background: linear-gradient(170deg, #312e81 20%, #4338ca);
    transform: skewY(-8deg);
}

.bg-m4::after {
    background: linear-gradient(190deg, #082f49 20%, #0e7490);
    transform: skewY(8deg);
}

.bg-m5::after {
    background: linear-gradient(170deg, #3b0764 20%, #6b21a8);
    transform: skewY(-8deg);
}

.bg-m6::after {
    background: linear-gradient(190deg, #020617 20%, #0f172a);
    transform: skewY(8deg);
}

.bg-community {
    background: linear-gradient(to top, rgba(167,139,250,0.2) 0%, transparent 100%), var(--black);
}

/* Make sure module-split respects the layout properly */
.parallax-content.module-split {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    z-index: 1;
}

@media (max-width: 900px) {
    .parallax-content.module-split {
        flex-direction: column;
        gap: 2rem;
        padding-top: 5rem;
    }
}

/* ===============================
   Course Route (Vertical Modules)
   =============================== */
.course-route {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.course-module {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: rgba(10, 14, 30, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    padding: 1.75rem;
    transition: border-color 0.25s ease, opacity 0.6s ease, transform 0.6s ease;
    opacity: 0;
    transform: translateY(40px);
}

.course-module.visible {
    opacity: 1;
    transform: translateY(0);
}

.course-module:hover {
    border-color: rgba(103, 232, 249, 0.35);
}

.course-module--final {
    border-color: rgba(167, 139, 250, 0.3);
}

.course-module--final:hover {
    border-color: rgba(167, 139, 250, 0.55);
}

.course-module-left {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.course-module-num {
    font-family: var(--font-code);
    font-size: 2rem;
    font-weight: 700;
    color: var(--page-primary, var(--blue));
    line-height: 1;
    flex-shrink: 0;
    min-width: 2.5rem;
}

.course-module-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.course-module-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.course-module-video {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.course-module-video video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid rgba(103, 232, 249, 0.25);
    display: block;
}

/* ===============================
   Inside Cards (Qué pasa dentro)
   =============================== */
.inside-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .inside-grid {
        grid-template-columns: 1fr;
    }
}

.inside-card {
    background: rgba(10, 14, 30, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    transition: border-color 0.25s ease;
}

.inside-card:hover {
    border-color: rgba(103, 232, 249, 0.35);
}

.inside-card i {
    font-size: 2rem;
    color: var(--page-primary, var(--blue));
    margin-bottom: 1rem;
    display: block;
}

.inside-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.inside-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

.inside-grid-wide {
    max-width: 900px;
    grid-template-columns: repeat(2, 1fr);
}

/* Para quién */
.for-who-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.for-who-col {
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
}

.for-who-yes {
    background: rgba(103, 232, 249, 0.05);
    border: 1px solid rgba(103, 232, 249, 0.25);
}

.for-who-no {
    background: rgba(148, 163, 184, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.for-who-title {
    font-size: 0.9rem !important;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.for-who-yes .for-who-title { color: var(--blue); }
.for-who-no .for-who-title { color: var(--text-muted); }

.for-who-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.for-who-list li {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0.6rem;
    padding-left: 1.2rem;
    position: relative;
}

.for-who-yes .for-who-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: bold;
}

.for-who-no .for-who-list li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

.tech-note {
    display: block;
    font-size: 0.76rem;
    color: rgba(148, 163, 184, 0.55);
    margin-top: 0.4rem;
    font-style: italic;
}

@media (max-width: 600px) {
    .for-who-block {
        grid-template-columns: 1fr;
    }
    .inside-grid-wide {
        grid-template-columns: 1fr;
    }
}


/* ===============================
   Standalone video sizing
   =============================== */
#comunidad .showcase-video-container,
#biblioteca .showcase-video-container {
    max-width: min(1200px, 100%) !important;
    width: 100%;
    margin-inline: auto !important;
}

#biblioteca .showcase-wide-card {
    max-width: min(1240px, 100%) !important;
    width: 100%;
    padding: clamp(1.15rem, 2.2vw, 2rem) clamp(1rem, 2.4vw, 2.5rem) !important;
}

#comunidad .showcase-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: clamp(320px, 52vh, 620px);
    object-fit: cover;
}

#biblioteca .showcase-video-container {
    max-width: 480px !important;
}

#biblioteca .showcase-video {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* LIDERA keeps two cards but with larger video area */
#lidera-exclusive .lidera-grid {
    grid-template-columns: repeat(2, minmax(320px, 1fr)) !important;
    max-width: 1140px !important;
}

#lidera-exclusive .lidera-video {
    width: 100% !important;
    max-height: 320px !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 900px) {
    #biblioteca .showcase-wide-card {
        padding: 1rem 0.9rem !important;
    }

    #comunidad .showcase-video,
    #biblioteca .showcase-video {
        min-height: clamp(210px, 38vh, 340px);
    }

    #lidera-exclusive .lidera-grid {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
    }

    #lidera-exclusive .lidera-video {
        max-height: 260px !important;
    }
}

/* Waitlist: equal column widths for benefits and form */
.waitlist-container {
    max-width: min(1240px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 2rem;
}

.waitlist-benefits,
.waitlist-form-wrapper {
    min-width: 0;
    width: 100%;
}

@media (max-width: 900px) {
    .waitlist-container {
        grid-template-columns: 1fr;
    }
}

/* CV page: executive summary + collapsible full CV */
.cv-summary-section .cv-summary-intro {
    color: #cbd5e1;
    max-width: 820px;
    margin: 0 auto 1.5rem auto;
    text-align: center;
}

.cv-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.cv-summary-cta-wrap {
    margin-top: 1.2rem;
    text-align: center;
}

.cv-summary-cta {
    background: var(--page-primary);
    color: #081221;
    border: 1px solid rgba(125, 211, 252, 0.55);
}

.cv-summary-card {
    padding: 1.25rem;
    border-color: rgba(125, 211, 252, 0.22);
}

.cv-summary-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(125, 211, 252, 0.35);
    margin-bottom: 0.75rem;
}

.cv-summary-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.65;
}

.cv-accordion {
    margin-top: 1.25rem;
}

.cv-accordion-stack {
    margin-top: 1.25rem;
}

.cv-panel-content {
    margin-top: 1rem;
    padding: 0.2rem 0.1rem;
}

.cv-entry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.cv-entry-card {
    padding: 1rem 1.1rem;
    border-color: rgba(125, 211, 252, 0.2);
}

.cv-entry-card p {
    color: #cbd5e1;
    line-height: 1.6;
}

.cv-data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
}

.cv-data-table thead tr {
    border-bottom: 1px solid rgba(125, 211, 252, 0.28);
}

.cv-data-table th {
    font-family: var(--font-code);
    color: #a5b4fc;
    text-align: left;
    padding: 0.45rem 0.4rem;
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    font-weight: 500;
}

.cv-data-table td {
    color: #cbd5e1;
    padding: 0.52rem 0.4rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.45);
    vertical-align: top;
}

.cv-table-note {
    color: #94a3b8;
    font-size: 0.84rem;
    margin-bottom: 1rem;
}

.cv-long-list,
.cv-mini-list {
    list-style: none;
    padding: 0;
    margin: 0.55rem 0 0 0;
}

.cv-long-list li,
.cv-mini-list li {
    position: relative;
    color: #cbd5e1;
    line-height: 1.62;
    padding-left: 1rem;
    margin-bottom: 0.45rem;
}

.cv-long-list li::before,
.cv-mini-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: #7dd3fc;
}

.cv-services-intro {
    color: #cbd5e1;
    max-width: 860px;
    margin: 0 auto 1.4rem auto;
    text-align: center;
}

.cv-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.cv-service-card {
    padding: 1.2rem;
    border-color: rgba(125, 211, 252, 0.22);
}

.cv-service-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(125, 211, 252, 0.32);
    margin-bottom: 0.75rem;
}

.cv-service-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cv-service-card .cv-service-meta {
    margin-top: 0.7rem;
    color: #94a3b8;
    font-size: 0.88rem;
}

.cv-proof-row {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
}

.cv-proof-pill {
    border: 1px solid rgba(125, 211, 252, 0.35);
    background: rgba(7, 12, 28, 0.55);
    color: #dbeafe;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.86rem;
}

.cv-topic-tags {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}

.cv-topic-tag {
    background: rgba(125, 211, 252, 0.09);
    border: 1px solid rgba(125, 211, 252, 0.28);
    color: #bae6fd;
    border-radius: 999px;
    padding: 0.33rem 0.75rem;
    font-size: 0.83rem;
}

.cv-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.cv-detail-card {
    padding: 1.15rem;
    border-color: rgba(125, 211, 252, 0.2);
}

.cv-detail-card p {
    color: #cbd5e1;
    font-size: 0.94rem;
    line-height: 1.6;
}

.cv-detail-meta {
    margin-bottom: 0.55rem;
    color: #93c5fd !important;
    font-size: 0.85rem !important;
}

.cv-detail-timeline .timeline-content p {
    color: #cbd5e1;
}

.cv-accordion-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border: 2px solid rgba(125, 211, 252, 0.42);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(11, 18, 38, 0.84), rgba(8, 14, 30, 0.72));
    box-shadow: 0 8px 22px rgba(2, 6, 23, 0.35);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    position: relative;
}

.cv-accordion-summary::-webkit-details-marker {
    display: none;
}

.cv-accordion-title {
    font-family: var(--font-code);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--page-primary);
    font-weight: 700;
}

.cv-accordion-hint {
    font-size: 0.86rem;
    color: #cbd5e1;
    border: 1px solid rgba(125, 211, 252, 0.4);
    background: rgba(14, 24, 48, 0.6);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    padding-right: 2rem;
}

.cv-accordion-hint strong {
    color: #dbeafe;
    font-weight: 700;
}

.cv-accordion-content {
    margin-top: 1rem;
}

.cv-accordion-summary::after {
    content: 'v';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #dbeafe;
    font-size: 1rem;
    font-weight: 800;
    transition: transform 0.2s ease;
    pointer-events: none;
}

.cv-accordion-summary:hover {
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, 0.72);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(125, 211, 252, 0.22);
}

.cv-accordion-summary:focus-visible {
    outline: 2px solid rgba(125, 211, 252, 0.85);
    outline-offset: 2px;
}

.cv-accordion[open] > .cv-accordion-summary {
    border-color: rgba(125, 211, 252, 0.55);
    box-shadow: 0 0 20px rgba(125, 211, 252, 0.12);
}

.cv-accordion[open] > .cv-accordion-summary::after {
    transform: translateY(-50%) rotate(180deg);
}

@media (max-width: 900px) {
    .cv-summary-grid {
        grid-template-columns: 1fr;
    }

    .cv-summary-image {
        height: 170px;
    }

    .cv-entry-grid {
        grid-template-columns: 1fr;
    }

    .cv-services-grid {
        grid-template-columns: 1fr;
    }

    .cv-service-image {
        height: 170px;
    }

    .cv-detail-grid {
        grid-template-columns: 1fr;
    }

    .cv-accordion-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .cv-accordion-hint {
        font-size: 0.85rem;
        padding-right: 0.7rem;
    }

    .cv-accordion-summary::after {
        right: 0.9rem;
        top: 1.15rem;
        transform: none;
    }

    .cv-accordion[open] > .cv-accordion-summary::after {
        transform: rotate(180deg);
    }
}

/* ===============================
   Hero imagen combo (ambas chicas en una sola imagen)
   =============================== */

.hero-combo {
    position: relative;
    overflow: hidden;
    min-height: unset !important;
    display: block !important;
    padding: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-bottom: 3rem !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.hero-combo-img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.hero-combo-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 700px;
    max-width: 60%;
    background: rgba(8, 6, 24, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 1.5rem;
    overflow: visible;
    padding-top: 90px;
    animation: rgbBorder 3s linear infinite;
}

@keyframes rgbBorder {
    0%   { box-shadow: 0 0 0 2px #67e8f9, 0 0 28px rgba(103, 232, 249, 0.3); }
    33%  { box-shadow: 0 0 0 2px #c084fc, 0 0 28px rgba(192, 132, 252, 0.3); }
    66%  { box-shadow: 0 0 0 2px #f472b6, 0 0 28px rgba(244, 114, 182, 0.3); }
    100% { box-shadow: 0 0 0 2px #67e8f9, 0 0 28px rgba(103, 232, 249, 0.3); }
}

/* Neon arrow */
.neon-arrow {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    color: #67e8f9;
    font-size: 1.6rem;
    filter: drop-shadow(0 0 6px #67e8f9) drop-shadow(0 0 14px rgba(103, 232, 249, 0.55));
    animation: neonArrowBounce 1.4s ease-in-out infinite;
    cursor: default;
}

.neon-arrow .fa-chevron-down:last-child {
    opacity: 0.45;
    margin-top: -0.55rem;
}

@keyframes neonArrowBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(9px); }
}

/* Hero features bar */
.hero-features-bar {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0;
    z-index: 3;
    background: rgba(8, 6, 24, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(103, 232, 249, 0.2);
    border-radius: 1rem;
    padding: 0.75rem 1rem;
}

.hero-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    color: #f1f5f9;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.3;
    font-family: var(--font-main);
    width: 130px;
    padding: 0 0.5rem;
    border-right: 1px solid rgba(103, 232, 249, 0.15);
    white-space: normal;
}

.hero-feature-item:last-child {
    border-right: none;
}

.hero-feature-item .hero-feature-icon {
    width: 2.8rem;
    height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(103, 232, 249, 0.12);
    border: 1px solid rgba(103, 232, 249, 0.4);
    font-size: 1.2rem;
    color: #67e8f9;
    box-shadow: 0 0 10px rgba(103, 232, 249, 0.3), inset 0 0 8px rgba(103, 232, 249, 0.05);
}

/* Hero subtitle */
.hero-subtitle-main {
    font-weight: 500;
    font-size: 1.05rem;
    color: #cbd5e1;
    max-width: 480px;
    margin: 0.9rem auto 0 auto;
    line-height: 1.6;
}

.hero-subtitle-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0.75rem auto 0 auto;
    background: rgba(103, 232, 249, 0.1);
    border: 1px solid rgba(103, 232, 249, 0.35);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #67e8f9;
    text-shadow: 0 0 8px rgba(103, 232, 249, 0.4);
}

.hero-subtitle-badge i {
    font-size: 0.75rem;
    opacity: 0.85;
}

/* Hero trust badges */
.hero-trust {
    display: inline-flex !important;
    align-items: center;
    gap: 0.55rem;
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 0.45rem 1.1rem;
    font-size: 0.82rem !important;
    color: #cbd5e1;
    margin-top: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-trust i {
    color: #67e8f9;
}

@media (max-width: 860px) {
    .hero-combo-img { display: none; }
    .hero-combo {
        min-height: 100vh !important;
        display: flex !important;
        padding-top: 80px !important;
    }
    .hero-combo-content {
        position: relative;
        top: unset;
        left: unset;
        transform: none;
        max-width: 90%;
        margin-top: 70px;
    }
    body.theme-home .hero-logo {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0 !important;
    }
    .hero-features-bar {
        display: none;
    }
}

/* ===============================
   Scroll Narrative — avatares sticky + módulos
   =============================== */

.scroll-narrative-section { overflow: visible; }

.narrative-track {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.narrative-track {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.narrative-col-side {
    flex: 0 0 20%;
    position: sticky;
    top: 0;
    height: 100vh;
    align-self: flex-start;
    overflow: visible;
    pointer-events: none;
}

.narrative-avatar-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: visible;
}

.narrative-col-left .nav-img,
.narrative-col-left .nav-img-intro {
    bottom: 0;
    left: auto;
    right: 0;
    height: 70vh;
    width: auto;
    max-width: none;
}

.narrative-col-right .nav-img-r,
.narrative-col-right .nav-img-r-intro {
    bottom: 0;
    left: 0;
    height: 70vh;
    width: auto;
    max-width: none;
}

.nav-img,
.nav-img-r,
.nav-img-intro,
.nav-img-r-intro {
    position: absolute;
    bottom: 0;
    height: 70vh;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: bottom;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav-img.active,
.nav-img-r.active,
.nav-img-intro.active,
.nav-img-r-intro.active { opacity: 1; }

.narrative-label {
    display: none;
    font-family: var(--font-code);
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.narrative-panels {
    flex: 1;
    min-width: 0;
}

.narrative-panel {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 2.5rem;
    border-bottom: 1px solid rgba(148,163,184,0.07);
}

.narrative-panel:last-child { border-bottom: none; }

.panel-mobile-img { display: none; }

.narrative-mod-num {
    display: block;
    font-family: var(--font-code);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255,255,255,0.18);
    line-height: 1;
    margin-bottom: 0.4rem;
    user-select: none;
}

.narrative-mod-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.narrative-mod-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 1.25rem;
}

.narrative-cta {
    align-self: flex-start;
    background: rgba(167,139,250,0.1);
    color: var(--purple);
    border: 1px solid rgba(167,139,250,0.35);
    padding: 0.65rem 1.4rem;
    font-size: 0.88rem;
    transition: background 0.25s, color 0.25s;
}

.narrative-cta:hover {
    background: var(--purple);
    color: var(--black);
}

.narrative-video-wrap {
    width: 100%;
    max-width: 680px;
    margin-top: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(103,232,249,0.25);
    box-shadow: 0 0 20px rgba(103,232,249,0.08);
}

.narrative-video-wrap .module-video {
    width: 100%;
    display: block;
    border-radius: 12px;
}

@media (max-width: 900px) {
    .narrative-video-wrap { max-width: 100%; }
}

@media (max-width: 1200px) {
    .narrative-col-side { display: none; }

    .panel-mobile-img {
        display: block;
        width: 55%;
        margin: 0 auto 1.5rem;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(167,139,250,0.2);
    }

    .panel-mobile-img img { width: 100%; height: auto; display: block; }

    .narrative-panel {
        min-height: auto;
        padding: 2rem 1rem;
        text-align: center;
        align-items: center;
    }

    .narrative-mod-num { font-size: 2.5rem; }
    .narrative-cta { align-self: center; }
    .narrative-mod-desc { max-width: 100%; }
}

/* =============================================
   PAGE LOADER
   ============================================= */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
}

.loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #a78bfa;
    border-right-color: #67e8f9;
    animation: loader-spin 1s linear infinite;
}

.loader-ring::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-bottom-color: #a78bfa;
    animation: loader-spin 0.7s linear infinite reverse;
}

.loader-logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, #a78bfa, #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes loader-spin {
    to { transform: rotate(360deg); }
}

/* =============================================
   MOBILE PERFORMANCE: desactiva canvas en móvil
   ============================================= */
@media (max-width: 768px) {
    #particleCanvas {
        display: none;
    }

    /* Fondo sólido cuando no hay canvas */
    body.theme-home {
        background-color: #0f172a;
    }
}

/* =============================================
   RECURSOS EXCLUSIVOS
   ============================================= */
.recursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.recursos-card {
    border-radius: 16px;
    padding: 2rem;
}

.recursos-crea {
    background: rgba(100, 200, 255, 0.05);
    border: 1px solid rgba(100, 200, 255, 0.3);
}

.recursos-lidera {
    background: rgba(138, 43, 226, 0.05);
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.recursos-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1px solid;
    margin-bottom: 1rem;
}

.recursos-items {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.recursos-items div {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #ccc;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .recursos-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   NAV DROPDOWN (desktop)
   ============================================= */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    white-space: nowrap;
}

.nav-caret {
    font-size: 0.7em;
    transition: transform 0.2s ease;
    display: inline-block;
}

.nav-dropdown:hover .nav-caret,
.mobile-nav-trigger[aria-expanded="true"] .nav-caret {
    transform: rotate(-180deg);
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: rgba(15, 23, 42, 0.97);
    border: 1px solid rgba(167, 139, 250, 0.35);
    border-radius: 10px;
    padding: 0.5rem 0;
    min-width: 190px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(167, 139, 250, 0.1);
    z-index: 200;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-dropdown-panel::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: rgba(15, 23, 42, 0.97);
    border-left: 1px solid rgba(167, 139, 250, 0.35);
    border-top: 1px solid rgba(167, 139, 250, 0.35);
    rotate: 45deg;
}

.nav-dropdown:hover .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-panel a {
    display: block;
    padding: 0.5rem 1.1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s, background 0.15s, padding-left 0.15s;
    white-space: nowrap;
}

.nav-dropdown-panel a:hover {
    color: var(--purple);
    background: rgba(167, 139, 250, 0.08);
    padding-left: 1.4rem;
}

/* =============================================
   MOBILE NAV ACCORDION
   ============================================= */
.mobile-nav-group {
    width: 100%;
}

.mobile-nav-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    text-align: left;
    gap: 0.5rem;
}

.mobile-nav-trigger:hover {
    color: var(--purple);
}

.mobile-nav-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(167, 139, 250, 0.04);
    border-left: 2px solid rgba(167, 139, 250, 0.3);
    margin: 0 0.8rem 0 1.2rem;
    border-radius: 0 0 6px 6px;
}

.mobile-nav-submenu.open {
    max-height: 320px;
}

.mobile-nav-submenu a {
    display: block;
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.mobile-nav-submenu a:hover,
.mobile-nav-submenu a:active {
    color: var(--purple);
}
