/* --- Variables y Configuración --- */
:root {
    --primary: #0055FF;       /* Azul Royal */
    --primary-dark: #0044cc;
    --accent: #22C55E;        /* Verde Éxito */
    --dark: #111827;          /* Gris muy oscuro (casi negro) */
    --gray: #4B5563;          /* Texto secundario */
    --light: #F9FAFB;         /* Fondo suave */
    --white: #FFFFFF;
    
    /* Sombras Modernas */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-blue: 0 10px 30px -5px rgba(0, 85, 255, 0.4);
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--gray);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-heading); color: var(--dark); font-weight: 800; }
a { text-decoration: none; transition: all 0.3s ease; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* --- Navbar Glassmorphism --- */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.85); /* Transparente */
    backdrop-filter: blur(10px); /* Efecto Borroso */
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
}

.nav-content { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 1.6rem; font-weight: 800; color: var(--dark); letter-spacing: -1px; }
.dot { color: var(--primary); }

.nav-btn {
    padding: 8px 20px;
    background: var(--dark);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}
.nav-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* --- Hero Section --- */
.hero {
    padding-top: 160px; padding-bottom: 100px;
    background: radial-gradient(circle at top right, #EBF5FF 0%, #FFFFFF 60%);
    min-height: 100vh;
    display: flex; align-items: center;
    position: relative;
}

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.badge-new {
    background: #E0E7FF; color: var(--primary);
    padding: 6px 12px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 20px; display: inline-block;
}

.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 25px; letter-spacing: -1.5px; }
.highlight { color: var(--primary); background: linear-gradient(120deg, transparent 60%, #bfdbfe 60%); } /* Subrayado creativo */

.subtitle { font-size: 1.15rem; margin-bottom: 40px; max-width: 90%; }

.cta-group { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 20px; }

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px; border-radius: 50px;
    font-weight: 700; font-family: var(--font-heading);
}

.btn-primary { background: var(--primary); color: var(--white); box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-4px); }

.btn-secondary { background: var(--white); color: var(--dark); border: 1px solid #E5E7EB; }
.btn-secondary:hover { border-color: var(--dark); }

.small-note { font-size: 0.85rem; color: #9CA3AF; display: flex; align-items: center; gap: 5px; }
.small-note i { color: var(--accent); }

/* --- Teléfono y Animaciones --- */
.hero-image { position: relative; display: flex; justify-content: center; }

.phone-frame {
    width: 300px; height: 600px;
    background: var(--dark);
    border-radius: 50px;
    padding: 12px;
    box-shadow: 0 30px 60px -10px rgba(0,0,0,0.25); /* Sombra realista profunda */
    position: relative;
    border: 4px solid #374151; /* Borde metálico */
}

.phone-notch {
    position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    width: 100px; height: 25px;
    background: var(--dark); border-bottom-left-radius: 15px; border-bottom-right-radius: 15px;
    z-index: 10;
}

.phone-screen {
    width: 100%; height: 100%;
    background: #000; border-radius: 38px;
    overflow: hidden; position: relative;
}

/* Slider (Carrusel) */
.slider {
    display: flex; width: 400%; height: 100%;
    animation: slide 14s infinite cubic-bezier(0.45, 0, 0.55, 1);
}
.slider img { width: 25%; height: 100%; object-fit: cover; display: block; }

@keyframes slide {
    0%, 20% { transform: translateX(0); }
    25%, 45% { transform: translateX(-25%); }
    50%, 70% { transform: translateX(-50%); }
    75%, 95% { transform: translateX(-75%); }
    100% { transform: translateX(0); }
}

/* Tarjetas Flotantes (Decoración) */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    font-weight: 700; font-size: 0.9rem;
    display: flex; align-items: center; gap: 10px;
    animation: float 6s ease-in-out infinite;
    z-index: 20;
}

.card-1 { top: 100px; left: -20px; color: #F43F5E; }
.card-2 { bottom: 80px; right: -20px; color: var(--accent); animation-delay: 2s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* --- Features Section --- */
.section-padding { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 70px; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-title { font-size: 2.5rem; margin-bottom: 15px; }
.section-desc { font-size: 1.1rem; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }

.icon-box {
    width: 70px; height: 70px; margin: 0 auto 25px;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
}
.color-blue { background: #EBF5FF; color: var(--primary); }
.color-green { background: #DCFCE7; color: var(--accent); }
.color-purple { background: #F3E8FF; color: #9333EA; }
.color-dark { background: var(--dark); color: var(--white); }

.feature-card h3 { font-size: 1.25rem; margin-bottom: 15px; }
.feature-card p { font-size: 0.95rem; color: var(--gray); }

/* --- Footer --- */
.footer { background: var(--light); padding-top: 80px; padding-bottom: 30px; border-top: 1px solid #E5E7EB; }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; flex-wrap: wrap; gap: 30px; }
.footer-links a { margin-left: 30px; color: var(--dark); font-weight: 600; font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { text-align: center; font-size: 0.85rem; color: #9CA3AF; }

/* --- Animaciones de Scroll (Reveal) --- */
.reveal {
    position: relative; transform: translateY(50px); opacity: 0;
    transition: all 1s ease;
}
.reveal.active { transform: translateY(0); opacity: 1; }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .subtitle { margin: 0 auto 30px; }
    .cta-group { justify-content: center; }
    .small-note { justify-content: center; }
    .hero-image { margin-top: 50px; }
    .floating-card { display: none; /* Ocultar tarjetas en móvil para limpieza */ }
    
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links a { margin: 10px; display: inline-block; }
}