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

/* CSS Variables for Theme */
:root {
    /* Default Dark theme */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #e5e5e5;
    --text-muted: #a0a0a0;
    --border-color: rgba(102, 126, 234, 0.2);
    --border-card: rgba(255, 255, 255, 0.1);
    --nav-bg: rgba(10, 10, 10, 0.95);
    --gradient-overlay: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
                       radial-gradient(circle at 80% 50%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
    --accent-color: #fbbf24;
    --accent-stats: #fbbf24;
    --pricing-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --pricing-text: white;
}

body.light-theme {
    /* Light theme colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-card: rgba(102, 126, 234, 0.05);
    --bg-card-hover: rgba(102, 126, 234, 0.08);
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --border-color: rgba(102, 126, 234, 0.2);
    --border-card: rgba(102, 126, 234, 0.15);
    --nav-bg: rgba(255, 255, 255, 0.95);
    --gradient-overlay: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
                       radial-gradient(circle at 80% 50%, rgba(118, 75, 162, 0.08) 0%, transparent 50%);
    --accent-color: #7c3aed;
    --accent-stats: #667eea;
    --pricing-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --pricing-text: white;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: 2px solid #667eea;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #667eea;
}

.theme-toggle i {
    font-size: 24px;
    color: currentColor;
}

.theme-toggle:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.05);
}

body.light-theme .theme-toggle {
    border-color: #667eea;
    color: #667eea;
}

body.light-theme .theme-toggle:hover {
    background: rgba(102, 126, 234, 0.1);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.logo-text {
    font-size: 1.5em;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 50px;
    position: relative;
    background: var(--gradient-overlay);
}

.hero-content {
    max-width: 1200px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    color: var(--accent-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    margin-bottom: 20px;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

h1 {
    font-size: clamp(2.5em, 5vw, 4em);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

h2 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 30px;
    color: #667eea;
}

h3 {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #a78bfa;
}

.hero-subtitle {
    font-size: clamp(1.2em, 2.5vw, 1.8em);
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(102, 126, 234, 0.5);
}

.stat-number {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--accent-stats);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    color: #a78bfa;
    font-size: 1.1em;
}

/* Icons */
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    color: #667eea;
}

.icon-wrapper i {
    font-size: 40px;
    color: currentColor;
}

body.light-theme .icon-wrapper {
    color: #667eea;
}

/* CTA Buttons */
.cta-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cta-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.cta-secondary {
    background: transparent;
    color: #667eea;
    padding: 18px 40px;
    border: 2px solid #667eea;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-dark {
    background: var(--bg-secondary);
    transition: background 0.3s ease;
    max-width: 100%;
}

.section-dark > * {
    max-width: 1200px;
    margin: 0 auto;
}

/* Problem Section */
.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    text-align: center;
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

/* Course Structure */
.timeline {
    position: relative;
    padding: 20px 0;
    margin: 50px 0;
}

.timeline-item {
    margin-bottom: 40px;
    padding-left: 60px;
    position: relative;
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }

.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 27px;
    top: 20px;
    width: 2px;
    height: calc(100% + 20px);
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.timeline-item:last-child::after {
    display: none;
}

.week-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9em;
    margin-bottom: 10px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: var(--bg-card-hover);
    border-color: rgba(102, 126, 234, 0.5);
}

.benefit-icon {
    display: inline-flex;
    animation: float 3s ease-in-out infinite;
}

.benefit-card:nth-child(2) .benefit-icon { animation-delay: 0.5s; }
.benefit-card:nth-child(3) .benefit-icon { animation-delay: 1s; }
.benefit-card:nth-child(4) .benefit-icon { animation-delay: 1.5s; }

/* Pricing Section */
.pricing-box {
    background: var(--pricing-bg);
    border: 2px solid #667eea;
    border-radius: 30px;
    padding: 50px;
    max-width: 700px;
    margin: 50px auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.pricing-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.price-tag {
    font-size: 3.5em;
    font-weight: 800;
    color: #fbbf24;
    margin: 20px 0;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

body.light-theme .price-tag {
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.price-iva {
    color: #fbbf24;
    font-size: 1.1em;
    margin: 20px 0;
}

body.light-theme .pricing-box .price-iva {
    color: #fde047;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.price-deadline {
    color: #fbbf24;
    margin-top: 20px;
    font-size: 0.9em;
}

body.light-theme .pricing-box .price-deadline {
    color: #fde047;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.price-original {
    text-decoration: line-through;
    color: #ef4444;
    font-size: 0.6em;
    margin-right: 20px;
    opacity: 0.8;
}

body.light-theme .price-original {
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.price-discount {
    display: inline-block;
    background: #ef4444;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.3em;
    position: absolute;
    top: -20px;
    right: -40px;
    transform: rotate(15deg);
}

/* Payment Methods */
.payment-methods {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 50px 40px;
    margin: 50px auto;
    max-width: 1100px;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.payment-option {
    background: var(--bg-primary);
    border: 2px solid var(--border-card);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: #667eea;
    transform: translateY(-3px);
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 50px auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-icon {
    font-size: 1.5em;
    color: #667eea;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 15px 25px 25px 25px;
}

.faq-answer p {
    margin-top: 0;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 50px 20px 30px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 50%;
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link i {
    font-size: 24px;
    color: currentColor;
}

.social-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.4em; }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .pricing-box {
        padding: 30px 20px;
        max-width: 95%;
    }
    
    .price-tag {
        font-size: 2.5em;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline-item::before {
        left: 10px;
    }
    
    .timeline-item::after {
        left: 17px;
    }
    
    .theme-toggle {
        width: 40px;
        height: 40px;
    }
    
    .theme-toggle i {
        font-size: 20px;
    }
    
    .nav-right {
        gap: 10px;
    }
    
    .nav-cta {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    
    .logo-container {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .logo-placeholder {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.2em;
    }
    
    .payment-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .nav-cta {
        display: none;
    }
    
    .logo-text {
        font-size: 1em;
    }
    
    .pricing-box {
        padding: 25px 15px;
    }
    
    .price-tag {
        font-size: 2em;
    }
}

/* Special highlight */
.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Bank info styling */
.bank-info {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
}

.bank-info strong {
    color: #667eea;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 32px;
    color: white;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Mobile adjustments for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float i {
        font-size: 28px;
    }
}

/* Contact Form Section */
.contact-form-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.iframe-container {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.iframe-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
}

.iframe-container iframe {
    border-radius: 10px;
}

/* Responsive design for contact form */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 0 15px;
    }
    
    .iframe-container {
        padding: 15px;
        height: 700px !important;
    }
    
    .iframe-container iframe {
        height: 700px !important;
    }
}

@media (max-width: 480px) {
    .iframe-container {
        padding: 10px;
        height: 650px !important;
    }
    
    .iframe-container iframe {
        height: 650px !important;
    }
}

/* Sponsors Section */
.sponsors-section {
    background: var(--bg-secondary);
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid var(--border-card);
}

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

.sponsors-text {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 500;
}

.sponsors-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.sponsors-logos a {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sponsors-logos a:hover {
    transform: translateY(-2px);
}

.sponsor-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(20%);
}

.sponsor-logo:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Responsive design for sponsors */
@media (max-width: 768px) {
    .sponsors-section {
        padding: 40px 20px;
    }
    
    .sponsors-logos {
        gap: 30px;
    }
    
    .sponsor-logo {
        height: 35px;
    }
    
    .sponsors-text {
        font-size: 1.1em;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .sponsors-section {
        padding: 30px 15px;
    }
    
    .sponsors-logos {
        gap: 20px;
        flex-direction: column;
    }
    
    .sponsor-logo {
        height: 32px;
    }
    
    .sponsors-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
}