:root {
    --primary: #1A73E8;
    --primary-dark: #1557B0;
    --bg: #F8F9FA;
    --text: #202124;
    --secondary: #5F6368;
    --card: #FFFFFF;
    --success: #1E8E3E;
    --warning: #FBBC04;
    --danger: #D32F2F;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Estilo para la etiqueta de versión */
.badge-official {
    background: #1A73E8;
    color: white !important;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(26,115,232,0.2);
}

/* AppBar: Menú Izquierda, Título Derecha */
.app-bar {
    height: 64px;
    background: var(--card);
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.menu-toggle {
    background: none; border: none; font-size: 22px; cursor: pointer;
    color: var(--secondary); padding: 8px; border-radius: 50%;
}
.brand {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--text);
    margin-left: auto;
}
.brand span { font-weight: 900; font-size: 22px; }

/* Drawer Lateral */
.drawer {
    position: fixed; top: 0; left: -300px;
    width: 280px; height: 100%; background: var(--card);
    z-index: 2000; transition: 0.3s ease;
    box-shadow: 10px 0 30px rgba(0,0,0,0.1);
    display: flex; flex-direction: column; padding: 20px 0;
}
.drawer.active { left: 0; }
.drawer-header { padding: 0 24px 24px; border-bottom: 1px solid #EEE; margin-bottom: 15px; }
.drawer-bottom { margin-top: auto; border-top: 1px solid #EEE; padding: 15px 16px; }

.drawer-link {
    display: flex; align-items: center; gap: 16px; padding: 16px 24px;
    text-decoration: none; color: var(--secondary); font-weight: 500; font-size: 16px;
}
.drawer-link:hover { background: #F8F9FA; color: var(--primary); }

.overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); display: none; z-index: 1500;
}

/* MODAL CONFIRMACION */
.modal-confirm {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); display: none; z-index: 5000;
    align-items: center; justify-content: center; padding: 20px;
    backdrop-filter: blur(4px);
}
.modal-confirm-content {
    background: white; width: 100%; max-width: 380px;
    padding: 32px; border-radius: 28px; text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* BOTONES */
.cta-btn {
    background: var(--primary); color: white; padding: 16px 32px;
    border-radius: 50px; text-decoration: none; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center;
    gap: 12px; border: none; cursor: pointer; font-size: 16px; transition: 0.2s;
}
.cta-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }

.app-container .cta-btn, .modal-confirm .cta-btn { width: 100%; border-radius: 14px; }
.outline-btn {
    background: white; border: 1px solid #ddd; color: var(--secondary);
    padding: 14px; border-radius: 12px; font-weight: 700; width: 100%;
    display: flex; justify-content: center; align-items: center; gap: 10px; cursor: pointer;
}

/* Layout */
.main-content { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 40px 20px; }
.app-container { background: var(--card); width: 100%; max-width: 450px; border-radius: 28px; box-shadow: var(--shadow); padding: 40px 32px; text-align: center; }

.landing-hero { text-align: center; padding: 60px 24px; max-width: 900px; margin: 0 auto; }
.landing-hero h1 { font-size: 56px; font-weight: 900; margin-bottom: 20px; line-height: 1.1; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; width: 100%; max-width: 1200px; margin: 0 auto; }
.feature-card { background: white; padding: 40px; border-radius: 32px; border: 1px solid #EEE; text-align: left; transition: 0.3s; }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }

.price-card { background: linear-gradient(135deg, #1A73E8, #0D47A1); color: white; padding: 30px; border-radius: 24px; margin: 20px 0; }
.price-val { font-size: 48px; font-weight: 900; margin: 8px 0; }

/* Formularios */
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 14px; color: var(--secondary); }
.form-group input { width: 100%; padding: 14px; border-radius: 12px; border: 1px solid #ddd; outline: none; font-size: 16px; }

.hero-logo { width: 72px; height: 72px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 20px; color: white; background: var(--primary); }
.divider { display: flex; align-items: center; text-align: center; color: #aaa; font-size: 12px; margin: 24px 0; }
.divider::before, .divider::after { content: ""; flex: 1; border-bottom: 1px solid #eee; }
.divider:not(:empty)::before { margin-right: 12px; }
.divider:not(:empty)::after { margin-left: 12px; }

@media (max-width: 900px) { .landing-hero h1 { font-size: 38px; } .features-grid { grid-template-columns: 1fr; } }
