:root {
    --edge-bg: #06080a;
    --edge-panel: rgba(14, 18, 22, 0.78);
    --edge-panel-solid: #11161b;
    --edge-text: #f4f7f5;
    --edge-muted: #aeb8b2;
    --edge-line: rgba(255, 255, 255, 0.13);
    --edge-green: #a9ff3f;
    --edge-cyan: #6ff6ff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--edge-text);
    background: var(--edge-bg);
    font-family: 'Dosis', Arial, sans-serif;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
}

.edge-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px clamp(20px, 5vw, 72px);
    border-bottom: 1px solid transparent;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
    transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.edge-header.is-scrolled,
.edge-header.menu-active {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(5, 8, 10, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.edge-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.edge-logo img {
    width: auto;
    height: 54px;
}

.edge-nav ul {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 34px);
    padding: 0;
    margin: 0;
    list-style: none;
}

.edge-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.edge-nav a::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 2px;
    content: "";
    background: currentcolor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.edge-nav a:hover::after {
    transform: scaleX(1);
}

.edge-nav .edge-nav-cta {
    min-height: 40px;
    padding: 0 18px;
    color: #061005;
    background: var(--edge-green);
    border-radius: 999px;
    box-shadow: 0 0 28px rgba(169, 255, 63, 0.32);
}

.edge-nav .edge-nav-cta::after {
    display: none;
}

.edge-menu-toggle {
    position: relative;
    z-index: 1002;
    display: none;
    width: 34px;
    height: 26px;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
}

.edge-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 6px 0;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.edge-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.edge-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.edge-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.edge-hero {
    position: relative;
    display: grid;
    min-height: 96vh;
    padding: 128px clamp(20px, 6vw, 92px) 72px;
    overflow: hidden;
    align-items: end;
}

.edge-hero-media {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0.14) 100%),
        linear-gradient(0deg, rgba(6, 8, 10, 1) 0%, rgba(6, 8, 10, 0) 32%),
        url("../Imgs/260507NIX场景.jpeg");
    background-position: center;
    background-size: cover;
    transform: scale(1.04);
    animation: edgeHeroDrift 18s ease-in-out infinite alternate;
}

.edge-hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(169, 255, 63, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(111, 246, 255, 0.08) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.16));
    opacity: 0.38;
    animation: edgeGridMove 16s linear infinite;
}

.edge-hero-content {
    position: relative;
    z-index: 2;
    width: min(780px, 100%);
}

.edge-kicker,
.edge-eyebrow {
    margin: 0 0 14px;
    color: var(--edge-green);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.edge-kicker {
    display: inline-flex;
    padding: 9px 14px;
    color: #dfffc2;
    border: 1px solid rgba(169, 255, 63, 0.35);
    border-radius: 999px;
    background: rgba(169, 255, 63, 0.08);
}

.edge-hero h1 {
    max-width: 860px;
    margin: 0;
    color: #fff;
    font-size: clamp(44px, 6.8vw, 92px);
    line-height: 0.96;
    text-transform: uppercase;
}

.edge-hero-copy {
    max-width: 760px;
    margin: 28px 0 0;
    color: rgba(244, 247, 245, 0.84);
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.42;
}

.edge-hero-actions,
.edge-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.edge-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.edge-button-primary {
    color: #061005;
    background: var(--edge-green);
    box-shadow: 0 0 34px rgba(169, 255, 63, 0.32);
}

.edge-button-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
}

.edge-button-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.edge-hero-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 13px;
    color: rgba(244, 247, 245, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
}

.edge-section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 92px 0;
}

.edge-section-header {
    max-width: 760px;
    margin-bottom: 34px;
}

.edge-section-header h2,
.edge-band h2,
.edge-apply h2 {
    max-width: 980px;
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 5vw, 64px);
    line-height: 1;
    text-transform: uppercase;
    text-wrap: balance;
}

.edge-section-copy {
    margin: 18px 0 0;
    color: var(--edge-muted);
    font-size: 19px;
    line-height: 1.55;
}

.edge-intro {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
    gap: clamp(34px, 6vw, 92px);
    align-items: start;
}

.edge-intro-copy p,
.edge-band p,
.edge-apply p {
    margin: 0 0 18px;
    color: var(--edge-muted);
    font-size: 19px;
    line-height: 1.65;
}

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

.edge-spec,
.edge-benefit,
.edge-criterion {
    border: 1px solid var(--edge-line);
    background: var(--edge-panel);
    backdrop-filter: blur(14px);
}

.edge-spec {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
    min-height: 0;
    padding: clamp(24px, 3vw, 34px);
    border-radius: 8px;
}

.edge-spec-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 2px 0 0;
    color: #071007;
    background: var(--edge-green);
    border-radius: 50%;
}

.edge-spec h3,
.edge-spec p,
.edge-spec ul {
    grid-column: 2;
}

.edge-spec h3,
.edge-benefit h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 24px;
    line-height: 1.1;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.edge-spec p,
.edge-spec li,
.edge-benefit p {
    color: var(--edge-muted);
    font-size: 17px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.edge-spec ul {
    padding-left: 18px;
    margin: 12px 0 16px;
}

.edge-spec li + li {
    margin-top: 6px;
}

.edge-band {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1.2fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: center;
    width: 100%;
    max-width: none;
    padding: 96px clamp(20px, 6vw, 92px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at 20% 30%, rgba(169, 255, 63, 0.16), transparent 30%),
        linear-gradient(135deg, #0d1513 0%, #07090b 48%, #101309 100%);
}

.edge-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.edge-tag-cloud span,
.edge-topic {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px;
    color: rgba(244, 247, 245, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.edge-topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}

.edge-topic {
    justify-content: center;
    min-height: 92px;
    padding: 16px;
    text-align: center;
    border-radius: 8px;
}

.edge-benefit-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.edge-benefit {
    position: relative;
    min-height: 176px;
    padding: 28px;
    overflow: hidden;
    border-radius: 8px;
}

.edge-benefit span {
    display: block;
    margin-bottom: 24px;
    color: var(--edge-green);
    font-size: 14px;
    font-weight: 700;
}

.edge-benefit::after {
    position: absolute;
    right: -40px;
    bottom: -70px;
    width: 180px;
    height: 180px;
    content: "";
    border: 1px solid rgba(169, 255, 63, 0.18);
    border-radius: 50%;
}

.edge-after-copy {
    max-width: 860px;
    margin-top: 28px;
}

.edge-criteria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.edge-criterion {
    display: flex;
    align-items: center;
    min-height: 180px;
    padding: 18px;
    color: #fff;
    font-size: 18px;
    line-height: 1.25;
    border-radius: 8px;
}

.edge-apply {
    padding-bottom: 110px;
}

.edge-apply-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid rgba(169, 255, 63, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(169, 255, 63, 0.14), transparent 48%),
        var(--edge-panel-solid);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.edge-contact a {
    margin-left: 6px;
    color: var(--edge-green);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.edge-note {
    max-width: 860px;
    margin: 22px auto 0;
    font-size: 15px;
    text-align: center;
}

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

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

@keyframes edgeHeroDrift {
    from {
        transform: scale(1.04) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.09) translate3d(-1.2%, -0.6%, 0);
    }
}

@keyframes edgeGridMove {
    from {
        background-position: 0 0, 0 0;
    }

    to {
        background-position: 58px 58px, 58px 58px;
    }
}

@media (max-width: 1100px) {
    .edge-spec-grid {
        grid-template-columns: 1fr;
    }

    .edge-apply-panel {
        grid-template-columns: 1fr;
    }

    .edge-apply-panel .edge-button {
        width: fit-content;
    }
}

@media (max-width: 768px) {
    .edge-header {
        padding: 12px 20px;
    }

    .edge-logo img {
        height: 44px;
    }

    .edge-menu-toggle {
        display: block;
    }

    .edge-nav {
        position: fixed;
        inset: 0;
        z-index: 1001;
        display: flex;
        align-items: center;
        justify-content: center;
        visibility: hidden;
        background: rgba(5, 8, 10, 0.96);
        opacity: 0;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .edge-nav.active {
        visibility: visible;
        opacity: 1;
    }

    .edge-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .edge-nav a {
        font-size: 22px;
    }

    .edge-nav .edge-nav-cta {
        min-height: 48px;
        padding: 0 28px;
        font-size: 18px;
    }

    .edge-hero {
        min-height: 100vh;
        padding: 112px 20px 48px;
    }

    .edge-hero h1 {
        font-size: clamp(40px, 13vw, 58px);
        line-height: 1;
    }

    .edge-hero-media {
        background-position: 62% center;
    }

    .edge-hero-copy {
        margin-top: 22px;
    }

    .edge-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .edge-button {
        width: 100%;
    }

    .edge-section {
        width: min(100% - 32px, 1180px);
        padding: 62px 0;
    }

    .edge-section-header {
        margin-bottom: 24px;
    }

    .edge-intro,
    .edge-band,
    .edge-apply-panel {
        grid-template-columns: 1fr;
    }

    .edge-band {
        padding: 72px 20px;
    }

    .edge-spec-grid,
    .edge-topic-grid,
    .edge-benefit-list,
    .edge-criteria {
        grid-template-columns: 1fr;
    }

    .edge-apply-panel .edge-button {
        width: 100%;
    }

    .edge-spec,
    .edge-benefit,
    .edge-criterion {
        min-height: auto;
    }

    .edge-spec {
        grid-template-columns: 1fr;
    }

    .edge-spec-icon,
    .edge-spec h3,
    .edge-spec p,
    .edge-spec ul {
        grid-column: 1;
    }

    .edge-spec-icon {
        margin-bottom: 18px;
    }

    .edge-criterion {
        min-height: 104px;
    }

    .edge-apply {
        padding-bottom: 78px;
    }
}

@media (max-width: 480px) {
    .edge-hero h1 {
        font-size: clamp(34px, 11vw, 46px);
    }

    .edge-section-header h2,
    .edge-band h2,
    .edge-apply h2 {
        font-size: clamp(30px, 10vw, 42px);
    }

}

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

    .edge-hero-media,
    .edge-hero-grid {
        animation: none;
    }

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