/* ══════════════════════════════════════════════════
   Grupos de Conexión — El Cielo Church
   Main Stylesheet
   ══════════════════════════════════════════════════ */

:root {
    --bg-dark: #142330;
    --bg-dark-lighter: #1a2e3f;
    --bg-dark-card: #1e3448;
    --gradient-start: #f8fe61;
    --gradient-end: #acfb55;
    --text-light: #fefef9;
    --text-muted: #a8b8c8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

@font-face {
    font-family: 'PODIUMSoft';
    src: url('../fonts/PODIUMSoft-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

/* ── Gradient Utilities ─────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

/* ── Navbar ─────────────────────────────────────── */
.navbar {
    background: rgba(20, 35, 48, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(248, 254, 97, 0.06);
    padding: 0.8rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}
.navbar.scrolled {
    padding: 0.4rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
    background: rgba(20, 35, 48, 0.97);
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.navbar-brand img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}
.navbar-brand:hover img {
    transform: scale(1.05);
}
.navbar-brand-text {
    font-family: 'PODIUMSoft', 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 1.15rem;
    line-height: 1.2;
    text-align: center;
}
.navbar-brand-text small {
    font-size: 0.45rem;
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    display: block;
    text-align: center;
}

.nav-link {
    color: var(--text-light) !important;
    font-family: 'PODIUMSoft', 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0.15rem;
    padding: 0.45rem 0.9rem !important;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}
.nav-link:hover,
.nav-link.active {
    color: var(--bg-dark) !important;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

/* ── Buttons ────────────────────────────────────── */
.btn-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--bg-dark);
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(172,251,85,0.25);
    position: relative;
    overflow: hidden;
}
.btn-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(172,251,85,0.45);
    color: var(--bg-dark);
}
.btn-gradient:hover::after {
    opacity: 1;
}

.btn-outline-glow {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(248,254,97,0.25);
    padding: 0.85rem 2rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.btn-outline-glow:hover {
    border-color: var(--gradient-start);
    color: var(--gradient-start);
    box-shadow: 0 0 25px rgba(248,254,97,0.12);
    transform: translateY(-2px);
}

/* ── Section Base ───────────────────────────────── */
section {
    padding: 6rem 0;
    position: relative;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header .label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}
.section-header p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 1rem auto 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ── Hero ────────────────────────────────────────── */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}
.hero-section::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(248,254,97,0.07) 0%, transparent 70%);
    top: -250px;
    right: -150px;
    border-radius: 50%;
}
.hero-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(172,251,85,0.05) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    border-radius: 50%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bg-dark);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    margin-bottom: 1.5rem;
    animation: pulse-glow 2.5s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(248,254,97,0.3); }
    50% { box-shadow: 0 0 45px rgba(172,251,85,0.5); }
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}
.hero-logo-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}
.hero-logo-area .glow-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    animation: ring-pulse 4s ease-in-out infinite;
}
.hero-logo-area .glow-ring:nth-child(1) {
    width: 280px; height: 280px;
    border-color: rgba(248,254,97,0.12);
    animation-delay: 0s;
}
.hero-logo-area .glow-ring:nth-child(2) {
    width: 360px; height: 360px;
    border-color: rgba(172,251,85,0.08);
    animation-delay: 0.8s;
}
.hero-logo-area .glow-ring:nth-child(3) {
    width: 440px; height: 440px;
    border-color: rgba(248,254,97,0.04);
    animation-delay: 1.6s;
}
@keyframes ring-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.06); opacity: 0.6; }
}
.hero-logo-area .logo-center {
    position: relative;
    z-index: 2;
    width: 180px;
    height: 180px;
    filter: drop-shadow(0 0 40px rgba(172,251,85,0.3));
    animation: float-gentle 6s ease-in-out infinite;
}
@keyframes float-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ── Feature Cards ──────────────────────────────── */
.feature-card {
    background: var(--bg-dark-lighter);
    border: 1px solid rgba(248,254,97,0.06);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(172,251,85,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.feature-card .icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
}
.feature-card h4 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}
.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ── About / Stats ──────────────────────────────── */
.stat-item .number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
}
.stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ── How It Works Steps ─────────────────────────── */
.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
}
.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--bg-dark);
    margin: 0 auto 1.5rem;
    position: relative;
}
.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    opacity: 0.2;
    z-index: -1;
}
.step-card h4 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}
.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(248,254,97,0.2);
    font-size: 1.5rem;
}

/* ── Testimonials ───────────────────────────────── */
.testimonial-card {
    background: var(--bg-dark-lighter);
    border: 1px solid rgba(248,254,97,0.06);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    border-color: rgba(172,251,85,0.15);
    transform: translateY(-4px);
}
.testimonial-card .stars {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.testimonial-card .quote {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
    opacity: 0.9;
}
.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.testimonial-card .author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--bg-dark);
    flex-shrink: 0;
}
.testimonial-card .author .name {
    font-weight: 600;
    font-size: 0.95rem;
}
.testimonial-card .author .role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── CTA Section ────────────────────────────────── */
.cta-section {
    position: relative;
    overflow: hidden;
}
.cta-card {
    background: linear-gradient(135deg, rgba(248,254,97,0.07), rgba(172,251,85,0.03));
    border: 1px solid rgba(248,254,97,0.1);
    border-radius: 32px;
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(248,254,97,0.06) 0%, transparent 70%);
    top: -120px;
    left: -80px;
    border-radius: 50%;
}
.cta-card::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(172,251,85,0.04) 0%, transparent 70%);
    bottom: -100px;
    right: -50px;
    border-radius: 50%;
}
.cta-card h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.cta-card p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

/* ── Footer ─────────────────────────────────────── */
footer {
    border-top: 1px solid rgba(248,254,97,0.06);
    padding: 3rem 0 1.5rem;
}
footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}
footer a:hover {
    color: var(--gradient-start);
}
.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(248,254,97,0.1);
    color: var(--text-muted);
    font-size: 1rem;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--bg-dark);
    border-color: transparent;
    transform: translateY(-3px);
}
.footer-logo {
    height: 36px;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.footer-logo:hover {
    opacity: 1;
}

/* ── Floating Particles ─────────────────────────── */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    opacity: 0.12;
    animation: float-up linear infinite;
}
@keyframes float-up {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 0.12; }
    90%  { opacity: 0.12; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ── El Cielo Church Badge ──────────────────────── */
.church-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(248,254,97,0.06);
    border: 1px solid rgba(248,254,97,0.1);
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}
.church-badge:hover {
    background: rgba(248,254,97,0.1);
    border-color: rgba(248,254,97,0.2);
}
.church-badge img {
    height: 18px;
    width: auto;
}

/* ── Pending Badge (Objetivo cards) ─────────────── */
.feature-card--pending {
    position: relative;
    opacity: 0.85;
}
.pending-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--bg-dark);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    box-shadow: 0 2px 12px rgba(172,251,85,0.3);
    animation: pending-pulse 2.5s ease-in-out infinite;
}
@keyframes pending-pulse {
    0%, 100% { box-shadow: 0 2px 12px rgba(172,251,85,0.3); }
    50% { box-shadow: 0 2px 20px rgba(248,254,97,0.5); }
}

/* ── Slogan Section ─────────────────────────────── */
.slogan-section {
    padding: 8rem 0;
}
.slogan-wrapper {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}
.slogan-quote {
    position: relative;
}
.slogan-open-quote,
.slogan-close-quote {
    font-family: 'Poppins', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    line-height: 0.5;
    display: block;
    opacity: 0.3;
}
.slogan-open-quote {
    text-align: left;
    margin-bottom: 1.5rem;
}
.slogan-close-quote {
    text-align: right;
    margin-top: 1.5rem;
}
.slogan-text {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-light);
}
.slogan-highlight {
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    display: inline-block;
    margin: 0.5rem 0;
}
.slogan-emphasis {
    display: inline-block;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-light);
    position: relative;
}
.slogan-emphasis::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gradient-start), var(--gradient-end), transparent);
    border-radius: 2px;
}

/* ── Identity Section ───────────────────────────── */
.identity-card {
    background: var(--bg-dark-lighter);
    border: 1px solid rgba(248,254,97,0.08);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}
.identity-card:hover {
    transform: translateY(-6px);
    border-color: rgba(172,251,85,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.identity-card-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(172,251,85,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.identity-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bg-dark);
    margin: 0 auto 1.5rem;
    position: relative;
}
.identity-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    opacity: 0.15;
    z-index: -1;
}
.identity-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.identity-verse {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
    background: rgba(20, 35, 48, 0.6);
    border: 1px solid rgba(248,254,97,0.06);
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}
.identity-verse i {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}
.identity-verse blockquote {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}
.identity-ref {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ── MULTIPLICACIÓN Section ─────────────────────── */
.multiplicacion-section {
    padding: 4rem 0;
}
.multiplicacion-marquee {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.multiplicacion-line {
    display: flex;
    white-space: nowrap;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 8vw, 6rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.1;
    gap: 2rem;
    animation: marquee-scroll 20s linear infinite;
    will-change: transform;
}
.multiplicacion-line:nth-child(even) {
    animation-direction: reverse;
}
.multiplicacion-filled span {
    color: var(--text-light);
    opacity: 0.15;
}
.multiplicacion-outline span {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(248, 254, 97, 0.25);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 991px) {
    .hero-logo-area {
        min-height: 300px;
        margin-top: 2rem;
    }
    .hero-logo-area .logo-center {
        width: 140px;
        height: 140px;
    }
    .hero-logo-area .glow-ring:nth-child(1) { width: 220px; height: 220px; }
    .hero-logo-area .glow-ring:nth-child(2) { width: 280px; height: 280px; }
    .hero-logo-area .glow-ring:nth-child(3) { width: 340px; height: 340px; }
    .step-connector { display: none; }
    .slogan-section { padding: 5rem 0; }
    .identity-card { padding: 2rem 1.5rem; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-section { padding-top: 6rem; min-height: auto; padding-bottom: 3rem; }
    .cta-card { padding: 3rem 1.5rem; }
    section { padding: 4rem 0; }
    .section-header { margin-bottom: 2.5rem; }
    .navbar-brand-text { font-size: 1rem; }
    .navbar-brand-text small { font-size: 0.35rem; }
    .navbar-brand img { height: 32px; }
    .slogan-open-quote, .slogan-close-quote { font-size: 3rem; }
    .slogan-section { padding: 4rem 0; }
    .identity-title { font-size: 1.5rem; }
    .multiplicacion-line { font-size: clamp(2rem, 6vw, 4rem); }
}

@media (max-width: 576px) {
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .btn-gradient, .btn-outline-glow { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
    .feature-card { padding: 2rem 1.5rem; }
    .pending-badge { font-size: 0.55rem; top: 1rem; right: 1rem; }
    .slogan-emphasis { letter-spacing: 1px; }
    .multiplicacion-line { font-size: clamp(1.5rem, 5vw, 3rem); }
}
