/* =========================================================
   BibleStream Studio - Landing Page Styles
   Diseño Moderno, Limpio y Minimalista
   ========================================================= */

:root {
    --bg-dark: #090d16;
    --bg-card: #0f172a;
    --bg-card-hover: #1e293b;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(245, 158, 11, 0.4);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --amber-glow: rgba(245, 158, 11, 0.2);
    
    --emerald-500: #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.25);
    
    --blue-500: #38bdf8;
    --mp-blue: #009ee3;
    --paypal-blue: #003087;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Contenedor */
.container-landing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar-landing {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(9, 13, 22, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
    width: 100%;
}

.navbar-landing .container-landing {
    max-width: 1380px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-brand img {
    height: 30px;
    width: auto;
    display: block;
}

.nav-brand-text {
    display: inline-block;
    white-space: nowrap;
}

.nav-brand-accent {
    color: var(--amber-400);
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.4vw, 20px);
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.nav-links li {
    display: inline-flex;
    align-items: center;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: color 0.2s ease;
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 4px;
    flex-shrink: 0;
}

.nav-links a:hover {
    color: var(--amber-400);
}

.nav-links a.nav-link-highlight {
    color: var(--amber-400);
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap !important;
}

.navbar-landing .nav-btn {
    padding: 7px 16px;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap !important;
    border-radius: 9999px;
    gap: 6px;
    flex-shrink: 0;
}

.nav-toggle-btn {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    font-size: 22px;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
}

.nav-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--amber-400);
}

@media (max-width: 1040px) {
    .nav-toggle-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(9, 13, 22, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--border-subtle);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px 24px;
        gap: 8px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        padding: 10px 12px;
        font-size: 14.5px;
        width: 100%;
        border-radius: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .nav-links a:hover {
        background: rgba(245, 158, 11, 0.1);
    }

    .nav-actions {
        display: flex;
        gap: 8px;
    }

    .nav-actions .btn-outline-custom {
        display: none;
    }
}

@media (max-width: 520px) {
    .nav-brand-text {
        font-size: 16px;
    }
    .nav-brand img {
        height: 26px;
    }
    .navbar-landing .nav-btn {
        padding: 6px 12px;
        font-size: 11.5px;
    }
}

/* Botones */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--amber-500), #d97706);
    color: #000;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px var(--amber-glow);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
    color: #000;
}

.btn-outline-custom {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-subtle);
    transition: all 0.25s ease;
}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--amber-500);
    color: var(--text-main);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding: 90px 0 60px;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, var(--amber-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(16px, 2.2vw, 20px);
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 36px;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

/* Mockup Showcase */
.mockup-container {
    position: relative;
    max-width: 1050px;
    margin: 0 auto;
    border-radius: 20px;
    padding: 8px;
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.3), rgba(255, 255, 255, 0.05));
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9);
}

.mockup-inner {
    border-radius: 14px;
    overflow: hidden;
    background: #030712;
    border: 1px solid var(--border-subtle);
}

.mockup-header {
    background: #0f172a;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-screen {
    position: relative;
    width: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 40px;
    background: radial-gradient(circle at 50% 30%, rgba(30, 41, 59, 0.7), #020617);
    overflow: hidden;
}

/* Demo Lower Third Overlay dentro del mockup */
.demo-lower-third {
    width: 100%;
    max-width: 850px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.94) 100%);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 5px solid var(--amber-500);
    border-radius: 14px;
    padding: 20px 28px;
    text-align: left;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.demo-citation {
    color: var(--amber-400);
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.demo-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 9999px;
    text-transform: uppercase;
}

.demo-verse {
    color: #ffffff;
    font-size: 19px;
    line-height: 1.45;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

/* Feature Grid */
.features-section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.25s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.12);
    color: var(--amber-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-text {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* Sección de Versiones Bíblicas */
.bibles-section {
    padding: 90px 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(9, 13, 22, 0.95) 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.bibles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.bible-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.bible-card:hover {
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
    background: var(--bg-card-hover);
}

.bible-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.bible-code-badge {
    background: linear-gradient(135deg, var(--amber-500), #d97706);
    color: #000;
    font-weight: 800;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

.bible-status-badge {
    font-size: 11.5px;
    color: #34d399;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 3px 10px;
    border-radius: 9999px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bible-card-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.bible-card-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.bible-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 14px;
    font-size: 12.5px;
    color: var(--text-muted);
}

/* Módulo de Ofrendas */
.donation-section {
    padding: 90px 0;
    background: radial-gradient(circle at 50% 50%, rgba(30, 41, 59, 0.5), transparent 70%);
}

.donation-card {
    max-width: 780px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 24px;
    padding: 44px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.donation-pill-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 28px 0 20px;
}

@media (min-width: 550px) {
    .donation-pill-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.donation-pill {
    background: #1e293b;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 14px 10px;
    font-weight: 800;
    font-size: 16px;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
}

.donation-pill:hover, .donation-pill.active {
    background: var(--amber-glow);
    border-color: var(--amber-500);
    color: var(--amber-400);
    transform: scale(1.04);
}

.custom-amount-input {
    background: #030712;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    color: #fff;
    padding: 12px 18px;
    font-size: 16px;
    text-align: center;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 28px;
    display: block;
    outline: none;
    transition: border-color 0.2s;
}

.custom-amount-input:focus {
    border-color: var(--amber-500);
}

.payment-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-mercadopago {
    background: var(--mp-blue);
    color: #fff;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(0, 158, 227, 0.35);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-mercadopago:hover {
    background: #0081bb;
    transform: translateY(-2px);
    color: #fff;
}

.btn-paypal {
    background: #0070ba;
    color: #fff;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(0, 112, 186, 0.35);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-paypal:hover {
    background: #005ea6;
    transform: translateY(-2px);
    color: #fff;
}

/* Guía de Instalación */
.install-section {
    padding: 90px 0;
}

.install-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
}

.install-tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 12px 24px;
    border-radius: 9999px;
    color: var(--text-muted);
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.install-tab-btn.active {
    background: var(--amber-glow);
    border-color: var(--amber-500);
    color: var(--amber-400);
}

.install-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 36px;
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--amber-glow);
    color: var(--amber-400);
    border: 1px solid var(--amber-500);
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 14.5px;
}

.code-box {
    background: #030712;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 10px 16px;
    font-family: monospace;
    font-size: 13.5px;
    color: #38bdf8;
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    transition: color 0.15s;
}

.copy-btn:hover {
    color: #fff;
}

/* Footer */
.landing-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 50px 0 30px;
    background: #05080f;
    text-align: center;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.footer-socials a {
    color: var(--text-muted);
    font-size: 22px;
    transition: color 0.2s;
}

.footer-socials a:hover {
    color: var(--amber-400);
}

/* Páginas Legales (Aviso de Privacidad y Términos) */
.legal-container {
    max-width: 920px;
    margin: 50px auto 100px;
    padding: 0 24px;
}

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.legal-header {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 24px;
    margin-bottom: 36px;
}

.legal-header h1 {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.legal-section {
    margin-bottom: 36px;
}

.legal-section h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--amber-400);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-section p, .legal-section li {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-section ul {
    padding-left: 24px;
    margin-bottom: 14px;
}

.legal-callout {
    background: rgba(245, 158, 11, 0.08);
    border-left: 4px solid var(--amber-400);
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    margin: 20px 0;
    font-size: 14px;
    color: #e2e8f0;
}

.footer-links-legal {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 14px;
}

.footer-links-legal a {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-legal a:hover {
    color: var(--amber-400);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-card {
        padding: 24px 20px;
    }
    .legal-header h1 {
        font-size: 26px;
    }
}
