/* ==========================================================================
   1. VARIABLES DE CSS (Inspiradas completamente en el Logo Azul y Blanco)
   ========================================================================== */
:root {
    /* Fondos: Tonos oscuros inspirados en una interfaz de TV/App moderna */
    --bg-color: #070a1e;       /* Azul noche muy profundo */
    --bg-secondary: #0f1435;   /* Azul oscuro para tarjetas y contenedores */
    
    /* El Azul Eléctrico exacto y vibrante de tu logotipo */
    --brand-blue: #1b36f0;     
    --brand-blue-hover: #1225cc;
    --brand-blue-glow: rgba(27, 54, 240, 0.35);

    /* Textos */
    --text-primary: #ffffff;   /* Blanco puro como las letras del logo */
    --text-secondary: #8fa0dd; /* Azul grisáceo claro para descripciones */

    --font-main: 'Inter', sans-serif;
    --container-width: 1200px;
}

/* ==========================================================================
   2. RESET DE ESTILOS Y BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Títulos Globales */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Color destacado de la marca para títulos */
.text-highlight {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   3. BOTONES
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 12px; /* Bordes un poco más rectos/estilizados tipo App */
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary {
    background-color: var(--brand-blue);
    color: var(--text-primary);
    border: none;
}

.btn-primary:hover {
    background-color: var(--brand-blue-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--brand-blue-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    border-color: var(--brand-blue);
    background: rgba(27, 54, 240, 0.08);
    transform: translateY(-3px);
}

/* ==========================================================================
   4. ENCABEZADO / HEADER (Sleek Glass)
   ========================================================================== */
.main-header {
    width: 100%;
    background-color: rgba(7, 10, 30, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 14px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

.logo img {
    height: 45px;
    width: auto;
    border-radius: 10px; /* Hace juego con la forma de tu logo */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.brand-tag {
    color: var(--text-secondary);
    font-weight: 400;
}

.main-nav ul {
    display: flex;
    gap: 35px;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
}

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

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--brand-blue);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-content {
    margin-top: 73px;
}

/* ==========================================================================
   5. SECCIÓN HERO (BIENVENIDA)
   ========================================================================== */
.hero-section {
    min-height: calc(100vh - 73px);
    display: flex;
    align-items: center;
    padding: 60px 0;
    /* Resplandor radial elegante usando el azul del logo */
    background: radial-gradient(circle at 85% 30%, rgba(27, 54, 240, 0.15) 0%, transparent 60%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 620px;
}

.hero-content h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-app {
    max-width: 100%;
    width: 100%;
    border-radius: 40px; /* Imita los bordes redondeados perfectos de tu logo */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--brand-blue-glow);
    animation: float 4s ease-in-out infinite;
}

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

/* ==========================================================================
   6. SECCIÓN CARACTERÍSTICAS
   ========================================================================== */
.features-section {
    padding: 100px 0;
    background-color: rgba(15, 20, 53, 0.3);
}

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

.feature-card {
    background-color: var(--bg-secondary);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(27, 54, 240, 0.4);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   7. SECCIÓN PRECIOS (Estructura de 4 Planes del anterior)
   ========================================================================== */
.pricing-section {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    align-items: stretch;
}

.price-card {
    background-color: var(--bg-secondary);
    padding: 40px 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
}

/* Tarjeta Destacada basada en el color azul del logo */
.price-card.popular {
    border: 2px solid var(--brand-blue);
    box-shadow: 0 15px 35px var(--brand-blue-glow);
}

.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--brand-blue);
    color: var(--text-primary);
    padding: 5px 18px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 8px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.price-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.price {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.price span {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: super;
}

.price small {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.price-features {
    margin-bottom: 30px;
    text-align: left;
    flex-grow: 1;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.price-features li::before {
    content: "✓";
    color: var(--brand-blue); /* Checklist azul a juego */
    font-weight: bold;
    margin-right: 8px;
}

.price-card .btn {
    width: 100%;
    padding: 12px 15px;
}

/* ==========================================================================
   8. PIE DE PÁGINA (FOOTER)
   ========================================================================== */
.main-footer {
    background-color: #090c24;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info {
    max-width: 350px;
}

.footer-info .logo {
    margin-bottom: 20px;
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    color: #4a5475;
    font-size: 0.85rem;
}

/* ==========================================================================
   9. MEDIA QUERIES (RESPONSIVO MÓVIL)
   ========================================================================== */
@media (max-width: 968px) {
    .main-nav {
        display: none; 
    }
    
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-content h1 {
        font-size: 2.6rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }
    
    .floating-app {
        max-width: 240px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
}