.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-yellow);
}

.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(255, 215, 0, 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-yellow);
    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-yellow);
}

.mega-column {
    display: flex;
    flex-direction: column;
}
:root {
    --bg-base: #000000;
    --bg-elevated: #0a0a0a;
    --bg-card: rgba(20, 20, 20, 0.8);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --accent-blue: #3da9fc;
    --accent-cyan: #2dd4f9;
    --accent-purple: #9c5cff;
    --accent-magenta: #ff3dbf;
    --accent-green: #21f8a1;
    --accent-yellow: #ffd700;
    --accent-lime: #32cd32;
    --accent-teal: #20b2aa;
    --border-glow: rgba(255, 215, 0, 0.3);
    --card-border: rgba(50, 205, 50, 0.25);
    --gradient-hero: radial-gradient(circle at center, rgba(255, 215, 0, 0.15) 0%, rgba(50, 205, 50, 0.12) 30%, rgba(32, 178, 170, 0.1) 60%, rgba(0, 0, 0, 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: #000000;
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 80% 20%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 40%, rgba(50, 205, 50, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(32, 178, 170, 0.1) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

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(0, 0, 0, 0.95) 0%, rgba(5, 5, 5, 0.98) 65%, rgba(0, 0, 0, 1) 100%);
}

.page-shell::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 5%;
    width: 500px;
    height: 400px;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.2) 0%, 
        rgba(50, 205, 50, 0.15) 50%,
        rgba(32, 178, 170, 0.1) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.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(0, 0, 0, 0.88);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    backdrop-filter: blur(10px);
}

.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-yellow), var(--accent-lime));
    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(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.12);
    color: var(--accent-yellow);
    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(255, 215, 0, 0.6);
    background: rgba(255, 215, 0, 0.2);
    color: var(--accent-yellow);
}

.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(255, 215, 0, 0.45);
}

.ghost-btn:hover {
    border-color: rgba(50, 205, 50, 0.9);
    box-shadow: 0 0 12px rgba(50, 205, 50, 0.45);
}

.solid-btn {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-lime));
    color: #010414;
    box-shadow: 0 10px 28px rgba(255, 215, 0, 0.35);
}

.solid-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(255, 215, 0, 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(255, 215, 0, 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-yellow), var(--accent-lime));
    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(255, 215, 0, 0.08);
}

.mobile-group span {
    font-size: 1.2rem;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    color: var(--accent-yellow);
}

.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: #000000;
    overflow: hidden;
    min-height: 100vh;
    align-items: center;
}

.hero__canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: auto;
}


.hero__container {
    position: relative;
    grid-column: span 12;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    align-items: center;
    pointer-events: none;
}

.hero__left {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.hero__logo-wrapper {
    margin-bottom: 2rem;
}

.hero__logo {
    max-width: 200px;
    height: auto;
    display: block;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.6rem;
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.12);
    color: var(--accent-yellow);
    font-size: 1.3rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    border: 1px solid rgba(255, 215, 0, 0.2);
    margin-bottom: 2rem;
}

.hero__title {
    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);
    color: #ffffff;
}

.hero__description {
    font-size: 1.6rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 52rem;
    margin-bottom: 3.2rem;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    margin: 3.2rem 0;
}

.hero__social {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero__social-label {
    font-size: 1.4rem;
    color: #ffffff;
    white-space: nowrap;
}

.hero__social-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
}

.hero__social-icons {
    display: flex;
    gap: 1.5rem;
}

.hero__social-icon {
    width: 32px;
    height: 32px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.hero__social-icon svg {
    width: 100%;
    height: 100%;
}

.hero__social-icon:hover {
    color: var(--accent-yellow);
    transform: translateY(-2px);
}

.hero__right {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: -12%;
    pointer-events: none;
}

.hero__topology-visual {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topology-svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: repeat(6, 1fr);
        padding-top: 10rem;
    }

    .hero__container {
        grid-column: span 6;
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero__topology-visual {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 6vw 4rem;
    }
    
    .hero__title {
        font-size: clamp(2.4rem, 6vw, 3.6rem);
    }
    
    .hero__description {
        font-size: 1.4rem;
    }
    
    .hero__topology-visual {
        max-width: 300px;
    }
    
    .hero__social {
        flex-wrap: wrap;
    }
}

.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-yellow), var(--accent-lime));
    color: #000000;
    box-shadow: 0 12px 34px rgba(255, 215, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 45px rgba(255, 215, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.5);
}

.btn--secondary {
    border-color: rgba(255, 215, 0, 0.6);
    color: var(--accent-yellow);
    background: rgba(255, 215, 0, 0.08);
}

.btn--secondary:hover {
    border-color: rgba(255, 215, 0, 0.95);
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.45);
}

.btn--ghost {
    border-color: rgba(255, 215, 0, 0.5);
    color: var(--accent-yellow);
    background: rgba(255, 215, 0, 0.08);
}

.btn--ghost:hover {
    border-color: rgba(255, 215, 0, 0.75);
    box-shadow: 0 0 20px rgba(255, 215, 0, 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(20, 20, 20, 0.9);
    border-radius: 1.6rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.1);
}

.highlight .material-symbols-outlined {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--accent-yellow);
    text-shadow: 0 0 18px rgba(255, 215, 0, 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(255, 215, 0, 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(255, 215, 0, 0.4);
    animation: rotate 18s linear infinite;
    box-shadow: 0 0 25px rgba(255, 215, 0, 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(255, 215, 0, 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-yellow);
    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(255, 215, 0, 0.18);
    box-shadow: inset 0 0 12px rgba(255, 215, 0, 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(255, 215, 0, 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(255, 215, 0, 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-yellow);
    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;
}

.content-section,
.journals,
.courses,
.featured,
.services {
    padding: 6rem 6vw;
    position: relative;
    background: #000000;
    overflow: hidden;
    --glow-color: rgba(255, 215, 0, 0.24);
    --glow-opacity: 0.7;
}

.content-section::before,
.journals::before,
.courses::before,
.featured::before,
.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 80% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 40%, rgba(50, 205, 50, 0.04) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.content-section .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-top: 0;
    letter-spacing: -0.02em;
}

.content-text {
    font-size: clamp(1.4rem, 2vw, 1.7rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    margin-top: 0;
}

.section-subtitle {
    font-size: clamp(1.7rem, 2.4vw, 2rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    margin-top: 0;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.2) 50%,
        transparent 100%);
    margin: clamp(4rem, 6vw, 6rem) 0;
}

.accent-text {
    color: var(--accent-yellow);
    font-weight: 600;
}

.accent-text-2 {
    color: var(--accent-yellow);
    font-weight: 600;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: clamp(0.875rem, 1.5vw, 1rem) clamp(2rem, 4vw, 2.5rem);
    background: transparent;
    border: 2px solid var(--accent-yellow);
    color: var(--accent-yellow);
    border-radius: 12px;
    text-decoration: none;
    font-size: clamp(1.4rem, 1.7vw, 1.6rem);
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 1rem;
}

.btn-primary:hover {
    background: var(--accent-yellow);
    color: #000000;
}

/* Privacy page specific styles */
.content-section h2 {
    font-size: clamp(1.7rem, 2.4vw, 2rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-section ul[style*="list-style: none"] li {
    padding: 0.5rem 0;
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.content-section ul[style*="list-style: none"] li .material-symbols-outlined {
    font-size: clamp(1.4rem, 1.7vw, 1.6rem);
    color: var(--accent-yellow);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.content-section > .container > div {
    margin-bottom: 3rem;
}

.content-section > .container > div:last-child {
    margin-bottom: 0;
}

.section-header {
    max-width: 60rem;
    margin-bottom: 3.6rem;
}

.subtitle {
    font-size: 1.2rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    color: var(--accent-yellow);
}

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(255, 215, 0, 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 7.5%);
    filter: blur(2.5px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.hero.section-glow::after {
    display: none;
}

.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(255, 215, 0, 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: #000000;
    border-radius: 2rem;
    border: 1px solid rgba(50, 205, 50, 0.4);
    box-shadow: 0 0 20px rgba(50, 205, 50, 0.2), inset 0 0 20px rgba(50, 205, 50, 0.05);
}

.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-yellow);
}

.journal-score strong {
    font-size: 3.8rem;
    letter-spacing: 0.1rem;
    color: var(--accent-yellow);
}

.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-yellow);
    position: relative;
}

.text-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.4rem;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-yellow), 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(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 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-yellow);
}


.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
    gap: 2.4rem;
}

.journal-card {
    position: relative;
    padding: 2.6rem;
    background: #000000;
    border-radius: 2.2rem;
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2), inset 0 0 20px rgba(255, 215, 0, 0.05);
    overflow: hidden;
}

.journal-card .card-bg-glow {
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.2), transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 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: #000000;
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2), inset 0 0 15px rgba(255, 215, 0, 0.05);
}

.detail-card h4 {
    margin: 0 0 0.6rem;
    font-size: 1.4rem;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: var(--accent-yellow);
}

.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(255, 215, 0, 0.14);
    color: var(--accent-yellow);
}

.tag.vio {
    background: rgba(255, 215, 0, 0.14);
    color: var(--accent-yellow);
}

.tag.tec {
    background: rgba(50, 205, 50, 0.12);
    color: var(--accent-lime);
}


.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(50, 205, 50, 0.4);
    background: #000000;
    box-shadow: 0 0 20px rgba(50, 205, 50, 0.2), inset 0 0 20px rgba(50, 205, 50, 0.05);
    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(255, 215, 0, 0.14), transparent 60%),
                radial-gradient(circle at 80% 80%, rgba(50, 205, 50, 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(50, 205, 50, 0.12), rgba(255, 215, 0, 0.12));
    display: grid;
    place-items: center;
    margin-bottom: 1.4rem;
    border: 1px solid rgba(50, 205, 50, 0.3);
    color: var(--accent-lime);
}

.service-icon .material-symbols-outlined {
    font-size: 2.4rem;
}

.service-card h3 {
    font-size: 1.7rem;
    margin: 0 0 1rem;
}


.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(255, 215, 0, 0.4);
    background: #000000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2), inset 0 0 20px rgba(255, 215, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.courses__card::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(255, 215, 0, 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-lime);
}

.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-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(255, 215, 0, 0.4);
    background: #000000;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3), inset 0 0 30px rgba(255, 215, 0, 0.05);
    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(50, 205, 50, 0.48), rgba(33, 248, 161, 0.3)),
        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(255, 215, 0, 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: 2;
    margin-bottom: 1.2rem;
}

.featured-hero__body {
    position: relative;
    z-index: 1;
    padding: clamp(2.4rem, 4vw, 3.6rem);
    padding-top: clamp(5.6rem, 7vw, 7rem);
    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);
    margin-top: 0.8rem;
}

.featured-hero__tag {
    color: var(--accent-yellow);
}

.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(50, 205, 50, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.24rem;
    font-size: 1.2rem;
    color: var(--accent-lime);
    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(255, 215, 0, 0.55);
    color: var(--accent-yellow);
    box-shadow: 0 0 24px rgba(255, 215, 0, 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(255, 215, 0, 0.4);
    background: #000000;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.2), inset 0 0 25px rgba(255, 215, 0, 0.05);
}

.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: block;
    padding-bottom: 2.4rem;
    margin-bottom: 2.4rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.4);
    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(255, 215, 0, 0.32);
}

.featured-card__media {
    position: relative;
    border-radius: 1.4rem;
    background: rgba(50, 205, 50, 0.3);
    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-yellow);
}

.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-lime);
    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-yellow);
}

.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(255, 215, 0, 0.4);
    background: #000000;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2), inset 0 0 30px rgba(255, 215, 0, 0.05);
}

.collection-card__media {
    position: relative;
    background:
        linear-gradient(160deg, rgba(50, 205, 50, 0.48), rgba(33, 248, 161, 0.3)),
        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(50, 205, 50, 0.25);
}

.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(50, 205, 50, 0.85);
}

.collection-card__tag {
    color: var(--accent-yellow);
}

.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(255, 255, 255, 0.85);
    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(255, 215, 0, 0.32);
    letter-spacing: 0.24rem;
    text-transform: uppercase;
    font-size: 1.2rem;
    color: rgba(50, 205, 50, 0.9);
    transition: all 0.3s ease;
}

.collection-card__link:hover {
    border-color: rgba(50, 205, 50, 0.6);
    color: var(--accent-yellow);
    box-shadow: 0 0 22px rgba(255, 215, 0, 0.4);
}

.collection-list {
    border-radius: 2.2rem;
    border: 1px solid rgba(255, 215, 0, 0.28);
    background: linear-gradient(180deg, rgba(50, 205, 50, 0.25), rgba(33, 248, 161, 0.2));
    box-shadow: 0 18px 45px rgba(50, 205, 50, 0.2);
    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(255, 215, 0, 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-yellow);
}

.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(50, 205, 50, 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-yellow);
}

.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(255, 215, 0, 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: #000000;
    border: 1px solid rgba(50, 205, 50, 0.4);
    box-shadow: 0 0 20px rgba(50, 205, 50, 0.2), inset 0 0 20px rgba(50, 205, 50, 0.05);
    text-align: center;
}

.stat-card strong {
    display: block;
    font-size: 2.8rem;
    color: var(--accent-lime);
}

.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: #000000;
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2), inset 0 0 15px rgba(255, 215, 0, 0.05);
    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(255, 215, 0, 0.12);
}

.site-footer {
    padding: 4rem 6vw 3rem;
    background: rgba(0, 0, 0, 1);
    border-top: 1px solid rgba(255, 215, 0, 0.15);
}

.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(255, 215, 0, 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(255, 215, 0, 0.45);
    box-shadow: 0 0 18px rgba(255, 215, 0, 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;
    }

    .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;
    }
}

