/* Industrial Energy Solution - Maintenance Page */
:root {
    --navy: #07365b;
    --navy-deep: #041f36;
    --blue: #0b4f7f;
    --green: #78c83d;
    --green-dark: #58a928;
    --white: #ffffff;
    --muted: #7890a3;
    --line: rgba(255,255,255,.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
    background: var(--navy-deep);
}

body {
    min-height: 100vh;
    font-family: "Inter", Arial, sans-serif;
    color: var(--white);
    overflow-x: hidden;
    background:
        radial-gradient(circle at 76% 44%, rgba(120,200,61,.12), transparent 24%),
        radial-gradient(circle at 10% 10%, rgba(25,110,166,.22), transparent 30%),
        linear-gradient(135deg, #041f36 0%, #07365b 52%, #052b49 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .3;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.page-shell {
    position: relative;
    min-height: 100vh;
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px 6vw 24px;
    display: flex;
    flex-direction: column;
    isolation: isolate;
}

.ambient {
    position: fixed;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .15;
    pointer-events: none;
    z-index: -1;
}

.ambient-one {
    background: var(--green);
    right: -130px;
    bottom: -150px;
}

.ambient-two {
    background: #167db9;
    left: -180px;
    top: 30%;
}

.site-header,
.site-footer {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform .25s ease;
}

.brand:hover {
    transform: translateY(-2px);
}

.brand img {
    width: 160px;
    height: auto;
    display: block;
    mix-blend-mode: screen;
    filter: contrast(1.05) saturate(1.05);
}

.status-pill {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border: 1px solid rgba(120,200,61,.3);
    border-radius: 999px;
    background: rgba(4,31,54,.35);
    backdrop-filter: blur(10px);
    color: #d8e5ed;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.status-dot,
.pulse-ring {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 14px rgba(120,200,61,.9);
}

.status-dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(120,200,61,.45);
    border-radius: 50%;
    animation: ping 1.8s infinite;
}

.hero {
    flex: 1;
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr);
    align-items: center;
    gap: 40px;
    padding: 30px 0 50px;
}

.hero-copy {
    max-width: 650px;
    animation: reveal .8s ease both;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #a8c1d1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    margin-bottom: 20px;
}

.eyebrow-line {
    width: 34px;
    height: 2px;
    background: var(--green);
    box-shadow: 0 0 12px rgba(120,200,61,.55);
}

h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(52px, 6.2vw, 88px);
    line-height: .98;
    letter-spacing: -.055em;
    max-width: 780px;
}

h1 span {
    color: var(--green);
    text-shadow: 0 0 35px rgba(120,200,61,.15);
}

.lead {
    margin-top: 28px;
    max-width: 560px;
    color: #b5c7d3;
    font-size: clamp(16px, 1.45vw, 19px);
    line-height: 1.75;
}

.location-card {
    margin-top: 32px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.045);
    box-shadow: 0 18px 50px rgba(0,0,0,.12);
}

.location-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--green);
    background: rgba(120,200,61,.11);
    font-size: 23px;
}

.location-card small {
    display: block;
    color: #718b9d;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .16em;
    margin-bottom: 3px;
}

.location-card strong {
    font-size: 14px;
    color: #e6eef3;
}

.progress-wrap {
    margin-top: 38px;
    max-width: 510px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 11px;
    color: #8ea6b6;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
}

.progress-label strong {
    color: var(--green);
}

.progress-track {
    width: 100%;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
}

.progress-bar {
    width: 75%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--green-dark), var(--green));
    box-shadow: 0 0 18px rgba(120,200,61,.65);
    animation: progress 1.7s cubic-bezier(.22,1,.36,1) both;
}

.return-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    color: #7f9aaa;
    font-size: 12px;
}

.visual {
    position: relative;
    min-height: 570px;
    display: grid;
    place-items: center;
    animation: reveal 1s .15s ease both;
}

.energy-core {
    position: relative;
    width: min(32vw, 390px);
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.core-glow {
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: rgba(120,200,61,.16);
    filter: blur(35px);
    animation: breathe 3.5s ease-in-out infinite;
}

.core-ring {
    position: absolute;
    inset: 10%;
    border: 1px solid rgba(120,200,61,.45);
    border-radius: 50%;
    box-shadow:
        inset 0 0 45px rgba(120,200,61,.06),
        0 0 55px rgba(120,200,61,.08);
    animation: rotate 18s linear infinite;
}

.core-ring::before,
.core-ring::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(160,207,226,.2);
}

.core-ring::before {
    inset: 11%;
}

.core-ring::after {
    inset: -9%;
    border-color: rgba(255,255,255,.1);
}

.core-mark {
    position: relative;
    width: 38%;
    height: 48%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transform: rotate(-25deg);
}

.core-mark span {
    display: block;
    width: 18%;
    height: 70%;
    border-radius: 999px;
    background: linear-gradient(to bottom, #8ddd4e, #4f9d2c);
    box-shadow: 0 0 25px rgba(120,200,61,.45);
}

.core-mark span:nth-child(1) {
    height: 48%;
    transform: translateY(22%);
}

.core-mark span:nth-child(3) {
    height: 92%;
    transform: translateY(-7%);
}

.orbital {
    position: absolute;
    width: min(35vw, 430px);
    aspect-ratio: 1;
    border: 1px solid rgba(150,190,210,.14);
    border-radius: 50%;
}

.orbital-a {
    transform: rotate(52deg) scaleY(.34);
    animation: orbit 10s linear infinite;
}

.orbital-b {
    transform: rotate(-36deg) scaleY(.48);
    border-color: rgba(120,200,61,.2);
    animation: orbit-reverse 14s linear infinite;
}

.tech-chip {
    position: absolute;
    z-index: 3;
    padding: 10px 13px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(4,31,54,.58);
    backdrop-filter: blur(12px);
    border-radius: 10px;
    color: #aac0cd;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    box-shadow: 0 15px 35px rgba(0,0,0,.2);
}

.chip-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 9px rgba(120,200,61,.8);
}

.chip-one {
    top: 19%;
    right: 5%;
    animation: float 4s ease-in-out infinite;
}

.chip-two {
    bottom: 18%;
    left: 2%;
    animation: float 4.7s .5s ease-in-out infinite;
}

.floating-node {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 18px rgba(120,200,61,.9);
}

.node-one { top: 26%; left: 15%; animation: float 4s infinite; }
.node-two { bottom: 27%; right: 14%; animation: float 5s .8s infinite; }
.node-three { top: 12%; right: 27%; animation: float 3.6s 1s infinite; }

.site-footer {
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: #6f8798;
    font-size: 10px;
    letter-spacing: .04em;
}

.footer-divider {
    flex: 1;
    height: 1px;
    margin: 0 20px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
}

@keyframes reveal {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes progress {
    from { width: 0; }
    to { width: 75%; }
}

@keyframes ping {
    0% { transform: scale(.7); opacity: .9; }
    80%, 100% { transform: scale(1.8); opacity: 0; }
}

@keyframes breathe {
    0%, 100% { transform: scale(.9); opacity: .55; }
    50% { transform: scale(1.08); opacity: 1; }
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

@keyframes orbit {
    to { transform: rotate(412deg) scaleY(.34); }
}

@keyframes orbit-reverse {
    to { transform: rotate(-396deg) scaleY(.48); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

@media (max-width: 900px) {
    .page-shell {
        padding: 24px 6vw 20px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 60px;
        gap: 10px;
    }

    .hero-copy {
        max-width: 700px;
    }

    .visual {
        min-height: 390px;
        margin-top: 10px;
    }

    .energy-core,
    .orbital {
        width: min(62vw, 350px);
    }

    .chip-one { top: 12%; right: 5%; }
    .chip-two { bottom: 9%; left: 3%; }
}

@media (max-width: 560px) {
    .page-shell {
        padding: 20px 20px 16px;
    }

    .site-header {
        align-items: flex-start;
        gap: 14px;
    }

    .brand img {
        width: 125px;
    }

    .status-pill {
        padding: 8px 10px;
        font-size: 9px;
        letter-spacing: .04em;
    }

    .hero {
        min-height: auto;
        padding-top: 70px;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: .15em;
    }

    h1 {
        font-size: clamp(45px, 14vw, 66px);
    }

    .lead {
        margin-top: 20px;
        font-size: 15px;
        line-height: 1.65;
    }

    .location-card {
        margin-top: 24px;
        width: 100%;
    }

    .progress-wrap {
        margin-top: 30px;
    }

    .visual {
        min-height: 310px;
    }

    .energy-core,
    .orbital {
        width: min(72vw, 300px);
    }

    .tech-chip {
        font-size: 7px;
        padding: 8px 9px;
    }

    .chip-one { top: 8%; right: 0; }
    .chip-two { bottom: 7%; left: 0; }

    .site-footer {
        font-size: 8px;
        line-height: 1.5;
    }

    .footer-divider {
        margin: 0 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}
