/* ==========================================================================
   EasyBillMatic front site - inner pages: page hero, pricing, FAQ, contact,
   content pages and register. Uses the variables from landing.css
   ========================================================================== */

.lp-btn-block {
    width: 100%;
}

.lp-btn-outline {
    color: var(--lp-blue);
    background: #fff;
    border: 1.5px solid #bfdbfe;
}

.lp-btn-outline:hover {
    border-color: var(--lp-blue);
}

.lp-link-btn {
    padding: 0;
    border: 0;
    background: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-blue);
    cursor: pointer;
}

.lp-link-btn:hover {
    text-decoration: underline;
}

.lp-link-btn:disabled {
    color: #94a3b8;
    cursor: not-allowed;
    text-decoration: none;
}

/* Inner page hero (breadcrumb) */
.lp-page-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 190px;
    text-align: center;
}

.lp-page-hero h1 {
    margin: 0;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.lp-crumbs {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: #94a3b8;
}

.lp-crumbs a {
    color: #cbd5e1;
}

.lp-crumbs a:hover {
    color: #fff;
}

/* Pricing */
.lp-billing-switch .lp-tab.is-active {
    color: #fff;
    background: var(--lp-blue);
}

.lp-plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.lp-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 340px;
    max-width: 100%;
    padding: 32px 28px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--lp-line);
    box-shadow: var(--lp-shadow);
}

.lp-plan.is-popular {
    border: 2px solid var(--lp-blue);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.18);
}

.lp-plan-flag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--lp-blue);
    white-space: nowrap;
}

.lp-plan-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lp-blue);
}

.lp-plan-price {
    margin: 14px 0 4px;
    font-size: 40px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--lp-ink);
}

.lp-plan-price small {
    font-size: 16px;
    font-weight: 600;
    color: var(--lp-muted);
}

.lp-plan-billing {
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--lp-muted);
}

.lp-plan-desc {
    margin: 0 0 22px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--lp-body);
}

.lp-plan .lp-btn {
    margin-top: auto;
}

.lp-plan-features {
    margin: 22px 0 0;
    padding: 20px 0 0;
    list-style: none;
    border-top: 1px solid #f1f5f9;
}

.lp-plan-features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 5px 0;
    font-size: 14.5px;
    color: var(--lp-body);
}

.lp-plan-features .lp-check {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--lp-green);
    background: var(--lp-green-soft);
}

.lp-pay-cards {
    margin-top: 40px;
    text-align: center;
}

.lp-pay-cards p {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--lp-muted);
}

.lp-pay-cards div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.lp-pay-cards img {
    max-height: 28px;
}

/* FAQ */
.lp-faq {
    max-width: 820px;
    margin: 0 auto;
}

.lp-faq details {
    margin-bottom: 10px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--lp-line);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lp-faq details[open] {
    border-color: #bfdbfe;
    box-shadow: var(--lp-shadow);
}

.lp-faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 600;
    color: var(--lp-ink);
    cursor: pointer;
    list-style: none;
}

.lp-faq summary::-webkit-details-marker {
    display: none;
}

.lp-faq summary::after {
    content: "+";
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--lp-blue);
    background: var(--lp-blue-soft);
}

.lp-faq details[open] summary::after {
    content: "\2212";
}

.lp-faq details p {
    margin: 0;
    padding: 0 22px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--lp-body);
}

.lp-faq-more {
    margin: 26px 0 0;
    text-align: center;
    font-size: 15px;
    color: var(--lp-body);
}

.lp-faq-more a {
    font-weight: 700;
    color: var(--lp-blue);
}

/* Contact */
.lp-contact {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.lp-contact-card {
    display: block;
    padding: 32px 28px;
    border-radius: 18px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--lp-line);
    box-shadow: var(--lp-shadow);
    transition: transform 0.2s, border-color 0.2s;
}

a.lp-contact-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
}

.lp-contact-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-blue);
    background: var(--lp-blue-soft);
}

.lp-contact-icon.is-green {
    color: var(--lp-green);
    background: var(--lp-green-soft);
}

.lp-contact-icon.is-orange {
    color: var(--lp-orange);
    background: var(--lp-orange-soft);
}

.lp-contact-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--lp-ink);
}

.lp-contact-card p {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--lp-body);
    overflow-wrap: anywhere;
}

.lp-contact-card small {
    font-size: 13px;
    color: var(--lp-muted);
}

/* Feature cards with a screenshot (features page) */
.lp-feature-img {
    margin: -28px -28px 20px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: var(--lp-soft);
    border-bottom: 1px solid var(--lp-line);
}

.lp-feature-img img {
    display: block;
    width: 100%;
    transition: transform 0.4s;
}

.lp-feature-media:hover .lp-feature-img img {
    transform: scale(1.04);
}

/* Content pages (privacy, terms ...) */
.lp-prose {
    max-width: 820px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: var(--lp-body);
}

.lp-prose h1,
.lp-prose h2,
.lp-prose h3 {
    margin: 1.6em 0 0.6em;
    font-weight: 800;
    line-height: 1.3;
    color: var(--lp-ink);
}

.lp-prose h1 { font-size: 32px; }
.lp-prose h2 { font-size: 24px; }
.lp-prose h3 { font-size: 19px; }

.lp-prose p,
.lp-prose ul,
.lp-prose ol {
    margin: 0 0 1em;
}

.lp-prose ul {
    padding-left: 1.3em;
    list-style: disc;
}

.lp-prose ol {
    padding-left: 1.3em;
    list-style: decimal;
}

.lp-prose a {
    color: var(--lp-blue);
    text-decoration: underline;
}

/* Register */
.lp-auth-section {
    background: var(--lp-soft);
}

.lp-auth {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    max-width: 1080px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--lp-line);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.lp-auth-card {
    padding: 44px 48px;
}

.lp-auth-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
}

.lp-auth-steps span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--lp-muted);
    background: #f1f5f9;
}

.lp-auth-steps span.is-on {
    color: #fff;
    background: var(--lp-blue);
}

.lp-auth-steps span.is-done {
    color: #fff;
    background: var(--lp-green);
}

.lp-auth-steps i {
    width: 28px;
    height: 2px;
    background: var(--lp-line);
}

.lp-auth-steps i.is-on {
    background: var(--lp-blue);
}

.lp-auth-steps small {
    margin-left: 6px;
    font-size: 13px;
    color: var(--lp-muted);
}

.lp-auth-title {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--lp-ink);
}

.lp-auth-sub {
    margin: 0 0 26px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--lp-body);
}

.lp-auth-sub strong {
    color: var(--lp-ink);
    overflow-wrap: anywhere;
}

.lp-field-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
}

.lp-field {
    margin-bottom: 16px;
}

.lp-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--lp-ink);
}

.lp-input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 15px;
    color: var(--lp-ink);
    background: #fff;
    border: 1px solid #cbd5e1;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.lp-input::placeholder {
    color: #94a3b8;
}

.lp-input:focus {
    border-color: var(--lp-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.lp-otp-input {
    height: 60px;
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 12px;
}

.lp-check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 22px;
    font-size: 14px;
    color: var(--lp-body);
}

.lp-check-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--lp-blue);
}

.lp-check-row a {
    font-weight: 600;
    color: var(--lp-ink);
    text-decoration: underline;
}

.lp-auth-switch {
    margin: 18px 0 0;
    text-align: center;
    font-size: 14px;
    color: var(--lp-muted);
}

.lp-auth-switch a {
    font-weight: 700;
    color: var(--lp-blue);
}

.lp-mail-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-blue);
    background: var(--lp-blue-soft);
}

.lp-notice {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.lp-notice b {
    display: block;
    margin-bottom: 4px;
    color: #78350f;
}

.lp-notice ul {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
}

.lp-auth-actions {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.lp-auth-aside {
    padding: 44px 40px;
    color: #cbd5e1;
    background:
        radial-gradient(500px 300px at 100% 0%, rgba(234, 88, 12, 0.3), transparent 60%),
        radial-gradient(500px 300px at 0% 100%, rgba(37, 99, 235, 0.45), transparent 60%),
        var(--lp-dark);
}

.lp-auth-aside h2 {
    margin: 20px 0 24px;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 800;
    color: #fff;
}

.lp-auth-benefits {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-auth-benefits li {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.55;
    color: #94a3b8;
}

.lp-auth-benefits li > span {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    background: rgba(255, 255, 255, 0.07);
}

.lp-auth-benefits b {
    display: block;
    font-size: 15px;
    color: #fff;
}

.lp-auth-quote {
    margin-top: 26px;
    padding: 18px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-auth-quote b {
    display: block;
    margin-top: 8px;
    color: #fff;
}

/* Error / success messages from the ajax form helper */
.lp-auth .help-block,
.lp-auth .invalid-feedback {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #dc2626;
}

.lp-auth .has-error .lp-input {
    border-color: #f87171;
}

.lp-auth #alert .alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
}

.lp-auth #alert .alert-success {
    color: #166534;
    background: var(--lp-green-soft);
    border: 1px solid #bbf7d0;
}

.lp-auth #alert .alert-danger {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.lp-auth #alert .alert-info {
    color: #1e40af;
    background: var(--lp-blue-soft);
    border: 1px solid #bfdbfe;
}

@media (max-width: 1024px) {
    .lp-contact {
        grid-template-columns: minmax(0, 1fr);
        max-width: 520px;
        margin: 0 auto;
    }

    .lp-auth {
        grid-template-columns: minmax(0, 1fr);
    }

    .lp-auth-aside {
        display: none;
    }
}

@media (max-width: 640px) {
    .lp-page-hero {
        height: 150px;
    }

    .lp-page-hero h1 {
        font-size: 30px;
    }

    .lp-auth-card {
        padding: 28px 20px;
    }

    .lp-field-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .lp-auth-title {
        font-size: 24px;
    }
}

/* ---------- Footer (all pages) ---------- */
.lp-footer {
    position: relative;
    padding: 72px 0 0;
    color: #94a3b8;
    background:
        radial-gradient(700px 360px at 100% 0%, rgba(234, 88, 12, 0.12), transparent 60%),
        radial-gradient(700px 360px at 0% 100%, rgba(37, 99, 235, 0.18), transparent 60%),
        var(--lp-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.lp-footer a {
    color: #cbd5e1;
    transition: color 0.2s;
}

.lp-footer a:hover {
    color: #fff;
}

.lp-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 40px;
    padding-bottom: 48px;
}

.lp-footer-logo {
    display: inline-block;
    margin-bottom: 18px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff;
}

.lp-footer-logo img {
    display: block;
    height: 34px;
}

.lp-footer-brand p {
    max-width: 340px;
    margin: 0 0 18px;
    font-size: 14.5px;
    line-height: 1.7;
}

.lp-footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.lp-footer-tags span {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-footer-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lp-footer .lp-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 10px;
    color: #fff;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.lp-footer .lp-store-btn:hover {
    border-color: rgba(255, 255, 255, 0.45);
}

.lp-store-btn span {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
}

.lp-store-btn small {
    font-size: 10px;
    font-weight: 500;
    color: #cbd5e1;
}

.lp-footer-col h4 {
    margin: 4px 0 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}

.lp-footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-footer-col li {
    margin-bottom: 12px;
    font-size: 14.5px;
}

.lp-footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.lp-footer-ico {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    margin-top: -4px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #93c5fd;
    background: rgba(37, 99, 235, 0.16);
}

.lp-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.lp-footer .lp-socials a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.lp-footer .lp-socials a:hover {
    color: #fff;
    background: var(--lp-blue);
    transform: translateY(-2px);
}

.lp-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 22px 0;
    font-size: 13.5px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-footer-bottom p {
    margin: 0;
}

.lp-footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

@media (max-width: 1024px) {
    .lp-footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .lp-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .lp-footer {
        padding-top: 52px;
    }

    /* Links + Pages side by side, brand and contact full width */
    .lp-footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 28px 20px;
    }

    .lp-footer-col:last-child {
        grid-column: 1 / -1;
    }

    .lp-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
