:root {
    --ha-navy: #0a2540;
    --ha-blue: #1266a8;
    --ha-sky: #d9eefb;
    --ha-cyan: #27a7d8;
    --ha-ink: #132538;
    --ha-muted: #5f7185;
    --ha-line: #d8e3ef;
    --ha-soft: #f4f8fb;
    --ha-white: #ffffff;
    --ha-success: #0f8a74;
    --ha-warning: #d99022;
    --ha-shadow: 0 18px 50px rgba(10, 37, 64, 0.12);
    --ha-radius: 8px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    color: var(--ha-ink);
    background: var(--ha-white);
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

a {
    color: var(--ha-blue);
    text-decoration: none;
}

a:hover {
    color: #0d4f84;
}

.navbar {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(216, 227, 239, 0.82);
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.navbar.is-scrolled {
    box-shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
}

.navbar-brand {
    color: var(--ha-navy);
    font-weight: 800;
    letter-spacing: 0;
}

.brand-mark {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    margin-right: 0.55rem;
    color: var(--ha-white);
    background: linear-gradient(135deg, var(--ha-navy), var(--ha-cyan));
    border-radius: 8px;
}

.nav-link {
    color: #2d4358;
    font-weight: 600;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--ha-blue);
}

.btn {
    border-radius: 8px;
    font-weight: 700;
    padding: 0.78rem 1.05rem;
}

.btn-primary {
    background: var(--ha-blue);
    border-color: var(--ha-blue);
    box-shadow: 0 14px 28px rgba(18, 102, 168, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
    background: #0e558d;
    border-color: #0e558d;
}

.btn-outline-primary {
    color: var(--ha-blue);
    border-color: rgba(18, 102, 168, 0.45);
    background: rgba(255, 255, 255, 0.84);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: var(--ha-white);
    background: var(--ha-blue);
    border-color: var(--ha-blue);
}

.section {
    padding: 92px 0;
}

.section-soft {
    background: linear-gradient(180deg, #f7fbfe 0%, #eef6fb 100%);
}

.section-title {
    color: var(--ha-navy);
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.section-lead {
    max-width: 780px;
    color: var(--ha-muted);
    font-size: 1.08rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--ha-blue);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 142px 0 86px;
    background:
        linear-gradient(115deg, rgba(10, 37, 64, 0.96), rgba(14, 84, 137, 0.92)),
        radial-gradient(circle at 78% 22%, rgba(39, 167, 216, 0.4), transparent 32%);
    color: var(--ha-white);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 150px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--ha-white));
    opacity: 0.08;
    pointer-events: none;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(2.35rem, 6vw, 4.8rem);
    line-height: 1.02;
    font-weight: 850;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

.hero-title-line {
    display: block;
}

.hero-copy-line {
    display: inline;
}

.hero .lead {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    overflow-wrap: break-word;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.hero .btn-outline-primary {
    color: var(--ha-white);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.hero .btn-outline-primary:hover,
.hero .btn-outline-primary:focus {
    color: var(--ha-navy);
    background: var(--ha-white);
    border-color: var(--ha-white);
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 2.6rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--ha-radius);
    background: rgba(255, 255, 255, 0.14);
}

.hero-meta div {
    min-height: 94px;
    padding: 1rem;
    background: rgba(10, 37, 64, 0.28);
}

.hero-meta strong {
    display: block;
    color: var(--ha-white);
    font-size: 1.55rem;
    line-height: 1.2;
}

.hero-meta span {
    display: block;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.92rem;
}

.screenshot-frame {
    position: relative;
    overflow: hidden;
    min-height: 410px;
    border: 1px solid rgba(216, 227, 239, 0.34);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
        linear-gradient(135deg, rgba(217, 238, 251, 0.24), rgba(18, 102, 168, 0.1));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}

.screenshot-frame-real {
    min-height: 0;
    background: #f6fbff;
}

.screenshot-frame-real .screenshot-topbar {
    position: relative;
    z-index: 2;
}

.screenshot-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    object-position: top center;
}

.screenshot-topbar {
    display: flex;
    align-items: center;
    gap: 0.42rem;
    height: 42px;
    padding: 0 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(10, 37, 64, 0.42);
}

.screenshot-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.48);
}

.screenshot-body {
    position: relative;
    display: grid;
    min-height: 368px;
    grid-template-columns: 1fr 0.48fr;
}

.map-placeholder {
    position: relative;
    min-height: 368px;
    background:
        linear-gradient(35deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%) 0 0 / 36px 36px,
        linear-gradient(145deg, rgba(126, 202, 231, 0.46), rgba(10, 37, 64, 0.22));
}

.map-placeholder::before,
.map-placeholder::after {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    transform: rotate(-22deg);
}

.map-placeholder::before {
    width: 70%;
    height: 22px;
    top: 42%;
    left: -10%;
}

.map-placeholder::after {
    width: 42%;
    height: 16px;
    right: -8%;
    bottom: 24%;
}

.pin {
    position: absolute;
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--ha-white);
    background: var(--ha-blue);
    border: 3px solid rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    box-shadow: 0 12px 24px rgba(10, 37, 64, 0.28);
}

.pin:nth-child(1) {
    top: 27%;
    left: 28%;
}

.pin:nth-child(2) {
    top: 58%;
    left: 55%;
    background: var(--ha-success);
}

.pin:nth-child(3) {
    top: 38%;
    left: 72%;
    background: var(--ha-warning);
}

.panel-placeholder {
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.88);
    color: var(--ha-ink);
}

.panel-row {
    padding: 0.85rem;
    margin-bottom: 0.7rem;
    border: 1px solid var(--ha-line);
    border-radius: 8px;
    background: var(--ha-white);
}

.panel-row strong {
    display: block;
    color: var(--ha-navy);
    font-size: 0.95rem;
}

.panel-row span {
    color: var(--ha-muted);
    font-size: 0.86rem;
}

.placeholder-label {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 3;
    padding: 0.82rem 1rem;
    color: var(--ha-white);
    font-weight: 800;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.55);
    border-radius: 8px;
    background: rgba(10, 37, 64, 0.78);
}

.feature-card,
.audience-card,
.pricing-card,
.problem-item,
.source-card {
    height: 100%;
    border: 1px solid var(--ha-line);
    border-radius: var(--ha-radius);
    background: var(--ha-white);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover,
.audience-card:hover,
.pricing-card:hover,
.problem-item:hover,
.source-card:hover {
    transform: translateY(-4px);
    border-color: rgba(18, 102, 168, 0.28);
    box-shadow: var(--ha-shadow);
}

.icon-box {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--ha-blue);
    background: var(--ha-sky);
    border-radius: 8px;
    font-size: 1.35rem;
}

.icon-box-boat svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
}

.problem-item i {
    color: var(--ha-warning);
    font-size: 1.2rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.78rem;
    padding: 1rem;
}

.feature-list i {
    color: var(--ha-success);
    font-size: 1.15rem;
    margin-top: 0.1rem;
}

.alert-example {
    border-left: 5px solid var(--ha-blue);
    border-radius: 8px;
    background: #eef7fc;
}

.report-preview {
    overflow: hidden;
    border: 1px solid var(--ha-line);
    border-radius: 8px;
    background: var(--ha-white);
    box-shadow: var(--ha-shadow);
}

.report-screenshot {
    display: block;
    width: 100%;
    height: auto;
}

.report-screenshot-document {
    max-height: 620px;
    object-fit: contain;
    background: #ffffff;
}

.report-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    color: var(--ha-white);
    background: var(--ha-navy);
}

.report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    padding: 1.15rem;
}

.report-field {
    min-height: 74px;
    padding: 0.85rem;
    border: 1px solid var(--ha-line);
    border-radius: 8px;
    background: #f8fbfd;
}

.report-field span {
    display: block;
    color: var(--ha-muted);
    font-size: 0.82rem;
}

.report-field strong {
    color: var(--ha-navy);
    font-size: 1.06rem;
}

.report-placeholder {
    margin: 0 1.15rem 1.15rem;
    padding: 1rem;
    color: var(--ha-blue);
    font-weight: 800;
    text-align: center;
    border: 1px dashed rgba(18, 102, 168, 0.4);
    border-radius: 8px;
    background: #f2f9fd;
}

.history-band {
    border: 1px solid var(--ha-line);
    border-radius: var(--ha-radius);
    background: linear-gradient(135deg, #ffffff, #eef8fc);
    box-shadow: var(--ha-shadow);
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.9rem;
    padding: 1.2rem;
}

.timeline-item {
    padding: 1rem;
    border: 1px solid var(--ha-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
}

.timeline-item strong {
    display: block;
    color: var(--ha-navy);
    font-size: 1.1rem;
}

.timeline-item span {
    display: block;
    color: var(--ha-muted);
    font-size: 0.9rem;
}

.source-card {
    padding: 1.15rem;
}

.disclaimer {
    color: #31485e;
    border: 1px solid #b8d8ed;
    border-radius: 8px;
    background: #eef8fc;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.35rem;
}

.pricing-card.is-featured {
    border-color: rgba(18, 102, 168, 0.58);
    box-shadow: 0 20px 55px rgba(18, 102, 168, 0.16);
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.28rem 0.62rem;
    color: var(--ha-blue);
    border: 1px solid rgba(18, 102, 168, 0.2);
    border-radius: 999px;
    background: #eef8fc;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.price {
    color: var(--ha-navy);
    font-size: 2rem;
    font-weight: 850;
    line-height: 1.15;
}

.price small {
    color: var(--ha-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.pricing-list {
    display: grid;
    gap: 0.6rem;
    padding: 0;
    margin: 1rem 0 1.35rem;
    list-style: none;
}

.pricing-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: #31485e;
    font-size: 0.95rem;
}

.pricing-list i {
    color: var(--ha-success);
    margin-top: 0.1rem;
}

.cta-section {
    color: var(--ha-white);
    background:
        linear-gradient(110deg, rgba(10, 37, 64, 0.96), rgba(18, 102, 168, 0.92)),
        linear-gradient(45deg, rgba(39, 167, 216, 0.18), rgba(255, 255, 255, 0));
}

.cta-section .section-title,
.cta-section .section-lead {
    color: var(--ha-white);
}

.inquiry-modal {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 28px 90px rgba(10, 37, 64, 0.22);
}

.inquiry-modal .modal-header {
    align-items: flex-start;
    border-bottom-color: var(--ha-line);
}

.inquiry-modal form {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
}

.inquiry-modal .modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-eyebrow {
    color: var(--ha-blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.inquiry-modal .form-label {
    color: var(--ha-navy);
    font-weight: 700;
}

.inquiry-modal .form-control,
.inquiry-modal .form-check-input {
    border-color: #cfdce9;
}

.inquiry-modal .form-control:focus,
.inquiry-modal .form-check-input:focus {
    border-color: var(--ha-blue);
    box-shadow: 0 0 0 0.2rem rgba(18, 102, 168, 0.14);
}

.inquiry-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.submit-spinner {
    margin-left: 0.55rem;
}

#inquirySubmitBtn.is-loading {
    pointer-events: none;
}

.analytics-consent {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1080;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    width: min(680px, calc(100vw - 32px));
    padding: 1rem;
    color: var(--ha-ink);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(216, 227, 239, 0.92);
    border-radius: 22px;
    box-shadow: 0 22px 70px rgba(10, 37, 64, 0.18);
    backdrop-filter: blur(14px);
}

.analytics-consent__content strong {
    display: block;
    color: var(--ha-navy);
    font-size: 1rem;
}

.analytics-consent__content p {
    margin: 0.35rem 0 0.25rem;
    color: var(--ha-muted);
    font-size: 0.92rem;
}

.analytics-consent__content a {
    color: var(--ha-blue);
    font-weight: 700;
    font-size: 0.88rem;
}

.analytics-consent__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer {
    color: rgba(255, 255, 255, 0.78);
    background: #071c31;
}

.footer strong {
    color: var(--ha-white);
}

.footer a {
    color: #b9e5f7;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .section {
        padding: 70px 0;
    }

    .hero {
        padding: 118px 0 70px;
    }

    .screenshot-frame {
        min-height: 360px;
    }

    .screenshot-body {
        grid-template-columns: 1fr;
    }

    .panel-placeholder {
        display: none;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .hero-meta,
    .timeline,
    .report-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
    }

    .hero h1 {
        max-width: calc(100vw - 24px);
        font-size: 2rem;
        line-height: 1.12;
    }

    .hero .lead,
    .hero-actions,
    .hero-meta,
    .screenshot-frame {
        max-width: calc(100vw - 24px);
    }

    .hero-copy-line {
        display: block;
    }

    .navbar .btn {
        width: 100%;
        margin-top: 0.5rem;
    }

    .screenshot-frame,
    .map-placeholder {
        min-height: 310px;
    }

    .modal-dialog-scrollable {
        height: calc(100dvh - 1rem);
        margin: 0.5rem;
        align-items: stretch;
    }

    .modal-dialog-scrollable .inquiry-modal {
        max-height: calc(100dvh - 1rem);
    }

    .inquiry-modal .modal-header,
    .inquiry-modal .modal-footer {
        flex-shrink: 0;
    }

    .inquiry-modal .modal-body {
        min-height: 0;
        padding-bottom: 1rem;
    }

    .inquiry-modal .modal-footer {
        gap: 0.55rem;
    }

    .inquiry-modal .modal-footer .btn,
    .inquiry-modal .modal-footer a.btn {
        width: 100%;
        margin-left: 0 !important;
    }

    .analytics-consent {
        right: 12px;
        bottom: 12px;
        left: 12px;
        grid-template-columns: 1fr;
        width: auto;
        border-radius: 18px;
    }

    .analytics-consent__actions {
        justify-content: stretch;
    }

    .analytics-consent__actions .btn {
        flex: 1 1 0;
    }
}

.pricing-note {
    margin-top: 1rem;
    padding: .85rem 1rem;
    border-radius: 14px;
    background: rgba(13, 110, 253, .06);
    border: 1px solid rgba(13, 110, 253, .15);
    color: #345;
    font-size: .92rem;
    line-height: 1.45;
}

.pricing-note-strong {
    background: rgba(25, 135, 84, .08);
    border-color: rgba(25, 135, 84, .2);
    color: #1f5137;
    font-weight: 650;
}

.pricing-info-box {
    padding: 1.5rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(15, 40, 70, .08);
    box-shadow: 0 20px 60px rgba(15, 40, 70, .06);
}

.pricing-info-box h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #08294d;
    margin-bottom: .6rem;
}

.pricing-info-box h3 i {
    margin-right: .35rem;
    color: #0d6efd;
}

.pricing-info-box p {
    margin: 0;
    color: #5d6b7a;
    font-size: .95rem;
    line-height: 1.55;
}
