:root {
    --bg: #f7f8f7;
    --paper: #ffffff;
    --ink: #101820;
    --ink-soft: #34424b;
    --muted: #68777d;
    --line: #dce4e3;
    --line-strong: #b9c9c7;
    --teal: #007d7a;
    --teal-deep: #005f61;
    --teal-soft: #e8f5f3;
    --charcoal: #071115;
    --shadow: 0 28px 90px rgba(16, 24, 32, 0.12);
    --container: min(1210px, calc(100vw - 48px));
    --radius: 8px;
    --hero-x: 0px;
    --hero-y: 0px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Aptos", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 248, 247, 0.96)),
        var(--bg);
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(220, 228, 227, 0);
    background: rgba(247, 248, 247, 0.8);
    backdrop-filter: blur(18px);
    transition: border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
    border-color: rgba(185, 201, 199, 0.72);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 34px rgba(16, 24, 32, 0.08);
}

.header-inner {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.brand-mark {
    position: relative;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(0, 125, 122, 0.42);
    background: linear-gradient(135deg, var(--charcoal), #0d2d2d);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.brand-mark::after {
    content: "";
    position: absolute;
    top: -35%;
    bottom: -35%;
    left: -60%;
    width: 52%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    opacity: 0;
    transform: translate3d(-140%, 0, 0) rotate(18deg);
    will-change: transform, opacity;
    animation: markSweep 5.8s cubic-bezier(0.42, 0, 0.18, 1) infinite;
}

.brand-copy {
    display: grid;
    gap: 1px;
}

.brand-name {
    font-size: 1.06rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.brand-subtitle {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.nav-links a {
    min-height: 40px;
    padding: 10px 13px;
    border: 1px solid transparent;
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    outline: none;
    transform: translateY(-1px);
}

.nav-cta {
    margin-left: 12px;
    border-color: var(--ink) !important;
    color: var(--ink) !important;
}

main {
    overflow: hidden;
}

section {
    scroll-margin-top: 96px;
}

.hero {
    position: relative;
    min-height: calc(100svh - 82px);
    padding: 74px 0 70px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(247, 248, 247, 0.98) 0%, rgba(247, 248, 247, 0.94) 42%, rgba(247, 248, 247, 0.62) 100%),
        url("market-network-map.png") center right / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 100%;
    pointer-events: none;
    background:
        radial-gradient(circle at 72% 30%, rgba(0, 125, 122, 0.14), transparent 26rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.88) 72%);
    transform: translate3d(var(--hero-x), var(--hero-y), 0);
    transition: transform 280ms ease-out;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(460px, 0.92fr);
    gap: 58px;
    align-items: center;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--teal);
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--teal);
}

.hero h1 {
    max-width: 12ch;
    margin: 24px 0 20px;
    color: var(--ink);
    font-size: clamp(3.8rem, 7.4vw, 7.4rem);
    font-weight: 760;
    line-height: 0.92;
    letter-spacing: 0;
}

.hero-lead {
    max-width: 640px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.16rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 28px;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    font-weight: 750;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button-primary {
    border-color: var(--teal);
    background: var(--teal);
    color: #ffffff;
    box-shadow: 0 18px 38px rgba(0, 125, 122, 0.18);
}

.button:hover,
.button:focus-visible {
    outline: none;
    transform: translateY(-2px);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--teal-deep);
    border-color: var(--teal-deep);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(16, 24, 32, 0.08);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    max-width: 720px;
    margin-top: 54px;
}

.stat {
    padding: 0 24px;
    border-left: 1px solid var(--line-strong);
}

.stat:first-child {
    padding-left: 0;
    border-left: 0;
}

.stat strong {
    display: block;
    color: var(--teal);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 420;
    line-height: 1;
}

.stat span {
    display: block;
    margin-top: 10px;
    color: var(--ink-soft);
    font-size: 0.88rem;
    font-weight: 650;
}

.dashboard-stage {
    position: relative;
    min-height: 620px;
}

.dashboard-shell {
    position: absolute;
    top: 24px;
    right: 0;
    width: min(620px, 100%);
    overflow: hidden;
    border: 1px solid rgba(185, 201, 199, 0.78);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.dash-layout {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
}

.dash-sidebar {
    display: grid;
    align-content: start;
    gap: 6px;
    min-height: 386px;
    padding: 22px 16px;
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.78);
}

.dash-logo {
    margin-bottom: 18px;
    color: #ffffff;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.dash-tab {
    padding: 10px 12px;
    border: 1px solid transparent;
    font-size: 0.82rem;
}

.dash-tab.is-active {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dash-main {
    padding: 24px;
}

.dash-main h2 {
    margin: 0 0 18px;
    font-size: 1.05rem;
    font-weight: 760;
}

.dash-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.dash-metric,
.intelligence-card,
.operations-card {
    border: 1px solid var(--line);
    background: #ffffff;
}

.dash-metric {
    padding: 14px;
}

.dash-metric span {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
}

.dash-metric strong {
    display: block;
    margin-top: 8px;
    font-size: 1.35rem;
    font-weight: 650;
}

.dash-metric small {
    display: block;
    margin-top: 6px;
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 700;
}

.performance-chart {
    position: relative;
    height: 170px;
    margin-top: 16px;
    border: 1px solid var(--line);
    background:
        linear-gradient(#eef3f2 1px, transparent 1px),
        linear-gradient(90deg, #eef3f2 1px, transparent 1px),
        #ffffff;
    background-size: 42px 42px;
    overflow: hidden;
}

.performance-chart::before,
.performance-chart::after {
    content: "";
    position: absolute;
    right: 28px;
    bottom: 34px;
    left: 28px;
    height: 92px;
    border-top: 3px solid var(--teal);
    clip-path: polygon(0 76%, 13% 63%, 26% 68%, 39% 40%, 52% 54%, 65% 32%, 78% 42%, 91% 18%, 100% 12%, 100% 100%, 0 100%);
}

.performance-chart::after {
    border-color: rgba(16, 24, 32, 0.48);
    transform: translateY(18px);
    opacity: 0.64;
}

.intelligence-card {
    position: absolute;
    right: 250px;
    bottom: 0;
    width: min(400px, 58vw);
    padding: 18px;
    box-shadow: 0 24px 54px rgba(16, 24, 32, 0.12);
}

.operations-card {
    position: absolute;
    right: 0;
    bottom: 8px;
    width: min(270px, 36vw);
    padding: 22px;
    box-shadow: 0 24px 54px rgba(16, 24, 32, 0.12);
}

.mini-title {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 760;
}

.sea-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sea-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 0.84rem;
}

.sea-list li:last-child {
    border-bottom: 0;
}

.sea-list strong {
    color: var(--teal);
}

.donut {
    display: grid;
    width: 136px;
    height: 136px;
    margin: 8px auto 18px;
    place-items: center;
    border-radius: 999px;
    background: conic-gradient(var(--teal) 0 82%, #dce4e3 82% 100%);
}

.donut span {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border-radius: 999px;
    background: #ffffff;
    color: var(--ink);
    font-size: 1.55rem;
    font-weight: 760;
}

.trusted {
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.trusted p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-align: center;
    text-transform: uppercase;
}

.logo-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    color: #7f8c91;
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 760;
}

.section {
    padding: 88px 0;
}

.dark-services {
    background:
        linear-gradient(135deg, rgba(7, 17, 21, 0.96), rgba(7, 17, 21, 0.9)),
        url("hero-operations-network.png") center / cover no-repeat;
    color: #ffffff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.service-card {
    min-height: 330px;
    padding: 48px 38px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.service-card:last-child {
    border-right: 0;
}

.service-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 56px;
    place-items: center;
    border: 1px solid rgba(34, 216, 206, 0.6);
    color: #2bd8d0;
    font-weight: 800;
}

.service-card h2 {
    margin: 0 0 16px;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.05;
}

.service-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
}

.service-card a {
    display: inline-flex;
    margin-top: 26px;
    color: #2bd8d0;
    font-weight: 760;
}

.section-head {
    display: grid;
    max-width: 860px;
    margin: 0 auto 54px;
    justify-items: center;
    text-align: center;
}

.section-title {
    margin: 14px 0 0;
    font-size: clamp(2.2rem, 4.2vw, 4.5rem);
    font-weight: 520;
    line-height: 1.05;
    letter-spacing: 0;
}

.process {
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.process-line {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
}

.process-step {
    position: relative;
    min-height: 250px;
    padding: 34px 22px;
    border-right: 1px solid var(--line);
}

.process-step:last-child {
    border-right: 0;
}

.step-number {
    display: inline-grid;
    width: 36px;
    height: 36px;
    margin-bottom: 28px;
    place-items: center;
    border: 1px solid rgba(0, 125, 122, 0.35);
    border-radius: 999px;
    color: var(--teal);
    font-size: 0.86rem;
    font-weight: 800;
}

.process-step h3 {
    margin: 0 0 12px;
    font-size: 1.08rem;
}

.process-step p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

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

.insight-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.insight-head h2 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(2rem, 3.5vw, 3.4rem);
    line-height: 1.05;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.insight-card {
    background: #ffffff;
    border: 1px solid var(--line);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.insight-image {
    height: 190px;
    background: linear-gradient(135deg, rgba(0, 125, 122, 0.16), rgba(16, 24, 32, 0.08));
}

.insight-image.city {
    background:
        linear-gradient(0deg, rgba(16, 24, 32, 0.12), rgba(16, 24, 32, 0.02)),
        url("market-network-map.png") center / cover no-repeat;
}

.insight-image.port {
    background:
        linear-gradient(0deg, rgba(16, 24, 32, 0.08), rgba(16, 24, 32, 0)),
        url("hero-operations-network.png") center / cover no-repeat;
}

.insight-image.dashboard {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(#eef5f4 1px, transparent 1px),
        linear-gradient(90deg, #eef5f4 1px, transparent 1px),
        linear-gradient(135deg, #f9fbfa, #dcebea);
    background-size: 34px 34px, 34px 34px, auto;
}

.insight-image.dashboard::before,
.insight-image.dashboard::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(0, 125, 122, 0.18);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 34px rgba(16, 24, 32, 0.08);
}

.insight-image.dashboard::before {
    top: 34px;
    right: 36px;
    width: 42%;
    height: 42%;
}

.insight-image.dashboard::after {
    right: 86px;
    bottom: 34px;
    width: 58%;
    height: 30%;
    background:
        linear-gradient(180deg, rgba(0, 125, 122, 0.22), rgba(0, 125, 122, 0)),
        rgba(255, 255, 255, 0.76);
    clip-path: polygon(0 64%, 18% 52%, 36% 58%, 54% 34%, 72% 42%, 100% 18%, 100% 100%, 0 100%);
}

.insight-card-content {
    padding: 24px;
}

.insight-card span {
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.insight-card h3 {
    margin: 12px 0 0;
    font-size: 1.18rem;
    line-height: 1.24;
}

.cta {
    padding: 70px 0;
    background:
        linear-gradient(135deg, rgba(0, 125, 122, 0.92), rgba(7, 17, 21, 0.95)),
        url("hero-operations-network.png") center / cover no-repeat;
    color: #ffffff;
}

.cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
}

.cta h2 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
}

.cta p {
    max-width: 560px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.cta .button {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--ink);
}

.footer {
    padding: 52px 0 34px;
    background: var(--charcoal);
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    gap: 34px;
}

.footer h2,
.footer h3 {
    margin: 0 0 16px;
}

.footer h2 {
    font-size: 2rem;
}

.footer h3 {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer p,
.footer a {
    color: rgba(255, 255, 255, 0.68);
}

.footer-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-bottom {
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.86rem;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 680ms ease, transform 680ms ease;
}

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

@keyframes markSweep {
    0% {
        opacity: 0;
        transform: translate3d(-140%, 0, 0) rotate(18deg);
    }

    8% {
        opacity: 0.86;
    }

    42% {
        opacity: 0.86;
        transform: translate3d(360%, 0, 0) rotate(18deg);
    }

    50%,
    100% {
        opacity: 0;
        transform: translate3d(420%, 0, 0) rotate(18deg);
    }
}

@media (max-width: 1120px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .nav-links {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .nav-cta {
        margin-left: 0;
    }

    .hero-grid,
    .cta-inner,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-stage {
        min-height: 590px;
    }
}

@media (max-width: 820px) {
    :root {
        --container: min(100vw - 28px, 1210px);
    }

    .brand-subtitle {
        display: none;
    }

    .nav-links a {
        padding: 8px 10px;
        font-size: 0.84rem;
        white-space: nowrap;
    }

    .hero {
        padding-top: 44px;
    }

    .hero h1 {
        font-size: clamp(3.2rem, 13vw, 5rem);
    }

    .stats-row,
    .service-grid,
    .process-line,
    .insight-grid,
    .logo-row {
        grid-template-columns: 1fr;
    }

    .stat {
        padding: 18px 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .stat:first-child {
        border-top: 0;
    }

    .dashboard-stage {
        min-height: auto;
    }

    .dashboard-shell,
    .intelligence-card,
    .operations-card {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 16px;
    }

    .dash-layout {
        grid-template-columns: 1fr;
    }

    .dash-sidebar {
        min-height: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dash-logo {
        grid-column: 1 / -1;
    }

    .dash-metrics {
        grid-template-columns: 1fr;
    }

    .service-card,
    .process-step {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .process-step {
        border-bottom-color: var(--line);
    }

    .service-card:last-child,
    .process-step:last-child {
        border-bottom: 0;
    }

    .insight-head {
        align-items: start;
        flex-direction: column;
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    :root {
        --hero-x: 0px;
        --hero-y: 0px;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
