/* ===================================================
   Cross Ekklesia – Landing Page Styles
   =================================================== */

:root {
    --ce-dark: #0f1b2d;
    --ce-dark-2: #162036;
    --ce-dark-3: #1c2a44;
    --ce-accent: #3b82f6;
    --ce-accent-hover: #2563eb;
    --ce-gradient: linear-gradient(135deg, #0f1b2d 0%, #1e3a5f 100%);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #1e293b;
    overflow-x: hidden;
}

/* ---- Navbar ---- */
.ce-navbar {
    background: transparent;
    transition: background .3s, box-shadow .3s;
    padding: .8rem 0;
}
.ce-navbar-scrolled {
    background: var(--ce-dark) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.ce-navbar .nav-link {
    color: rgba(255,255,255,.75);
    font-weight: 500;
    font-size: .9rem;
    transition: color .2s;
}
.ce-navbar .nav-link:hover {
    color: #fff;
}

/* Navbar logo */
.ce-navbar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter .3s, opacity .3s;
}
.ce-navbar-logo:hover {
    opacity: .85;
}

/* Footer logo */
.ce-footer-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* ---- Hero ---- */
.ce-hero {
    background: var(--ce-gradient);
    min-height: 100vh;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}
.ce-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.ce-hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}
.ce-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,.65);
    max-width: 520px;
    line-height: 1.7;
}
.ce-text-accent {
    color: var(--ce-accent);
}

/* Hero visual card */
.ce-hero-visual {
    position: relative;
}
.ce-hero-card {
    background: var(--ce-dark-2);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,.4);
}
.ce-hero-card-header {
    background: var(--ce-dark-3);
    padding: 10px 16px;
    display: flex;
    gap: 6px;
}
.ce-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.ce-hero-card-body {
    padding: 28px 24px;
}
.ce-stat-row {
    display: flex;
    justify-content: space-around;
}
.ce-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.ce-stat-icon {
    font-size: 1.6rem;
}
.ce-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}
.ce-stat-label {
    font-size: .75rem;
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.ce-mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 70px;
}
.ce-bar {
    flex: 1;
    background: rgba(59,130,246,.25);
    border-radius: 4px 4px 0 0;
    transition: height .6s ease;
}
.ce-bar-active {
    background: var(--ce-accent);
}

/* ---- Sections ---- */
.ce-section {
    padding: 80px 0;
}
.ce-section-dark {
    background: var(--ce-gradient);
}
.ce-section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #0f172a;
}
.ce-section-dark .ce-section-title {
    color: #fff;
}
.ce-section-subtitle {
    color: #64748b;
    max-width: 580px;
    line-height: 1.7;
}

/* ---- Badges ---- */
.ce-badge-accent {
    background: rgba(59,130,246,.15);
    color: var(--ce-accent);
    font-weight: 600;
    font-size: .8rem;
    padding: 6px 14px;
    border-radius: 20px;
}
.ce-badge-dark {
    background: #0f172a;
    color: #fff;
    font-weight: 600;
    font-size: .8rem;
    padding: 6px 14px;
    border-radius: 20px;
}

/* ---- Buttons ---- */
.ce-btn-primary {
    background: var(--ce-accent);
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background .2s, transform .15s;
}
.ce-btn-primary:hover {
    background: var(--ce-accent-hover);
    color: #fff;
    transform: translateY(-1px);
}

/* ---- Pain cards ---- */
.ce-pain-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px 24px;
    height: 100%;
    transition: transform .2s, box-shadow .2s;
}
.ce-pain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}
.ce-pain-icon {
    width: 56px;
    height: 56px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* ---- Check list (qué es) ---- */
.ce-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ce-check-list li {
    color: rgba(255,255,255,.8);
    padding: 8px 0;
    font-size: .95rem;
}

/* ---- Feature grid ---- */
.ce-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.ce-feature-tile {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: background .2s;
}
.ce-feature-tile span {
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    font-weight: 500;
}
.ce-feature-tile:hover {
    background: rgba(255,255,255,.1);
}

/* ---- Module cards ---- */
.ce-module-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 24px;
    height: 100%;
    transition: transform .2s, box-shadow .2s;
}
.ce-module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.ce-module-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
}

/* ---- Benefit cards ---- */
.ce-benefit-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 32px 20px;
    height: 100%;
    transition: background .2s;
}
.ce-benefit-card:hover {
    background: rgba(255,255,255,.1);
}
.ce-benefit-icon {
    width: 56px;
    height: 56px;
    background: rgba(59,130,246,.15);
    color: var(--ce-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 16px;
}

/* ---- CTA section ---- */
.ce-cta-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f1b2d 100%);
    padding: 100px 0;
}

/* ---- Footer ---- */
.ce-footer {
    background: var(--ce-dark);
    color: #fff;
    padding: 60px 0 30px;
}

/* ---- Responsive ---- */
@@media (max-width: 991.98px) {
    .ce-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    .ce-hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }
    .ce-section {
        padding: 60px 0;
    }
}

@@media (max-width: 575.98px) {
    .ce-hero-title {
        font-size: 1.8rem;
    }
    .ce-stat-row {
        gap: 8px;
    }
    .ce-stat-number {
        font-size: 1.2rem;
    }
    .ce-feature-grid {
        grid-template-columns: 1fr;
    }
}