:root {
    --bg-dark: #020617;
    --primary: #10b981;
    --accent: #22d3ee;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --font-main: 'Outfit', sans-serif;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Video Setup */
.video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    object-fit: cover;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.8) 0%, rgba(15, 23, 42, 0.6) 100%);
    z-index: -1;
}

/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 4rem 20px;
    box-sizing: border-box;
}

.hero-container {
    z-index: 1;
    max-width: 800px;
    width: 100%;
}

/* Glassmorphism Card */
.glass-panel {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 2rem;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-out forwards;
    box-sizing: border-box;
}

/* Typography */
.logo {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Buttons */
.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #020617;
    background: linear-gradient(90deg, var(--primary) 0%, #34d399 100%);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

.cta-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Nuevas Secciones --- */

.section {
    padding: 5rem 20px;
    position: relative;
    z-index: 1;
}

.section-dark {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

/* Tipografía Hero Reemplazo */
.headline {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .headline {
        font-size: 3.5rem;
    }
}

.subheadline {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Grids */
.bullets-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .bullets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(15, 23, 42, 0.8);
}

.glass-card .icon {
    font-size: 2rem;
}

.glass-card p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Lista de beneficios */
.benefits-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.benefits-list li {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefits-list .check {
    color: var(--primary);
    font-size: 1.5rem;
}

/* Precios / Diagnóstico vs Reporte */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pricing-card {
    text-align: left;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.pricing-card.premium {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

.pricing-title {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.badge {
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    font-weight: 600;
}

.premium-badge {
    background: rgba(16, 185, 129, 0.2);
    color: var(--primary);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.pricing-card.premium .pricing-features li::before {
    color: var(--primary);
}

.pricing-footer {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Chips / Para quién es */
.chips-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.chip {
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: var(--text-main);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.chip:hover {
    background: rgba(34, 211, 238, 0.2);
    transform: translateY(-2px);
}

/* CTA Final */
.final-cta-section {
    padding: 8rem 20px;
    background: linear-gradient(to top, rgba(2, 6, 23, 1), rgba(2, 6, 23, 0.5));
}

.final-title {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.pulse {
    animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}
