/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #4f5052;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.texto_enviado {
    color: black;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #071F4A 0%, #0a2a5c 100%);
    color: white;
    padding: 60px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.logo {
    margin-bottom: 40px;
}

.logo-img {
    max-width: 300px;
    height: auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: #00b7f1;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-icon {
    font-size: 1.2rem;
}

/* Form Styles */
.form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 20px;
}

.form-title {
    color: #071F4A;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #fafbfc;
}

.form-group input:focus {
    outline: none;
    border-color: #00b7f1;
    background-color: white;
}

.form-group input.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}

.cta-button {
    width: 100%;
    background: linear-gradient(135deg, #00b7f1 0%, #0099cc 100%);
    color: white;
    border: none;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 183, 241, 0.3);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #00b7f1;
    color: #00b7f1;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    width: auto;
    padding: 15px 40px;
}

.cta-button.secondary:hover {
    background: #00b7f1;
    color: white;
}

.form-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #4f5052;
}

.success-message {
    text-align: center;
    padding: 40px;
    background: #ecf8fe;
    border-radius: 12px;
    border: 2px solid #00b7f1;
}

.success-message h3 {
    color: #071F4A;
    margin-bottom: 15px;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: #ecf8fe;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #071F4A;
    text-align: center;
    margin-bottom: 50px;
}

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

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.check-icon {
    font-size: 1.2rem;
    color: #00b7f1;
    flex-shrink: 0;
}

.benefit-item p {
    font-size: 1rem;
    line-height: 1.5;
    color: #4f5052;
}

/* Course Section */
.course {
    padding: 80px 0;
    background: white;
}

.course-intro {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #4f5052;
}

.course-topics {
    max-width: 800px;
    margin: 0 auto;
}

.topic-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: #fafbfc;
    border-radius: 8px;
    border-left: 4px solid #00b7f1;
}

.bullet {
    color: #00b7f1;
    font-weight: 600;
    flex-shrink: 0;
}

.topic-item p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Guarantee Section */
.guarantee {
    padding: 60px 0;
    background: linear-gradient(135deg, #071F4A 0%, #0a2a5c 100%);
    color: white;
}

.guarantee-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.guarantee-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.guarantee-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #071F4A;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo-img {
    max-width: 200px;
    height: auto;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-credits p {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .trust-indicators {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.7rem;
    }
    
    .form-container {
        padding: 25px 15px;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 15px 25px;
    }
    
    .benefits, .course {
        padding: 60px 0;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .cta-button {
    background: #ccc;
    cursor: not-allowed;
}

/* Form validation styles */
.form-group.valid input {
    border-color: #27ae60;
}

.form-group.invalid input {
    border-color: #e74c3c;
}