/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables CSS para colores y tipografías */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #1a1a1a;
    --accent-color: #4a90e2;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #ffffff;
    --background-primary: #f8fafc;
    --background-secondary: #ffffff;
    --border-color: #e1e5e9;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Configuración base del body */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--background-primary) 0%, #e8f4fd 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Contenedor principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
}



.logo-icon {
    position: relative;
}

.logo-circle {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative; /* Ensure absolute children are relative to the circle */
}

.logo-circle:hover {
    box-shadow: var(--shadow-medium);
}



/* Gear icon simple centering */
.gear-icon {
    font-size: 28px;
    display: block;
    width: 28px;
    height: 28px;
    line-height: 1;
    text-align: center;
    color: var(--secondary-color);
}

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

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.logo-text-main {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-dot {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
}

.logo-img {
    height: 48px; /* ajusta aquí el tamaño del logo */
    width: auto;
    display: block;
}

/* Contenido principal */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.hero-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color), #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), #ff8c42);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    margin-bottom: 3rem;
}

.hero-description p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Sección CTA */
.cta-section {
    margin-top: 3rem;
}

.cta-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.subscription-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.email-input {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--background-secondary);
    transition: var(--transition);
    font-family: inherit;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.email-input::placeholder {
    color: var(--text-secondary);
}

.submit-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    background: linear-gradient(135deg, var(--primary-color), #ff8c42);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    box-shadow: var(--shadow-light);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* Footer */
.footer {
    margin-top: auto;
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    text-align: center;
}

.contact-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.contact-email {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-email:hover {
    color: #ff8c42;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header {
        padding: 1.5rem 0;
    }
    
    .logo-circle {
        width: 40px;
        height: 40px;
    }
    
    .gear-icon {
        width: 20px;
        height: 20px;
    }
    
    .logo-text-main {
        font-size: 1.5rem;
    }
    
    .logo-dot {
        font-size: 1.5rem;
    }
    
    .main-content {
        padding: 1rem 0;
    }
    
    .hero-title {
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        margin-bottom: 2rem;
    }
    
    .hero-description p {
        font-size: 1rem;
    }
    
    .cta-section {
        margin-top: 2rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .form-group {
        gap: 0.75rem;
    }
    
    .email-input,
    .submit-btn {
        padding: 0.875rem 1.25rem;
    }
    
    .footer {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description p {
        font-size: 0.95rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .email-input,
    .submit-btn {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .logo-circle {
        width: 36px;
        height: 36px;
    }
    
    .gear-icon {
        width: 18px;
        height: 18px;
    }
    
    .logo-text-main {
        font-size: 1.25rem;
    }
    
    .logo-dot {
        font-size: 1.25rem;
    }
}

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



.hero-section {
    animation: fadeInUp 0.8s ease-out;
}

.logo-container {
    animation: fadeInUp 0.6s ease-out;
}

.logo-circle {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Estados de carga para el formulario */
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .gear-icon {
        animation: none;
    }
    
    .logo-circle {
        transition: none;
    }
    
    .submit-btn:hover {
        transform: none;
    }
    
    .social-link:hover {
        transform: none;
    }
}

/* Focus visible para mejor accesibilidad */
.submit-btn:focus-visible,
.email-input:focus-visible,
.social-link:focus-visible,
.contact-email:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
