:root {
    /* Paleta de Colores Yatavi */
    --primary: #15457B; 
    --primary-hover: #0F335C;
    --accent: #F26A4F; 
    --accent-hover: #D95C42;
    
    --bg-main: #F8F9FA; 
    --bg-surface: #FFFFFF;
    --bg-light: #F1F5F9;
    
    --text-main: #2B2D42;
    --text-muted: #64748B;
    --text-light: #F8F9FA;
    
    --shadow-soft: 0 10px 20px rgba(21, 69, 123, 0.08);
    --shadow-medium: 0 15px 30px rgba(21, 69, 123, 0.12);
    
    --font-main: 'Poppins', sans-serif;
    
    --max-width: 1200px;
    --nav-height: 80px;
    --border-radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--primary); }
.text-highlight { color: var(--accent); }
.bg-light { background-color: var(--bg-light); }

/* Navigation */
.navbar {
    position: fixed; top: 0; width: 100%; height: var(--nav-height);
    display: flex; align-items: center; z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled { background: var(--bg-surface); box-shadow: var(--shadow-soft); }
.nav-container {
    width: 100%; max-width: var(--max-width); margin: 0 auto;
    padding: 0 2rem; display: flex; justify-content: space-between; align-items: center;
}
.logo { text-decoration: none; font-size: 1.75rem; font-weight: 800; display: flex; align-items: baseline; }
.logo-text { color: var(--primary); }
.logo-dot { color: var(--accent); font-size: 2rem; line-height: 0; }
.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.mobile-only { display: none; }
.desktop-only { display: block; }

/* Hamburger Menu */
.mobile-menu-btn {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; z-index: 1001;
}
.mobile-menu-btn span {
    width: 25px; height: 3px; background: var(--primary); border-radius: 3px;
    transition: all 0.3s ease;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* Buttons */
.btn-primary, .btn-primary-sm, .btn-secondary {
    display: inline-block; text-decoration: none; border-radius: 50px;
    font-weight: 600; transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn-primary-sm { padding: 0.6rem 1.5rem; background: var(--primary); color: var(--text-light) !important; font-size: 0.9rem !important; }
.btn-primary-sm:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-primary { padding: 1rem 2.5rem; background: var(--accent); color: var(--text-light); font-size: 1.1rem; box-shadow: 0 8px 20px rgba(242, 106, 79, 0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(242, 106, 79, 0.4); background: var(--accent-hover); }
.btn-secondary { padding: 1rem 2.5rem; background: transparent; border: 2px solid var(--primary); color: var(--primary); font-size: 1.1rem; }
.btn-secondary:hover { background: rgba(21, 69, 123, 0.05); transform: translateY(-3px); }

/* Hero Section */
.hero { min-height: 100vh; display: flex; align-items: center; max-width: var(--max-width); margin: 0 auto; padding: calc(var(--nav-height) + 4rem) 2rem 2rem; gap: 4rem; }
.hero-content { flex: 1; }
.badge { display: inline-block; padding: 0.4rem 1rem; background: rgba(21, 69, 123, 0.1); color: var(--primary); border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; }
.hero-title { font-size: 4rem; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 500px; }
.hero-cta { display: flex; gap: 1rem; }
.hero-visual { flex: 1; display: flex; justify-content: center; position: relative; }

/* App Mockup UI */
.app-mockup { width: 320px; background: var(--bg-surface); border-radius: 30px; padding: 1.5rem; box-shadow: var(--shadow-medium); border: 8px solid var(--bg-main); position: relative; transform: rotate(2deg); transition: transform 0.4s ease; }
.app-mockup:hover { transform: rotate(0deg); }
.mockup-header { display: flex; align-items: center; margin-bottom: 2rem; gap: 1rem; }
.mockup-profile { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); }
.mockup-title { font-weight: 700; color: var(--primary); font-size: 1.2rem; }
.mockup-card-trip { background: var(--bg-main); border-radius: var(--border-radius); padding: 1rem; margin-bottom: 1rem; box-shadow: var(--shadow-soft); position: relative; }
.trip-image { height: 120px; background: linear-gradient(135deg, #FF9A9E, #FECFEF); border-radius: 10px; margin-bottom: 1rem; }
.trip-image.paris { background: linear-gradient(135deg, #a1c4fd, #c2e9fb); }
.trip-info h4 { color: var(--text-main); font-size: 1rem; margin-bottom: 0.2rem; }
.trip-info p { color: var(--text-muted); font-size: 0.8rem; }
.trip-status { position: absolute; top: 1.5rem; right: 1.5rem; background: #10B981; color: white; font-size: 0.7rem; padding: 0.2rem 0.6rem; border-radius: 10px; font-weight: 600; }
.floating-badge { position: absolute; background: var(--bg-surface); padding: 0.7rem 1.2rem; border-radius: 50px; box-shadow: var(--shadow-medium); font-weight: 600; color: var(--primary); font-size: 0.9rem; animation: float 4s infinite alternate ease-in-out; }
.badge-1 { top: -20px; left: -40px; }
.badge-2 { bottom: 50px; right: -40px; animation-delay: 1s; }
@keyframes float { 0% { transform: translateY(0px); } 100% { transform: translateY(-15px); } }

/* Shared Section Styles */
.features, .how-it-works, .interests, .faq { max-width: var(--max-width); margin: 0 auto; padding: 6rem 2rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; }
.section-desc { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* How It Works (Steps) */
.steps-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem; }
.step-card { text-align: center; position: relative; }
.step-number { width: 60px; height: 60px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 1.5rem; box-shadow: var(--shadow-soft); }
.step-card h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.step-card p { color: var(--text-muted); }

/* Interests */
.interests-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.interest-card { background: var(--bg-surface); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform 0.3s; cursor: pointer; }
.interest-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-medium); }
.interest-img { height: 150px; width: 100%; }
.interest-img.city { background: linear-gradient(135deg, #15457B, #0F335C); }
.interest-img.beach { background: linear-gradient(135deg, #06B6D4, #3B82F6); }
.interest-img.mountain { background: linear-gradient(135deg, #8B5A2B, #228B22); }
.interest-img.business { background: linear-gradient(135deg, #64748B, #334155); }
.interest-content { padding: 1.5rem; text-align: center; }
.interest-content .icon { font-size: 2rem; display: block; margin-top: -3rem; background: var(--bg-surface); width: 60px; height: 60px; border-radius: 50%; line-height: 60px; margin-left: auto; margin-right: auto; box-shadow: var(--shadow-soft); margin-bottom: 1rem; }
.interest-content h3 { margin-bottom: 0.5rem; }
.interest-content p { color: var(--text-muted); font-size: 0.9rem; }

/* Features Section */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.feature-card { background: var(--bg-surface); padding: 2.5rem; border-radius: var(--border-radius); box-shadow: var(--shadow-soft); transition: transform 0.3s ease; }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-medium); }
.feature-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1.5rem; }
.bg-blue { background: rgba(21, 69, 123, 0.1); }
.bg-coral { background: rgba(242, 106, 79, 0.1); }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.feature-card p { color: var(--text-muted); }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-surface); border-radius: 12px; margin-bottom: 1rem; box-shadow: var(--shadow-soft); overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 1.5rem; background: none; border: none; font-family: var(--font-main); font-weight: 600; font-size: 1.1rem; color: var(--text-main); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-icon { font-size: 1.5rem; color: var(--primary); transition: transform 0.3s; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; background: var(--bg-surface); }
.faq-answer p { padding: 0 1.5rem 1.5rem; color: var(--text-muted); }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* Download Section */
.download { max-width: 900px; margin: 0 auto; padding: 5rem 2rem 8rem; text-align: center; }
.download-content { background: var(--primary); padding: 4rem 2rem; border-radius: var(--border-radius); color: var(--text-light); box-shadow: var(--shadow-medium); }
.download-content h2 { color: var(--text-light); font-size: 2.5rem; margin-bottom: 1rem; }
.download-content p { color: rgba(255, 255, 255, 0.8); font-size: 1.2rem; margin-bottom: 2.5rem; }
.download-buttons { display: flex; justify-content: center; gap: 1.5rem; }
.btn-store { padding: 1rem 2rem; border-radius: 12px; font-weight: 600; font-family: var(--font-main); font-size: 1rem; cursor: pointer; background: var(--bg-surface); color: var(--primary); border: none; transition: transform 0.3s; }
.btn-store:hover { transform: scale(1.05); }

/* Footer */
.footer { background: var(--bg-surface); padding: 3rem 2rem 1.5rem; box-shadow: 0 -5px 20px rgba(0,0,0,0.03); }
.footer-content { max-width: var(--max-width); margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 3rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
.footer-logo { font-family: var(--font-main); font-size: 1.5rem; font-weight: 700; }
.footer-social h4, .footer-links h4 { font-size: 1rem; margin-bottom: 1rem; color: var(--text-main); }
.footer-social a, .footer-links a { display: block; color: var(--text-muted); text-decoration: none; font-size: 0.95rem; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-social a:hover, .footer-links a:hover { color: var(--primary); }
.footer-bottom { max-width: var(--max-width); margin: 0 auto; text-align: center; padding-top: 1.5rem; }
.footer-bottom p { color: var(--text-muted); font-size: 0.9rem; }

/* Animations */
.fade-in { opacity: 0; transition: opacity 1s ease; }
.fade-in.visible { opacity: 1; }
.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
    .hero { flex-direction: column; text-align: center; padding-top: calc(var(--nav-height) + 2rem); }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { margin: 0 auto 2.5rem; }
    .hero-cta { justify-content: center; }
    
    .mobile-menu-btn { display: flex; }
    .desktop-only { display: none; }
    .mobile-only { display: block; margin-top: 1rem; }
    
    .nav-links {
        position: fixed; top: var(--nav-height); left: -100%; width: 100%; height: calc(100vh - var(--nav-height));
        background: var(--bg-surface); flex-direction: column; padding: 2rem;
        transition: left 0.3s ease; justify-content: flex-start; align-items: flex-start;
        box-shadow: var(--shadow-medium);
    }
    .nav-links.active { left: 0; }
    .nav-links li { width: 100%; border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 1rem; }
    .nav-links a { font-size: 1.2rem; }
    
    .download-buttons { flex-direction: column; padding: 0 2rem; }
}
