:root {
    --bg-primary: #03111f;
    --bg-secondary: #082845;
    --bg-card: rgba(7, 28, 51, 0.72);
    --blue-bright: #63c6ff;
    --blue-soft: #98d8ff;
    --silver: #d6dfe8;
    --silver-deep: #94a7ba;
    --white: #f9fcff;
    --line: rgba(122, 198, 255, 0.35);
    --shadow: 0 30px 80px rgba(0, 10, 23, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--white);
    background:
        radial-gradient(circle at top left, rgba(78, 167, 255, 0.24), transparent 34%),
        radial-gradient(circle at bottom right, rgba(145, 220, 255, 0.18), transparent 28%),
        linear-gradient(135deg, #020914 0%, #041427 42%, #072443 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.page-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
}

.background-grid,
.background-glow {
    pointer-events: none;
    position: absolute;
    inset: 0;
}

.background-grid {
    background-image:
        linear-gradient(rgba(150, 204, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(150, 204, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 92%);
    opacity: 0.28;
}

.background-glow-left {
    background: radial-gradient(circle at 20% 20%, rgba(95, 201, 255, 0.22), transparent 30%);
}

.background-glow-right {
    background: radial-gradient(circle at 80% 15%, rgba(221, 235, 248, 0.15), transparent 24%);
}

.site-header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px 48px 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark strong,
.brand-mark small {
    display: block;
}

.brand-mark strong {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.brand-mark small {
    margin-top: 4px;
    color: rgba(238, 246, 255, 0.72);
}

.brand-badge {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    border: 1px solid rgba(151, 221, 255, 0.45);
    background: linear-gradient(160deg, rgba(103, 196, 255, 0.18), rgba(255, 255, 255, 0.08));
    box-shadow: inset 0 0 24px rgba(164, 222, 255, 0.12), 0 12px 30px rgba(0, 0, 0, 0.22);
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.top-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    max-width: 70%;
}

.nav-pill {
    padding: 11px 16px;
    border: 1px solid rgba(134, 211, 255, 0.26);
    border-radius: 999px;
    background: rgba(6, 25, 46, 0.52);
    color: rgba(244, 249, 255, 0.82);
    font-size: 0.92rem;
    backdrop-filter: blur(12px);
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.nav-pill:hover,
.nav-pill.is-active {
    transform: translateY(-2px);
    border-color: rgba(160, 225, 255, 0.7);
    color: var(--white);
    background: rgba(12, 42, 74, 0.8);
}

.home-main,
.content-main {
    position: relative;
    z-index: 2;
    padding: 48px;
}

.home-main {
    display: grid;
    grid-template-columns: minmax(320px, 460px) minmax(420px, 1fr);
    gap: 40px;
    align-items: center;
    min-height: calc(100vh - 110px);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--blue-soft);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.hero-copy h1,
.content-hero h1,
.closing-panel h2 {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    line-height: 1.08;
}

.hero-copy h1 {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    max-width: 10ch;
}

.hero-text,
.content-hero p,
.content-card p,
.closing-panel p,
.feature-strip p {
    color: rgba(236, 244, 252, 0.78);
    line-height: 1.8;
}

.hero-text {
    max-width: 58ch;
    margin: 22px 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-copy .hero-actions:first-child,
.hero-copy .hero-actions:only-child {
    margin-top: 0;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid rgba(142, 216, 255, 0.45);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-button {
    background: linear-gradient(135deg, #1a6fb8 0%, #5fc9ff 100%);
    box-shadow: 0 18px 40px rgba(14, 98, 160, 0.32);
}

.secondary-button {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(11, 32, 57, 0.32);
}

.orbit-section {
    display: flex;
    justify-content: center;
}

.orbit-stage {
    position: relative;
    width: min(100%, 800px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(130, 205, 255, 0.16), transparent 36%),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 65%);
    border: 1px solid rgba(164, 227, 255, 0.12);
    box-shadow: inset 0 0 120px rgba(135, 203, 255, 0.08), var(--shadow);
    overflow: visible;
}

.orbit-stage::before,
.orbit-stage::after {
    content: '';
    position: absolute;
    inset: 7%;
    border: 1px solid rgba(155, 222, 255, 0.12);
    border-radius: 50%;
}

.orbit-stage::after {
    inset: 18%;
    border-style: dashed;
    animation: spin 22s linear infinite;
}

.orbit-stage::before {
    box-shadow: 0 0 50px rgba(101, 192, 255, 0.08), inset 0 0 30px rgba(145, 221, 255, 0.06);
}

.orbit-stage::after {
    box-shadow: 0 0 40px rgba(118, 207, 255, 0.08);
}

.orbit-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.orbit-lines line {
    stroke: url(#lineGlow);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 10 12;
    opacity: 0.9;
    animation: linePulse 3.4s ease-in-out infinite;
}

.center-profile {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 270px;
    transform: translate(-50%, -50%);
}

.center-profile::before {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(116, 210, 255, 0.18), transparent 62%);
    filter: blur(16px);
    z-index: 0;
}

.profile-ring {
    position: absolute;
    inset: -18px;
    border: 1px solid rgba(162, 227, 255, 0.32);
    border-radius: 50%;
    filter: drop-shadow(0 0 18px rgba(96, 186, 255, 0.28));
    animation: spinReverse 18s linear infinite;
}

.center-profile img {
    position: relative;
    z-index: 1;
    width: 230px;
    height: 230px;
    padding: 12px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 1px solid rgba(169, 230, 255, 0.4);
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.18), rgba(12, 30, 55, 0.92));
    box-shadow: 0 20px 60px rgba(0, 10, 20, 0.48);
}

.profile-caption {
    position: relative;
    z-index: 1;
    text-align: center;
}

.profile-caption strong,
.profile-caption span {
    display: block;
}

.profile-caption strong {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.profile-caption span {
    margin-top: 7px;
    color: rgba(229, 239, 248, 0.72);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.68rem;
}

.orbit-node {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 112px;
    height: 112px;
    padding: 14px;
    border-radius: 50%;
    transform: translate(-50%, -50%) translate(var(--node-x), var(--node-y));
    background:
        radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.26), rgba(130, 193, 241, 0.1) 35%, rgba(6, 28, 53, 0.96) 78%);
    border: 1px solid rgba(160, 228, 255, 0.42);
    box-shadow: 0 16px 34px rgba(0, 10, 24, 0.35), inset 0 0 24px rgba(117, 192, 255, 0.12);
    text-align: center;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    animation: floatNode 5.5s ease-in-out infinite;
    isolation: isolate;
}

.orbit-node::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 1px solid rgba(183, 233, 255, 0.12);
    opacity: 0.8;
}

.orbit-node::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(111, 204, 255, 0.16), transparent 70%);
    z-index: -1;
    opacity: 0.75;
}

.orbit-node-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 6px;
    border-radius: 50%;
    background: rgba(124, 206, 255, 0.08);
    border: 1px solid rgba(167, 228, 255, 0.18);
    color: var(--blue-soft);
    filter: drop-shadow(0 0 12px rgba(117, 204, 255, 0.32));
}

.orbit-node-icon svg {
    width: 100%;
    height: 100%;
}

.orbit-node span {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--white);
}

.orbit-node > span:last-child {
    max-width: 72px;
    line-height: 1.15;
}

.orbit-node-1,
.orbit-node-5 {
    width: 118px;
    height: 118px;
}

.orbit-node-3,
.orbit-node-7 {
    width: 120px;
    height: 120px;
}

.orbit-node:hover {
    transform: translate(-50%, -50%) translate(var(--node-x), var(--node-y)) scale(1.08);
    border-color: rgba(203, 238, 255, 0.9);
    box-shadow: 0 24px 40px rgba(13, 44, 77, 0.4), inset 0 0 28px rgba(117, 204, 255, 0.22), 0 0 28px rgba(105, 200, 255, 0.18);
}

.orbit-node-1 { animation-delay: 0s; }
.orbit-node-2 { animation-delay: 0.4s; }
.orbit-node-3 { animation-delay: 0.8s; }
.orbit-node-4 { animation-delay: 1.2s; }
.orbit-node-5 { animation-delay: 1.6s; }
.orbit-node-6 { animation-delay: 2s; }
.orbit-node-7 { animation-delay: 2.4s; }
.orbit-node-8 { animation-delay: 2.8s; }

.feature-strip {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 12px;
}

.feature-strip article,
.content-card,
.closing-panel,
.content-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(150, 219, 255, 0.16);
    background: linear-gradient(180deg, rgba(10, 31, 56, 0.8), rgba(3, 14, 27, 0.88));
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.feature-strip article {
    padding: 26px;
    border-radius: 24px;
}

.feature-strip span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--blue-soft);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
}

.feature-strip h2,
.content-card h2 {
    margin: 0 0 14px;
    font-size: 1.2rem;
}

.content-main {
    display: grid;
    gap: 24px;
    padding-top: 72px;
}

.content-hero,
.closing-panel {
    border-radius: 32px;
    padding: 34px;
}

.content-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    margin-bottom: 18px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.content-card {
    min-height: 240px;
    padding: 28px;
    border-radius: 28px;
}

.card-shine {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(144, 219, 255, 0.18), transparent 66%);
}

.closing-panel {
    display: grid;
    grid-template-columns: minmax(240px, 420px) 1fr;
    align-items: center;
    gap: 24px;
}

.nav-pill-button {
    appearance: none;
    cursor: pointer;
    font: inherit;
}

.admin-shell {
    overflow: visible;
}

.admin-main {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 24px;
    padding: 48px;
    padding-top: 72px;
}

.admin-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(150, 219, 255, 0.16);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(10, 31, 56, 0.86), rgba(3, 14, 27, 0.92));
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    padding: 30px;
}

.admin-login-card {
    max-width: 560px;
}

.admin-login-card h1,
.admin-intro-card h1,
.admin-section-card h2,
.mini-panel h3 {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
}

.admin-intro-card {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) auto;
    align-items: center;
    gap: 20px;
}

.admin-intro-actions,
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.full-span {
    grid-column: 1 / -1;
}

.section-heading {
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    gap: 16px;
}

.two-column-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-column-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-column-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.two-columns {
    grid-column: span 2;
}

.field-group {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.field-group span {
    color: rgba(233, 244, 255, 0.9);
    font-weight: 600;
}

.field-group input,
.field-group textarea,
.field-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(147, 221, 255, 0.25);
    border-radius: 16px;
    background: rgba(4, 18, 34, 0.74);
    color: var(--white);
    font: inherit;
    resize: vertical;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
    border-color: rgba(164, 228, 255, 0.75);
    box-shadow: 0 0 0 4px rgba(99, 198, 255, 0.14);
}

.nested-section-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.mini-panel {
    padding: 20px;
    border: 1px solid rgba(160, 223, 255, 0.14);
    border-radius: 24px;
    background: rgba(5, 23, 42, 0.6);
}

.mini-panel h3 {
    margin-bottom: 18px;
    font-size: 1rem;
}

.flash-message {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(169, 230, 255, 0.16);
    font-weight: 600;
}

.flash-success {
    background: rgba(34, 106, 84, 0.28);
    border-color: rgba(130, 233, 201, 0.24);
}

.flash-error {
    background: rgba(145, 39, 58, 0.28);
    border-color: rgba(255, 170, 180, 0.24);
}

.helper-note {
    color: rgba(228, 240, 250, 0.72);
}

.admin-submit {
    cursor: pointer;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes spinReverse {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

@keyframes floatNode {
    0%,
    100% {
        margin-top: 0;
    }
    50% {
        margin-top: -10px;
    }
}

@keyframes linePulse {
    0%,
    100% {
        opacity: 0.36;
    }
    50% {
        opacity: 0.96;
    }
}

@media (max-width: 1100px) {
    .site-header,
    .home-main,
    .content-main,
    .admin-main {
        padding-left: 28px;
        padding-right: 28px;
    }

    .home-main {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 34px;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero-copy h1 {
        max-width: none;
    }

    .orbit-stage {
        max-width: 760px;
        margin: 0 auto;
    }

    .content-grid,
    .feature-strip,
    .closing-panel,
    .admin-form-grid,
    .nested-section-grid,
    .admin-intro-card,
    .three-column-grid,
    .four-column-grid {
        grid-template-columns: 1fr;
    }

    .two-columns {
        grid-column: auto;
    }
}

@media (max-width: 820px) {
    .site-header {
        padding-top: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .top-nav {
        max-width: none;
        justify-content: flex-start;
    }

    .admin-header .top-nav form {
        width: auto;
    }

    .orbit-stage {
        aspect-ratio: auto;
        padding: 28px 20px 12px;
        border-radius: 34px;
    }

    .orbit-stage::before,
    .orbit-stage::after,
    .orbit-lines {
        display: none;
    }

    .center-profile,
    .orbit-node {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
    }

    .center-profile {
        width: auto;
        margin-bottom: 20px;
    }

    .profile-ring {
        inset: -14px;
    }

    .orbit-section {
        display: block;
    }

    .orbit-stage {
        display: grid;
        justify-items: center;
        gap: 16px;
    }

    .orbit-node {
        width: min(100%, 240px);
        height: 92px;
        border-radius: 28px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
    }

    .orbit-node::before,
    .orbit-node::after {
        border-radius: 24px;
    }

    .orbit-node > span:last-child {
        max-width: none;
        text-align: left;
    }

    .orbit-node:hover {
        transform: scale(1.03);
    }
}

@media (max-width: 640px) {
    .site-header,
    .home-main,
    .content-main,
    .admin-main {
        padding-left: 18px;
        padding-right: 18px;
    }

    .home-main,
    .content-main,
    .admin-main {
        padding-bottom: 24px;
    }

    .brand-mark {
        width: 100%;
    }

    .brand-mark strong {
        letter-spacing: 0.12em;
    }

    .top-nav {
        gap: 8px;
    }

    .nav-pill {
        padding: 10px 14px;
        font-size: 0.86rem;
    }

    .hero-copy h1,
    .content-hero h1 {
        font-size: 2.25rem;
    }

    .center-profile img {
        width: 190px;
        height: 190px;
    }

    .feature-strip article,
    .content-card,
    .content-hero,
    .closing-panel,
    .admin-card,
    .mini-panel {
        padding: 22px;
        border-radius: 24px;
    }

    .two-column-grid {
        grid-template-columns: 1fr;
    }
}