/* =========================
   Presenta tus Facturas
   Landing page styles
   ========================= */

:root {
    --pf-primary: #007bff;
    --pf-primary-dark: #0056b3;
    --pf-bg: #f8f9fa;
    --pf-bg-alt: #eef3f9;
    --pf-text: #1f2937;
}

body {
    background-color: #fff;
    color: var(--pf-text);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-font-smoothing: antialiased;
    padding-top: 64px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #111827;
    letter-spacing: -0.01em;
}

.bg-light-alt {
    background-color: var(--pf-bg-alt);
}

.card {
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.btn {
    border-radius: 10px;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--pf-primary);
    border-color: var(--pf-primary);
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--pf-primary-dark);
    border-color: var(--pf-primary-dark);
}

.text-primary { color: var(--pf-primary) !important; }

/* Navbar */
.navbar-brand { font-family: 'Inter', sans-serif; letter-spacing: -0.01em; }
.navbar .nav-link { color: rgba(255,255,255,0.75); font-weight: 500; }
.navbar .nav-link:hover { color: #fff; }

/* Hero */
.hero {
    background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.hero h1 { font-weight: 800; line-height: 1.15; }
.hero .badge { font-weight: 600; font-size: 0.85rem; }
.hero-card {
    border-radius: 18px;
    transform: rotate(-1.2deg);
    transition: transform 0.3s ease;
}
.hero-card:hover { transform: rotate(0deg) scale(1.02); }

/* Icon circles */
.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    flex-shrink: 0;
}
.d-flex .icon-circle {
    width: 44px;
    height: 44px;
    font-size: 1rem;
}

/* Trust bar */
.trust-bar { background: #fff; }
.trust-bar .col-6 { color: #6c757d; }

/* Sections */
section h2 { font-weight: 700; }

/* CTA final */
.cta-final {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}
.cta-final .btn-light { color: #111827; }
.cta-final .btn-light .text-primary { color: var(--pf-primary) !important; }

/* Footer */
footer a:hover { color: #fff !important; }

/* Accordion */
.accordion-item { border-radius: 12px !important; overflow: hidden; margin-bottom: 0.5rem; border: 1px solid rgba(0,0,0,0.06); }
.accordion-button { font-weight: 600; }
.accordion-button:not(.collapsed) {
    color: var(--pf-primary);
    background-color: #eef6ff;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    z-index: 1030;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: whatsappPulse 2.4s infinite;
}
.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.55);
    animation: none;
}
@keyframes whatsappPulse {
    0%   { box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.45); }
    70%  { box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4), 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
    .hero { padding: 3rem 0 2.5rem; }
    .hero h1 { font-size: 2.2rem; }
    .display-4 { font-size: 2.2rem; }
    .display-5 { font-size: 2rem; }
    .whatsapp-float { width: 54px; height: 54px; font-size: 28px; bottom: 18px; right: 18px; }
    body { padding-top: 60px; }
}
