/* =========================================
   VARIABLES & THEME SETTINGS
   ========================================= */
:root {
    /* Colors */
    --clr-black: #05070B;
    --clr-navy: #0B1C3D;
    --clr-gold: #F5C542;
    --clr-gold-light: #FFD76A;
    --clr-white: #F5F7FA;
    --clr-text-main: #F5F7FA;
    --clr-text-muted: #A0ABC0;
    
    /* Gradients */
    --grad-bg: linear-gradient(135deg, var(--clr-black) 0%, var(--clr-navy) 100%);
    --grad-gold: linear-gradient(135deg, var(--clr-gold) 0%, var(--clr-gold-light) 100%);
    --grad-glow: radial-gradient(circle at center, rgba(245, 197, 66, 0.08) 0%, transparent 60%);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    
    /* Borders & Shadows */
    --radius: 12px;
    --shadow-glow: 0 0 25px rgba(245, 197, 66, 0.25);
    --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.8);
    --glass-bg: rgba(5, 7, 11, 0.5);
    --glass-border: rgba(245, 197, 66, 0.2);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-black);
    background-image: var(--grad-bg);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-white);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

p {
    margin-bottom: var(--space-md);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-padding {
    padding: var(--space-xl) 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--space-xl);
    position: relative;
    display: inline-block;
    width: 100%;
    color: var(--clr-gold);
    text-shadow: 0 2px 15px rgba(245, 197, 66, 0.2);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--grad-gold);
    margin: 15px auto 0;
}

/* =========================================
   COMPONENTS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--grad-gold);
    color: var(--clr-black);
    border: none;
    box-shadow: 0 4px 15px rgba(245, 197, 66, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245, 197, 66, 0.7);
}

.btn-outline {
    background: transparent;
    color: var(--clr-gold);
    border: 2px solid var(--clr-gold);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

.btn-solid-gold {
    background: var(--clr-gold-light) !important;
    color: var(--clr-black) !important;
    border: none !important;
    font-weight: bold;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    width: 100%;
    max-width: 400px;
}

/* =========================================
   SECTIONS
   ========================================= */

/* 1. Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-xl) 0;
    overflow: hidden;
}

#starfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: screen;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(11, 28, 61, 0.4) 0%, var(--clr-black) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-bg-img {
        object-position: 70% center;
        opacity: 0.25;
    }
}

.badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(212, 175, 55, 0.15);
    color: var(--clr-gold-light);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    line-height: 1.25;
    margin-bottom: var(--space-md);
    color: var(--clr-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero h1 em {
    font-style: normal;
    color: #D4AF37;
    text-shadow: 0 2px 5px rgba(212, 175, 55, 0.3);
}

.hero .subheadline {
    font-size: 1.05rem;
    color: var(--clr-text-muted);
    margin-bottom: var(--space-lg);
}

.hero .btn-primary {
    background: var(--clr-gold-light);
    padding: 1.2rem 3.5rem;
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Animated Toolbox */
.animated-toolbox-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatBox 6s ease-in-out infinite;
}

.toolbox-img {
    width: 100%;
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.8)) drop-shadow(0 0 40px rgba(212, 175, 55, 0.4));
    z-index: 2;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(10, 15, 30, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 15px rgba(212, 175, 55, 0.15);
    z-index: 3;
    animation: orbitBounce 4s ease-in-out infinite alternate;
}

.floating-element svg {
    width: 30px;
    height: 30px;
    color: var(--clr-gold-light);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

/* Positioning */
.fl-1 { top: 15%; left: 15%; animation-delay: 0s; }
.fl-2 { top: 5%; right: 25%; animation-delay: 1.2s; }
.fl-3 { bottom: 20%; left: 10%; animation-delay: 2.5s; }
.fl-4 { bottom: 10%; right: 5%; animation-delay: 0.8s; }
.fl-5 { top: 45%; right: 0%; animation-delay: 1.8s; }

@keyframes floatBox {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes orbitBounce {
    0% { transform: translateY(0) scale(1); box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 15px rgba(212, 175, 55, 0.15); }
    100% { transform: translateY(-10px) scale(1.05); box-shadow: 0 15px 30px rgba(0,0,0,0.6), 0 0 25px rgba(212, 175, 55, 0.3); }
}

@media (max-width: 768px) {
    .animated-toolbox-wrapper { max-width: 300px; margin: 1.5rem auto; }
    .toolbox-img { max-width: 200px; }
    .floating-element { width: 45px; height: 45px; border-radius: 12px; }
    .floating-element svg { width: 22px; height: 22px; }
    .fl-1 { top: 10%; left: 5%; }
    .fl-2 { top: 0%; right: 15%; }
    .fl-3 { bottom: 15%; left: 5%; }
    .fl-4 { bottom: 5%; right: 5%; }
    .fl-5 { top: 45%; right: 0%; }
}

/* 2. Problem & Solution */
.problem-solution {
    position: relative;
}

.problem-solution::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--grad-glow);
    z-index: -1;
    pointer-events: none;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

@media (max-width: 992px) {
    .problem-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .solution-image {
        order: -1;
    }
}

.floating-img {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.4));
    border-radius: var(--radius);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.problem-box, .solution-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: var(--space-xl) var(--space-lg);
    margin-bottom: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-card);
}

.solution-box {
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.1);
}

.problem-box h2, .solution-box h2 {
    color: #D4AF37; /* Luxury gold base */
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.4), /* Inner glow reflection */
                 0 0 15px rgba(212, 175, 55, 0.2), /* Soft light bloom */
                 0 0 25px rgba(212, 175, 55, 0.1); /* Minimal elegant halo */
}

/* 3. Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: var(--space-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.benefit-card:hover {
    background: rgba(11, 28, 61, 0.6);
    transform: translateY(-5px);
    border-color: rgba(245, 197, 66, 0.5);
    box-shadow: var(--shadow-glow);
}

.benefit-card .icon {
    margin-bottom: var(--space-md);
    display: inline-block;
    color: var(--clr-gold);
    filter: drop-shadow(0 0 10px rgba(245, 197, 66, 0.4));
}

.benefit-card .icon svg {
    width: 40px;
    height: 40px;
}

/* 4. Content Stack Cards */
#contenido .section-title {
    font-size: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.cards-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 800px;
    margin: 0 auto;
}

.stack-card {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(90deg, rgba(11, 28, 61, 0.8) 0%, var(--clr-black) 100%);
    border-left: 2px solid var(--clr-gold);
    border-bottom: 1px solid var(--glass-border);
    padding: var(--space-lg);
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.stack-card:hover {
    transform: translateX(10px);
    background: linear-gradient(90deg, rgba(15, 35, 75, 0.8) 0%, rgba(5, 7, 11, 0.9) 100%);
    box-shadow: var(--shadow-glow);
}

.card-icon {
    color: var(--clr-gold);
    margin-right: var(--space-lg);
    margin-top: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 8px rgba(245, 197, 66, 0.4));
    flex-shrink: 0;
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.stack-card .card-content {
    flex: 1;
}

.stack-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--clr-white);
}

.stack-card p {
    margin-bottom: 0;
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 5. Bonuses */
.bonuses {
    background: radial-gradient(ellipse at top, rgba(245, 197, 66, 0.1) 0%, var(--clr-black) 70%);
}

.bonuses-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.bonuses-header h2 {
    color: #D4AF37; /* Luxury gold base */
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.4), /* Inner glow reflection */
                 0 0 15px rgba(212, 175, 55, 0.2), /* Soft light bloom */
                 0 0 25px rgba(212, 175, 55, 0.1); /* Minimal elegant halo */
    font-size: 2.5rem;
}

.bonuses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .bonuses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bonuses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bonus-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.bonus-card:hover {
    border-color: var(--clr-gold);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.free-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--grad-gold);
    color: var(--clr-black);
    font-weight: 700;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(245, 197, 66, 0.5);
}

.bonus-card h3 {
    margin-top: var(--space-md);
    font-size: 1.1rem;
}

.value {
    margin-top: var(--space-md);
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.strikethrough {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.3);
}

/* 6. Pricing */
.pricing-card {
    background-color: #050b14; /* Deep dark blue almost black */
    border: 1px solid #d4af37; /* Thin gold border */
    border-radius: 8px; /* Slight rounding */
    padding: 3rem 2rem;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.pricing-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #D4AF37;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6), 
                 0 0 20px rgba(212, 175, 55, 0.3), 
                 0 0 35px rgba(212, 175, 55, 0.15), 
                 0 0 50px rgba(212, 175, 55, 0.05);
}

.pricing-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--clr-gold);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.pricing-old {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--clr-white);
    font-weight: 600;
    margin-bottom: 2rem;
}

.pricing-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.pricing-por {
    font-family: var(--font-body);
    font-size: 3rem;
    color: #D4AF37;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6), 
                 0 0 20px rgba(212, 175, 55, 0.3), 
                 0 0 35px rgba(212, 175, 55, 0.15), 
                 0 0 50px rgba(212, 175, 55, 0.05);
}

.pricing-amount {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: #D4AF37;
    line-height: 1;
    margin-top: 0.2rem;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6), 
                 0 0 20px rgba(212, 175, 55, 0.3), 
                 0 0 35px rgba(212, 175, 55, 0.15), 
                 0 0 50px rgba(212, 175, 55, 0.05);
}

.pricing-access {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--clr-white);
    margin-bottom: 1rem;
}

.btn-pricing {
    display: block;
    width: 100%;
    background: #f1c95b; /* Solid gold */
    color: #000;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 1px;
}

.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(241, 201, 91, 0.4);
}

.pricing-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--clr-white);
    font-size: 0.8rem;
    font-family: var(--font-body);
}

.pricing-secure svg {
    margin-top: -2px;
}

/* 7. Guarantee */
.guarantee-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius);
}

.guarantee-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.guarantee-content h2 {
    color: #D4AF37; /* Luxury gold base */
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.4), /* Inner glow reflection */
                 0 0 15px rgba(212, 175, 55, 0.2), /* Soft light bloom */
                 0 0 25px rgba(212, 175, 55, 0.1); /* Minimal elegant halo */
}

/* 8. Testimonials */
.testimonials-grid {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    padding-bottom: 1.5rem;
    padding-top: 1rem;
    scroll-snap-type: x mandatory;
    /* Hide scrollbar */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.testimonials-grid::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 320px;
    scroll-snap-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    padding: var(--space-lg);
    border-radius: var(--radius);
    border-top: 2px solid var(--clr-gold);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: var(--clr-gold);
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: var(--space-lg);
}

.testimonial-card p strong {
    color: var(--clr-white);
}

.author {
    font-weight: 600;
    color: var(--clr-gold-light);
}

/* 9. FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: var(--glass-bg);
    color: var(--clr-white);
    padding: 1.2rem;
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(11, 28, 61, 0.6);
}

.faq-question.active {
    color: var(--clr-gold);
}

.faq-question .icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(5, 7, 11, 0.8);
    border-top: 1px solid transparent;
}

.faq-question.active + .faq-answer {
    border-top: 1px solid var(--glass-border);
}

.faq-answer p {
    padding: 1.2rem;
    margin: 0;
    color: var(--clr-text-muted);
}

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

/* =========================================
   ANIMATIONS & UTILITIES
   ========================================= */

/* Pulse Animation for CTA */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

@keyframes text-pulse {
    0% { opacity: 0.5; text-shadow: 0 0 5px rgba(212, 175, 55, 0); }
    50% { opacity: 1; text-shadow: 0 0 15px rgba(212, 175, 55, 0.8); }
    100% { opacity: 0.5; text-shadow: 0 0 5px rgba(212, 175, 55, 0); }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Scroll Fade In Animations */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.animate-fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delays */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

.testimonial-avatar {
    position: absolute;
    bottom: 1.25rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--clr-gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    opacity: 0.95;
}
