/*
    Hoja de estilos principal
    Objetivo: look & feel premium tipo SaaS (Stripe/Notion/Squarespace)
*/
:root {
    --epg-blue: #1F4E79;
    --epg-orange: #ED7D31;
    --epg-ink: #0E1A2B;
    --epg-soft: #6D7A8C;
    --epg-bg: #F4F8FC;
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--epg-ink);
    background: linear-gradient(180deg, #F7FBFF 0%, #F2F6FB 100%);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

main {
    overflow: hidden;
}

.section-space {
    padding: 96px 0;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    color: var(--epg-orange);
    font-weight: 700;
}

.section-title {
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-text,
.text-soft {
    color: var(--epg-soft);
}

.site-header {
    transition: all 0.3s ease;
    background: #0F2133;
}

.site-header.scrolled {
    backdrop-filter: blur(16px);
    background: rgba(14, 26, 43, 0.9);
    box-shadow: 0 10px 30px rgba(10, 20, 30, 0.25);
}

.brand-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--epg-blue), #2D71B1);
    color: #fff;
    font-weight: 700;
}

.brand-text {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.btn-accent {
    background: linear-gradient(135deg, #ED7D31, #F2994A);
    border: none;
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(237, 125, 49, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(237, 125, 49, 0.3);
    color: #fff;
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 130px 0 60px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(14, 26, 43, 0.85), rgba(31, 78, 121, 0.65));
}

.hero-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.3rem, 6vw, 4.6rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero .lead {
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 740px;
}

.hero-metric {
    border-left: 2px solid rgba(255, 255, 255, 0.5);
    padding-left: 1rem;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px rgba(31, 78, 121, 0.12);
}

.value-card,
.pricing-card,
.dashboard-card,
.story-card {
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #E5EDF7;
    box-shadow: 0 10px 25px rgba(26, 53, 84, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover,
.pricing-card:hover,
.dashboard-card:hover,
.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(26, 53, 84, 0.16);
}

.quote-widget {
    background: linear-gradient(150deg, #ffffff, #eef4fb);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid #DDE8F4;
}

.step-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--epg-blue);
    color: #fff;
    font-weight: 700;
    margin-right: 0.6rem;
}

.form-progress {
    height: 10px;
    border-radius: 999px;
    background: #DCE8F4;
    overflow: hidden;
}

.form-progress > span {
    display: block;
    height: 100%;
    width: 68%;
    background: linear-gradient(90deg, var(--epg-blue), #4A84BE);
}

.locked-result {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #11263b;
    color: #fff;
    padding: 1.2rem;
}

.locked-result .blur-content {
    filter: blur(3px);
    opacity: 0.7;
}

.locked-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: rgba(17, 38, 59, 0.45);
    font-weight: 600;
}

.saas-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(12, 1fr);
}

.saas-grid .main {
    grid-column: span 8;
}

.saas-grid .side {
    grid-column: span 4;
}

.metric {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--epg-blue);
}

.timeline {
    display: grid;
    gap: 0.65rem;
}

.timeline .bar {
    border-radius: 999px;
    height: 8px;
    background: #E2EAF4;
    overflow: hidden;
}

.timeline .bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1F4E79, #ED7D31);
}

.pricing-card.recommended {
    border: 2px solid var(--epg-orange);
    transform: scale(1.02);
}

.badge-recommended {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    background: rgba(237, 125, 49, 0.15);
    color: #B85D1F;
    font-weight: 700;
}

.site-footer {
    background: #0F2133;
    color: #fff;
    padding-top: 56px;
}

.cta-final {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(31, 78, 121, 0.8), rgba(237, 125, 49, 0.8));
    color: #fff;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

@media (max-width: 991px) {
    .saas-grid .main,
    .saas-grid .side {
        grid-column: span 12;
    }

    .section-space {
        padding: 72px 0;
    }
}
