:root {
    --bg: #02040a;
    --bg-soft: #070c18;
    --panel: rgba(11, 16, 29, 0.76);
    --panel-strong: rgba(15, 21, 38, 0.92);
    --panel-border: rgba(124, 146, 201, 0.18);
    --text-main: #f5f7ff;
    --text-muted: #9aa8c0;
    --text-soft: #69748a;
    --accent: #7ca9ff;
    --accent-strong: #a8cbff;
    --accent-soft: rgba(124, 169, 255, 0.16);
    --accent-cyan: #6ce2ff;
    --gold: #f8cb5b;
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.34);
    --shadow-sm: 0 12px 24px rgba(0, 0, 0, 0.22);
    --max-width: 1200px;
    --header-height: 88px;
    --hero-center-shift: -44px;
    --hero-wordmark-offset: 110px;
    --hero-subtitle-offset: 72px;
    --hero-action-offset: 156px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "JetBrains Mono", monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 0%, rgba(67, 112, 255, 0.16), transparent 26%),
        radial-gradient(circle at 18% 12%, rgba(48, 83, 175, 0.12), transparent 18%),
        radial-gradient(circle at 84% 10%, rgba(59, 219, 255, 0.08), transparent 18%),
        linear-gradient(180deg, #010308 0%, #02040a 42%, #010208 100%);
    color: var(--text-main);
    overflow-x: hidden;
}

#global-stars {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.site-header,
main,
.site-footer {
    position: relative;
    z-index: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.container {
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 28px 0 16px;
    background: #040812;
    border-bottom: 1px solid rgba(124, 146, 201, 0.12);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    filter: drop-shadow(0 10px 18px rgba(255, 222, 136, 0.18));
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-name {
    font-family: "Sora", sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-self: center;
}

.site-nav a {
    position: relative;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--accent), var(--accent-cyan));
    transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--text-main);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
    transform: scaleX(1);
}

.header-tools {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: flex-end;
    justify-self: end;
}

.language-menu {
    position: relative;
}

.language-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid rgba(161, 173, 205, 0.42);
    border-radius: 14px;
    background: rgba(9, 14, 25, 0.82);
    color: var(--text-main);
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.header-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    min-width: 92px;
    border: 1px solid rgba(161, 173, 205, 0.42);
    border-radius: 14px;
    background: rgba(9, 14, 25, 0.82);
    color: var(--text-main);
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 600;
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.header-link-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.header-link-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.language-button:hover,
.language-menu.is-open .language-button,
.header-link:hover {
    border-color: rgba(189, 198, 223, 0.62);
    background: rgba(12, 18, 32, 0.9);
}

.language-caret {
    width: 9px;
    height: 9px;
    border-right: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s ease;
}

.language-menu.is-open .language-caret {
    transform: rotate(225deg) translateY(-1px);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 148px;
    padding: 10px;
    display: grid;
    gap: 6px;
    border: 1px solid rgba(124, 146, 201, 0.18);
    border-radius: 16px;
    background: rgba(7, 11, 20, 0.96);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.42);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.language-menu.is-open .language-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.language-option {
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text-muted);
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.language-option:hover,
.language-option.is-active {
    background: rgba(124, 169, 255, 0.12);
    color: var(--text-main);
}

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    padding: 0;
    overflow: hidden;
}

.hero-backdrop,
.hero-grid,
.hero-horizon {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-backdrop {
    z-index: 0;
    background:
        radial-gradient(circle at 50% 24%, rgba(58, 101, 224, 0.18), transparent 22%),
        radial-gradient(circle at 50% 44%, rgba(25, 46, 94, 0.18), transparent 30%);
}

.hero-grid {
    z-index: 0;
    background:
        linear-gradient(rgba(92, 120, 191, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(92, 120, 191, 0.06) 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image: radial-gradient(circle at center, black 28%, transparent 78%);
    opacity: 0.34;
}

.hero-horizon {
    inset: auto 50% -180px auto;
    transform: translateX(50%);
    width: min(1400px, 100vw);
    height: 400px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(96, 142, 255, 0.22) 0%, rgba(19, 31, 63, 0.3) 42%, rgba(255, 255, 255, 0) 72%);
    filter: blur(18px);
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
}

.hero-stack {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
}

.hero-wordmark {
    position: absolute;
    display: inline-block;
    left: 50%;
    top: calc(50% + var(--hero-center-shift) - var(--hero-wordmark-offset));
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(46px, 5vw, 78px);
    font-weight: 300;
    letter-spacing: 0.3em;
    line-height: 1;
    text-transform: none;
    font-kerning: none;
    font-variant-ligatures: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(228, 231, 240, 0.94) 22%, rgba(159, 164, 179, 0.92) 48%, rgba(244, 247, 255, 0.96) 72%, rgba(141, 146, 162, 0.94) 100%);
    background-size: 180% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 24px rgba(214, 220, 237, 0.08);
    animation: wordmark-sheen 8.8s ease-in-out infinite;
    transform: translate(-50%, -50%);
}

.hero h1 {
    position: absolute;
    left: 50%;
    top: calc(50% + var(--hero-center-shift));
    max-width: none;
    margin: 0;
    font-size: clamp(36px, 4.1vw, 50px);
    line-height: 1.04;
    letter-spacing: -0.018em;
    font-weight: 700;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}

.hero-subtitle {
    position: absolute;
    left: 50%;
    top: calc(50% + var(--hero-center-shift) + var(--hero-subtitle-offset));
    margin: 0;
    max-width: none;
    font-size: clamp(22px, 2.3vw, 28px);
    line-height: 1.4;
    white-space: nowrap;
    color: var(--text-muted);
    transform: translateX(-50%);
}

.hero-actions {
    position: absolute;
    left: 50%;
    top: calc(50% + var(--hero-center-shift) + var(--hero-action-offset));
    margin: 0;
    transform: translateX(-50%);
}

.hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 14px 28px 15px;
    border-radius: 16px;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(243, 245, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 16%, rgba(10, 12, 19, 0.1) 100%),
        linear-gradient(90deg, rgba(181, 184, 194, 0.98) 0%, rgba(160, 163, 174, 0.98) 18%, rgba(126, 129, 141, 0.97) 38%, rgba(94, 96, 108, 0.98) 60%, rgba(64, 66, 78, 0.99) 82%, rgba(40, 42, 52, 1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fbfdff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.015em;
    backdrop-filter: blur(16px) saturate(135%);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.46),
        inset 0 -16px 28px rgba(9, 11, 17, 0.42),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 14px 28px rgba(0, 0, 0, 0.36),
        0 2px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hero-cta::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.18) 12%, rgba(255, 255, 255, 0.06) 28%, transparent 56%),
        linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.2) 22%, rgba(255, 255, 255, 0.04) 38%, rgba(255, 255, 255, 0.14) 58%, rgba(255, 255, 255, 0.03) 78%, rgba(0, 0, 0, 0.12) 100%),
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.22), transparent 24%);
    background-size: 100% 100%, 145% 100%, 100% 100%;
    background-position: center, 0% 50%, center;
    opacity: 0.94;
    animation: metallic-refraction 9s ease-in-out infinite;
}

.hero-cta::after {
    content: "";
    position: absolute;
    top: -90%;
    left: -58%;
    width: 54%;
    height: 280%;
    border-radius: 999px;
    background:
        linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.03) 18%,
            rgba(255, 255, 255, 0.26) 34%,
            rgba(255, 255, 255, 0.62) 48%,
            rgba(255, 255, 255, 0.24) 62%,
            rgba(255, 255, 255, 0.04) 82%,
            rgba(255, 255, 255, 0) 100%);
    filter: blur(7px);
    mix-blend-mode: screen;
    transform: translateX(-220%) rotate(18deg);
    opacity: 0;
    animation: metallic-sheen 5.8s cubic-bezier(0.32, 0.02, 0.12, 1) infinite;
}

.hero-cta span {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 18px rgba(255, 255, 255, 0.06);
}

.hero-cta:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -18px 28px rgba(10, 12, 19, 0.46),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 18px 32px rgba(0, 0, 0, 0.42),
        0 4px 14px rgba(0, 0, 0, 0.2);
}

.section {
    padding: 116px 0;
}

.section-videos {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.video-header {
    margin-bottom: 28px;
}

.plaza-header,
.example-header {
    margin-bottom: 28px;
}

.section-header {
    margin-bottom: 54px;
    text-align: center;
}

.section-header h5 {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.section-header h2 {
    margin-top: 16px;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.section-header p {
    max-width: 760px;
    margin: 16px auto 0;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
}

.video-header,
.plaza-header,
.example-header {
    margin-bottom: 28px;
}

.section-introduction {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.intro-header {
    margin-bottom: 28px;
}

.intro-header h2,
.video-header h2,
.plaza-header h2,
.example-header h2 {
    font-size: clamp(28px, 3.8vw, 40px);
}

.intro-header p {
    max-width: 940px;
    font-size: clamp(19px, 2.2vw, 24px);
    line-height: 1.72;
    color: rgba(233, 239, 252, 0.88);
}

.intro-header h2 span,
.video-header h2 span,
.plaza-header h2 span,
.example-header h2 span {
    color: var(--accent-strong);
    background: linear-gradient(135deg, #f3f7ff 0%, #cfdcff 38%, #8fb5ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-plaza,
.section-examples {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.plaza-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.plaza-hero-frame,
.intro-player,
.video-player,
.example-player {
    position: relative;
    width: 100%;
    min-height: auto;
    padding: 10px;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(13, 19, 34, 0.94), rgba(8, 12, 22, 0.88));
    border: 1px solid rgba(124, 146, 201, 0.18);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.plaza-hero-frame::before,
.intro-player::before,
.video-player::before,
.example-player::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 24%, rgba(66, 107, 227, 0.2), transparent 20%),
        radial-gradient(circle at 84% 14%, rgba(108, 226, 255, 0.12), transparent 18%);
    pointer-events: none;
}

.plaza-hero-frame > *,
.intro-player > *,
.video-player > *,
.example-player > * {
    position: relative;
    z-index: 1;
}

.plaza-hero-stage,
.intro-preview-stage,
.video-preview-stage,
.example-preview-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 22px;
    background: transparent;
    overflow: hidden;
}

#plaza-overview-image,
#intro-preview-image,
#video-preview-image,
#example-preview-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    cursor: zoom-in;
}

.plaza-hero-placeholder,
.intro-preview-placeholder,
.video-preview-placeholder,
.example-preview-placeholder {
    width: 100%;
    height: 100%;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(177, 189, 217, 0.24);
    border-radius: 999px;
    background: rgba(9, 14, 24, 0.52);
    color: rgba(245, 247, 255, 0.96);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 24px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateY(-50%);
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.gallery-arrow:hover {
    border-color: rgba(199, 210, 236, 0.42);
    background: rgba(14, 20, 34, 0.7);
    transform: translateY(-50%) scale(1.08);
}

.gallery-arrow-prev {
    left: 18px;
}

.gallery-arrow-next {
    right: 18px;
}

.gallery-arrow.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.gallery-arrow span {
    font-size: 22px;
    line-height: 1;
}

.preview-image:focus-visible {
    outline: 2px solid rgba(124, 169, 255, 0.56);
    outline-offset: -2px;
}

.image-lightbox[hidden] {
    display: none;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 32px;
    background: rgba(4, 8, 16, 0.82);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.image-lightbox-dialog {
    position: relative;
    max-width: min(92vw, 1560px);
    max-height: 88vh;
    padding: 14px;
    border-radius: 28px;
    border: 1px solid rgba(154, 173, 218, 0.22);
    background: linear-gradient(180deg, rgba(15, 20, 34, 0.94), rgba(8, 12, 22, 0.9));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 28px 80px rgba(0, 0, 0, 0.42);
}

.image-lightbox-dialog img {
    display: block;
    max-width: min(88vw, 1520px);
    max-height: calc(88vh - 28px);
    width: auto;
    height: auto;
    border-radius: 18px;
}

.image-lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(177, 189, 217, 0.26);
    border-radius: 999px;
    background: rgba(9, 14, 24, 0.6);
    color: rgba(247, 249, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.image-lightbox-close:hover {
    transform: scale(1.06);
    border-color: rgba(199, 210, 236, 0.42);
    background: rgba(14, 20, 34, 0.76);
}

.image-lightbox-close span {
    font-size: 26px;
    line-height: 1;
}

body.lightbox-open {
    overflow: hidden;
}

.plaza-note {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.5;
    color: var(--text-soft);
    text-shadow: 0 0 18px rgba(124, 169, 255, 0.16);
}

.plaza-note::after {
    content: "\2193";
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(124, 169, 255, 0.26);
    background: linear-gradient(180deg, rgba(18, 28, 49, 0.78), rgba(10, 16, 28, 0.58));
    color: rgba(207, 220, 255, 0.96);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 10px 22px rgba(0, 0, 0, 0.18);
    animation: plaza-arrow-float 1.8s ease-in-out infinite;
}

.intro-container,
.video-container,
.example-container {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.intro-list,
.video-list,
.example-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.intro-item,
.video-item,
.example-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(124, 146, 201, 0.14);
    background: rgba(9, 14, 25, 0.62);
    color: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.video-player,
.knowledge-card,
.step-card,
.scenario-card,
.about-panel,
.about-card {
    background: linear-gradient(180deg, rgba(13, 19, 34, 0.94), rgba(8, 12, 22, 0.88));
    border: 1px solid rgba(124, 146, 201, 0.18);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.video-item:hover,
.video-item.is-active {
    transform: translateY(-2px);
    border-color: rgba(124, 146, 201, 0.28);
    background: rgba(12, 18, 32, 0.82);
}

.example-item:hover,
.example-item.is-active {
    transform: translateY(-2px);
    border-color: rgba(124, 146, 201, 0.28);
    background: rgba(12, 18, 32, 0.82);
}

.intro-item:hover,
.intro-item.is-active {
    transform: translateY(-2px);
    border-color: rgba(124, 146, 201, 0.28);
    background: rgba(12, 18, 32, 0.82);
}

.intro-number,
.video-number,
.example-number {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
    color: #06111f;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(108, 226, 255, 0.16);
}

.intro-copy h4,
.video-copy h4,
.example-copy h4 {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.intro-copy p,
.video-copy p,
.example-copy p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

.knowledge-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 450px;
    padding: 28px 24px;
    border-radius: 30px;
    overflow: hidden;
}

.knowledge-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(66, 107, 227, 0.18), transparent 22%),
        radial-gradient(circle at 84% 16%, rgba(108, 226, 255, 0.1), transparent 20%);
    pointer-events: none;
}

.knowledge-card > * {
    position: relative;
    z-index: 1;
}

.knowledge-card-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 116px;
    text-align: center;
}

.knowledge-card h3 {
    max-width: 480px;
    margin: 0 auto;
    font-family: "Manrope", sans-serif;
    font-size: clamp(24px, 2.1vw, 30px);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.knowledge-card-head p {
    max-width: 500px;
    margin: 12px auto 0;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    line-height: 1.72;
    color: var(--text-muted);
}

.knowledge-image-slot {
    margin-top: 18px;
    flex: 0 0 auto;
    height: 368px;
    border-radius: 24px;
    border: 1px solid rgba(124, 146, 201, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(10, 15, 26, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 34px rgba(0, 0, 0, 0.2);
}

.knowledge-image-slot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.watch-full {
    margin-top: auto;
    padding-left: 24px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-strong);
}

.video-player h3 {
    max-width: 620px;
    margin-top: 0;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.14;
    letter-spacing: -0.02em;
}

.video-player p {
    max-width: 620px;
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-muted);
}

.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.video-tags span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(15, 21, 38, 0.72);
    border: 1px solid rgba(124, 146, 201, 0.18);
    font-size: 12px;
    font-weight: 700;
}

.video-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.video-card {
    padding: 20px;
    border-radius: 22px;
    background: rgba(15, 21, 38, 0.72);
    border: 1px solid rgba(124, 146, 201, 0.18);
    box-shadow: var(--shadow-sm);
}

.video-card h5 {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.video-card p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-muted);
}

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

.step-card {
    padding: 28px 24px;
    border-radius: 24px;
    min-height: 286px;
}

.step-number {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.step-card h3 {
    margin-top: 24px;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

.step-card p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.scenario-card {
    padding: 30px 24px;
    border-radius: 24px;
}

.scenario-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.scenario-card h3 {
    margin-top: 16px;
    font-size: 22px;
    line-height: 1.22;
    letter-spacing: -0.015em;
}

.scenario-card p {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
}

.section-about {
    padding-bottom: 136px;
}

.about-copy {
    max-width: 1480px;
}

.about-copy h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.about-copy h2 span {
    color: rgba(161, 173, 205, 0.78);
}

.about-text {
    max-width: 1480px;
    margin-top: 40px;
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.9;
    color: var(--text-muted);
}

.about-vision {
    max-width: 1420px;
    margin-top: 72px;
}

.about-vision h3 {
    font-size: clamp(24px, 2.3vw, 32px);
    line-height: 1.2;
    letter-spacing: -0.015em;
}

.about-vision-list {
    list-style: none;
    margin-top: 26px;
}

.about-vision-list li {
    position: relative;
    padding-left: 34px;
    font-size: clamp(17px, 1.35vw, 21px);
    line-height: 1.9;
    color: var(--text-muted);
}

.about-vision-list li + li {
    margin-top: 10px;
}

.about-vision-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: 2px;
    color: rgba(143, 181, 255, 0.88);
    font-weight: 800;
}

.about-slogan {
    margin-top: 86px;
    text-align: center;
    font-family: "Caveat", cursive;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.18;
}

.site-footer {
    border-top: 1px solid rgba(124, 146, 201, 0.12);
    background: rgba(2, 4, 10, 0.82);
}

.footer-inner {
    padding: 28px 0 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-inner p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
}

.footer-beian {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.footer-icp-link,
.footer-beian-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-icp-link:hover,
.footer-beian-link:hover {
    color: var(--text-main);
}

.footer-beian-link img {
    width: 14px;
    height: 16px;
    flex: 0 0 auto;
}

.intro-player.is-switching,
.video-player.is-switching,
.example-player.is-switching {
    animation: player-switch 0.36s ease;
}

@keyframes player-switch {
    0% {
        opacity: 0.65;
        transform: scale(0.985);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes plaza-arrow-float {
    0% {
        transform: translateY(0);
        opacity: 0.88;
    }
    50% {
        transform: translateY(5px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 0.88;
    }
}

@keyframes metallic-refraction {
    0% {
        background-position: center, 0% 50%, center;
        opacity: 0.92;
    }
    50% {
        background-position: center, 100% 50%, center;
        opacity: 1;
    }
    100% {
        background-position: center, 0% 50%, center;
        opacity: 0.92;
    }
}

@keyframes metallic-sheen {
    0% {
        transform: translateX(-220%) rotate(18deg);
        opacity: 0;
    }
    18% {
        opacity: 0;
    }
    30% {
        opacity: 0.28;
    }
    42% {
        opacity: 0.68;
    }
    56% {
        transform: translateX(390%) rotate(18deg);
        opacity: 0;
    }
    100% {
        transform: translateX(390%) rotate(18deg);
        opacity: 0;
    }
}

@keyframes wordmark-sheen {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 1100px) {
    .header-inner {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .intro-container,
    .video-container,
    .example-container,
    .about-columns {
        grid-template-columns: 1fr;
    }

    .header-tools {
        min-width: 0;
        width: 100%;
        justify-content: center;
    }

    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .scenario-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .container {
        width: min(var(--max-width), calc(100% - 24px));
    }

    .site-header {
        padding-top: 18px;
    }

    .site-nav {
        gap: 22px;
        justify-content: center;
    }

    .site-nav a {
        font-size: 16px;
    }

    .language-button {
        padding: 10px 14px;
    }

    .header-link {
        padding: 10px 14px;
        min-width: 84px;
    }

    .hero {
        min-height: calc(100vh - 74px);
        min-height: calc(100svh - 74px);
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .hero-inner,
    .hero-stack {
        min-height: auto;
    }

    .hero-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        min-height: calc(100vh - 186px);
        min-height: calc(100svh - 186px);
    }

    .hero-wordmark {
        position: static;
        margin-bottom: 24px;
        font-size: clamp(30px, 9vw, 42px);
        letter-spacing: 0.18em;
        transform: none;
    }

    .hero h1 {
        position: static;
        font-size: clamp(32px, 9.4vw, 46px);
        letter-spacing: -0.012em;
        white-space: normal;
        transform: none;
    }

    .hero-subtitle {
        position: static;
        margin-top: 24px;
        font-size: 20px;
        white-space: normal;
        transform: none;
    }

    .hero-cta {
        width: auto;
    }

    .hero-actions {
        position: static;
        margin-top: 34px;
        transform: none;
    }

    .section-introduction {
        min-height: auto;
        padding-top: 64px;
        padding-bottom: 98px;
    }

    .section-videos {
        min-height: auto;
        padding-top: 64px;
        padding-bottom: 98px;
    }

    .section-plaza,
    .section-examples {
        min-height: auto;
        padding-top: 64px;
        padding-bottom: 98px;
    }

    .section-about {
        padding-top: 64px;
        padding-bottom: 110px;
    }

    .video-header,
    .plaza-header,
    .example-header {
        margin-bottom: 22px;
    }

    .video-header h2,
    .intro-header h2,
    .plaza-header h2,
    .example-header h2 {
        font-size: clamp(28px, 8vw, 38px);
    }

    .plaza-hero-frame,
    .intro-player,
    .video-player,
    .example-player {
        min-height: auto;
    }

    .plaza-hero-stage,
    .intro-preview-stage,
    .video-preview-stage,
    .example-preview-stage {
        min-height: 0;
    }

    .plaza-note {
        font-size: 17px;
        gap: 10px;
    }

    .plaza-note::after {
        width: 26px;
        height: 26px;
    }

    .gallery-arrow {
        width: 38px;
        height: 38px;
    }

    .gallery-arrow-prev {
        left: 14px;
    }

    .gallery-arrow-next {
        right: 14px;
    }

    .video-cards,
    .steps-grid,
    .scenario-grid,
    .about-columns {
        grid-template-columns: 1fr;
    }

    .plaza-hero-frame,
    .intro-player,
    .video-player,
    .example-player {
        padding: 24px;
    }

    .about-text {
        margin-top: 28px;
        font-size: 18px;
        line-height: 1.85;
    }

    .about-vision {
        margin-top: 52px;
    }

    .about-vision h3 {
        font-size: 28px;
    }

    .about-vision-list {
        margin-top: 20px;
    }

    .about-vision-list li {
        padding-left: 28px;
        font-size: 17px;
    }

    .about-slogan {
        margin-top: 62px;
        font-size: clamp(34px, 9vw, 54px);
    }
}

@media (max-height: 980px) and (min-width: 761px) {
    :root {
        --hero-center-shift: -44px;
        --hero-wordmark-offset: 100px;
        --hero-subtitle-offset: 66px;
        --hero-action-offset: 144px;
    }

    .hero {
        min-height: calc(100vh - var(--header-height));
        min-height: calc(100svh - var(--header-height));
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero-wordmark {
        font-size: clamp(40px, 4vw, 60px);
        letter-spacing: 0.26em;
    }

    .hero h1 {
        font-size: clamp(34px, 4.1vw, 46px);
        letter-spacing: -0.014em;
    }

    .hero-subtitle {
        font-size: 21px;
    }

    .hero-actions {
        margin-top: 0;
    }

    .section-introduction {
        min-height: calc(100vh - var(--header-height));
        min-height: calc(100svh - var(--header-height));
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .section-plaza,
    .section-examples {
        min-height: calc(100vh - var(--header-height));
        min-height: calc(100svh - var(--header-height));
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .intro-header,
    .plaza-header,
    .example-header,
    .video-header {
        margin-bottom: 22px;
    }

    .section-videos {
        min-height: calc(100vh - var(--header-height));
        min-height: calc(100svh - var(--header-height));
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .video-header {
        margin-bottom: 22px;
    }

    .plaza-hero-frame {
        min-height: 580px;
    }

    .intro-player,
    .video-player,
    .example-player {
        min-height: 500px;
    }

    .plaza-hero-stage,
    .intro-preview-stage,
    .video-preview-stage,
    .example-preview-stage {
        min-height: 100%;
    }
}
