:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --text-main: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --border: #e2e8f0;

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--secondary);
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--primary);
}

.plan-features ul li ion-icon {
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Pricing Cards (Based on ui/sorry.html) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.pricing-card {
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.8);
    /* slate-200 opacity */
    border-radius: 0.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #bfdbfe;
    /* blue-200 */
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.pricing-card .description {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.pricing-card .price-section {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.pricing-card .price-amount {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.75rem;
}

.pricing-card .price-period {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

.navbar {
    display: flex;
    gap: 1.5rem;
}

.navbar a {
    font-weight: 500;
    color: var(--text-light);
}

.navbar a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.menu-toggle {
    display: none;
}

/* Billing Toggle (Segmented Control) */
.billing-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.billing-toggle {
    display: inline-flex;
    background: #e2e8f0;
    /* Slate 200 */
    padding: 0.25rem;
    border-radius: 9999px;
    position: relative;
    border: 1px solid #cbd5e1;
}

.toggle-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: none;
    background: transparent;
    color: #64748b;
    /* Slate 500 */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    outline: none;
}

.toggle-btn:hover {
    color: var(--secondary);
}

.toggle-btn.active {
    background: var(--white);
    color: var(--secondary);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.badge-save {
    background: #dcfce7;
    /* Green 100 */
    color: #166534;
    /* Green 700 */
    font-size: 0.75rem;
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.12;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.hero-text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.75rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-weight: 600;
}

.stat-item ion-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Page Header */
.page-header {
    padding-top: 140px;
    padding-bottom: 60px;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info .info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-item .icon-box {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
}

.contact-form-wrapper h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--secondary);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-block {
    width: 100%;
}

.text-sm {
    font-size: 0.875rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
}

.faq-item h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .navbar {
        gap: 1.25rem;
    }

    .navbar a {
        white-space: nowrap;
        font-size: 0.95rem;
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .menu-toggle {
        display: block;
        font-size: 2rem;
        background: none;
        border: none;
        cursor: pointer;
    }

    .navbar,
    .header-actions {
        display: none;
        /* Add mobile menu logic later */
    }
}

/* Section Common */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1rem;
}

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

.section-header {
    margin-bottom: 4rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--primary);
    color: var(--white);
    transform: rotate(3deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer Section */
.footer {
    background: var(--secondary);
    --text-light: #94a3b8;
    color: var(--white);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    flex: 1;
    max-width: 400px;
}

.footer-logo {
    color: var(--white) !important;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-group h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-group a {
    color: var(--text-light);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-group a:hover {
    color: var(--white);
}

.footer-group li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-nav {
        gap: 2rem;
        justify-content: space-between;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
/* --- Modern Contact Feedback Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--white);
    width: 100%;
    max-width: 480px;
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: #f0fdf4;
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
    animation: bounceIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-icon.error {
    background: #fef2f2;
    color: #ef4444;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.modal-text {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-btn {
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.text-center {
    text-align: center;
}

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

section[id] {
    scroll-margin-top: 90px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.45);
    outline-offset: 2px;
}

.section-header:not(.text-center) .section-desc {
    margin: 0;
}

.page-header.section {
    padding-top: 140px;
    padding-bottom: 60px;
}

/* Scan panel */
.hero-visual {
    min-width: 0;
}

.scan-panel,
.scan-caption {
    max-width: 520px;
    margin-left: auto;
    text-align: left;
}

.scan-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.scan-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 1rem 1.25rem;
    font-weight: 700;
    color: var(--secondary);
}

.scan-head span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
}

.scan-status {
    position: relative;
    min-height: 2.75rem;
    font-size: 0.925rem;
    font-weight: 600;
}

.scan-status > span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
}

.scan-status-off {
    background: #fffbeb;
    color: #92400e;
}

.scan-status-on {
    background: #ecfdf5;
    color: #065f46;
    animation: scan-show 0.4s ease 1.6s both;
}

.scan-rows li {
    display: grid;
    grid-template-columns: 3.25rem 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.scan-source {
    justify-self: start;
    padding: 0.1rem 0.45rem;
    border-radius: 0.35rem;
    background: #eff6ff;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
}

.scan-item strong {
    display: block;
    color: var(--secondary);
    font-weight: 600;
}

.scan-item small {
    color: var(--text-light);
    font-size: 0.825rem;
}

.scan-state {
    display: grid;
    justify-items: end;
    font-size: 0.85rem;
    font-weight: 600;
}

.scan-state > span {
    grid-area: 1 / 1;
}

.scan-wait {
    color: #b45309;
    animation: scan-hide 0.3s ease var(--scan-sent) both;
}

.scan-sent {
    color: #047857;
    animation: scan-show 0.3s ease var(--scan-sent) both;
}

.scan-rows li:nth-child(1) { --scan-sent: 2s; }
.scan-rows li:nth-child(2) { --scan-sent: 2.4s; }
.scan-rows li:nth-child(3) { --scan-sent: 2.8s; }
.scan-rows li:nth-child(4) { --scan-sent: 3.2s; }

.scan-caption {
    margin-top: 0.85rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

@keyframes scan-show {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scan-hide {
    from { opacity: 1; }
    to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .scan-status-on,
    .scan-sent {
        animation: none;
    }

    .scan-wait {
        animation: none;
        opacity: 0;
    }
}

/* Clients */
.client-band {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.client-band p {
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.client-names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #475569;
}

/* Steps */
.flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2rem;
    list-style: none;
    counter-reset: flow;
}

.flow-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow li {
    counter-increment: flow;
    position: relative;
    padding-top: 3.25rem;
}

.flow li::before {
    content: counter(flow);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
}

.flow li::after {
    content: "";
    position: absolute;
    top: 1.05rem;
    left: 2.25rem;
    right: -2rem;
    height: 2px;
    background: #bfdbfe;
}

.flow li:last-child::after {
    display: none;
}

.flow h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--secondary);
}

.flow p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.product-shot {
    margin-top: 4rem;
}

.product-shot img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.product-shot figcaption {
    margin-top: 0.85rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Reasons */
.why {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 4rem;
}

.why h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: var(--secondary);
}

.why p {
    color: var(--text-light);
}

/* Feature lists */
.feature-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
}

.feature-groups h3 {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    color: var(--secondary);
}

.feature-groups li {
    padding: 0.35rem 0;
    font-size: 0.975rem;
}

/* Sectors */
.sectors {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 4rem;
}

.sector-list li {
    padding: 1rem 0;
    border-top: 1px solid var(--border);
}

.sector-list strong {
    display: block;
    color: var(--secondary);
}

.sector-list span {
    color: var(--text-light);
}

/* Tables */
.table-wrap {
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 0.975rem;
}

.price-table th,
.price-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.price-table thead th {
    border-bottom: 2px solid var(--border);
    color: var(--secondary);
    font-weight: 700;
}

.price-table .num {
    white-space: nowrap;
    font-weight: 600;
}

.table-note {
    margin-top: 1rem;
    font-size: 0.925rem;
    color: var(--text-light);
}

.table-link {
    margin-top: 1.5rem;
}

/* FAQ */
.faq-list {
    max-width: 820px;
}

.faq-list details {
    border-top: 1px solid var(--border);
}

.faq-list details:last-child {
    border-bottom: 1px solid var(--border);
}

.faq-list summary {
    padding: 1.1rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
}

.faq-list details p {
    padding-bottom: 1.25rem;
    color: var(--text-light);
}

/* Call to action */
.cta-band {
    padding: 4.5rem 0;
    background: var(--secondary);
    color: var(--white);
}

.cta-band h2 {
    margin-bottom: 0.75rem;
    font-size: 2rem;
    font-weight: 800;
}

.cta-band p {
    max-width: 640px;
    margin-bottom: 2rem;
    color: #cbd5e1;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-on-dark {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
}

.btn-on-dark:hover {
    border-color: var(--white);
}

.footer-company {
    margin-top: 1rem;
}

/* Pricing cards */
.pricing-card.popular .badge-popular {
    align-self: flex-start;
    margin-bottom: 0.75rem;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    background: #dbeafe;
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-features {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: var(--bg-light);
}

.plan-features li {
    padding: 0.2rem 0;
    font-size: 0.9rem;
    color: #334155;
}

.price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.5rem;
}

.price-line .price-vat,
.price-note {
    font-size: 0.85rem;
    color: #64748b;
}

.price-note {
    min-height: 2.5em;
    margin-bottom: 1rem;
}

.pricing-card .btn {
    width: 100%;
}

.pricing-more {
    margin-top: 3rem;
}

/* Contact */
.contact-notice {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.contact-notice a,
.legal a,
.info-item a:hover {
    color: var(--primary);
}

/* Legal */
.legal {
    max-width: 820px;
    margin: 0 auto;
}

.legal h2 {
    margin: 2.25rem 0 0.75rem;
    font-size: 1.35rem;
    color: var(--secondary);
}

.legal p {
    margin-bottom: 0.85rem;
}

.legal ul {
    margin-bottom: 0.85rem;
    padding-left: 1.25rem;
    list-style: disc;
}

.legal li {
    margin-bottom: 0.4rem;
}

.legal .table-wrap {
    margin-bottom: 1rem;
}

.legal mark {
    padding: 0 0.2em;
    background: #fef3c7;
}

.legal-draft {
    margin-bottom: 2rem;
    padding: 1rem 1.25rem;
    border: 1px solid #fde68a;
    border-radius: 0.5rem;
    background: #fffbeb;
    color: #92400e;
}

.legal-date {
    color: var(--text-light);
}

.logo,
.header-actions .btn,
.hero-btns .btn {
    white-space: nowrap;
}

.hero-btns {
    flex-wrap: wrap;
}

@media (max-width: 1200px) {
    .navbar,
    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: block;
        font-size: 2rem;
        background: none;
        border: none;
        cursor: pointer;
    }
}

@media (max-width: 992px) {
    .scan-panel,
    .scan-caption {
        margin-left: auto;
        margin-right: auto;
    }

    .flow,
    .flow-4 {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .flow li {
        padding: 0 0 0 3.25rem;
    }

    .flow li::after {
        top: 2.25rem;
        bottom: -1.75rem;
        left: 1.05rem;
        right: auto;
        width: 2px;
        height: auto;
    }

    .feature-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sectors {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.mobile-nav a.btn-primary {
    color: var(--white);
}

.price-table td:last-child:not(.module-cell) {
    min-width: 10rem;
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .hero-container {
        text-align: left;
    }

    .hero {
        padding: 120px 0 64px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .hero-stats {
        justify-content: flex-start;
        text-align: left;
    }

    .section {
        padding: 64px 0;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .why,
    .feature-groups {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .scan-rows li {
        grid-template-columns: 2.75rem 1fr auto;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
    }

    .scan-head,
    .scan-status > span {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .footer-nav {
        flex-direction: column;
    }
}

/* Content pages */
.prose {
    max-width: 820px;
    margin: 0 auto;
}

.prose .section-title {
    font-size: 2.25rem;
    line-height: 1.2;
}

.prose-lead {
    font-size: 1.125rem;
    color: var(--text-light);
}

.prose-meta {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.prose-lead + .prose-meta {
    margin-top: 1rem;
    margin-bottom: 0;
}

.prose section + section {
    margin-top: 2.5rem;
}

.prose h2 {
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    line-height: 1.3;
    color: var(--secondary);
}

.prose h3 {
    margin: 1.25rem 0 0.35rem;
    font-size: 1.05rem;
    color: var(--secondary);
}

.prose p {
    margin-bottom: 0.85rem;
}

.prose ul,
.prose ol {
    margin-bottom: 0.85rem;
    padding-left: 1.25rem;
}

.prose ul {
    list-style: disc;
}

.prose li {
    margin-bottom: 0.45rem;
}

.prose a:not(.btn) {
    color: var(--primary);
}

.prose a:not(.btn):hover {
    text-decoration: underline;
}

.text-link {
    color: var(--primary);
}

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

.prose .table-wrap {
    margin-bottom: 1rem;
}

.prose .price-table td:last-child:not(.module-cell) {
    min-width: 0;
}

.prose .price-table th[scope="row"] {
    white-space: nowrap;
}

.table-link .btn + .btn {
    margin-left: 0.5rem;
}

@media (max-width: 640px) {
    .prose .section-title {
        font-size: 1.75rem;
    }

    .prose .price-table {
        font-size: 0.875rem;
    }

    .prose .price-table th,
    .prose .price-table td {
        padding: 0.6rem 0.4rem;
    }

    .prose .price-table td {
        overflow-wrap: anywhere;
    }

    .prose .price-table th[scope="row"] {
        white-space: normal;
    }
}
