/* POS Plus public demo page - scoped to .demo-site */

.demo-site {
    background: #f4f6f9;
    color: #343a40;
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    min-height: 100vh;
}

/* In-content links only; CTA panel overrides below */
.demo-wrap a:not(.demo-cta-btn):not(.demo-cta-contact-link):not(.demo-panel-btn) {
    color: #007bff;
}

.demo-wrap a:not(.demo-cta-btn):not(.demo-cta-contact-link):not(.demo-panel-btn):hover {
    color: #0056b3;
    text-decoration: none;
}

.demo-nav {
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.demo-nav .navbar-inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1120px;
    padding: 0.85rem 1.25rem;
}

.demo-brand {
    align-items: center;
    color: #343a40;
    display: inline-flex;
    font-size: 1.15rem;
    font-weight: 700;
    gap: 0.55rem;
}

.demo-brand img {
    border-radius: 50%;
    height: 34px;
    width: 34px;
}

.demo-nav-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.demo-nav-links a {
    color: #495057;
    font-size: 0.98rem;
    font-weight: 600;
}

.demo-nav-links a:hover {
    color: #007bff;
}

.demo-nav-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.demo-wrap {
    margin: 0 auto;
    max-width: 1120px;
    padding: 0 1.25rem 3rem;
}

.demo-hero {
    align-items: center;
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
    padding: 2.75rem 0 2rem;
}

@media (min-width: 992px) {
    .demo-hero {
        grid-template-columns: 1.05fr 0.95fr;
        padding: 3.5rem 0 2.5rem;
    }
}

.demo-eyebrow {
    color: #007bff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

.demo-hero h1 {
    font-size: clamp(1.85rem, 4vw, 2.55rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.demo-lead {
    color: #6c757d;
    font-size: 1.08rem;
    margin-bottom: 1.5rem;
    max-width: 38rem;
}

.demo-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.demo-trust {
    color: #6c757d;
    font-size: 0.98rem;
    margin: 0;
}

.demo-section {
    margin-bottom: 1.35rem;
}

.demo-section-alt {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    margin-bottom: 1.35rem;
    overflow: hidden;
}

.demo-section-head {
    border-bottom: 1px solid #eef1f4;
    padding: 1.35rem 1.5rem 0;
}

.demo-section-head h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.demo-section-head p {
    color: #6c757d;
    margin-bottom: 1rem;
}

.demo-section-body {
    padding: 1.35rem 1.5rem 1.5rem;
}

.demo-split {
    align-items: center;
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .demo-split {
        grid-template-columns: 1fr 1fr;
    }

    .demo-split.reverse .demo-split-text {
        order: 2;
    }

    .demo-split.reverse .demo-split-art {
        order: 1;
    }
}

.demo-split-text p {
    color: #495057;
    margin-bottom: 0.85rem;
}

.demo-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.demo-checklist li {
    margin-bottom: 0.55rem;
    padding-left: 1.55rem;
    position: relative;
}

.demo-checklist li::before {
    color: #28a745;
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    left: 0;
    position: absolute;
    top: 0.1rem;
}

.demo-illus {
    background: linear-gradient(145deg, #f8fafc 0%, #eef2f7 100%);
    border: 1px solid #e3e8ef;
    border-radius: 0.65rem;
    padding: 1rem;
}

.demo-illus svg {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
}

.demo-cap-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 576px) {
    .demo-cap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .demo-cap-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.demo-cap-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-left: 4px solid #007bff;
    border-radius: 0.45rem;
    height: 100%;
    padding: 1.1rem 1.15rem;
}

.demo-cap-card.cap-primary { border-left-color: #007bff; }
.demo-cap-card.cap-info { border-left-color: #17a2b8; }
.demo-cap-card.cap-success { border-left-color: #28a745; }
.demo-cap-card.cap-warning { border-left-color: #ffc107; }
.demo-cap-card.cap-danger { border-left-color: #dc3545; }
.demo-cap-card.cap-secondary { border-left-color: #6c757d; }
.demo-cap-card.cap-dark { border-left-color: #343a40; }
.demo-cap-card.cap-purple { border-left-color: #6f42c1; }

.demo-cap-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.demo-cap-card .cap-icon {
    color: #6c757d;
    margin-bottom: 0.55rem;
}

.demo-cap-card p {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 0.65rem;
}

.demo-cap-card ul {
    color: #495057;
    font-size: 0.94rem;
    margin-bottom: 0;
    padding-left: 1.1rem;
}

.demo-cap-card ul li {
    margin-bottom: 0.25rem;
}

.demo-why-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .demo-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.demo-why-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.45rem;
    padding: 1.15rem;
}

.demo-why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.demo-why-card p {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

.demo-why-card .why-icon {
    align-items: center;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.4rem;
    color: #007bff;
    display: inline-flex;
    height: 2.25rem;
    justify-content: center;
    margin-bottom: 0.65rem;
    width: 2.25rem;
}

.demo-dashboard .small-box .inner h3 {
    font-size: 1.35rem;
}

.demo-dashboard-note {
    color: #6c757d;
    font-size: 0.98rem;
    margin: 0.75rem 0 0;
}

.demo-steps {
    counter-reset: demo-step;
    list-style: none;
    margin: 0;
    padding: 0;
}

.demo-steps li {
    border-left: 2px solid #dee2e6;
    margin-left: 0.85rem;
    padding: 0 0 1.35rem 1.35rem;
    position: relative;
}

.demo-steps li:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}

.demo-steps li::before {
    background: #007bff;
    border-radius: 50%;
    color: #fff;
    content: counter(demo-step);
    counter-increment: demo-step;
    font-size: 0.85rem;
    font-weight: 700;
    height: 1.65rem;
    left: -0.85rem;
    line-height: 1.65rem;
    position: absolute;
    text-align: center;
    top: 0;
    width: 1.65rem;
}

.demo-steps h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.demo-steps p {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

.demo-faq details {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.4rem;
    margin-bottom: 0.55rem;
    padding: 0.85rem 1rem;
}

.demo-faq details[open] {
    border-color: #cfe2ff;
}

.demo-faq summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    outline: none;
}

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

.demo-faq summary::after {
    color: #6c757d;
    content: "+";
    float: right;
    font-weight: 700;
}

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

.demo-faq .faq-answer {
    color: #6c757d;
    font-size: 1rem;
    margin: 0.65rem 0 0;
}

.demo-cta {
    background: linear-gradient(135deg, #004494 0%, #0069d9 100%);
    border-radius: 0.5rem;
    color: #fff;
    padding: 2.25rem 1.5rem;
    text-align: center;
}

.demo-cta h2 {
    color: #fff;
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.demo-cta > p {
    color: #fff;
    font-size: 1.08rem;
    margin-bottom: 1.35rem;
}

.demo-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.15rem;
}

.demo-cta a.demo-cta-btn,
.demo-cta a.demo-cta-btn:link,
.demo-cta a.demo-cta-btn:visited,
.demo-cta a.demo-cta-btn:hover,
.demo-cta a.demo-cta-btn:focus,
.demo-cta a.demo-cta-btn:active {
    background: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 0.35rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
    color: #001a33;
    display: inline-block;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.45;
    opacity: 1;
    padding: 0.75rem 1.45rem;
    text-decoration: none;
}

.demo-cta a.demo-cta-btn span {
    color: #001a33;
    opacity: 1;
}

.demo-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.demo-panel-actions a.demo-panel-btn {
    border-radius: 0.3rem;
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    opacity: 1;
    padding: 0.65rem 1.25rem;
    text-decoration: none;
}

.demo-panel-actions a.demo-panel-btn-primary,
.demo-panel-actions a.demo-panel-btn-primary:visited {
    background: #0069d9;
    border: 2px solid #0069d9;
    color: #ffffff;
    opacity: 1;
}

.demo-panel-actions a.demo-panel-btn-primary:hover,
.demo-panel-actions a.demo-panel-btn-primary:focus {
    background: #0056b3;
    border-color: #0056b3;
    color: #ffffff;
    opacity: 1;
    text-decoration: none;
}

.demo-panel-actions a.demo-panel-btn-secondary,
.demo-panel-actions a.demo-panel-btn-secondary:visited {
    background: #ffffff;
    border: 2px solid #6c757d;
    color: #343a40;
    opacity: 1;
}

.demo-panel-actions a.demo-panel-btn-secondary:hover,
.demo-panel-actions a.demo-panel-btn-secondary:focus {
    background: #f8f9fa;
    border-color: #495057;
    color: #212529;
    opacity: 1;
    text-decoration: none;
}

.demo-cta-contacts {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0;
}

.demo-cta a.demo-cta-contact-link {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.demo-cta a.demo-cta-contact-link:hover,
.demo-cta a.demo-cta-contact-link:focus {
    color: #ffffff;
    text-decoration: underline;
}

.demo-pricing-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 576px) {
    .demo-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.demo-price-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 1.35rem;
    text-align: center;
}

.demo-price-card.featured {
    background: #fff;
    border-color: #007bff;
    box-shadow: 0 4px 14px rgba(0, 123, 255, 0.12);
}

.demo-price-card .price-label {
    color: #6c757d;
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.demo-price-card .price-amount {
    color: #343a40;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.demo-price-card .price-period {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 0.85rem;
}

.demo-price-card .price-note {
    color: #495057;
    font-size: 0.94rem;
    margin: 0;
}

.demo-pain-intro {
    background: #fff8e6;
    border: 1px solid #ffe08a;
    border-radius: 0.45rem;
    color: #495057;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1.15rem;
}

.demo-pain-intro strong {
    color: #343a40;
}

.demo-pricing-feature:last-child {
    margin-bottom: 0;
}

.demo-pricing-feature h3 {
    margin-bottom: 0.45rem;
}

.demo-site-footer {
    background: #2c3e50;
    color: #dee2e6;
    margin-top: 2rem;
    padding: 2.5rem 0 1.5rem;
}

.demo-footer-inner {
    margin: 0 auto;
    max-width: 1120px;
    padding: 0 1.25rem;
}

.demo-footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .demo-footer-grid {
        grid-template-columns: 1.4fr repeat(3, 1fr);
    }
}

.demo-footer-product-name {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.demo-footer-tagline {
    color: #adb5bd;
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0;
    max-width: 22rem;
}

.demo-footer-heading {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.demo-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.demo-footer-links li {
    margin-bottom: 0.45rem;
}

.demo-site-footer a {
    color: #ced4da;
    text-decoration: none;
}

.demo-site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.demo-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #adb5bd;
    font-size: 0.94rem;
    padding-top: 1.25rem;
    text-align: center;
}

.demo-footer-bottom a {
    color: #fff;
    font-weight: 600;
}

.demo-footer-bottom a:hover {
    color: #fff;
    opacity: 0.9;
}

@media (max-width: 767px) {
    .demo-nav-links {
        display: none;
    }
}

.demo-contact-wrap {
    padding-top: 1.5rem;
}

.demo-contact-head {
    margin-bottom: 1.35rem;
}

.demo-contact-head h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.demo-contact-card {
    padding: 0;
}

.demo-contact-form {
    padding: 1.35rem 1.5rem 1.5rem;
}

.demo-contact-form label {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.demo-contact-alert {
    margin-bottom: 1rem;
}

.demo-honeypot {
    height: 0;
    left: -9999px;
    overflow: hidden;
    position: absolute;
    width: 0;
}
