/* Reset y Variables CSS */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2d5a87;
    --accent-color: #4a90a4;
    --gold-accent: #d4af37;
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #cbd5e0;
    --success-color: #10b981;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --shadow-strong: rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(45, 90, 135, 0.8) 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--primary-color);
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 54, 93, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
    padding: 1rem 0;
}

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

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
    position: relative;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-accent);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(45, 90, 135, 0.8) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="bg" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23f8fafc;stop-opacity:0.1"/><stop offset="100%" style="stop-color:%23e2e8f0;stop-opacity:0.05"/></linearGradient></defs><rect width="1200" height="800" fill="url(%23bg)"/><g opacity="0.1"><rect x="0" y="0" width="200" height="800" fill="%23ffffff"/><rect x="200" y="0" width="100" height="800" fill="%23e2e8f0"/><rect x="400" y="0" width="150" height="800" fill="%23ffffff"/><rect x="600" y="0" width="120" height="800" fill="%23f1f5f9"/><rect x="800" y="0" width="180" height="800" fill="%23ffffff"/><rect x="1000" y="0" width="200" height="800" fill="%23e2e8f0"/></g></svg>'),
        var(--gradient-primary);
    background-size: cover, contain, cover;
    background-position: center, center, center;
    background-repeat: no-repeat, repeat-x, no-repeat;
}

.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(74, 144, 164, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.02) 50%, transparent 60%);
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 6rem 0 4rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

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

.hero-badge {
    display: inline-block;
    margin-bottom: 2rem;
    padding: 0.75rem 2rem;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold-accent);
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-accent);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    color: var(--gold-accent);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Newsletter Form */
.newsletter-form {
    margin: 3rem 0;
}

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

.form-group {
    position: relative;
    display: flex;
    gap: 0;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: rgba(26, 54, 93, 0.6);
}

.email-input:focus {
    background: rgba(255, 255, 255, 1);
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--gold-accent);
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.submit-btn:hover {
    background: #c19b26;
    transform: translateX(2px);
}

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

.form-disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Success Message */
.success-message {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--success-color);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: var(--success-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.success-message i {
    font-size: 1.2rem;
}

.hidden {
    display: none;
}

/* Footer */
.footer {
    position: relative;
    z-index: 2;
    background: rgba(26, 54, 93, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

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

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-accent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .form-group {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .email-input {
        border-radius: 12px 12px 0 0;
    }
    
    .submit-btn {
        border-radius: 0 0 12px 12px;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .form-disclaimer {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-overlay {
        padding: 5rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .footer-container {
        padding: 1.5rem 1rem;
    }
}

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

.hero-content > * {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    animation-delay: 0.1s;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation-delay: 0.3s;
}

.newsletter-form {
    animation-delay: 0.4s;
}