/* ===== Skip Link ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: #2e86c1;
    color: #fff;
    padding: 0.5rem 1.5rem;
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 0.25rem 0;
}

.skip-link:focus {
    top: 0;
}

/* ===== Base ===== */
html, body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #2d2d3a;
    margin: 0;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    color: #1a1a2e;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #2e86c1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Buttons ===== */
.btn-primary {
    color: #fff;
    background-color: #2e86c1;
    border-color: #2778ad;
}

.btn-primary:hover {
    background-color: #2778ad;
    border-color: #1f6999;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.btn-outline-primary {
    color: #2e86c1;
    border-color: #2e86c1;
}

.btn-outline-primary:hover {
    background-color: #2e86c1;
    color: #fff;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 0.5rem;
}

.btn:focus, .btn:active:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.15rem rgba(46, 134, 193, 0.35);
}

/* ===== Navbar ===== */
.navbar {
    background-color: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
}

.navbar .nav-link {
    color: #d0d0e0 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #ffffff !important;
}

.navbar-logo {
    height: 35px;
    aspect-ratio: 4;
}

/* ===== Modal popup ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-dialog-custom {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.modal-icon-success {
    font-size: 3.5rem;
    color: #27ae60;
    display: block;
    margin-bottom: 0.75rem;
}

.hero-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0;
    padding-bottom: 3rem;
}

.hero-logo-icon {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
}

.hero-logo-text {
    height: 140px;
    width: auto;
    filter: brightness(0) invert(1);
}

.hero-bontaz-logo {
    height: 56px;
    aspect-ratio: 3;
    vertical-align: middle;
    filter: brightness(0) invert(1) opacity(0.5);
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-logo-icon {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1) opacity(0.7);
}

.footer-logo-text {
    height: 32px;
    aspect-ratio: 3.5;
    filter: brightness(0) invert(1) opacity(0.7);
}

.footer-bontaz-logo {
    height: 56px;
    aspect-ratio: 3;
    vertical-align: -23px;
    filter: brightness(0) invert(1) opacity(0.6);
}

.site-footer a {
    color: #5dade2;
    text-decoration: none;
}

.site-footer a:hover {
    color: #85c1e9;
    text-decoration: underline;
}

.footer-legal-link {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45) !important;
}

.footer-legal-link:hover {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ===== Legal Content ===== */
.legal-content ul {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 1.5rem;
}

.legal-content li {
    padding: 0.3rem 0;
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 4rem 0 6rem;
    text-align: center;
    background: #1b2a4a;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.5;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 42, 74, 0.7) 0%, rgba(22, 33, 62, 0.7) 50%, rgba(15, 52, 96, 0.7) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.25rem;
    letter-spacing: -0.03em;
}

.hero-byline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: -0.5rem;
    margin-bottom: 0;
    font-weight: 300;
}

.hero-byline:last-of-type {
    margin-bottom: 2.5rem;
}

.hero-section .hero-tagline {
    font-size: 1.5rem;
    color: #a0c4ff;
    margin-bottom: 1rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: normal;
}

.hero-description {
    font-size: 1.05rem;
    color: #c0c0d0;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Section commons ===== */
.section-lead {
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
    text-align: center;
}

/* ===== Problem Section ===== */
.problem-section {
    padding: 5rem 0;
    background-color: #fff;
    text-align: center;
}

.problem-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.problem-item {
    padding: 1.5rem;
    border-left: 3px solid #e74c3c;
    background: #fef9f9;
    border-radius: 0 0.5rem 0.5rem 0;
    text-align: left;
}

.problem-icon {
    font-size: 1.8rem;
    color: #e74c3c;
    display: block;
    margin-bottom: 0.5rem;
}

.problem-item p {
    color: #555;
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

/* ===== Overview Section ===== */
.overview-section {
    padding: 4rem 0 3rem;
    background-color: #f0f4ff;
    text-align: center;
}

.overview-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.overview-nature {
    font-size: 1.1rem;
    color: #1b2a4a;
    font-weight: 500;
    margin-bottom: 2rem;
}

.overview-nature .mdi {
    font-size: 1.3rem;
    color: #2e86c1;
    margin-right: 0.4rem;
    vertical-align: -0.1em;
}

.overview-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.audience-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.audience-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border-radius: 2rem;
    padding: 0.6rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.audience-icon {
    font-size: 1.3rem;
    color: #2e86c1;
}

.audience-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #1b2a4a;
    font-weight: 500;
}

/* ===== Solution Section ===== */
.solution-section {
    padding: 5rem 0;
    background-color: #f8f9fc;
    text-align: center;
}

.solution-section h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.solution-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.solution-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #1b2a4a, #2e86c1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.solution-icon {
    font-size: 1.6rem;
    color: #fff;
}

.solution-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #1b2a4a;
}

.solution-card p {
    color: #6b7280;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* ===== Benefits Section ===== */
.benefits-section {
    padding: 5rem 0;
    background: #fff;
    text-align: center;
}

.benefits-section h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    text-align: left;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 2rem;
    color: #2e86c1;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.benefit-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    color: #1b2a4a;
}

.benefit-item p {
    color: #6b7280;
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0;
}

/* ===== Beta Section ===== */
.beta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1b2a4a 0%, #0f3460 100%);
    color: #fff;
    text-align: center;
}

.beta-section h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.beta-section .section-lead {
    color: rgba(255, 255, 255, 0.7);
}

.beta-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.beta-card {
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: left;
}

.beta-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.beta-get {
    background: rgba(46, 134, 193, 0.15);
}

.beta-get h3 {
    color: #a0c4ff;
}

.beta-give {
    background: rgba(255, 255, 255, 0.08);
}

.beta-give h3 {
    color: rgba(255, 255, 255, 0.8);
}

.beta-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.beta-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.beta-card li .mdi {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.beta-get li .mdi {
    color: #5dade2;
}

.beta-give li .mdi {
    color: rgba(255, 255, 255, 0.5);
}

.beta-cta {
    margin-top: 1rem;
}

.beta-cta .btn-primary {
    background-color: #2e86c1;
    border-color: #2778ad;
    padding: 0.85rem 2.5rem;
    font-size: 1.05rem;
}

.beta-cta .btn-primary:hover {
    background-color: #3498db;
}

/* ===== Page Sections (Questionnaire, Calculator) ===== */
.page-section {
    padding: 4rem 0;
}

.page-section h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* ===== Forms ===== */
fieldset {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

legend {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0 0.5rem;
    color: #1a1a2e;
}

.fieldset-intro {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    color: #374151;
}

.form-control {
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    padding: 0.6rem 0.75rem;
    width: 100%;
    box-sizing: border-box;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-group.horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
    font-size: 0.9rem;
    color: #374151;
}

.capability-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mt-sm {
    margin-top: 0.4rem;
}

.mt-md {
    margin-top: 1rem;
}

.text-center {
    text-align: center;
}

.beta-fieldset {
    border-color: #2e86c1;
    background: #f0f8ff;
}

.beta-checkbox {
    font-size: 1rem;
    justify-content: center;
    padding: 0.5rem 0;
}

.form-actions {
    margin-top: 1.5rem;
    text-align: center;
}

.turnstile-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #ef4444;
}

.validation-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.alert-success {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
}

/* ===== Estimator ===== */
.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.general-grid {
    display: grid;
    grid-template-columns: 180px 1fr 1fr;
    gap: 0.5rem 1rem;
    align-items: center;
}

.general-grid .col-header {
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
    color: #374151;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.general-grid .row-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
}

.mobile-label {
    display: none;
}

.mobile-field {
    display: contents;
}

.project-tabs {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    align-items: center;
    border-bottom: 1px solid #d1d5db;
    padding-bottom: 0;
}

.project-tab {
    padding: 0.5rem 1.25rem;
    border: 1px solid #d1d5db;
    border-bottom: none;
    border-radius: 0.5rem 0.5rem 0 0;
    background: #f3f4f6;
    cursor: pointer;
    font-size: 0.9rem;
    color: #6b7280;
    transition: background 0.15s, color 0.15s;
    margin-bottom: -1px;
}

.project-tab:hover {
    background: #e5e7eb;
}

.project-tab.active {
    background: #fff;
    color: #2e86c1;
    font-weight: 600;
    border-bottom-color: #fff;
}

.project-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
    padding-bottom: 0.35rem;
}

.btn-sm {
    padding: 0.3rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
    background: #fff;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-sm:hover {
    background: #f3f4f6;
}

.btn-danger-sm {
    color: #dc2626;
    border-color: #fca5a5;
}

.btn-danger-sm:hover {
    background: #fef2f2;
}

.project-form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.quant-input-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.quant-input-table th {
    font-weight: 600;
    padding: 0.5rem 0.4rem;
    background: #f3f4f6;
    border-bottom: 2px solid #d1d5db;
    text-align: center;
    font-size: 0.8rem;
    color: #374151;
}

.quant-input-table th:first-child {
    text-align: left;
}

.quant-input-table td {
    padding: 0.35rem 0.25rem;
    vertical-align: middle;
}

.quant-input-table td:first-child {
    font-weight: 500;
    white-space: nowrap;
    padding-right: 0.75rem;
    color: #374151;
}

.quant-input-table select,
.quant-input-table .form-control-sm {
    width: 100%;
    padding: 0.3rem 0.4rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.8rem;
    background: #fff;
}

.results-scroll {
    overflow-x: auto;
}

.quant-result-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    min-width: 700px;
}

.quant-result-table th {
    padding: 0.6rem 0.75rem;
    background: #1b2a4a;
    color: #fff;
    text-align: right;
    font-size: 0.8rem;
    font-weight: 600;
}

.quant-result-table th:first-child {
    text-align: left;
    min-width: 200px;
}

.quant-result-table td {
    padding: 0.4rem 0.75rem;
    text-align: right;
    border-bottom: 1px solid #e5e7eb;
    font-variant-numeric: tabular-nums;
}

.quant-result-table td:first-child {
    text-align: left;
    color: #374151;
}

.quant-result-table .total-row {
    font-weight: 700;
    background: #f0f4ff;
}

.quant-result-table .total-row td {
    border-bottom: 2px solid #c7d2fe;
}

.quant-result-table .section-sep td {
    padding: 0;
    height: 4px;
    border-bottom: none;
    background: #e5e7eb;
}

.quant-result-table .grand-total-row {
    font-weight: 700;
    font-size: 0.95rem;
}

.quant-result-table .grand-total-row td {
    background: #1b2a4a;
    color: #fff;
    border-bottom: none;
    padding: 0.6rem 0.75rem;
}

.params-details {
    margin-top: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
}

.params-details summary {
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    color: #1a1a2e;
    padding: 0.5rem 0;
}

.params-details[open] summary {
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.75rem;
}

.params-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 2rem;
}

.param-group h4 {
    font-size: 0.9rem;
    margin: 0 0 0.5rem;
    color: #1b2a4a;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.3rem;
}

.param-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
}

.param-row label {
    flex: 1;
    color: #374151;
    white-space: nowrap;
}

.param-row input[type="number"] {
    width: 80px;
    padding: 0.25rem 0.4rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    text-align: right;
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}

.w-100 {
    width: 100%;
}

/* ===== Responsive — Estimator ===== */
@media (max-width: 1200px) {
    .params-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .params-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Utilities ===== */
hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 0.75rem 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0 3rem;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-logo-icon {
        height: 56px;
    }

    .hero-logo-text {
        height: 56px;
    }

    .hero-logos {
        margin-bottom: 0;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .solution-grid {
        grid-template-columns: 1fr 1fr;
    }

    .beta-columns {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .form-row,
    .capability-grid {
        grid-template-columns: 1fr;
    }

    .general-grid {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .general-grid .col-header {
        display: none;
    }

    .general-grid .row-label {
        font-weight: 600;
        margin-top: 0.75rem;
    }

    .general-grid select {
        width: 100%;
    }

    .mobile-label {
        display: inline-block;
        font-size: 0.8rem;
        font-weight: 600;
        color: #2e86c1;
        min-width: 35px;
    }

    .mobile-field {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .general-grid div[style*="grid-column: span 2"] {
        grid-column: span 1;
    }

    .project-form-grid {
        grid-template-columns: 1fr;
    }

    .quant-input-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .params-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .solution-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 404 Not Found ===== */
.notfound-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1b2a4a 0%, #0f3460 100%);
    text-align: center;
    padding: 4rem 0;
}

.notfound-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.notfound-icon {
    font-size: 5rem;
    color: rgba(46, 134, 193, 0.6);
}

.notfound-code {
    font-size: 7rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1;
    letter-spacing: -0.04em;
}

.notfound-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.notfound-description {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.05rem;
    max-width: 400px;
    margin: 0.5rem 0 1.5rem;
}

.notfound-btn .mdi {
    margin-right: 0.4rem;
}

/* ===== Blazor infrastructure ===== */
#blazor-error-ui {
    color-scheme: light only;
    background: #fff3cd;
    border-top: 3px solid #ffc107;
    bottom: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 1rem 2.5rem 1rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    text-align: center;
    font-size: 0.95rem;
    color: #664d03;
}

    #blazor-error-ui p {
        margin: 0.25rem 0;
    }

    #blazor-error-ui a {
        color: #0d6efd;
        text-decoration: underline;
        font-weight: 500;
    }

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.loading-container {
    position: absolute;
    top: 20vh;
    left: 50%;
    transform: translateX(-50%);
    width: 10rem;
    height: 10rem;
}

.loading-progress {
    display: block;
    width: 100%;
    height: 100%;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.5rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #2e86c1;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 56px;
    width: auto;
}

.loading-progress-text {
    position: absolute;
    top: calc(20vh + 11rem);
    left: 0;
    right: 0;
    text-align: center;
    font-weight: bold;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

/* ===== About Section ===== */
.about-hero {
    background: linear-gradient(135deg, #1b2a4a 0%, #0f3460 100%);
    color: #fff;
    padding-top: 7rem;
}

.about-hero h1 {
    color: #fff;
}

.about-hero .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.about-section {
    padding: 4rem 0;
    background: #fff;
}

.about-content h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #1b2a4a;
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 1.05rem;
    max-width: 750px;
}

/* ===== Team Cards ===== */
.team-cards {
    display: flex;
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.team-card {
    text-align: center;
}

.team-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2e86c1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-card h3 {
    font-size: 1rem;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    color: #1b2a4a;
}

.team-role {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .team-cards {
        flex-direction: column;
        align-items: center;
    }
}

/* ── Feature sections (Solution page) ── */
.feature-section {
    padding: 6rem 0;
}

.feature-section--odd {
    background-color: var(--bg-dark, #0d1b2a);
}

.feature-section--even {
    background-color: var(--bg-darker, #0a1520);
}

.feature-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 3rem;
    align-items: center;
}

.feature-layout--reverse {
    direction: rtl;
}

.feature-layout--reverse > * {
    direction: ltr;
}

.feature-media {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 255, 255, 0.12);
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-section .container {
    max-width: 1600px;
}

.feature-media img,
.feature-media video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent, #2e86c1);
}

.feature-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .feature-layout,
    .feature-layout--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}
