.has-mega .nav-toggle {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.has-mega .nav-toggle::before {
    content: "";
    width: 0.6rem;
    height: 0.6rem;
    border-left: 1.5px solid var(--text-secondary);
    border-bottom: 1.5px solid var(--text-secondary);
    transform: rotate(-45deg) translateY(-0.2rem);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.has-mega .nav-toggle[aria-expanded="true"]::before {
    transform: rotate(135deg) translateY(0.2rem);
    border-color: var(--accent-cyan);
}

.mega-menu {
    position: absolute;
    top: calc(100% + 1.6rem);
    left: 50%;
    transform: translateX(-50%) translateY(1rem);
    width: clamp(34rem, 48vw, 48rem);
    padding: 2.4rem;
    border-radius: 1.8rem;
    background: rgba(12, 21, 52, 0.95);
    border: 1px solid rgba(61, 169, 252, 0.22);
    box-shadow: 0 28px 60px rgba(2, 8, 24, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: grid;
    grid-template-columns: repeat(2, minmax(14rem, 1fr));
    gap: 2rem;
    z-index: 12;
}

.mega-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-menu h4 {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    letter-spacing: 0.1rem;
    color: var(--accent-blue);
    text-transform: uppercase;
}

.mega-menu a {
    display: block;
    font-size: 1.3rem;
    color: var(--text-secondary);
    padding: 0.6rem 0;
    transition: color 0.3s ease;
}

.mega-menu a:hover {
    color: var(--accent-cyan);
}

.mega-column {
    display: flex;
    flex-direction: column;
}
:root {
    --bg-base: #040b1f;
    --bg-elevated: #0c1534;
    --bg-card: rgba(15, 30, 60, 0.6);
    --text-primary: #edf4ff;
    --text-secondary: rgba(237, 244, 255, 0.72);
    --accent-blue: #3da9fc;
    --accent-cyan: #2dd4f9;
    --accent-purple: #9c5cff;
    --accent-magenta: #ff3dbf;
    --accent-green: #21f8a1;
    --border-glow: rgba(61, 169, 252, 0.28);
    --card-border: rgba(77, 194, 255, 0.22);
    --gradient-hero: radial-gradient(circle at center, rgba(73, 26, 79, 0.55), rgba(40, 11, 41, 0.9) 65%, rgba(4, 7, 26, 0.98) 100%),
                     url('https://cdn.jsdelivr.net/gh/akzhy/trial-assets@master/topology-grid.png');
    --cursor-x: 50%;
    --cursor-y: 50%;
    --header-height: 68px;

    font-size: 62.5%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    background: #010414;
    color: var(--text-primary);
    min-height: 100vh;
}

body.no-scroll {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    position: relative;
    overflow-x: hidden;
    background: linear-gradient(180deg, rgba(6, 14, 36, 0.95) 0%, rgba(4, 12, 32, 0.98) 65%, rgba(3, 7, 20, 1) 100%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 6vw;
    background: rgba(1, 4, 20, 0.88);
    border-bottom: 1px solid rgba(61, 169, 252, 0.12);
}

.logo-group {
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
}

.logo-image {
    display: block;
    width: auto;
    max-width: 180px;
    height: 48px;
    object-fit: contain;
}

.site-header .logo-group {
    height: 100%;
}

.site-header .logo-image {
    height: calc(var(--header-height) - 6px);
}

.site-footer .logo-group {
    height: auto;
}

.site-footer .logo-image {
    height: 42px;
}

.primary-nav {
    font-size: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    height: 100%;
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 2.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav li {
    position: relative;
}

.primary-nav a,
.primary-nav .nav-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.08rem;
    padding: 0;
    position: relative;
    transition: color 0.3s ease;
}

.primary-nav a::after,
.primary-nav .nav-toggle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.6rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
    border-radius: 999px;
    transition: width 0.3s ease;
    opacity: 0.9;
}

.primary-nav a:hover,
.primary-nav .nav-toggle:hover,
.primary-nav a.is-active,
.primary-nav .nav-toggle.is-active {
    color: var(--text-primary);
}

.primary-nav a:hover::after,
.primary-nav .nav-toggle:hover::after,
.primary-nav a.is-active::after,
.primary-nav .nav-toggle.is-active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    height: 100%;
}

.lang-toggle {
    min-width: 4.4rem;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(156, 92, 255, 0.4);
    background: rgba(156, 92, 255, 0.12);
    color: var(--accent-purple);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    border-color: rgba(45, 212, 249, 0.5);
    background: rgba(45, 212, 249, 0.15);
    color: var(--accent-cyan);
}

.ghost-btn,
.solid-btn {
    font-size: 1.4rem;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.ghost-btn {
    background: transparent;
    color: var(--text-primary);
    border-color: rgba(61, 169, 252, 0.45);
}

.ghost-btn:hover {
    border-color: rgba(33, 248, 161, 0.9);
    box-shadow: 0 0 12px rgba(33, 248, 161, 0.45);
}

.solid-btn {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: #010414;
    box-shadow: 0 10px 28px rgba(61, 169, 252, 0.35);
}

.solid-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(61, 169, 252, 0.45);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    background: transparent;
    border: none;
    cursor: pointer;
    align-self: stretch;
    justify-content: center;
}

.menu-toggle span {
    width: 2.6rem;
    height: 0.22rem;
    background: var(--text-primary);
    border-radius: 99px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.8rem 6vw;
    background: rgba(2, 7, 20, 0.92);
    border-bottom: 1px solid rgba(61, 169, 252, 0.1);
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
    padding-left: 0;
}

.mobile-nav a:hover,
.mobile-nav a.is-active {
    color: var(--text-primary);
}

.mobile-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.4rem;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
    border-radius: 999px;
    opacity: 0.9;
}

.mobile-nav__top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.8rem;
}

.mobile-group {
    display: grid;
    gap: 0.4rem;
    padding: 1rem 0 0.6rem;
    border-top: 1px solid rgba(61, 169, 252, 0.08);
}

.mobile-group span {
    font-size: 1.2rem;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    color: var(--accent-blue);
}

.mobile-group a {
    padding-left: 1rem;
    font-size: 1.3rem;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4rem;
    padding: 8rem 6vw 6rem;
    background: var(--gradient-hero);
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    width: 45rem;
    height: 45rem;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
}

.hero::before {
    top: -22rem;
    right: 20%;
    background: rgba(156, 92, 255, 0.4);
}

.hero::after {
    bottom: -18rem;
    left: -10%;
    background: rgba(45, 212, 249, 0.38);
}

.hero__canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: auto;
}

.hero__content {
    position: relative;
    grid-column: span 6;
    z-index: 1;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.6rem;
    border-radius: 999px;
    background: rgba(61, 169, 252, 0.12);
    color: var(--accent-cyan);
    font-size: 1.3rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(3.6rem, 4.2vw, 5.4rem);
    margin: 2rem 0 1.6rem;
    line-height: 1.1;
    text-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.hero p {
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 52rem;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    margin: 3.2rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 2.4rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.btn--primary {
    background: linear-gradient(120deg, var(--accent-blue), var(--accent-purple));
    color: #020515;
    box-shadow: 0 12px 34px rgba(61, 169, 252, 0.4);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 45px rgba(156, 92, 255, 0.45);
}

.btn--secondary {
    border-color: rgba(33, 248, 161, 0.6);
    color: var(--accent-green);
    background: rgba(33, 248, 161, 0.08);
}

.btn--secondary:hover {
    border-color: rgba(33, 248, 161, 0.95);
    box-shadow: 0 0 24px rgba(33, 248, 161, 0.45);
}

.btn--ghost {
    border-color: rgba(61, 169, 252, 0.5);
    color: var(--accent-cyan);
    background: rgba(61, 169, 252, 0.08);
}

.btn--ghost:hover {
    border-color: rgba(156, 92, 255, 0.75);
    box-shadow: 0 0 20px rgba(156, 92, 255, 0.38);
}

.hero__highlights {
    margin-top: 3.6rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 2rem;
}

.highlight {
    padding: 1.8rem;
    background: rgba(12, 21, 52, 0.9);
    border-radius: 1.6rem;
    border: 1px solid rgba(61, 169, 252, 0.18);
    box-shadow: inset 0 0 0 1px rgba(22, 58, 104, 0.6);
}

.highlight .material-symbols-outlined {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
    text-shadow: 0 0 18px rgba(45, 212, 249, 0.45);
}

.highlight h3 {
    margin: 0.6rem 0;
    font-size: 1.6rem;
}

.highlight p {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.hero__visual {
    position: relative;
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.4rem;
    z-index: 1;
}

.orbital {
    position: relative;
    width: clamp(24rem, 32vw, 36rem);
    aspect-ratio: 1 / 1;
    margin-inline: auto;
    display: grid;
    place-items: center;
}

.orbital__glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61, 169, 252, 0.3), transparent 65%);
    filter: blur(6px);
    animation: pulse 6s ease-in-out infinite;
}

.orbital__pulse {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    border: 1px solid rgba(156, 92, 255, 0.4);
    animation: rotate 18s linear infinite;
    box-shadow: 0 0 25px rgba(156, 92, 255, 0.36);
}

.orbital__core {
    position: relative;
    padding: 2.4rem 2rem;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(4, 13, 34, 0.95), rgba(22, 34, 84, 0.85));
    border: 1px solid rgba(61, 169, 252, 0.35);
    box-shadow: 0 16px 36px rgba(9, 43, 92, 0.45);
    text-align: center;
}

.orbital__core span {
    display: block;
    font-size: 1.2rem;
    letter-spacing: 0.4rem;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 0.6rem;
}

.orbital__core strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
}

.code-stack {
    display: grid;
    gap: 1.8rem;
}

.code-card {
    position: relative;
    padding: 1.8rem;
    background: rgba(9, 21, 40, 0.9);
    border-radius: 1.8rem;
    border: 1px solid rgba(45, 212, 249, 0.18);
    box-shadow: inset 0 0 12px rgba(45, 212, 249, 0.12);
}

.code-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 61, 191, 0.16);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.code-card:hover::before {
    opacity: 1;
}

.hero__badge {
    margin-top: 2.4rem;
    padding: 2rem;
    border-radius: 1.8rem;
    border: 1px solid rgba(156, 92, 255, 0.25);
    background: linear-gradient(135deg, rgba(24, 8, 40, 0.8), rgba(8, 25, 54, 0.7));
    box-shadow: inset 0 0 18px rgba(156, 92, 255, 0.16);
}

.hero__badge .badge-title {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.2rem;
    letter-spacing: 0.22rem;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 0.8rem;
}

.hero__badge p {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-secondary);
}

pre {
    margin: 0;
    font-family: 'Space Grotesk', 'Consolas', monospace;
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(202, 232, 255, 0.85);
}

section {
    padding: 6rem 6vw;
    position: relative;
}

.section-header {
    max-width: 60rem;
    margin-bottom: 3.6rem;
}

.subtitle {
    font-size: 1.2rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    color: var(--accent-purple);
}

section h2 {
    margin: 1rem 0 0.8rem;
    font-size: clamp(2.8rem, 3vw, 3.8rem);
}

section p {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.section-glow {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    --cursor-x: 50%;
    --cursor-y: 50%;
    --glow-color: rgba(156, 92, 255, 0.24);
    --glow-opacity: 0.75;
}

.section-glow::after {
    content: "";
    position: absolute;
    inset: -25%;
    background: radial-gradient(circle at var(--cursor-x) var(--cursor-y), var(--glow-color), transparent 65%);
    filter: blur(70px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.section-glow.hover-active::after {
    opacity: var(--glow-opacity);
}

.mission {
    background: linear-gradient(180deg, rgba(7, 12, 38, 0.95) 0%, rgba(8, 18, 44, 0.9) 100%);
    --glow-color: rgba(61, 169, 252, 0.18);
    --glow-opacity: 0.68;
}

.mission::before {
    content: "";
    position: absolute;
    inset: 10% 20%;
    background: radial-gradient(circle, rgba(59, 213, 255, 0.15), transparent 70%);
    filter: blur(45px);
    z-index: -2;
}

.mission__grid {
    display: grid;
    gap: 2.4rem;
    grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
}

.mission-card {
    position: relative;
    padding: 2.4rem;
    background: rgba(12, 23, 54, 0.82);
    border-radius: 2rem;
    border: 1px solid var(--card-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.mission-card h3 {
    font-size: 1.8rem;
    margin: 0 0 1.2rem;
}

.journal-score {
    display: flex;
    align-items: flex-end;
    gap: 1.2rem;
    margin-bottom: 1.4rem;
}

.journal-score .label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.26rem;
    color: var(--accent-cyan);
}

.journal-score strong {
    font-size: 3.8rem;
    letter-spacing: 0.1rem;
    color: var(--accent-blue);
}

.journal-score .meta {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.card-actions {
    margin-top: 2.4rem;
    display: flex;
    gap: 1.8rem;
    font-size: 1.3rem;
}

.text-link {
    color: var(--accent-cyan);
    position: relative;
}

.text-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.4rem;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-cyan), transparent);
    opacity: 0.4;
}

.badge-list {
    margin: 2rem 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.badge-list li {
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    background: rgba(156, 92, 255, 0.12);
    border: 1px solid rgba(156, 92, 255, 0.4);
    font-size: 1.2rem;
}

.spotlight {
    border: 1px solid rgba(255, 61, 191, 0.35);
    background: linear-gradient(135deg, rgba(15, 40, 90, 0.8), rgba(40, 14, 82, 0.6));
}

.data-pair {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 1.4rem;
    margin-top: 1.2rem;
}

.data-pair strong {
    font-size: 2.6rem;
    color: var(--accent-magenta);
}

.journals {
    background: linear-gradient(180deg, rgba(9, 18, 52, 0.9), rgba(4, 9, 26, 1));
    --glow-color: rgba(156, 92, 255, 0.24);
    --glow-opacity: 0.7;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
    gap: 2.4rem;
}

.journal-card {
    position: relative;
    padding: 2.6rem;
    background: rgba(8, 20, 52, 0.82);
    border-radius: 2.2rem;
    border: 1px solid rgba(61, 169, 252, 0.2);
    overflow: hidden;
}

.journal-card .card-bg-glow {
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 20% 30%, rgba(45, 212, 249, 0.2), transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(156, 92, 255, 0.25), transparent 65%);
    filter: blur(50px);
    z-index: 0;
}

.journal-card > * {
    position: relative;
    z-index: 1;
}

.journal-card h3 {
    font-size: 2rem;
    margin-top: 1.2rem;
}

.journal-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.6rem;
    margin: 1.8rem 0 2.4rem;
}

.detail-card {
    padding: 1.6rem;
    border-radius: 1.4rem;
    background: rgba(6, 16, 42, 0.85);
    border: 1px solid rgba(156, 92, 255, 0.18);
    box-shadow: inset 0 0 10px rgba(156, 92, 255, 0.12);
}

.detail-card h4 {
    margin: 0 0 0.6rem;
    font-size: 1.4rem;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: var(--accent-purple);
}

.detail-card p {
    margin: 0 0 1.2rem;
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.journal-card ul {
    list-style: none;
    padding: 0;
    margin: 1.6rem 0 2.2rem;
    display: grid;
    gap: 0.8rem;
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.card-header {
    display: flex;
    gap: 1rem;
}

.tag {
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.tag.blu {
    background: rgba(61, 169, 252, 0.14);
    color: var(--accent-blue);
}

.tag.vio {
    background: rgba(156, 92, 255, 0.14);
    color: var(--accent-purple);
}

.tag.tec {
    background: rgba(33, 248, 161, 0.12);
    color: var(--accent-green);
}

.services {
    background: linear-gradient(180deg, rgba(6, 14, 36, 0.95), rgba(3, 9, 28, 1));
    --glow-color: rgba(33, 248, 161, 0.18);
    --glow-opacity: 0.6;
}

.service-grid {
    display: grid;
    gap: 2.4rem;
    grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
}

.service-card {
    position: relative;
    padding: 2.4rem;
    border-radius: 2rem;
    border: 1px solid rgba(33, 248, 161, 0.14);
    background: rgba(10, 24, 54, 0.8);
    box-shadow: inset 0 0 0 1px rgba(61, 169, 252, 0.1);
    overflow: hidden;
}

.service-grid--compact {
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    margin-bottom: 3.2rem;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 40% 20%, rgba(61, 169, 252, 0.14), transparent 60%),
                radial-gradient(circle at 80% 80%, rgba(33, 248, 161, 0.12), transparent 65%);
    filter: blur(80px);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 5.2rem;
    height: 5.2rem;
    border-radius: 1.6rem;
    background: linear-gradient(120deg, rgba(33, 248, 161, 0.12), rgba(61, 169, 252, 0.12));
    display: grid;
    place-items: center;
    margin-bottom: 1.4rem;
    border: 1px solid rgba(33, 248, 161, 0.3);
    color: var(--accent-green);
}

.service-icon .material-symbols-outlined {
    font-size: 2.4rem;
}

.service-card h3 {
    font-size: 1.7rem;
    margin: 0 0 1rem;
}

.courses {
    padding: 8rem 6vw;
    background: radial-gradient(circle at center, rgba(60, 18, 73, 0.7) 0%, rgba(18, 9, 38, 0.92) 65%, rgba(4, 7, 20, 1) 100%);
    --glow-color: rgba(156, 92, 255, 0.24);
    --glow-opacity: 0.8;
}

.courses__content {
    position: relative;
    z-index: 1;
}

.courses__grid {
    margin-top: 3.2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 2.4rem;
}

.courses__card {
    padding: 2.4rem;
    border-radius: 1.8rem;
    border: 1px solid rgba(61, 169, 252, 0.2);
    background: linear-gradient(140deg, rgba(8, 20, 58, 0.9), rgba(27, 13, 58, 0.78));
    box-shadow: 0 14px 36px rgba(8, 12, 40, 0.45);
    position: relative;
    overflow: hidden;
}

.courses__card::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(45, 212, 249, 0.12), transparent 60%);
    filter: blur(50px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.courses__card:hover::after {
    opacity: 1;
}

.courses__card .material-symbols-outlined {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    color: var(--accent-green);
}

.courses__card h3 {
    margin: 0 0 1.2rem;
    font-size: 1.7rem;
}

.courses__card p {
    margin: 0 0 1.4rem;
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.featured {
    padding: 6rem 6vw 8rem;
    background: linear-gradient(180deg, rgba(4, 9, 24, 1), rgba(8, 15, 34, 0.96));
    --glow-color: rgba(33, 248, 161, 0.16);
    --glow-opacity: 0.55;
}

.featured-news {
    display: grid;
    grid-template-columns: minmax(34rem, 2fr) minmax(26rem, 1fr);
    gap: clamp(2.4rem, 4vw, 4.8rem);
    align-items: stretch;
}

.featured-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: clamp(360px, 52vw, 460px);
    overflow: hidden;
    border-radius: 2.6rem;
    border: 1px solid rgba(82, 132, 220, 0.2);
    background: rgba(8, 14, 32, 0.9);
    box-shadow: 0 28px 64px rgba(2, 6, 20, 0.55);
    isolation: isolate;
    transition: transform 0.45s ease;
}

.featured-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 18, 0) 25%, rgba(2, 6, 18, 0.78) 68%, rgba(2, 6, 18, 0.92) 100%);
    z-index: 0;
    transition: opacity 0.45s ease;
}

.featured-hero:hover {
    transform: translateY(-6px);
}

.featured-hero:hover::after {
    opacity: 0.98;
}

.featured-hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(160deg, rgba(26, 58, 128, 0.48), rgba(2, 8, 24, 0.9)),
        url('https://cdn.jsdelivr.net/gh/akzhy/trial-assets@master/topology-grid.png') center/cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(1.08);
    transform: scale(1.02);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.featured-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 25%, rgba(61, 169, 252, 0.4), transparent 60%);
    mix-blend-mode: screen;
    opacity: 0.75;
}

.featured-hero:hover .featured-hero__media {
    transform: scale(1.08);
    filter: saturate(1.15);
}

.featured-hero__badge {
    position: absolute;
    top: 2.4rem;
    left: 2.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    border: 1px solid rgba(237, 244, 255, 0.26);
    background: rgba(2, 6, 18, 0.7);
    font-size: 1.2rem;
    letter-spacing: 0.32rem;
    text-transform: uppercase;
    color: rgba(237, 244, 255, 0.85);
    z-index: 1;
}

.featured-hero__body {
    position: relative;
    z-index: 1;
    padding: clamp(2.4rem, 4vw, 3.6rem);
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    max-width: 58rem;
    background: linear-gradient(180deg, rgba(2, 6, 18, 0.72) 0%, rgba(2, 6, 18, 0.28) 84%);
    border-radius: 1.6rem 1.6rem 0 0;
    backdrop-filter: blur(6px);
}

.featured-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    font-size: 1.2rem;
    letter-spacing: 0.26rem;
    text-transform: uppercase;
    color: rgba(196, 214, 240, 0.72);
}

.featured-hero__tag {
    color: var(--accent-cyan);
}

.featured-hero__date {
    color: rgba(210, 222, 248, 0.7);
}

.featured-hero__title {
    margin: 0;
    font-size: clamp(2.6rem, 3.1vw, 3.8rem);
    line-height: 1.22;
    color: var(--text-primary);
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.featured-hero__summary {
    margin: 0;
    font-size: 1.5rem;
    color: rgba(222, 234, 255, 0.85);
    line-height: 1.7;
    max-width: 52rem;
}

.featured-hero__link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    border-radius: 999px;
    border: 1px solid rgba(33, 248, 161, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.24rem;
    font-size: 1.2rem;
    color: var(--accent-green);
    transition: all 0.3s ease;
}

.featured-hero__link::after {
    content: '›';
    font-size: 1.2rem;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.featured-hero__link:hover {
    border-color: rgba(156, 92, 255, 0.55);
    color: var(--accent-cyan);
    box-shadow: 0 0 24px rgba(156, 92, 255, 0.35);
}

.featured-hero__link:hover::after {
    transform: translateX(4px);
}

.featured-rail {
    display: flex;
    flex-direction: column;
    gap: 2.8rem;
}

.featured-rail__section {
    padding: clamp(2rem, 3vw, 2.6rem);
    border-radius: 2.2rem;
    border: 1px solid rgba(82, 132, 220, 0.18);
    background: rgba(6, 12, 30, 0.72);
    box-shadow: 0 20px 48px rgba(2, 6, 20, 0.45);
}

.featured-rail__title {
    margin: 0 0 1.8rem;
    font-size: 1.3rem;
    letter-spacing: 0.32rem;
    text-transform: uppercase;
    color: rgba(183, 204, 240, 0.72);
}

.featured-rail__items {
    display: flex;
    flex-direction: column;
}

.featured-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.6rem;
    padding-bottom: 2.4rem;
    margin-bottom: 2.4rem;
    border-bottom: 1px solid rgba(108, 142, 210, 0.18);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.featured-card:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.featured-card:hover {
    transform: translateX(6px);
    border-color: rgba(156, 92, 255, 0.32);
}

.featured-card__media {
    position: relative;
    border-radius: 1.4rem;
    background: rgba(10, 20, 44, 0.7);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 88px;
    overflow: hidden;
}

.featured-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 24, 48, 0) 20%, rgba(14, 24, 48, 0.8) 100%);
    opacity: 0.6;
}

.featured-card__body {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.featured-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    letter-spacing: 0.22rem;
    text-transform: uppercase;
    color: rgba(176, 204, 240, 0.68);
}

.featured-card__tag {
    color: var(--accent-cyan);
}

.featured-card__date {
    color: rgba(192, 212, 244, 0.7);
}

.featured-card__title {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
    line-height: 1.45;
}

.featured-card__summary {
    margin: 0;
    font-size: 1.2rem;
    color: rgba(202, 220, 250, 0.75);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.1rem;
    letter-spacing: 0.24rem;
    text-transform: uppercase;
    color: var(--accent-green);
    transition: color 0.3s ease, transform 0.3s ease;
}

.featured-card__link::after {
    content: '›';
    font-size: 1.1rem;
    opacity: 0.75;
    transition: transform 0.3s ease;
}

.featured-card__link:hover {
    color: var(--accent-cyan);
}

.featured-card__link:hover::after {
    transform: translateX(4px);
}

.featured-collections {
    display: grid;
    grid-template-columns: minmax(30rem, 1.2fr) minmax(24rem, 1fr);
    gap: clamp(2.4rem, 3vw, 3.6rem);
    margin-top: 4.4rem;
}

.collection-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(16rem, 0.8fr) minmax(22rem, 1.2fr);
    border-radius: 2.4rem;
    overflow: hidden;
    border: 1px solid rgba(156, 92, 255, 0.32);
    background: linear-gradient(180deg, rgba(36, 14, 68, 0.92), rgba(14, 6, 36, 0.96));
    box-shadow: 0 24px 60px rgba(18, 6, 48, 0.55);
}

.collection-card__media {
    position: relative;
    background:
        linear-gradient(140deg, rgba(156, 92, 255, 0.36), rgba(24, 10, 52, 0.94)),
        url('https://cdn.jsdelivr.net/gh/akzhy/trial-assets@master/topology-grid.png') center/cover;
}

.collection-card__badge {
    position: absolute;
    left: 2.2rem;
    bottom: 2.2rem;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(237, 244, 255, 0.26);
    letter-spacing: 0.28rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: rgba(240, 232, 255, 0.88);
    background: rgba(12, 6, 36, 0.65);
}

.collection-card__body {
    padding: clamp(2.4rem, 3vw, 3rem);
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.collection-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    font-size: 1.1rem;
    letter-spacing: 0.26rem;
    text-transform: uppercase;
    color: rgba(210, 192, 240, 0.68);
}

.collection-card__tag {
    color: var(--accent-purple);
}

.collection-card__body h3 {
    margin: 0;
    font-size: 2.2rem;
    line-height: 1.35;
}

.collection-card__body p {
    margin: 0;
    font-size: 1.4rem;
    color: rgba(224, 210, 248, 0.82);
    line-height: 1.7;
}

.collection-card__link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(156, 92, 255, 0.32);
    letter-spacing: 0.24rem;
    text-transform: uppercase;
    font-size: 1.2rem;
    color: rgba(233, 214, 255, 0.92);
    transition: all 0.3s ease;
}

.collection-card__link:hover {
    border-color: rgba(233, 214, 255, 0.9);
    color: var(--accent-cyan);
    box-shadow: 0 0 22px rgba(156, 92, 255, 0.4);
}

.collection-list {
    border-radius: 2.2rem;
    border: 1px solid rgba(156, 92, 255, 0.28);
    background: linear-gradient(180deg, rgba(24, 10, 52, 0.78), rgba(12, 6, 32, 0.92));
    box-shadow: 0 18px 45px rgba(26, 8, 60, 0.45);
    overflow: hidden;
    display: grid;
    gap: 0;
}

.collection-item {
    padding: 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.collection-item:not(:last-child) {
    border-bottom: 1px solid rgba(156, 92, 255, 0.24);
}

.collection-item__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    letter-spacing: 0.24rem;
    text-transform: uppercase;
    color: rgba(202, 184, 240, 0.65);
}

.collection-item__tag {
    color: var(--accent-purple);
}

.collection-item h4 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--text-primary);
}

.collection-item p {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.collection-item__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.2rem;
    letter-spacing: 0.22rem;
    text-transform: uppercase;
    color: rgba(222, 208, 248, 0.85);
    transition: color 0.3s ease, transform 0.3s ease;
}

.collection-item__link::after {
    content: '›';
    font-size: 1.2rem;
    opacity: 0.75;
    transition: transform 0.3s ease;
}

.collection-item__link:hover {
    color: var(--accent-cyan);
}

.collection-item__link:hover::after {
    transform: translateX(4px);
}

.impact {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(3, 7, 20, 1), rgba(12, 18, 46, 0.95));
    --glow-color: rgba(61, 169, 252, 0.2);
    --glow-opacity: 0.65;
}

.impact-bg {
    position: absolute;
    inset: 0;
    background: url('https://cdn.jsdelivr.net/gh/akzhy/trial-assets@master/mesh-grid.png') center/cover;
    opacity: 0.08;
    mix-blend-mode: screen;
    z-index: -2;
}

.impact-content {
    position: relative;
    padding: 0 6vw;
    display: grid;
    gap: 4rem;
}

.impact-content--compact {
    padding: 0;
    gap: 2.8rem;
    margin-top: 3.6rem;
}

@media (min-width: 992px) {
    .impact-content--compact {
        margin-top: 4.4rem;
        gap: 3.2rem;
    }
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 2rem;
}

.impact-stats--compact {
    gap: 1.6rem;
}

.partners--compact h3 {
    margin-bottom: 1.2rem;
}

.stat-card {
    padding: 2.2rem;
    border-radius: 1.8rem;
    background: rgba(8, 22, 52, 0.75);
    border: 1px solid rgba(33, 248, 161, 0.2);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26);
    text-align: center;
}

.stat-card strong {
    display: block;
    font-size: 2.8rem;
    color: var(--accent-green);
}

.stat-card span {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.partners h3 {
    font-size: 1.8rem;
    margin-bottom: 1.6rem;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.6rem;
}

.partner-card {
    padding: 1.6rem;
    border-radius: 1.4rem;
    background: rgba(9, 24, 56, 0.8);
    border: 1px solid rgba(61, 169, 252, 0.2);
    text-align: center;
    font-size: 1.3rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: rgba(227, 240, 255, 0.8);
    box-shadow: inset 0 0 12px rgba(61, 169, 252, 0.12);
}

.site-footer {
    padding: 4rem 6vw 3rem;
    background: rgba(3, 7, 20, 1);
    border-top: 1px solid rgba(61, 169, 252, 0.12);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2.4rem;
    margin-bottom: 3rem;
}

.site-footer h4 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.site-footer p {
    margin: 0.4rem 0;
    font-size: 1.3rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 1.3rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(61, 169, 252, 0.18);
    background: rgba(8, 18, 40, 0.8);
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 22px;
    height: 22px;
    fill: rgba(230, 240, 255, 0.9);
}

.social-icon:hover {
    border-color: rgba(156, 92, 255, 0.45);
    box-shadow: 0 0 18px rgba(156, 92, 255, 0.35);
}

.site-footer .footer-grid > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    align-items: flex-start;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.2rem;
    color: rgba(162, 188, 220, 0.7);
    margin-top: 2.8rem;
}

.footer-links {
    display: flex;
    gap: 1.6rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@keyframes drift {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-20px, -10px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(0.96); }
    50% { opacity: 1; transform: scale(1.04); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
    .primary-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        grid-template-columns: repeat(6, 1fr);
        padding-top: 10rem;
    }

    .hero__content,
    .hero__visual {
        grid-column: span 6;
    }

    .hero__visual {
        order: -1;
    }

    .featured-news {
        grid-template-columns: 1fr;
    }

    .featured-hero {
        grid-template-columns: 1fr;
    }

    .featured-hero__media {
        min-height: 240px;
    }

    .featured-collections {
        grid-template-columns: 1fr;
    }

    .nav-cta {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .nav-cta .ghost-btn {
        display: none;
    }

    .nav-cta .lang-toggle {
        display: inline-flex;
    }

    .mobile-nav__top {
        display: none;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 56%;
    }

    .hero {
        padding: 6rem 6vw 4rem;
    }

    .hero__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__highlights {
        grid-template-columns: 1fr;
    }

    .mission__grid,
    .journal-grid,
    .service-grid,
    .impact-stats,
    .partner-grid,
    .footer-grid,
    .courses__grid {
        grid-template-columns: 1fr;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-card__media {
        height: 160px;
    }

    .collection-card {
        grid-template-columns: 1fr;
    }

    .collection-card__media {
        height: 200px;
    }

    .featured-hero {
        border-radius: 2.2rem;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

@media (max-width: 520px) {
    .hero h1 {
        font-size: 3.2rem;
    }

    .hero p {
        font-size: 1.4rem;
    }

    .orbital {
        width: 70%;
    }

    .code-card {
        padding: 1.4rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

