:root {/*
  
    --bg-dark: #0f172a;         
    --bg-light: #1e293b;      
    --primary: #f59e0b;         
    --primary-vibrant: #fbbf24; 
    --secondary: #38bdf8;     
    --accent: #ec4899;          
    --success: #34d399;        
    --text-light: #f8fafc;      
    --text-medium: #94a3b8;     
    --text-vibrant: #e2e8f0;    
    --whatsapp: #25D366;        
    --whatsapp-hover: #5eff8d;  */
        --bg-dark: #0a192f;          /* Fondo oscuro profesional y confiable */
    --bg-light: #112240;        /* Fondo secundario amigable y moderno */
    --primary: #ff8c00;         /* Color principal vibrante y cálido */
    --primary-vibrant: #ffa726; /* Versión más brillante del color principal */
    --secondary: #00bcd4;       /* Color secundario fresco y confiable */
    --accent: #ff4081;          /* Color de acento amigable y atractivo */
    --success: #4caf50;         /* Verde para transmitir éxito y confianza */
    --text-light: #e6f1ff;      /* Texto claro para buena legibilidad */
    --text-medium: #a8b2d1;     /* Texto secundario amigable y profesional */
    --text-vibrant: #ffffff;    /* Texto vibrante para destacar */
    --whatsapp: #25D366;        /* Verde WhatsApp confiable */
    --whatsapp-hover: #32e676;  /* Verde más brillante para hover */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
 /*   background-color: var(--bg-dark);
    color: var(--text-light);*/
    line-height: 1.6;
    padding-top: 70px; 
    background-color: var(--bg-dark);
    color: var(--text-light);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
    height: 70px;
    display: flex;
    align-items: center;
}

.main-header.scrolled {
  /*  background-color: rgba(10, 15, 25, 0.8);*/
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 0.5rem 2rem;
   /* box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
    background-color: rgba(15, 23, 42, 0.95);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.2rem;
}

.logo img {
    height: 45px;
    margin-right: 0.75rem;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(-10deg);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
 /*   background-color: var(--primary);*/
    transition: width 0.3s ease;
      background: linear-gradient(to right, var(--primary), var(--accent));
}



.nav-links a:hover {
   /* color: var(--primary);*/
    color: var(--secondary);
}
.nav-links a:hover::after {
    width: 100%;
}


.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 1001; /* Above nav links */
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 2rem;
}

section {
    padding: 6rem 2rem;
}

.hero {
  /*  background-image: linear-gradient(rgba(10, 15, 25, 0.85), rgba(10, 15, 25, 0.95)), url('hero-background.png');*/
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(59, 130, 246, 0.7) 100%), url('hero-background.png');

    background-size: cover;
    background-position: center;
    min-height: calc(100vh - 70px); 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}
*/
.hero-content {
    max-width: 800px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin: 1.5rem 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
   /* background-color: var(--primary);*/
    color: var(--bg-dark);
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
   /* box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);*/
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-vibrant) 100%);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.cta-button:hover {
   /* transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);*/
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.6);
}



.cta-subtext {
    display: block;
    margin-top: 1rem;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.problem {
    background-color: var(--bg-dark);
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-top: 3px solid var(--primary);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.card p {
    color: var(--text-medium);
}

.solution {
    background-color: var(--bg-light);
}

.solution-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.solution-content p {
    font-size: 1.15rem;
    color: var(--text-medium);
}

.solution-content strong {
    color: var(--primary);
}

.masterclass {
    text-align: center;
}

.secrets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 3rem auto;
    text-align: left;
}

.secret-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.secret-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.secret-card h3 span {
    display: block;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.secret-card p {
    color: var(--text-medium);
}

.masterclass .cta-button {
    margin-top: 2rem;
}

/* Courses Section */
.courses {
    background-color: var(--bg-dark);
}

.courses-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 3rem auto 0;
}

.course-card {
    background-color: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--bg-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border-color: var(--primary);
}

.course-content {
    padding: 2rem;
    flex-grow: 1;
}

.course-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.course-content p {
    color: var(--text-medium);
    font-size: 1rem;
}


.course-price {
    background: linear-gradient(135deg, var(--primary), var(--primary-vibrant));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    display: block;
    font-size: 2rem;
    font-weight: 700;
    /*color: var(--primary);*/
    margin-top: 1.5rem;
}



.course-cta {
    display: block;
    background-color: var(--primary);
    color: var(--bg-dark);
    text-align: center;
    padding: 1rem;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.course-cta:hover {
    background-color: #facc15; /* amber-400 */
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-light);
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
  /*  background-color: var(--bg-dark);*/
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box,
                linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
    border: 2px solid transparent;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    margin-bottom: 1.5rem;

    border: 3px solid transparent;
        border: 3px solid transparent;
    background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box,
                linear-gradient(135deg, var(--primary), var(--accent)) border-box;
}



.testimonial-card blockquote {
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 1rem;
    flex-grow: 1; /* Makes quotes take up space to align cites */
}

.testimonial-card cite {
    font-weight: 600;
    color: var(--text-light);
}

/* Final CTA */
.final-cta {
    background-color: var(--bg-dark);
    text-align: center;
}

.final-cta-content {
    max-width: 700px;
    margin: 0 auto;
}
.final-cta-content p {
    color: var(--text-medium);
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: #030712;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.disclaimer {
    font-size: 0.8rem;
    max-width: 800px;
    margin: 1rem auto 0;
    color: #64748b; /* slate-500 */
}


@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}




/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for cards */
.problem-cards .card:nth-child(2),
.secrets .secret-card:nth-child(2),
.testimonial-container .testimonial-card:nth-child(2),
.courses-container .course-card:nth-child(2) {
    transition-delay: 0.2s;
}
.problem-cards .card:nth-child(3),
.secrets .secret-card:nth-child(3),
.testimonial-container .testimonial-card:nth-child(3),
.courses-container .course-card:nth-child(3) {
    transition-delay: 0.4s;
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 4rem 1rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        max-width: 300px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        background-color: var(--bg-light);
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        transition: right 0.4s ease-in-out;
    }

    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }

    .hamburger {
        display: block;
    }
}



/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 80px;
    height: 80px;
   /* background-color: #25D366;*/
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
   /* box-shadow: 2px 2px 10px rgba(0,0,0,0.2);*/
    z-index: 100;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-hover));
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    /*transform: scale(1.1);
    box-shadow: 4px 4px 15px rgba(0,0,0,0.3);*/
       transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.8);
}

.whatsapp-float svg {
    width: 60px;
    height: 60px;
}