:root {
    --azul: #2682c5;
    --celeste: #a6d9ef;
    --oscuro: #0d181c;
    --azul-dark: #1a6aad;
    --azul-light: #eaf5fc;
}
* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}
body {
    background: #fff;
    color: var(--oscuro);
    overflow-x: hidden;
}

/* NAV */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(38, 130, 197, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}
.navbar-brand img {
    height: 36px;
}
.navbar-brand span {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--oscuro);
}
.navbar-brand span b {
    color: var(--azul);
}
.btn-login {
    border: 2px solid var(--azul);
    color: var(--azul);
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-login:hover {
    background: var(--azul);
    color: #fff;
}
.btn-registro {
    background: var(--azul);
    color: #fff;
    border-radius: 50px;
    padding: 0.4rem 1.4rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}
.btn-registro:hover {
    background: var(--azul-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--oscuro) 0%, #142a3a 50%, #1a3d5c 100%);
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(38, 130, 197, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(166, 217, 239, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(166, 217, 239, 0.15);
    border: 1px solid rgba(166, 217, 239, 0.3);
    color: var(--celeste);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.2rem;
}
.hero h1 span {
    background: linear-gradient(90deg, var(--celeste), var(--azul));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}
.btn-hero-primary {
    background: linear-gradient(135deg, var(--azul), var(--azul-dark));
    color: #fff;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(38, 130, 197, 0.4);
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(38, 130, 197, 0.5);
    color: #fff;
}
.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}
.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.hero-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
}
.hero-stat {
    text-align: center;
    padding: 1rem;
}
.hero-stat .num {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}
.hero-stat .num span {
    color: var(--celeste);
}
.hero-stat p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin: 0;
}
.hero-mockup {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.2rem;
    backdrop-filter: blur(8px);
}
.mock-bar {
    height: 8px;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}
.mock-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}
.mock-cell {
    height: 10px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
}

/* FEATURES */
.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--azul);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--oscuro);
    line-height: 1.2;
}
.feature-card {
    background: #fff;
    border: 1px solid rgba(38, 130, 197, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(38, 130, 197, 0.12);
    border-color: var(--azul);
}
.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--azul-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--azul);
    margin-bottom: 1.2rem;
}

/* PRICING */
.pricing-section {
    background: linear-gradient(180deg, #f8fcff 0%, #fff 100%);
}
.plan-card {
    border: 2px solid rgba(38, 130, 197, 0.12);
    border-radius: 24px;
    padding: 2.2rem 1.8rem;
    transition: all 0.3s;
    background: #fff;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(38, 130, 197, 0.15);
}
.plan-card.popular {
    border-color: var(--azul);
    box-shadow: 0 12px 40px rgba(38, 130, 197, 0.2);
}
.popular-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: var(--azul);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.plan-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--azul);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}
.plan-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--oscuro);
    line-height: 1;
}
.plan-price small {
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
}
.plan-desc {
    color: #666;
    font-size: 0.9rem;
    margin: 1rem 0 1.5rem;
}
.plan-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0;
    font-size: 0.88rem;
    color: #444;
    border-bottom: 1px solid #f5f5f5;
}
.plan-feature:last-child {
    border: none;
}
.plan-feature i {
    color: var(--azul);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.btn-plan {
    width: 100%;
    padding: 0.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 2px solid var(--azul);
    color: var(--azul);
    background: transparent;
}
.btn-plan:hover,
.plan-card.popular .btn-plan {
    background: var(--azul);
    color: #fff;
}
.plan-card.popular .btn-plan:hover {
    background: var(--azul-dark);
}

/* FOOTER */
footer {
    background: var(--oscuro);
    color: rgba(255, 255, 255, 0.6);
    padding: 3rem 0 1.5rem;
}
footer h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}
footer a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.88rem;
    display: block;
    margin-bottom: 0.4rem;
    transition: color 0.2s;
}
footer a:hover {
    color: var(--celeste);
}
.footer-brand span {
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
}
.footer-brand span b {
    color: var(--azul);
}

/* ANIMATIONS */
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
.float-anim {
    animation: float 4s ease-in-out infinite;
}

/* CLASES DE UTILIDAD PARA ELIMINAR ESTILOS EN LÍNEA EN INDEX.HTML */
.navbar-logo {
    height: 36px;
}

.hero-container {
    z-index: 2;
}

.features-section {
    background: #f9fbfd;
}

.cta-section {
    background: linear-gradient(135deg, var(--azul), var(--oscuro));
    padding: 5rem 0;
}

.cta-text {
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* Footer & Créditos */
.footer-logo {
    height: 28px;
}

.footer-brand-text {
    font-size: 0.85rem;
    max-width: 280px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-credits {
    font-size: 0.8rem;
}

.footer-credits-span {
    opacity: 0.7;
}

.footer-credits-link {
    display: inline-flex;
    align-items: center;
}

.footer-credits-img {
    height: 14px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-credits-img:hover {
    opacity: 1;
}

/* Mockup simulado en Hero */
.mock-title-bar {
    background: rgba(255, 255, 255, 0.15);
    height: 12px;
}

.mock-cell-sm {
    width: 15%;
    background: rgba(166, 217, 239, 0.3);
    height: 24px;
    border-radius: 6px;
}

.mock-cell-md {
    background: rgba(255, 255, 255, 0.08);
    height: 24px;
    border-radius: 6px;
}

.mock-cell-lg {
    width: 20%;
    background: rgba(38, 130, 197, 0.4);
    height: 24px;
    border-radius: 6px;
}

.mock-chart-container {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.8rem;
}

.mock-cell-header {
    width: 40%;
    height: 14px;
}

.mock-cell-pill {
    width: 25%;
    height: 20px;
    background: rgba(38, 130, 197, 0.5);
    border-radius: 10px;
}

.mock-bar-chart {
    height: 60px;
}

.mock-bar-col {
    flex: 1;
    border-radius: 4px 4px 0 0;
}

.mock-bar-col-1 {
    background: rgba(166, 217, 239, 0.5);
    height: 40%;
}

.mock-bar-col-2 {
    background: rgba(38, 130, 197, 0.7);
    height: 80%;
}

.mock-bar-col-3 {
    background: rgba(166, 217, 239, 0.5);
    height: 60%;
}

.mock-bar-col-4 {
    background: rgba(38, 130, 197, 0.4);
    height: 45%;
}

.mock-bar-col-5 {
    background: rgba(38, 130, 197, 0.9);
    height: 70%;
}

.mock-bar-col-6 {
    background: rgba(166, 217, 239, 0.6);
    height: 55%;
}

.mock-info-card-blue {
    background: rgba(38, 130, 197, 0.2);
    border-radius: 10px;
    padding: 0.7rem;
}

.mock-info-card-green {
    background: rgba(40, 200, 64, 0.15);
    border-radius: 10px;
    padding: 0.7rem;
}

.mock-info-card-val {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.mock-info-card-val-green {
    font-size: 1.1rem;
    font-weight: 700;
    color: #28c840;
}

.mock-cell-small-label {
    width: 60%;
    height: 10px;
}

/* BOTÓN FLOTANTE DE WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1100;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.whatsapp-float:focus {
    outline: none;
}

@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
}

