:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #059669;
    --accent-light: #ecfdf5;
    --text-dark: #0f172a;
    --text-light: #475569;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ANIMACIONES DE APARICIÓN (SCROLL REVEAL) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 6%;
}

.logo {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.btn-nav {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
}

.btn-nav:hover {
    background-color: var(--primary-dark);
}

/* HERO SECTION */
.hero {
    padding: 11rem 6% 6rem 6%;
    background: linear-gradient(135deg, #f0f4ff 0%, #fdf4ff 100%);
    text-align: center;
}

.badge-pyme {
    background-color: #dbeafe;
    color: var(--primary);
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
    color: var(--text-dark);
    line-height: 1.15;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--accent);
    color: var(--white);
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(5, 150, 105, 0.25);
    transition: var(--transition);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 25px rgba(5, 150, 105, 0.35);
}

.hero-subtext {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1.2rem;
}

/* SECTIONS GENERAL */
section {
    padding: 6rem 6%;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* SECCIÓN EMPATÍA */
.empathy-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--white);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.empathy-banner h2 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.empathy-banner h2 span {
    color: #34d399;
}

.empathy-banner p {
    font-size: 1.15rem;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: 1.7;
}

.empathy-highlight {
    display: inline-block;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #34d399;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
}

/* CARDS / GRID */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.card .icon-box {
    width: 60px;
    height: 60px;
    background: #e0e7ff;
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

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

/* PROCESO PASO A PASO (CERO RIESGO) */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.process-card:hover {
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}

.process-card h3 {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

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

/* SECCIÓN TECNOLOGÍA (DJANGO + CLOUDFLARE) */
.tech-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
    border-radius: 24px;
    padding: 4rem 3rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.tech-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.tech-content h2 span {
    color: #f59e0b;
}

.tech-content p {
    color: #94a3b8;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1rem;
}

.tech-feature-item i {
    color: #34d399;
    background: rgba(52, 211, 153, 0.1);
    padding: 8px;
    border-radius: 50%;
}

.tech-box-right {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
}

.tech-box-right h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #f8fafc;
}

.vs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vs-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.vs-list i.fa-xmark {
    color: #f87171;
    margin-top: 4px;
}

.vs-list i.fa-check {
    color: #34d399;
    margin-top: 4px;
}

/* COMPARATIVA (TABLA VS MERCADO) */
.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.comp-header {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    background: var(--text-dark);
    color: var(--white);
    padding: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.comp-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    text-align: center;
    font-size: 0.95rem;
}

.comp-row:last-child {
    border-bottom: none;
}

.comp-row div:first-child {
    text-align: left;
    font-weight: 600;
}

.bad {
    color: #dc2626;
    font-weight: 600;
}

.good {
    color: var(--accent);
    font-weight: 700;
}

/* PRICING */
.pricing-container {
    max-width: 540px;
    margin: 0 auto;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.badge-launch {
    background-color: #fef3c7;
    color: #b45309;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0.5rem 0;
    letter-spacing: -1px;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.pricing-details {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.pricing-details strong {
    color: var(--text-dark);
}

.features-list {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.features-list i {
    color: var(--accent);
    background: var(--accent-light);
    padding: 6px;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* FOOTER */
footer {
    background-color: var(--text-dark);
    color: #94a3b8;
    text-align: center;
    padding: 4rem 6%;
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 0.5rem;
}

/* RESPONSIVE */
@media(max-width: 900px) {
    .tech-banner {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem;
    }
    .empathy-banner {
        padding: 3rem 1.5rem;
    }
}

@media(max-width: 768px) {
    .hero h1 {
        font-size: 2.3rem;
    }
    nav {
        display: none; 
    }
    .comp-header, .comp-row {
        grid-template-columns: 1.5fr 1fr 1fr;
        font-size: 0.85rem;
        padding: 1rem;
    }
}
