/* ================================================================
   EM FLIGHTS LANDING – style.css
   Aesthetics: Liquid Glass / Premium Minimalist
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Outfit:wght@400;700&display=swap');

:root {
    --primary: #0071E3;
    --primary-dark: #0056b3;
    --success: #1E7A3C;
    --bg: #F5F5F7;
    --text: #1D1D1F;
    --text-sec: #86868B;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow: 0 20px 40px rgba(0,0,0,0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
}

/* ── Liquid BG ── */
.liquid-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: blur(80px);
    opacity: 0.4;
}

.blob {
    position: absolute;
    width: 500px; height: 500px;
    background: var(--primary);
    border-radius: 50%;
    animation: move 20s infinite alternate;
}

.blob:nth-child(2) {
    background: var(--success);
    right: -100px; top: -100px;
    animation-duration: 30s;
}

@keyframes move {
    from { transform: translate(-10%, -10%) rotate(0deg); }
    to { transform: translate(20%, 20%) rotate(360deg); }
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ── Layout ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

/* ── Navbar ── */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 12px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    color: var(--text);
    text-decoration: none;
}

.logo span {
    background: var(--primary);
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

.btn-chrome {
    background: var(--primary) !important;
    color: white !important;
    padding: 14px 30px !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 10px 20px rgba(0, 113, 227, 0.3) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    display: inline-block;
}

.btn-chrome:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 15px 30px rgba(0, 113, 227, 0.5) !important;
    background: var(--primary-dark) !important;
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    background: 
        radial-gradient(circle at 80% 20%, rgba(0, 113, 227, 0.1), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(30, 122, 60, 0.1), transparent 40%),
        var(--bg);
}

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

.hero-grid > div {
    min-width: 0;
}

.hero-text h1 {
    font-size: 72px;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -3px;
    background: linear-gradient(180deg, var(--text) 0%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 20px;
    color: var(--text-sec);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-visual {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.mockup {
    background: white;
    border-radius: 24px;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.mockup img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

/* ── Features ── */
.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title h2 { font-size: 40px; margin-bottom: 16px; }
.section-title p { color: var(--text-sec); font-size: 18px; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 113, 227, 0.1);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

/* ── FAQ ── */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 16px;
    border-radius: 20px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item h3 { font-size: 18px; margin-bottom: 8px; }
.faq-item p { color: var(--text-sec); font-size: 15px; }

/* ── Footer ── */
footer {
    background: white;
    padding: 60px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

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

.dev-info { color: var(--text-sec); font-size: 14px; }
.dev-info b { color: var(--primary); }

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

.split-grid > div {
    min-width: 0;
}

.features-grid-vertical {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (max-width: 968px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-text p { margin: 0 auto 40px; }
    .features-grid { grid-template-columns: 1fr; }
    .split-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-text h1 { font-size: 48px; }
    .mockup img { transform: none !important; margin-top: 20px; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    
    .nav-content { flex-direction: row; justify-content: space-between; align-items: center; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.05);
        gap: 30px;
        z-index: 1000;
    }
    
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 20px; }
    
    .hero { padding-top: 140px; }
    .hero-text h1 { font-size: 36px; }
    .hero-text p { font-size: 16px; }
    .section-title h2 { font-size: 32px; }
    .footer-content { flex-direction: column; gap: 16px; text-align: center; }
}
