:root {
    --primary: #AE1EA3;
    --primary-dark: #7C1FA0;
    --primary-light: #F7E8F7;
    --accent: #C84AC1;
    --dark: #2B0A33;
    --text: #1f2937;
    --muted: #6b7280;
    --bg: #ffffff;
    --bg-soft: #f9fafb;
    --border: #e5e7eb;
    --success: #0f766e;
    --danger: #b91c1c;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 18px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI26My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA9NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA7MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDg2Ni4wMTgzeiAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgg='') no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* ??? Layout ??? */
.container {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
}

/* ??? Buttons ??? */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

    .btn-primary:hover {
        background: var(--primary-dark);
    }

.btn-secondary {
    background: #fff;
    border-color: var(--border);
    color: var(--text);
}

    .btn-secondary:hover {
        border-color: #cbd5e1;
        background: #fafafa;
    }

/* ??? Tag ??? */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

/* ??? Header / Nav ??? */
header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-img {
    height: 34px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
    color: var(--muted);
    font-size: 15px;
}

/* ??? Hero ??? */
.hero {
    padding: 72px 0 48px;
    background:
        radial-gradient(circle at top right, rgba(174, 30, 163, 0.11), transparent 28%),
        radial-gradient(circle at top left, rgba(124, 31, 160, 0.08), transparent 24%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 62px);
    line-height: 1.05;
    letter-spacing: -1.8px;
    margin: 18px 0 18px;
}

.hero p {
    font-size: 19px;
    color: var(--muted);
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 30px 0 22px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    color: var(--muted);
    font-size: 15px;
}

    .hero-points span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .hero-points span::before {
        content: "\f00c";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: var(--success);
        font-size: 12px;
    }

/* ??? Cards ??? */
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ??? Mockup / Dashboard ??? */
.mockup {
    padding: 18px;
}

.window-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
}

.dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.mini {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    background: #fff;
}

    .mini h4 {
        font-size: 14px;
        color: var(--muted);
        margin-bottom: 6px;
        font-weight: 600;
    }

    .mini strong {
        font-size: 24px;
        display: block;
        margin-bottom: 8px;
    }

.bar {
    height: 8px;
    background: #eee;
    border-radius: 999px;
    overflow: hidden;
}

    .bar > div {
        height: 100%;
        background: var(--primary);
        border-radius: 999px;
    }

.invoice-list {
    grid-column: 1 / -1;
}

.invoice-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

    .invoice-row:last-child {
        border-bottom: none;
    }

.status {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    width: fit-content;
}

.paid {
    background: #dcfce7;
    color: #166534;
}

.sent {
    background: #e0e7ff;
    color: #3730a3;
}

.overdue {
    background: #fee2e2;
    color: #991b1b;
}

/* ??? Sections ??? */
section {
    padding: 72px 0;
}

.section-title {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 46px;
}

    .section-title h2 {
        font-size: clamp(30px, 4vw, 42px);
        line-height: 1.1;
        margin-bottom: 14px;
        letter-spacing: -1px;
    }

    .section-title p {
        color: var(--muted);
        font-size: 18px;
    }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* ??? Feature cards ??? */
.feature {
    padding: 28px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 24px;
    background: var(--primary-light);
    color: var(--primary);
    margin-bottom: 18px;
}

.feature h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.feature p {
    color: var(--muted);
}

/* ??? Pricing ??? */
.pricing-wrap {
    display: flex;
    justify-content: center;
}

.pricing-card {
    width: min(100%, 520px);
    padding: 34px;
    text-align: center;
    border: 2px solid rgba(174, 30, 163, 0.15);
}

.eyebrow {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 15px;
    margin: 12px 0 8px;
}

.price {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
    margin: 10px 0 8px;
}

    .price .value {
        font-size: 64px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: -2px;
    }

    .price .unit {
        font-size: 18px;
        color: var(--muted);
        margin-bottom: 10px;
    }

.pricing-card p {
    color: var(--muted);
    margin-bottom: 24px;
    font-size: 17px;
}

.check-list {
    list-style: none;
    text-align: left;
    display: grid;
    gap: 12px;
    margin: 26px 0 30px;
}

    .check-list li {
        padding-left: 28px;
        position: relative;
        color: var(--text);
    }

        .check-list li::before {
            content: "\f00c";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 2px;
            color: var(--success);
            font-size: 12px;
        }

/* ??? Compare ??? */
.compare {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.info-box {
    padding: 28px;
}

    .info-box h3 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .info-box p {
        color: var(--muted);
        margin-bottom: 18px;
    }

    .info-box ul {
        list-style: none;
        display: grid;
        gap: 10px;
    }

    .info-box li {
        padding-left: 26px;
        position: relative;
    }

        .info-box li::before {
            position: absolute;
            left: 0;
            top: 0;
            font-weight: 800;
        }

.positive li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--success);
    font-size: 12px;
}

.negative li::before {
    content: "\f00d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--danger);
    font-size: 12px;
}

/* ??? Audience ??? */
.for-whom .audience {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.audience-item {
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.audience-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: var(--primary-light);
    color: var(--primary);
    margin-bottom: 8px;
}

    .audience-item strong {
        display: block;
        font-size: 18px;
    }

    .audience-item span {
        color: var(--muted);
        font-size: 14px;
        display: block;
    }

/* ??? CTA ??? */
.cta {
    text-align: center;
}

.cta-box {
    padding: 46px 28px;
    background: linear-gradient(135deg, #ffffff, var(--primary-light));
    text-align: center;
}

    .cta-box h2 {
        font-size: clamp(30px, 4vw, 44px);
        line-height: 1.08;
        margin-bottom: 14px;
    }

    .cta-box p {
        color: var(--muted);
        font-size: 18px;
        max-width: 720px;
        margin: 0 auto 26px;
    }

/* ??? Footer ??? */
footer {
    padding: 28px 0 40px;
    color: var(--muted);
    font-size: 14px;
}

.footer-line {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-line img {
    display: inline-block;
    vertical-align: middle;
}

/* ??? Responsive ??? */

/* ??? Alternative-To Pages ??? */
.alt-hero {
    padding: 64px 0 40px;
    background: radial-gradient(circle at top right, rgba(174, 30, 163, 0.09), transparent 30%);
}

.alt-hero .tag { margin-bottom: 18px; }

.alt-hero h1 {
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
}

.alt-hero p {
    font-size: 18px;
    color: var(--muted);
    max-width: 680px;
    line-height: 1.7;
}

.alt-hero .hero-actions { margin-top: 28px; }

/* Comparison table */
.compare-table-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    font-size: 15px;
}

.compare-table thead th {
    background: var(--dark);
    color: #fff;
    padding: 14px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.compare-table thead th:first-child { border-radius: 14px 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 14px 0 0; }

.compare-table thead th.col-balino {
    background: var(--primary);
    text-align: center;
}

.compare-table thead th.col-competitor {
    text-align: center;
}

.compare-table tbody td {
    padding: 13px 20px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table tbody tr:nth-child(even) { background: var(--bg-soft); }

.compare-table tbody td:nth-child(2),
.compare-table tbody td:nth-child(3) {
    text-align: center;
    font-weight: 600;
}

.compare-table .cmp-yes {
    color: var(--success);
}

.compare-table .cmp-no {
    color: #b91c1c;
}

.compare-table .cmp-highlight {
    color: var(--primary);
    font-weight: 700;
}

/* Alt page why-switch section */
.alt-reasons .grid-3 .feature {
    text-align: center;
}

.alt-reasons .grid-3 .feature .feature-icon {
    margin: 0 auto 18px;
}

/* Alt page verdict */
.alt-verdict {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.alt-verdict p {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
}

@media (max-width: 640px) {
    .compare-table { font-size: 13px; }
    .compare-table thead th,
    .compare-table tbody td { padding: 10px 12px; }
}

@media (max-width: 980px) {
    .hero-grid,
    .grid-3,
    .two-col {
        grid-template-columns: 1fr;
    }

    .for-whom .audience {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard {
        grid-template-columns: 1fr;
    }

    .invoice-row {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 48px;
    }
}

@media (max-width: 640px) {
    .for-whom .audience {
        grid-template-columns: 1fr;
    }
}

/* ??? Quote Acceptance (Public) ??? */
.accept-quote-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-soft) 0%, var(--primary-light) 100%);
    padding: 24px;
}

.accept-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.accept-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.accept-icon.brand { background: var(--primary-light); color: var(--primary); }
.accept-icon.success { background: #d4edda; color: #27ae60; }
.accept-icon.error { background: #fde8e8; color: #e74c3c; }

.accept-card h1 {
    margin: 0 0 4px;
    font-size: 1.5rem;
    color: var(--dark);
}

.accept-card h2 {
    margin: 0 0 24px;
    font-size: 1.1rem;
    color: var(--muted);
    font-weight: 500;
}

.accept-subtitle {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 8px;
}

.accept-alert {
    text-align: left;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    background: #fde8e8;
    color: #721c24;
    border: 1px solid #f5c6cb;
    margin: 16px 0;
}

.accept-details {
    text-align: left;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

.accept-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.9rem;
}

.accept-detail-row + .accept-detail-row {
    border-top: 1px solid var(--bg-soft);
}

.accept-detail-label { color: var(--muted); font-weight: 500; }
.accept-detail-value { color: var(--dark); font-weight: 600; }
.accept-detail-value.expired-text { color: #e74c3c; }

.accept-badge-expired {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    font-weight: 600;
    vertical-align: middle;
}

/* Line Items Table */
.accept-items {
    margin-bottom: 16px;
    overflow-x: auto;
}

.accept-items table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.accept-items thead th {
    background: var(--primary);
    color: #fff;
    padding: 8px 12px;
    font-weight: 600;
    text-align: left;
    font-size: 0.8rem;
}

.accept-items thead th:first-child { border-radius: 8px 0 0 0; }
.accept-items thead th:last-child { border-radius: 0 8px 0 0; }

.accept-items tbody td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.accept-items tbody tr:nth-child(even) { background: var(--bg-soft); }

/* Totals */
.accept-totals {
    text-align: right;
    margin-bottom: 24px;
}

.accept-total-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 12px;
    font-size: 0.9rem;
}

.accept-total-grand {
    border-top: 2px solid var(--border);
    margin-top: 4px;
    padding-top: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

/* Status Messages */
.accept-status-msg {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
    text-align: left;
}

.accept-status-msg i { margin-right: 8px; }
.accept-status-accepted { background: #d4edda; color: #155724; }
.accept-status-expired { background: #fde8e8; color: #721c24; }
.accept-status-info { background: #e8f4fd; color: #0c5460; }

/* Accept Button */
.accept-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: #27ae60;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-bottom: 16px;
}

.accept-btn:hover:not(:disabled) { background: #219a52; transform: translateY(-1px); }
.accept-btn:active:not(:disabled) { transform: translateY(0); }
.accept-btn:disabled { opacity: 0.65; cursor: not-allowed; }

.accept-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.accept-powered {
    font-size: 0.75rem;
    color: #adb5bd;
    margin: 0;
}

.accept-loading {
    padding: 40px 0;
    color: var(--muted);
    font-size: 1rem;
}

.accept-loading i { margin-right: 8px; font-size: 1.2rem; }

.accept-redirect {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 16px;
    font-style: italic;
}

@media (max-width: 640px) {
    .accept-card { padding: 24px 18px; }
    .accept-items table { font-size: 0.78rem; }
}