@font-face {
    font-family: "Hmax Logo";
    src: url("../fonts/HmaxTILogo.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

:root {
    --navy-950: #050816;
    --navy-900: #10133a;
    --navy-800: #1d1e4b;
    --navy-700: #2a2b63;
    --gold-500: #d9a05b;
    --gold-600: #bd8340;
    --cyan-400: #4dd7e8;
    --green-400: #48d597;
    --ink: #162033;
    --muted: #69758a;
    --line: #dce3ee;
    --paper: #f7f9fc;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(7, 14, 38, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
}

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

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 0.85rem clamp(1rem, 4vw, 4rem);
    background: rgba(5, 8, 22, 0.9);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    font-weight: 800;
}

.brand img {
    width: 42px;
    height: 42px;
}

.brand span {
    font-family: "Hmax Logo", "Inter", sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 2.2vw, 2.2rem);
}

.main-nav a,
.header-action {
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.76);
}

.main-nav a:hover {
    color: var(--gold-500);
}

.header-action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0 1rem;
    border-radius: 8px;
    color: var(--navy-950);
    background: var(--gold-500);
}

.hero-section {
    min-height: calc(100svh - 70px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 5vw, 5rem);
    color: var(--white);
    background:
        linear-gradient(120deg, rgba(5, 8, 22, 0.94), rgba(16, 19, 58, 0.86)),
        url("https://images.unsplash.com/photo-1518770660439-4636190af475?w=1800&q=82&fit=crop") center/cover;
}

.eyebrow {
    margin: 0 0 0.85rem;
    color: var(--gold-500);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.operation-copy h2,
.contact-copy h2 {
    margin: 0;
    letter-spacing: 0;
    line-height: 1.03;
}

.hero-copy h1 {
    max-width: 860px;
    font-size: clamp(2.6rem, 6.4vw, 5.9rem);
}

.hero-text {
    max-width: 680px;
    margin: 1.5rem 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(1.02rem, 1.5vw, 1.22rem);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0 1.15rem;
    border: 0;
    border-radius: 8px;
    text-decoration: none;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.btn-primary {
    background: var(--gold-500);
    color: var(--navy-950);
}

.btn-secondary {
    color: var(--white);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.4rem;
}

.trust-strip span {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.06);
}

.trust-strip strong {
    color: var(--white);
}

.ops-panel {
    padding: clamp(1rem, 2vw, 1.4rem);
    border-radius: 8px;
    background: rgba(9, 14, 37, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.ops-panel-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-label,
.ops-card span,
.signal-header span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
    font-weight: 700;
}

.ops-panel h2 {
    margin: 0.15rem 0 0;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    color: #c7ffe3;
    background: rgba(72, 213, 151, 0.13);
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.ops-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.ops-card {
    min-height: 132px;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ops-card i {
    color: var(--cyan-400);
    font-size: 1.55rem;
}

.ops-card span,
.ops-card strong {
    display: block;
}

.ops-card strong {
    margin-top: 0.8rem;
    font-size: 2rem;
    line-height: 1;
}

.signal-card {
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(217, 160, 91, 0.18), rgba(77, 215, 232, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.signal-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bar-row {
    height: 8px;
    margin-top: 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.bar-row span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gold-500), var(--cyan-400));
}

.pain-section,
.services-section,
.contact-section {
    padding: clamp(4rem, 7vw, 6.5rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.section-heading h2,
.operation-copy h2,
.contact-copy h2 {
    color: var(--navy-900);
    font-size: clamp(2rem, 4vw, 3.8rem);
}

.section-heading p:not(.eyebrow),
.operation-copy p,
.contact-copy p {
    color: var(--muted);
    font-size: 1.05rem;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.pain-item,
.service-list article,
.preview-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 14px 38px rgba(20, 31, 57, 0.08);
}

.pain-item {
    padding: 1.35rem;
}

.pain-item i {
    color: var(--gold-600);
    font-size: 1.8rem;
}

.pain-item h3,
.service-list h3 {
    margin: 1rem 0 0.55rem;
    color: var(--navy-900);
}

.pain-item p,
.service-list p {
    margin: 0;
    color: var(--muted);
}

.operation-section {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.8fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    padding: clamp(4rem, 7vw, 6.5rem) clamp(1rem, 5vw, 5rem);
    background: radial-gradient(circle at top right, var(--navy-900), var(--navy-950));
    color: var(--white);
    overflow: hidden;
}

.operation-section .operation-copy h2 {
    color: var(--white);
}

.operation-section .operation-copy p {
    color: rgba(255, 255, 255, 0.72);
}

.operation-section .check-list li {
    color: var(--white);
}

.image-band {
    min-height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-band img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

/* NOC Liquid Digital Dashboard Mockup Styles */
.noc-dashboard-container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.noc-dashboard {
    background: rgba(9, 14, 37, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    color: var(--white);
}

.noc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.noc-title-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.noc-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.pulse-green {
    background-color: var(--green-400);
    box-shadow: 0 0 0 0 rgba(72, 213, 151, 0.7);
    animation: noc-pulse-green 2s infinite;
}

@keyframes noc-pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(72, 213, 151, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(72, 213, 151, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(72, 213, 151, 0);
    }
}

.noc-header-label {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

.noc-status-badges {
    display: flex;
    gap: 0.5rem;
}

.noc-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: bold;
}

.badge-green {
    background: rgba(72, 213, 151, 0.15);
    color: var(--green-400);
    border: 1px solid rgba(72, 213, 151, 0.3);
}

.badge-orange {
    background: rgba(217, 160, 91, 0.15);
    color: var(--gold-500);
    border: 1px solid rgba(217, 160, 91, 0.3);
}

.badge-blue {
    background: rgba(77, 215, 232, 0.15);
    color: var(--cyan-400);
    border: 1px solid rgba(77, 215, 232, 0.3);
}

.badge-red {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.noc-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 1rem;
    padding: 1.25rem;
}

.noc-main-col,
.noc-side-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.noc-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s ease;
}

.noc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 160, 91, 0.35);
    background: rgba(255, 255, 255, 0.05);
}

.noc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

.noc-card-value {
    color: var(--gold-500);
}

.noc-wave-container {
    height: 75px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.noc-wave-svg {
    width: 100%;
    height: 100%;
}

.wave-path-1 {
    animation: wave-anim-1 10s linear infinite;
}

.wave-path-2 {
    animation: wave-anim-2 15s linear infinite;
}

@keyframes wave-anim-1 {
    0% { transform: translateX(0); }
    50% { transform: translateX(-10px) translateY(2px); }
    100% { transform: translateX(0); }
}

@keyframes wave-anim-2 {
    0% { transform: translateX(0); }
    50% { transform: translateX(15px) translateY(-2px); }
    100% { transform: translateX(0); }
}

.noc-progress-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.noc-progress-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.noc-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.8);
}

.noc-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.noc-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gold-500), var(--green-400));
}

.noc-servers-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.noc-server-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 0.6rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr auto;
    align-items: center;
    gap: 0.75rem;
}

.noc-server-item.highlight {
    border-color: rgba(217, 160, 91, 0.2);
    background: rgba(217, 160, 91, 0.03);
}

.noc-server-name {
    font-size: 0.75rem;
    font-weight: 700;
}

.noc-mini-progress {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.noc-mini-progress span {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
}

.noc-mini-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.noc-mini-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--green-400);
}

.noc-mini-bar.bar-warning span {
    background: var(--gold-500);
}

.noc-status-text {
    font-size: 0.65rem;
    font-weight: bold;
}

.text-green { color: var(--green-400); }
.text-orange { color: var(--gold-500); }

.flex-grow {
    flex-grow: 1;
}

.noc-feed {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.noc-feed-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.7rem;
    padding: 0.4rem 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.noc-feed-item:has(.badge-red) {
    border-left-color: #ef4444;
}

.noc-feed-item:has(.badge-orange) {
    border-left-color: var(--gold-500);
}

.noc-feed-item:has(.badge-green) {
    border-left-color: var(--green-400);
}

.noc-feed-time {
    color: rgba(255, 255, 255, 0.4);
    font-family: monospace;
}

.noc-feed-desc {
    color: rgba(255, 255, 255, 0.85);
    flex-grow: 1;
    margin: 0 0.5rem;
}

.noc-feed-badge {
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-size: 0.6rem;
    font-weight: bold;
    text-transform: uppercase;
}

.noc-map-container {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.noc-map-svg {
    height: 100%;
}

.glowing-line {
    stroke-dasharray: 6;
    animation: flow-line 2s linear infinite;
}

@keyframes flow-line {
    to {
        stroke-dashoffset: -12;
    }
}

.glowing-node {
    animation: node-glow 1.5s ease-in-out infinite alternate;
}

@keyframes node-glow {
    from {
        stroke-width: 2;
        filter: drop-shadow(0 0 1px var(--gold-500));
    }
    to {
        stroke-width: 3.5;
        filter: drop-shadow(0 0 5px var(--gold-500));
    }
}

.check-list {
    display: grid;
    gap: 0.9rem;
    padding: 0;
    margin: 1.5rem 0 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--white);
    font-weight: 700;
}

.check-list i {
    color: var(--green-400);
    margin-top: 0.25rem;
}

.compact {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.service-list article {
    padding: 1.4rem;
}

.service-list span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    color: var(--gold-500);
    background: var(--navy-900);
    font-size: 1.4rem;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.75fr);
    gap: clamp(2rem, 5vw, 4rem);
    color: var(--white);
    background: linear-gradient(135deg, var(--navy-950), var(--navy-700));
}

.contact-copy h2 {
    color: var(--white);
}

.contact-copy p {
    color: rgba(255, 255, 255, 0.72);
}

.contact-links {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.contact-links a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
}

.contact-links i {
    color: var(--gold-500);
    font-size: 1.35rem;
}

.preview-form {
    display: grid;
    gap: 0.7rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.preview-form label {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem;
    font-weight: 800;
}

.preview-form input,
.preview-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    font: inherit;
}

.preview-form textarea {
    min-height: 116px;
    resize: vertical;
}

.preview-form input::placeholder,
.preview-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

#form-message {
    display: none;
    padding: 0.85rem;
    border-radius: 8px;
    font-weight: 700;
}

.success-msg {
    color: #bbf7d0;
    background: rgba(72, 213, 151, 0.12);
}

.error-msg {
    color: #fecaca;
    background: rgba(248, 113, 113, 0.12);
}

.preview-footer {
    padding: 1.6rem clamp(1rem, 5vw, 5rem);
    color: rgba(255, 255, 255, 0.62);
    text-align: center;
    background: var(--navy-950);
}

.preview-footer p {
    margin: 0;
}

.preview-footer span {
    color: var(--white);
    font-weight: 800;
}

@media (max-width: 980px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .main-nav {
        display: none;
    }

    .hero-section,
    .operation-section,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .pain-grid,
    .service-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-section {
        min-height: auto;
    }
}

@media (max-width: 620px) {
    .site-header {
        gap: 1rem;
    }

    .brand span {
        display: none;
    }

    .header-action {
        padding: 0 0.8rem;
    }

    .hero-section,
    .pain-section,
    .operation-section,
    .services-section,
    .contact-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

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

    .pain-grid,
    .service-list,
    .ops-grid {
        grid-template-columns: 1fr;
    }

    .image-band {
        min-height: 320px;
    }
}

/* Trusted Clients Section Styles & Marquee Carousel */
.clients-section {
    background: var(--white);
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.clients-container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.clients-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: 2px;
    margin: 0 0 2rem 0;
    text-transform: uppercase;
    padding: 0 1rem;
}

.clients-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1rem 0;
}

.clients-carousel-track {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.clients-carousel:hover .clients-carousel-track {
    animation-play-state: paused;
}

.clients-carousel-group {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    padding: 0 clamp(1rem, 3vw, 2.5rem);
}

.client-logo-wrapper {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo {
    max-height: 100%;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%) contrast(1.1) opacity(0.55);
    transform: scale(var(--logo-scale, 1));
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.client-logo-wrapper:hover .client-logo {
    filter: grayscale(0%) contrast(1) opacity(0.95);
    transform: scale(calc(var(--logo-scale, 1) * 1.06));
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pulse-green,
    .wave-path-1,
    .wave-path-2,
    .glowing-line,
    .glowing-node {
        animation: none !important;
        stroke-dasharray: none !important;
        filter: none !important;
    }
    .client-logo {
        transition: none !important;
    }
    .client-logo-wrapper:hover .client-logo {
        transform: none !important;
    }
    .clients-carousel-track {
        animation: none !important;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 2rem;
    }
    .clients-carousel-group:last-child {
        display: none !important;
    }
}

