/* Main Styles */

:root {
    --primary: #2db34a;
    --primary-dark: #228c38;
    --secondary: #00d4ff;
    --accent: #6366f1;
    --dark: #0f1420;
    --dark-secondary: #1a1f3a;
    --light: #e8e8e8;
    --gray: #a0a8c0;
    --gray-light: #2a2f4a;
    --bg-primary: #0a0e27;
    --bg-secondary: #0f1420;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--light);
    background: #0a0e1e;
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-dark { color: var(--dark); }
.text-light { color: var(--light); }
.text-gray { color: var(--gray); }

.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
    background: rgba(15, 20, 32, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(160, 168, 192, 0.12);
    border-bottom: 1px solid rgba(160, 168, 192, 0.12);
    box-shadow: 0 4px 20px rgba(45, 179, 74, 0.12);
}

.nav-container,
.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.nav-container {
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 52px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #c8d0df;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    border-radius: 2px;
    background: #c8d0df;
    transition: all 0.3s ease;
}

.eyebrow {
    margin-bottom: 0.85rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 700;
}

.section-heading h2,
.overview-copy h2 {
    font-family: 'Sora', sans-serif;
    line-height: 1.08;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-heading p,
.footer-copy,
.content-card p,
.process-step p,
.contact-card p,
.footer-link,
.hero-body .eyebrow,
.overview-copy .eyebrow {
    color: var(--gray);
    line-height: 1.8;
}

.section-heading p,
.footer-copy,
.hero-body .eyebrow,
.overview-copy .eyebrow {
    font-size: 1.15rem;
}

.content-section {
    padding: 5rem 2rem;
    border-bottom: 1px solid rgba(160, 168, 192, 0.14);
}

.background-stack {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.bg-layer {
    position: absolute;
    inset: 0;
}

.bg-services {
    pointer-events: auto;
}

.bg-hero {
    background: #0b1122;
}

.bg-services {
    background: #0d1528;
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: var(--navbar-h, 84px);
    bottom: 0;
    clip-path: inset(100% 0 0 0);
    will-change: clip-path;
    overflow: visible;
    padding: min(1.5rem, 3vh) 2rem;
    box-sizing: border-box;
}

.bg-services .section-container {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

#hero {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: calc(100vh - var(--navbar-h, 84px));
    display: flex;
    align-items: center;
    background: transparent;
    pointer-events: none;
}

#hero .section-container {
    width: 100%;
    pointer-events: auto;
}

#overview {
    position: relative;
    z-index: 5;
    background: #0c1830;
}

.services-spacer {
    pointer-events: none;
}

#process {
    position: relative;
    z-index: 5;
    background: #0b1120;
    overflow: hidden;
}

#processCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

#process .section-container {
    position: relative;
    z-index: 1;
}

#contact {
    position: relative;
    z-index: 5;
    background: #0e1630;
}

.section-shell {
    padding: 0;
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.section-alt .section-shell {
    background: transparent;
}

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

.section-heading h2,
.overview-copy h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
}

.content-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.bg-services .section-heading {
    margin-bottom: min(2rem, 2.5vh);
}

.bg-services .section-heading h2 {
    font-size: min(3rem, 4.5vh);
    margin-bottom: min(0.5rem, 1vh);
}

.bg-services .section-heading p {
    line-height: 1.4;
}

.carousel-viewport {
    overflow: visible;
    width: 100%;
    padding-top: 48px;
    padding-bottom: 48px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 3rem 0 1rem;
}

.carousel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(160, 168, 192, 0.22);
    background: rgba(19, 28, 56, 0.7);
    color: #c8cfdf;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(160, 168, 192, 0.5);
    color: #fff;
    transform: scale(1.08);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.services-grid-mobile {
    display: none;
}

.carousel-belt {
    display: flex;
    gap: clamp(1.25rem, 2.5vw, 2.25rem);
    width: max-content;
}

.carousel-belt .content-card {
    width: clamp(240px, 28vw, 340px);
    flex-shrink: 0;
    padding: min(1.5rem, 2vh);
    will-change: transform;
    transform-origin: center center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.carousel-belt .content-card p {
    line-height: 1.4;
}

.carousel-belt .card-icon {
    margin-bottom: min(0.6rem, 1vh);
}

.carousel-belt .content-card.carousel-card-active {
    border-color: rgba(140, 160, 220, 0.55);
    background: #1a2444;
    box-shadow: 0 0 32px rgba(90, 120, 220, 0.18), 0 4px 24px rgba(0, 0, 0, 0.25);
}

@keyframes carousel-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.content-card,
.process-step,
.contact-card {
    padding: 2rem;
    border-radius: 18px;
    border: 1px solid rgba(160, 168, 192, 0.14);
    background: #131c38;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.process-step {
    background: rgba(19, 28, 56, 0.35);
}

.content-card:hover,
.process-step:hover,
.contact-card:hover {
    transform: translateY(-8px);
    border-color: rgba(45, 179, 74, 0.5);
    box-shadow: 0 15px 40px rgba(45, 179, 74, 0.12);
}

.process-step:hover {
    opacity: 1;
    background: #131c38;
}

@media (max-width: 768px) {
    .process-step {
        pointer-events: none;
    }
    .process-step.in-view {
        background: #131c38;
    }
}

.content-card h3,
.process-step h3 {
    color: var(--light);
}

.content-card h3,
.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-number {
    display: inline-block;
    margin-bottom: 1.25rem;
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    gap: 2rem;
    align-items: center;
}

.contact-card {
    display: grid;
    gap: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 8px 20px rgba(45, 179, 74, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(45, 179, 74, 0.35);
}

.site-footer {
    position: relative;
    z-index: 5;
    padding: 2.5rem 2rem;
    background: #080d1a;
    border-top: 1px solid rgba(160, 168, 192, 0.14);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(160, 168, 192, 0.16);
}

.footer-logo-img {
    height: 48px;
    width: auto;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-link {
    transition: color 0.3s ease;
}

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

/* ─── Hero ───────────────────────────────────────────────── */
.hero-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 720px;
}

.hero-body h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--light);
    line-height: 1.1;
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--gray);
    max-width: 600px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* ─── Scroll hint ────────────────────────────────────────── */
.scroll-hint {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.scroll-hint.hidden {
    opacity: 0;
}

.scroll-hint-text {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(200, 208, 223, 0.7);
    animation: scroll-hint-pulse 2s ease-in-out infinite;
}

.scroll-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    line-height: 0.7;
}

.scroll-arrows i {
    font-size: 0.55rem;
    display: block;
}

/* cascade: top dim → bottom bright, staggered pulse */
.scroll-arrows i:nth-child(1) { animation: arrow-pulse 1.4s ease-in-out infinite 0s;    }
.scroll-arrows i:nth-child(2) { animation: arrow-pulse 1.4s ease-in-out infinite 0.18s; }
.scroll-arrows i:nth-child(3) { animation: arrow-pulse 1.4s ease-in-out infinite 0.36s; }

@keyframes arrow-pulse {
    0%,100% { color: rgba(45, 179, 74, 0.2); }
    50%      { color: rgba(45, 179, 74, 1);   }
}

@keyframes scroll-hint-pulse {
    0%,100% { opacity: 0.45; }
    50%      { opacity: 0.9;  }
}

.btn-outline {
    border: 1.5px solid rgba(160, 168, 192, 0.35);
    color: var(--gray);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

/* ─── Overview layout ────────────────────────────────────── */
.overview-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.overview-copy {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.overview-copy > p:not(.eyebrow) {
    color: var(--gray);
    line-height: 1.75;
    max-width: 520px;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    border: 1px solid rgba(160, 168, 192, 0.12);
    background: #131c38;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-value {
    font-family: 'Sora', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: #7a849c;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ─── NOC panel ──────────────────────────────────────────── */
.noc-panel {
    background: #080d1a;
    border: 1px solid rgba(45, 179, 74, 0.2);
    border-radius: 16px;
    overflow: hidden;
    font-size: 0.85rem;
}

.noc-panel-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.25rem;
    background: #0c1220;
    border-bottom: 1px solid rgba(45, 179, 74, 0.15);
}

.noc-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 6px var(--primary);
    flex-shrink: 0;
    animation: noc-pulse 2s ease-in-out infinite;
}

@keyframes noc-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.35; }
}

.noc-title {
    flex: 1;
    color: #c8d0df;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.noc-live-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.noc-rows {
    padding: 0.25rem 0;
}

.noc-row {
    display: grid;
    grid-template-columns: 18px 1fr auto auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1.25rem;
    border-bottom: 1px solid rgba(160, 168, 192, 0.05);
}

.noc-row:last-child { border-bottom: none; }
.noc-row:hover { background: rgba(255, 255, 255, 0.02); }

.noc-icon-ok  { color: var(--primary); font-size: 0.8rem; }
.noc-icon-warn { color: #f5a623; font-size: 0.8rem; }

.noc-site {
    color: #a0a8c0;
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.noc-metric {
    color: #5a6482;
    font-size: 0.78rem;
    text-align: right;
    white-space: nowrap;
}

.noc-badge {
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.noc-up {
    background: rgba(45, 179, 74, 0.12);
    color: var(--primary);
    border: 1px solid rgba(45, 179, 74, 0.25);
}

.noc-watch {
    background: rgba(245, 166, 35, 0.1);
    color: #f5a623;
    border: 1px solid rgba(245, 166, 35, 0.25);
}

.noc-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 1.25rem;
    background: #0c1220;
    border-top: 1px solid rgba(45, 179, 74, 0.1);
    color: #3d4868;
    font-size: 0.72rem;
}

.noc-footer i { margin-right: 0.3rem; }

/* ─── Card icon ──────────────────────────────────────────── */
.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(45, 179, 74, 0.1);
    border: 1px solid rgba(45, 179, 74, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--primary);
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.content-card:hover .card-icon { background: rgba(45, 179, 74, 0.18); }

.card-icon--dim {
    background: rgba(160, 168, 192, 0.07);
    border-color: rgba(160, 168, 192, 0.15);
    color: #7a849c;
}

/* ─── Process icon ───────────────────────────────────────── */
.process-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(45, 179, 74, 0.08);
    border: 1px solid rgba(45, 179, 74, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1rem;
}

/* ─── Process metrics strip ──────────────────────────────── */
.process-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(160, 168, 192, 0.1);
}

.process-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
}

.process-metric > i {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.pm-value {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--light);
}

.pm-label {
    font-size: 0.78rem;
    color: #7a849c;
    max-width: 160px;
}

/* ─── Contact cards ──────────────────────────────────────── */
.contact-cards {
    display: grid;
    gap: 1.25rem;
}

.contact-card h3 {
    font-size: 1.1rem;
    color: var(--light);
    margin-bottom: 0.5rem;
}

.sla-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 0.75rem;
}

.sla-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--gray);
    font-size: 0.88rem;
    line-height: 1.45;
}

.sla-list li i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .nav-container,
    .content-section,
    .site-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar {
        position: fixed;
        top: 0;
        bottom: auto;
        border-top: none;
    }

    #hero {
        min-height: 100vh;
        min-height: 100svh;
        padding-top: var(--navbar-h, 84px);
        padding-bottom: 4rem;
        align-items: flex-start;
    }

    .scroll-hint {
        bottom: 1.5rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--navbar-h, 84px);
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        background: rgba(15, 20, 32, 0.98);
        border-bottom: 1px solid var(--gray-light);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.25);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-link::after {
        display: none;
    }

    .contact-layout,
    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
    }

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

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

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .bg-services {
        overflow: hidden;
        justify-content: flex-start;
    }

    .carousel-viewport {
        display: none;
    }

    .services-grid-mobile {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .section-heading h2 {
        font-size: 2rem;
    }

    .section-heading p,
    .footer-copy {
        font-size: 1rem;
    }
}