/* GOAI 1:1 reference overrides — loaded after goai.css */

:root,
.goai-site {
    --bg0: #061540;
    --bg1: #082066;
    --bg2: #063d8f;
    --cyan: #20d8ff;
    --blue: #0b78ff;
    --green: #5ce060;
    --lime: #d8f24d;
    --yellow: #ffe34a;
    --orange: #ff9138;
    --red: #ff4048;
    --purple: #8c45ff;
    --font: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-en: Inter, Arial, Helvetica, system-ui, sans-serif;
}

body.goai-site,
.goai-site {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
}

/* Dark theme ONLY on homepage */
body.is-home.goai-site,
body.is-home {
    color: #fff !important;
    background:
        radial-gradient(circle at 10% 4%, rgba(17, 121, 255, 0.55), transparent 31%),
        radial-gradient(circle at 86% 3%, rgba(127, 65, 255, 0.38), transparent 28%),
        radial-gradient(circle at 68% 36%, rgba(32, 216, 255, 0.2), transparent 35%),
        radial-gradient(circle at 22% 78%, rgba(255, 64, 72, 0.13), transparent 28%),
        linear-gradient(165deg, #061540 0%, #082066 42%, #0a3f9e 100%) !important;
}

/* Light theme on sub-pages */
body:not(.is-home).goai-site,
body:not(.is-home) {
    color: #071a3d !important;
    background:
        radial-gradient(circle at 82% 0, rgba(33,214,255,0.18), transparent 28%),
        radial-gradient(circle at 12% 46%, rgba(68,214,154,0.1), transparent 26%),
        linear-gradient(rgb(247,252,255), rgb(216,244,250) 48%, rgb(247,252,255)) !important;
    background-attachment: fixed;
}

.goai-site a { color: inherit; text-decoration: none; }
.goai-site * { box-sizing: border-box; }
.goai-site { scroll-behavior: smooth; }

/* Selection color */
.goai-site ::selection {
    background: rgba(33, 214, 255, 0.3);
    color: #fff;
}

/* Hide legacy full-width header */
.site-header { display: none !important; }

/* ========== Capsule header (HomeAppHeader) ========== */
.app-header {
    left: 0;
    right: 0;
    margin: 0 auto;
    padding-top: 0 !important;
    pointer-events: none;
    position: fixed !important;
    top: 28px;
    transition: top .35s ease, transform .35s ease;
    width: min(1220px, calc(100vw - 40px));
    z-index: 60;
}
.app-header.is-scrolled,
body:not(.is-home) .app-header { top: 0; }

.app-nav {
    align-items: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: linear-gradient(180deg, rgba(8, 72, 190, 0.72), rgba(6, 46, 150, 0.6));
    border: 1px solid hsla(0, 0%, 100%, .3);
    border-radius: 999px;
    box-shadow: 0 22px 68px rgba(3, 21, 83, 0.23), inset 0 1px rgba(255, 255, 255, 0.24);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 12px 12px 18px;
    pointer-events: auto;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.app-header.is-scrolled .app-nav {
    background: linear-gradient(180deg, rgba(6, 21, 64, 0.95), rgba(8, 32, 102, 0.92));
    border-color: hsla(0, 0%, 100%, .18);
}

.brand { align-items: center; display: inline-flex; flex: 0 0 auto; min-width: 0; }
.logo-img {
    aspect-ratio: 684 / 244;
    display: block;
    height: auto;
    object-fit: contain;
    width: clamp(96px, 7.8vw, 118px);
}

.nav-links {
    align-items: center;
    color: #ffffffbd;
    display: flex;
    flex: 1;
    font-size: 13px;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    white-space: nowrap;
}
.nav-link {
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #ffffffc7;
    font-size: 13px;
    font-weight: 850;
    min-height: 40px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    transition: color .22s ease, background .22s ease, transform .22s ease;
    position: relative;
}
.nav-link::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width .3s ease, left .3s ease;
    border-radius: 2px;
}
.nav-link:hover,
.nav-link.active {
    background: #ffffff1a;
    color: #fff;
    transform: translateY(-1px);
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
    left: 20%;
}

.nav-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 6px;
    white-space: nowrap;
}

.lang-switch,
.login-link,
.register-link,
.menu {
    align-items: center;
    justify-content: center;
    display: inline-flex;
    border-radius: 999px;
    cursor: pointer;
    transition: background .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease, transform .22s ease, filter .22s ease;
}

.lang-switch {
    background: #ffffff0e !important;
    border: 1px solid hsla(0, 0%, 100%, .16) !important;
    font-weight: 900 !important;
    gap: 4px;
    letter-spacing: .06em;
    min-height: 42px;
    padding: 0 10px !important;
    color: #ffffffc7;
    font-size: 13px;
}
.lang-switch:hover {
    background: #ffffff1a !important;
    border-color: #ffffff47 !important;
}
.lang-opt {
    border-radius: 999px;
    color: #ffffff80;
    line-height: 1;
    padding: 4px 7px;
}
.lang-opt.is-active {
    background: #fff3;
    box-shadow: inset 0 1px #ffffff4d;
    color: #fff;
}
.lang-sep { color: #ffffff47; font-weight: 800; }

.login-link {
    background: #ffffff13 !important;
    border: 1px solid hsla(0, 0%, 100%, .18) !important;
    min-height: 42px;
    padding: 0 15px !important;
    color: #ffffffc7;
    font-size: 13px;
    font-weight: 850;
}
.login-link:hover { background: #ffffff24 !important; color: #fff; }

.register-link {
    background: linear-gradient(92deg, #21d6ff, #0a6ff2 54%, #44d69a) !important;
    border: 1px solid hsla(0, 0%, 100%, .18) !important;
    border-radius: 999px !important;
    box-shadow: 0 16px 44px #0a6ff242, 0 0 28px #21d6ff2e !important;
    color: #fff !important;
    font-weight: 950 !important;
    min-height: 46px;
    padding: 0 18px !important;
    font-size: 13px;
    position: relative;
    overflow: hidden;
    animation: registerPulse 2.5s ease-in-out infinite;
}
@keyframes registerPulse {
    0%, 100% {
        box-shadow: 0 16px 44px rgba(10, 111, 242, 0.26), 0 0 28px rgba(33, 214, 255, 0.18);
    }
    50% {
        box-shadow: 0 16px 54px rgba(10, 111, 242, 0.4), 0 0 42px rgba(33, 214, 255, 0.3);
    }
}
.register-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    animation: registerShine 3s ease-in-out infinite;
}
@keyframes registerShine {
    0%, 70%, 100% {
        transform: translateX(-100%);
    }
    85% {
        transform: translateX(100%);
    }
}
.register-link:hover { 
    transform: translateY(-2px) scale(1.02); 
    filter: brightness(1.08); 
    animation: none;
}

.menu {
    background: #ffffff13 !important;
    border: 1px solid hsla(0, 0%, 100%, .18) !important;
    box-shadow: none !important;
    display: none;
    min-height: 42px;
    padding: 0 15px !important;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
}
.menu-label--phone { display: none; }
.mobile-lang-switch { display: none; }

/* ========== Hero ========== */
.hero.hero-merge-clean {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
    gap: clamp(24px, 3vw, 48px);
    align-items: center;
    width: min(1480px, calc(100vw - 80px));
    margin: 0 auto;
    padding: clamp(100px, 8vw, 120px) 0 clamp(70px, 7vw, 108px);
    color: #fff;
    overflow: visible;
}

/* Fade-in animation for hero elements */
.hero-copy > * {
    animation: heroFadeIn 0.8s ease-out both;
}
.hero-copy > *:nth-child(1) { animation-delay: 0.1s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.2s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.3s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.4s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.5s; }
.hero-copy > *:nth-child(6) { animation-delay: 0.6s; }
.hero-copy > *:nth-child(7) { animation-delay: 0.7s; }

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-visual.clean-visual {
    animation: heroVisualFadeIn 1s ease-out 0.3s both;
}
@keyframes heroVisualFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-dot-grid-bg {
    position: absolute;
    left: 50%;
    top: -118px;
    transform: translateX(-50%);
    width: 100vw;
    height: calc(100svh + 118px);
    z-index: 0;
    opacity: .42;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(199, 237, 250, .45) 1px, transparent 1.2px);
    background-size: 14px 14px;
    mask-image: linear-gradient(180deg, #000, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(180deg, #000, #000 88%, transparent);
}

.hero-left-bg {
    position: absolute;
    z-index: 0;
    left: clamp(-300px, -16vw, -120px);
    top: clamp(-180px, -8vw, -80px);
    width: min(1120px, 74vw);
    max-width: none;
    opacity: .24;
    mix-blend-mode: screen;
    filter: saturate(1.25) brightness(1.15);
    pointer-events: none;
    user-select: none;
}

.hero-copy {
    position: relative;
    z-index: 3;
    grid-column: 1;
    grid-row: 1;
    max-width: none;
}
.hero.hero-merge-clean .hero-copy h1 {
    margin: 0;
    color: #fff;
    font-size: inherit;
    line-height: 1;
    font-weight: inherit;
    letter-spacing: inherit;
    -webkit-text-stroke: 0;
}
.hero.hero-merge-clean .hero-copy h1 span {
    color: inherit;
    -webkit-text-stroke: 0;
}

.hero-visual.clean-visual {
    position: relative;
    z-index: 2;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: auto;
    min-height: 670px;
    display: grid !important;
    place-items: center;
    overflow: visible;
}
.hero-visual.clean-visual::before { display: none; }

.hero-spiral-canvas {
    aspect-ratio: 1;
    background: transparent;
    border: none;
    box-shadow: none;
    display: block;
    outline: none;
    pointer-events: none;
    width: min(100%, 640px);
    filter: drop-shadow(0 0 36px rgba(32, 216, 255, .16));
}

.hero-title { margin: 0; max-width: 820px; line-height: 1; }
.hero-title-en {
    display: block;
    margin-bottom: clamp(10px, 1vw, 14px);
    color: #fff;
    font: 900 clamp(48px, 4.8vw, 72px) / 0.92 var(--font-en);
    letter-spacing: -0.055em;
}
.hero-title-cn {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 .12em;
    color: #fff;
    font-size: clamp(40px, 4.6vw, 68px);
    font-weight: 950;
    line-height: 1.02;
    letter-spacing: -0.04em;
    filter: drop-shadow(0 10px 30px rgba(32, 216, 255, .14));
}
.hero-title-cn span { display: inline; }

.hero-desc {
    margin: 28px 0 0;
    max-width: 640px;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 650;
    line-height: 1.68;
    text-shadow: 0 2px 20px rgba(2, 7, 31, .34);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    font-weight: 950;
    letter-spacing: -0.01em;
    font-size: 15px;
    cursor: pointer;
    transition: transform .22s ease, filter .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .25);
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.btn:hover::before {
    transform: translateX(100%);
}
.btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .42);
}
.btn:active {
    transform: translateY(0);
}
.btn-yellow {
    background: linear-gradient(90deg, var(--yellow), var(--orange));
    color: #04113b;
    border-color: rgba(255, 255, 255, .25);
    box-shadow: 0 18px 50px rgba(255, 218, 59, .28), 0 0 34px rgba(255, 228, 74, .22);
}
.btn-yellow:hover {
    filter: brightness(1.08);
    color: #04113b;
    box-shadow: 0 22px 60px rgba(255, 218, 59, .38), 0 0 44px rgba(255, 228, 74, .32);
}
.btn-ghost {
    background: rgba(255, 255, 255, .075);
    color: #fff;
    backdrop-filter: blur(10px);
}
.btn-ghost:hover { 
    background: rgba(255, 255, 255, .16); 
    box-shadow: 0 16px 48px rgba(0, 0, 0, .3);
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
}
.stat-card {
    position: relative;
    min-height: 116px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .055));
    box-shadow: inset 0 1px rgba(255, 255, 255, .12);
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), background .3s ease, box-shadow .3s ease;
}
.stat-card:hover {
    transform: translateY(-6px) scale(1.02);
    background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .08));
    box-shadow: inset 0 1px rgba(255, 255, 255, .18), 0 20px 50px rgba(0, 0, 0, 0.3);
}
.stat-card::after {
    content: "";
    position: absolute;
    inset: auto -36px -48px auto;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--glow, var(--cyan));
    opacity: .32;
    filter: blur(18px);
    transition: opacity .3s ease, transform .3s ease;
}
.stat-card:hover::after {
    opacity: .5;
    transform: scale(1.2);
}
.stat-num {
    position: relative;
    z-index: 1;
    font: 950 clamp(28px, 3vw, 42px) / 0.92 var(--font-en);
    letter-spacing: -0.055em;
    color: #fff;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px;
}
.stat-suffix {
    font-size: .42em;
    font-weight: 850;
    letter-spacing: 0;
    margin-left: 2px;
    font-family: var(--font);
}
.stat-resource {
    font: 950 clamp(24px, 2.4vw, 34px) / 1.1 var(--font);
    letter-spacing: -0.02em;
}
.stat-label {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    line-height: 1.55;
    font-weight: 600;
}

.hero-milestones {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.hero-milestone {
    position: relative;
    overflow: hidden;
    padding: 10px 12px 10px 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
    transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), background .3s ease, border-color .3s ease;
}
.hero-milestone:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .18);
}
.hero-milestone::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0;
    width: 2px;
    border-radius: 2px;
    background: var(--c, var(--cyan));
    opacity: .7;
    transition: opacity .3s ease, box-shadow .3s ease;
}
.hero-milestone:hover::before {
    opacity: 1;
    box-shadow: 0 0 12px var(--c, var(--cyan));
}
.hero-milestone-label {
    display: block;
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}
.hero-milestone-date {
    display: block;
    margin-top: 4px;
    font: 850 clamp(16px, 1.5vw, 20px) / 1.15 var(--font-en);
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, .88);
}
.hero-milestone-place {
    display: block;
    margin: 4px 0 0;
    color: rgba(255, 255, 255, .45);
    font-size: 11px;
    font-weight: 600;
}

.track-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: clamp(14px, 1.4vw, 18px);
}
.track-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    font-weight: 850;
    transition: all .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.track-chip:hover {
    background: rgba(255, 255, 255, .14);
    border-color: var(--c, rgba(255, 255, 255, .28));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}
.track-chip i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c);
    box-shadow: 0 0 10px var(--c);
    transition: transform .3s ease, box-shadow .3s ease;
}
.track-chip:hover i {
    transform: scale(1.3);
    box-shadow: 0 0 16px var(--c);
}

.hero-foundation-intro { margin-top: 18px; }
.hero-foundation-intro-title {
    margin: 0;
    color: rgba(229, 216, 98, .92);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
}

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 4;
    width: 22px;
    height: 34px;
    border: 1.5px solid rgba(255, 255, 255, .35);
    border-radius: 12px;
    animation: scrollHintFloat 2s ease-in-out infinite;
    cursor: pointer;
    transition: border-color .3s ease;
}
.scroll-hint:hover {
    border-color: rgba(255, 255, 255, .6);
}
@keyframes scrollHintFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}
.scroll-hint i {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 3px;
    height: 7px;
    margin-left: -1.5px;
    border-radius: 3px;
    background: #fff;
    animation: goaiScrollPulse 1.6s ease-in-out infinite;
}
@keyframes goaiScrollPulse {
    0%, 100% { opacity: .35; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(8px); }
}

/* Hero visual floating animation */
.hero-visual.clean-visual .hero-spiral-canvas {
    animation: heroVisualFloat 6s ease-in-out infinite;
}
@keyframes heroVisualFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

/* Lower sections keep readable on dark page */
.intro-band,
.track-band,
.timeline-band,
.news-band {
    position: relative;
    z-index: 1;
    background: #fff;
    color: #06152e;
}
.intro-band .section-index,
.track-band .section-index,
.timeline-band .section-index,
.news-band .section-index {
    color: #0b5cff;
}
.prize-band,
.site-cta,
.site-footer {
    position: relative;
    z-index: 1;
}

@media (max-width: 980px) {
    .app-header:not(.is-scrolled) { top: 14px; }
    .nav-links {
        background: #06152e;
        border: 1px solid hsla(0, 0%, 100%, .18);
        border-radius: 8px;
        display: none;
        flex-direction: column;
        gap: 0;
        left: 40px;
        padding: 14px;
        position: absolute;
        right: 40px;
        top: 76px;
        z-index: 40;
    }
    .app-header.menu-open .nav-links { display: flex; }
    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 12px;
    }
    .register-link { display: none; }
    .menu { display: inline-flex; }
    .mobile-lang-switch {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        width: 100%;
        margin-top: 8px;
        padding: 12px;
        border-radius: 8px;
        border: 1px solid hsla(0, 0%, 100%, .16);
        background: #ffffff0e;
        color: #fff;
        font-weight: 900;
        cursor: pointer;
    }

    .hero.hero-merge-clean {
        grid-template-columns: 1fr;
        width: min(100% - 32px, 1480px);
        padding-top: 110px;
    }
    .hero-visual.clean-visual {
        grid-column: 1;
        grid-row: 1;
        min-height: 360px;
        order: -1;
    }
    .hero-copy {
        grid-column: 1;
        grid-row: 2;
    }
    .hero-spiral-canvas { width: min(100%, 420px); }
    .quick-stats,
    .hero-milestones { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .app-header { width: min(100% - 24px, 1220px); }
    .app-header:not(.is-scrolled) { top: 10px; }
    .app-nav { gap: 6px; padding: 8px 8px 8px 12px; width: 100%; }
    .logo-img { width: 90px; }
    .lang-switch,
    .login-link,
    .menu {
        font-size: 9px !important;
        height: 24px;
        min-height: 24px !important;
        max-height: 24px;
        padding-inline: 8px !important;
    }
    .menu {
        background: linear-gradient(90deg, #e5d862, #53d694) !important;
        border: 0 !important;
        border-radius: 11px !important;
        color: #004399 !important;
        font-weight: 600 !important;
    }
    .menu-label--tablet { display: none; }
    .menu-label--phone { display: inline; }
    .register-link { display: none; }
    .hero-title-en { font-size: clamp(40px, 12vw, 56px); }
    .hero-title-cn {
        display: block;
        font-size: clamp(32px, 9vw, 42px);
    }
    .hero-title-cn span { display: block; }
}

/* ============================================
   NEW SECTIONS - Reference Site Replication
   ============================================ */

/* Section common */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}
.section.tight { padding: 70px 0; }
.container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 24px;
    width: 100%;
}
.kicker {
    color: #21d6ff;
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.25em;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.section-title {
    color: #fff;
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px;
}
.gradient-text {
    background: linear-gradient(100deg, #fff 0%, #dffcff 30%, #21d6ff 55%, #44d69a 80%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-lead {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 40px;
    max-width: 640px;
}

/* Marquee Ticker */
.marquee-ticker {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-top: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    padding: 14px 0;
    position: relative;
    z-index: 1;
}
.marquee-track {
    animation: marqueeScroll 20s linear infinite;
    display: flex;
    gap: 48px;
    width: max-content;
}
.marquee-item {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    letter-spacing: 0.1em;
    white-space: nowrap;
}
.marquee-item b {
    color: #21d6ff;
    font-weight: 700;
    margin-right: 8px;
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Awards section */
.awards { background: transparent; }
.award-support-layout {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
}
.award-pill {
    border-radius: 999px;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    padding: 8px 20px;
}
.award-pill-green {
    background: rgba(68,214,154,0.15);
    border: 1px solid rgba(68,214,154,0.4);
    color: #44d69a;
}
.award-pill-yellow {
    background: rgba(255,214,64,0.15);
    border: 1px solid rgba(255,214,64,0.4);
    color: #ffd640;
}
.cash-highlight-stack { display: flex; flex-direction: column; gap: 12px; }
.cash-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 30px;
    padding: 28px 32px;
    transition: transform .3s ease, border-color .3s ease;
}
.cash-card:hover {
    border-color: rgba(33,214,255,0.5);
    transform: translateY(-4px);
}
.cash-card-total {
    background: linear-gradient(135deg, rgba(33,214,255,0.12), rgba(68,214,154,0.08));
    border-radius: 30px;
}
.border-glow {
    box-shadow: 0 0 40px rgba(33,214,255,0.15), inset 0 0 30px rgba(33,214,255,0.05);
}
.cash-card-label {
    color: #21d6ff;
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}
.cash-card-amount {
    color: #fff;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}
.cash-unit {
    font-size: 18px;
    font-weight: 600;
    margin-left: 8px;
    opacity: 0.8;
}
.cash-card-desc {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin: 10px 0 0;
}
.cash-row {
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    display: flex;
    font-size: 14px;
    justify-content: space-between;
    padding: 14px 4px;
}
.cash-row b { color: #ffd640; font-weight: 700; }
.cash-note {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    margin: 16px 0 0;
}
.resource-support-list { display: flex; flex-direction: column; gap: 0; }
.resource-item {
    align-items: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    gap: 20px;
    padding: 18px 4px;
    transition: background .3s ease;
}
.resource-item:hover { background: rgba(255,255,255,0.03); }
.resource-num {
    background: linear-gradient(135deg, #21d6ff, #44d69a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 14px;
    font-weight: 800;
    min-width: 32px;
}
.resource-body b {
    color: #fff;
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}
.resource-body p {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* Committee section */
.committee-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 24px;
}
.member-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 24px;
    transition: transform .3s ease, border-color .3s ease;
}
.member-card:hover {
    border-color: rgba(33,214,255,0.4);
    transform: translateY(-4px);
}
.member-card b {
    color: #fff;
    display: block;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.member-card p {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}
.committee-note {
    color: rgba(255,255,255,0.35);
    font-size: 12px;
    margin: 0 0 48px;
}
.committee-divider {
    background: linear-gradient(90deg, transparent, rgba(33,214,255,0.3), transparent);
    height: 1px;
    margin: 48px 0;
}
.expert-group { margin-bottom: 32px; }
.expert-group h3 {
    color: #21d6ff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px;
}
.expert-names {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    line-height: 2;
    margin: 0;
}

/* Tracks section */
.tracks-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}
.track-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 28px;
    display: block;
    padding: 36px;
    position: relative;
    text-decoration: none;
    transition: transform .35s cubic-bezier(0.34,1.56,0.64,1), border-color .3s ease, background .3s ease;
}
.track-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(33,214,255,0.5);
    transform: translateY(-6px);
}
.track-card-code {
    color: #21d6ff;
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}
.track-card h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 12px;
}
.track-card p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 24px;
}
.track-card-arrow {
    align-items: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 18px;
    height: 44px;
    justify-content: center;
    transition: background .3s ease, transform .3s ease;
    width: 44px;
}
.track-card:hover .track-card-arrow {
    background: #21d6ff;
    color: #04102f;
    transform: translateX(6px);
}

/* Process section */
.process-steps {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 24px;
}
.process-step {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 28px;
    transition: transform .3s ease, border-color .3s ease;
}
.process-step:hover {
    border-color: rgba(68,214,154,0.4);
    transform: translateY(-4px);
}
.step-dot {
    align-items: center;
    background: var(--dot, #21d6ff);
    border-radius: 50%;
    color: #04102f;
    display: flex;
    font-size: 13px;
    font-weight: 800;
    height: 36px;
    justify-content: center;
    margin-bottom: 16px;
    width: 36px;
}
.process-step b {
    color: #21d6ff;
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}
.process-step h3 {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
}
.process-step p {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    margin: 0;
}
.process-note {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    margin: 0;
}

/* News section */
.news-layout {
    display: grid;
    gap: 32px;
    grid-template-columns: 1.6fr 1fr;
    margin-bottom: 32px;
}
.news-carousel { position: relative; }
.news-carousel-viewport { overflow: hidden; }
.news-carousel-track {
    display: flex;
    gap: 0;
}
.news-slide {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    display: block;
    flex: 0 0 100%;
    overflow: hidden;
    text-decoration: none;
    transition: transform .3s ease, border-color .3s ease;
}
.news-slide:hover {
    border-color: rgba(33,214,255,0.4);
    transform: translateY(-4px);
}
.news-slide-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.news-slide-img img {
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    width: 100%;
}
.news-slide:hover .news-slide-img img { transform: scale(1.05); }
.news-slide h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    padding: 20px 24px 8px;
}
.news-slide time {
    color: rgba(255,255,255,0.5);
    display: block;
    font-size: 13px;
    padding: 0 24px 20px;
}
.news-carousel-nav {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.carousel-btn {
    align-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 16px;
    height: 44px;
    justify-content: center;
    transition: background .3s ease, transform .2s ease;
    width: 44px;
}
.carousel-btn:hover {
    background: #21d6ff;
    color: #04102f;
    transform: scale(1.1);
}
.news-side-stack { display: flex; flex-direction: column; gap: 0; }
.news-side-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: block;
    padding: 20px 4px;
    text-decoration: none;
    transition: background .3s ease;
}
.news-side-item:hover { background: rgba(255,255,255,0.04); }
.news-side-item time {
    color: #21d6ff;
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}
.news-side-cat {
    background: rgba(33,214,255,0.12);
    border-radius: 4px;
    color: #21d6ff;
    display: inline-block;
    font-size: 11px;
    margin-bottom: 8px;
    padding: 3px 8px;
}
.news-side-item h3 {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}
.view-all-link {
    color: #21d6ff;
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    gap: 8px;
    text-decoration: none;
    transition: gap .3s ease;
}
.view-all-link:hover { gap: 14px; }

/* Partners section - light area */
.partners {
    background: linear-gradient(180deg, #f4f9ff 0%, #e8f4ff 100%);
    color: #073b8f;
}
.partners .kicker { color: #0b5cff; }
.partners .section-title { color: #073b8f; }
.partner-rows { display: flex; flex-direction: column; gap: 48px; }
.partner-row-label {
    color: #0b5cff;
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.partner-logo {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(11,92,255,0.12);
    border-radius: 16px;
    color: #073b8f;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    height: 72px;
    justify-content: center;
    min-width: 140px;
    padding: 0 24px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.partner-logo:hover {
    box-shadow: 0 8px 24px rgba(11,92,255,0.12);
    transform: translateY(-3px);
}
.partner-logo-text { min-width: 280px; }
.partner-desc {
    color: rgba(7,59,143,0.7);
    font-size: 14px;
    line-height: 1.8;
    margin: 16px 0 0;
    max-width: 640px;
}

/* FAQ section - light area */
.faq-section {
    background: linear-gradient(180deg, #e8f4ff 0%, #f4f9ff 100%);
    color: #073b8f;
}
.faq-section .kicker { color: #0b5cff; }
.faq-section .section-title { color: #073b8f; }
.faq-section .section-lead { color: rgba(7,59,143,0.7); }
.faq-list {
    margin-bottom: 32px;
    max-width: 800px;
}
.faq-item {
    border-bottom: 1px solid rgba(11,92,255,0.12);
}
.faq-q {
    align-items: center;
    background: none;
    border: 0;
    color: #073b8f;
    cursor: pointer;
    display: flex;
    font-size: 16px;
    font-weight: 600;
    justify-content: space-between;
    padding: 22px 4px;
    text-align: left;
    transition: color .3s ease;
    width: 100%;
}
.faq-q:hover { color: #0b5cff; }
.faq-q i {
    color: #0b5cff;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    transition: transform .3s ease;
}
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
}
.faq-item.open .faq-a {
    max-height: 200px;
    padding-bottom: 22px;
}
.faq-a p {
    color: rgba(7,59,143,0.7);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}
.faq-actions {
    align-items: center;
    display: flex;
    gap: 24px;
}
.faq-section .btn-yellow {
    background: linear-gradient(135deg, #ffd640, #ffb020);
    color: #073b8f;
}
.faq-section .view-all-link { color: #0b5cff; }

/* Register CTA section - light area */
.register-section {
    background: linear-gradient(180deg, #f4f9ff 0%, #dbeeff 100%);
    color: #073b8f;
}
.register-section .kicker { color: #0b5cff; }
.register-section .section-title { color: #073b8f; }
.register-section .section-lead { color: rgba(7,59,143,0.7); }
.final-panel {
    background: #fff;
    border: 1px solid rgba(11,92,255,0.12);
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(11,92,255,0.08);
    display: grid;
    gap: 40px;
    grid-template-columns: 1.2fr 1fr;
    padding: 48px;
}
.final-panel-cta { display: flex; flex-direction: column; gap: 16px; }
.btn-lg {
    font-size: 17px;
    padding: 16px 40px;
}
.btn-outline {
    background: transparent;
    border: 2px solid #0b5cff;
    border-radius: 999px;
    color: #0b5cff;
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 32px;
    text-align: center;
    text-decoration: none;
    transition: background .3s ease, color .3s ease, transform .2s ease;
    width: fit-content;
}
.btn-outline:hover {
    background: #0b5cff;
    color: #fff;
    transform: translateY(-2px);
}
.final-panel-contacts {
    align-items: center;
    display: flex;
    gap: 20px;
    margin-top: 8px;
}
.final-panel-contacts a {
    color: #0b5cff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.final-panel-contacts a:hover { text-decoration: underline; }
.wechat-btn {
    background: rgba(11,92,255,0.08);
    border: 1px solid rgba(11,92,255,0.2);
    border-radius: 999px;
    color: #0b5cff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    transition: background .3s ease;
}
.wechat-btn:hover { background: rgba(11,92,255,0.15); }
.final-panel-dates { display: flex; flex-direction: column; gap: 24px; }
.final-date {
    border-left: 3px solid #0b5cff;
    padding-left: 20px;
}
.final-date-label {
    color: #0b5cff;
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 6px;
}
.final-date b {
    color: #073b8f;
    display: block;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
}
.final-date p {
    color: rgba(7,59,143,0.6);
    font-size: 13px;
    margin: 0;
}

/* Responsive for new sections */
@media (max-width: 980px) {
    .award-support-layout { grid-template-columns: 1fr; }
    .committee-grid { grid-template-columns: repeat(3, 1fr); }
    .tracks-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .news-layout { grid-template-columns: 1fr; }
    .final-panel { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 640px) {
    .section { padding: 64px 0; }
    .committee-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: 1fr; }
    .cash-card-amount { font-size: 36px; }
    .faq-actions { flex-direction: column; align-items: flex-start; }
}

/* Scroll reveal animation */
.reveal-init {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-init.revealed {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal-init { opacity: 1; transform: none; transition: none; }
}

/* Simple footer (reference style) */
.site-footer {
    padding: 36px 0 46px;
    position: relative;
    z-index: 1;
}
body.is-home .site-footer {
    background: #02081a;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-simple {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 12px 28px;
    justify-content: space-between;
}
body.is-home .footer-simple { color: rgba(255,255,255,0.45); justify-content: center; }
body:not(.is-home) .footer-simple { color: rgba(7,47,108,0.64); }
.footer-simple a {
    text-decoration: none;
    transition: color .3s ease;
}
body.is-home .footer-simple a { color: rgba(255,255,255,0.55); }
body.is-home .footer-simple a:hover { color: #21d6ff; }
body:not(.is-home) .footer-simple a { color: rgba(7,47,108,0.8); }
body:not(.is-home) .footer-simple a:hover { color: #0b5cff; }

/* ============================================
   SUB-PAGE LIGHT THEME (reference style)
   All pages except home use light blue glass theme
   ============================================ */

/* Sub-page hero (deep blue gradient) */
body:not(.is-home) .page-hero {
    background:
        radial-gradient(circle at 74% 16%, rgba(33,214,255,0.28), transparent 30%),
        radial-gradient(circle at 14% 76%, rgba(68,214,154,0.16), transparent 28%),
        linear-gradient(112deg, rgb(18,49,141), rgb(23,67,162) 30%, rgb(15,93,146) 57%, rgb(6,23,68));
    color: #fff;
    min-height: 430px;
    padding: 118px 0 51px;
    position: relative;
}
body:not(.is-home) .page-hero .hero-grid { display: none; }
body:not(.is-home) .page-hero-inner { max-width: 820px; }
body:not(.is-home) .page-hero .hero-kicker,
body:not(.is-home) .hero-kicker {
    color: rgba(255,255,255,0.82);
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
    text-transform: uppercase;
}
body:not(.is-home) .page-hero h1 {
    color: #fff;
    font-size: clamp(38px, 5vw, 51px);
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 18px;
}
body:not(.is-home) .page-hero p {
    color: rgba(255,255,255,0.76);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    max-width: 620px;
}

/* Sub-page content sections */
body:not(.is-home) .section-pad {
    padding: 72px 0;
    position: relative;
}
body:not(.is-home) .site-container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 24px;
    width: 100%;
}

/* Glass card base */
body:not(.is-home) .news-card,
body:not(.is-home) .logo-tile,
body:not(.is-home) .faq-list article,
body:not(.is-home) .info-card,
body:not(.is-home) .prize-card,
body:not(.is-home) .guest-card {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(7,61,143,0.16);
    border-radius: 24px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 24px 62px rgba(13,118,255,0.1);
}

/* Section index / kicker on light bg */
body:not(.is-home) .section-index {
    color: #0b5cff;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-bottom: 14px;
    text-transform: uppercase;
}
body:not(.is-home) h2 {
    color: #073b8f;
    font-weight: 900;
}
body:not(.is-home) .lead,
body:not(.is-home) .guide-content p,
body:not(.is-home) .prose p {
    color: rgba(7,26,61,0.75);
}

/* Chip / filter buttons */
body:not(.is-home) .filter-tabs button,
body:not(.is-home) .filters button,
body:not(.is-home) .chip {
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(7,61,143,0.16);
    border-radius: 999px;
    color: rgb(82,107,145);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 20px;
    transition: all .3s ease;
}
body:not(.is-home) .filter-tabs button:hover,
body:not(.is-home) .filters button:hover,
body:not(.is-home) .chip:hover {
    border-color: rgba(11,92,255,0.4);
    color: #073b8f;
}
body:not(.is-home) .filter-tabs button.active,
body:not(.is-home) .filters button.active {
    background: #0b5cff;
    border-color: #0b5cff;
    color: #fff;
}

/* Buttons on light bg */
body:not(.is-home) .button {
    background: linear-gradient(135deg, #0b5cff, #073b8f);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 30px;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
body:not(.is-home) .button:hover {
    box-shadow: 0 12px 28px rgba(11,92,255,0.3);
    transform: translateY(-2px);
}
body:not(.is-home) .button-secondary,
body:not(.is-home) .button.button-secondary {
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(7,61,143,0.2);
    color: #073b8f;
}

/* Arrow link on light bg */
body:not(.is-home) .arrow-link {
    color: #0b5cff;
    font-weight: 700;
    text-decoration: none;
}

/* Tables (reference style) */
body:not(.is-home) table,
body:not(.is-home) .ref-table {
    background: rgba(255,255,255,0.76);
    border: 1px solid rgba(7,61,143,0.16);
    border-radius: 24px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    width: 100%;
}
body:not(.is-home) th {
    background: rgba(11,92,255,0.06);
    color: #073b8f;
    font-size: 13px;
    font-weight: 800;
    padding: 16px 20px;
    text-align: left;
}
body:not(.is-home) td {
    border-top: 1px solid rgba(7,61,143,0.1);
    color: rgba(7,26,61,0.8);
    font-size: 14px;
    padding: 15px 20px;
}

/* Forms on light bg */
body:not(.is-home) input,
body:not(.is-home) select,
body:not(.is-home) textarea {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(7,61,143,0.2);
    border-radius: 14px;
    color: #071a3d;
    font-size: 14px;
    padding: 12px 16px;
    transition: border-color .3s ease, box-shadow .3s ease;
    width: 100%;
}
body:not(.is-home) input:focus,
body:not(.is-home) select:focus,
body:not(.is-home) textarea:focus {
    border-color: #0b5cff;
    box-shadow: 0 0 0 3px rgba(11,92,255,0.12);
    outline: none;
}
body:not(.is-home) label {
    color: #073b8f;
    font-size: 13px;
    font-weight: 700;
}

/* Back link on light bg */
body:not(.is-home) .back-link {
    color: #0b5cff;
    font-weight: 600;
    text-decoration: none;
}

/* Hero pills (tracks page) */
.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}
.hero-pills span {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    color: rgba(255,255,255,0.82);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
}

/* Track tabs */
.tabs {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 40px;
}
.tab {
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(7,61,143,0.16);
    border-radius: 22px;
    display: block;
    padding: 18px 20px;
    text-decoration: none;
    transition: all .3s ease;
}
.tab b {
    color: #071a3d;
    display: block;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}
.tab span {
    color: rgb(82,107,145);
    font-size: 12px;
}
.tab:hover { border-color: rgba(11,92,255,0.4); transform: translateY(-2px); }
.tab.active {
    background: #fff;
    border-color: #0b5cff;
    box-shadow: 0 12px 30px rgba(11,92,255,0.15);
}
.tab.active b { color: #073b8f; }

/* Track panel */
.track-panel {
    background: rgba(255,255,255,0.62);
    border: 1px solid rgba(7,61,143,0.14);
    border-radius: 28px;
    padding: 48px;
}
.track-panel > h2 {
    color: #073b8f;
    font-size: 30px;
    font-weight: 900;
    margin: 0 0 8px;
}
.track-panel > h2 em {
    color: rgba(7,59,143,0.5);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    margin-left: 10px;
}
.track-panel .block {
    border-top: 1px solid rgba(7,61,143,0.1);
    margin-top: 36px;
    padding-top: 32px;
}
.track-panel .block h3 {
    color: #073b8f;
    font-size: 18px;
    font-weight: 900;
    margin: 0 0 18px;
}
.track-panel .block h4 {
    color: #073b8f;
    font-size: 14px;
    font-weight: 800;
    margin: 20px 0 12px;
}
.track-panel .block > p {
    color: rgba(7,26,61,0.75);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
    max-width: 760px;
}

/* Prize cards */
.prize-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, 1fr);
}
.prize-card {
    background: rgba(255,255,255,0.64);
    border: 1px solid rgba(7,61,143,0.16);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}
.prize-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(13,118,255,0.14); }
.prize-card span {
    color: rgb(82,107,145);
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}
.prize-card b {
    color: #0b5cff;
    display: block;
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}
.prize-card i {
    color: rgba(7,26,61,0.5);
    display: block;
    font-size: 12px;
    font-style: normal;
    margin-top: 8px;
}
.prize-mini-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.prize-mini-grid span {
    background: rgba(11,92,255,0.07);
    border: 1px solid rgba(11,92,255,0.18);
    border-radius: 999px;
    color: #073b8f;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
}

/* Direction cards */
.direction-cards {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
}
.direction-card {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(7,61,143,0.14);
    border-radius: 20px;
    padding: 24px;
    transition: transform .3s ease, border-color .3s ease;
}
.direction-card:hover { border-color: rgba(11,92,255,0.4); transform: translateY(-3px); }
.direction-card b {
    background: linear-gradient(135deg, #21d6ff, #0b5cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 10px;
}
.direction-card h4 {
    color: #073b8f;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 8px;
}
.direction-card p {
    color: rgba(7,26,61,0.65);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

/* Requirement list */
.req-list { display: flex; flex-direction: column; gap: 14px; }
.req-list article {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(7,61,143,0.14);
    border-radius: 20px;
    display: flex;
    gap: 20px;
    padding: 22px 24px;
}
.req-list article b {
    color: #0b5cff;
    font-size: 16px;
    font-weight: 900;
    min-width: 32px;
}
.req-list article h4 {
    color: #073b8f;
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 6px;
}
.req-list article p {
    color: rgba(7,26,61,0.65);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

/* Two-col block */
.block.two-col {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1fr;
}
.block.track-actions {
    align-items: center;
    display: flex;
    gap: 16px;
}

/* Track index grid (light) */
.track-index-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}
body:not(.is-home) .track-index-card {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(7,61,143,0.16);
    border-radius: 26px;
    display: block;
    padding: 36px;
    position: relative;
    text-decoration: none;
    transition: transform .35s cubic-bezier(0.34,1.56,0.64,1), box-shadow .3s ease, border-color .3s ease;
}
body:not(.is-home) .track-index-card:hover {
    border-color: var(--track, #0b5cff);
    box-shadow: 0 20px 48px rgba(13,118,255,0.14);
    transform: translateY(-6px);
}
.track-index-card .track-card-code {
    color: var(--track, #0b5cff);
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2em;
    margin-bottom: 14px;
}
.track-index-card h2 {
    color: #071a3d;
    font-size: 26px;
    font-weight: 900;
    margin: 0 0 4px;
}
.track-index-card h3 {
    color: rgba(7,59,143,0.55);
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 14px;
}
.track-index-card p {
    color: rgba(7,26,61,0.68);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 18px;
}
.track-index-card .tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.track-index-card .tag-row span {
    background: rgba(11,92,255,0.07);
    border-radius: 999px;
    color: #073b8f;
    font-size: 12px;
    padding: 5px 14px;
}
.track-index-card .track-card-arrow {
    align-items: center;
    background: rgba(11,92,255,0.08);
    border-radius: 50%;
    color: #0b5cff;
    display: flex;
    font-size: 18px;
    height: 44px;
    justify-content: center;
    margin-top: 20px;
    transition: all .3s ease;
    width: 44px;
}
.track-index-card:hover .track-card-arrow {
    background: #0b5cff;
    color: #fff;
    transform: translateX(6px);
}

@media (max-width: 980px) {
    .tabs { grid-template-columns: repeat(2, 1fr); }
    .prize-grid { grid-template-columns: repeat(2, 1fr); }
    .direction-cards { grid-template-columns: 1fr; }
    .block.two-col { grid-template-columns: 1fr; }
    .track-panel { padding: 32px 24px; }
}
@media (max-width: 640px) {
    .tabs { grid-template-columns: 1fr; }
    .track-index-grid { grid-template-columns: 1fr; }
}

/* News page (light theme) */
body:not(.is-home) .news-card {
    display: block;
    overflow: hidden;
    text-decoration: none;
    transition: transform .35s cubic-bezier(0.34,1.56,0.64,1), box-shadow .3s ease;
}
body:not(.is-home) .news-card:hover {
    box-shadow: 0 24px 56px rgba(13,118,255,0.18);
    transform: translateY(-6px);
}
body:not(.is-home) .news-image { border-radius: 0; }
body:not(.is-home) .news-image span {
    background: rgba(255,255,255,0.9);
    border-radius: 6px;
    color: #06152e;
    font-weight: 700;
}
body:not(.is-home) .news-card time {
    color: #0b5cff;
    margin: 20px 22px 8px;
}
body:not(.is-home) .news-card h2,
body:not(.is-home) .news-card h3 {
    color: #071a3d;
    margin: 0 22px 10px;
}
body:not(.is-home) .news-card:hover h2,
body:not(.is-home) .news-card:hover h3 { color: #0b5cff; }
body:not(.is-home) .news-card p {
    color: rgba(7,26,61,0.65);
    margin: 0 22px;
}
body:not(.is-home) .news-card > .arrow-link {
    display: inline-block;
    margin: 14px 22px 22px;
}
body:not(.is-home) .news-grid { gap: 28px 22px; }
body:not(.is-home) .filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
@media (max-width: 980px) {
    body:not(.is-home) .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    body:not(.is-home) .news-grid { grid-template-columns: 1fr; }
}

/* ============================================
   SUB-PAGE COMPONENT OVERRIDES (light glass)
   Strip solid var(--soft)/#fff backgrounds so
   the light-blue gradient shows through, and
   give cards a frosted-glass treatment.
   ============================================ */

/* Content band backgrounds -> transparent */
body:not(.is-home) .faq-band,
body:not(.is-home) .partner-page,
body:not(.is-home) .guest-page,
body:not(.is-home) .media-page,
body:not(.is-home) .legal-page,
body:not(.is-home) .article-header,
body:not(.is-home) .auth-page,
body:not(.is-home) .dashboard-page,
body:not(.is-home) .track-index,
body:not(.is-home) .direction-band {
    background: transparent;
}

/* ---- Guide page ---- */
body:not(.is-home) .guide-layout { gap: 70px; }
body:not(.is-home) .side-index { border-left-color: rgba(7,61,143,0.16); }
body:not(.is-home) .side-index a { color: rgb(82,107,145); }
body:not(.is-home) .side-index a:hover { color: #0b5cff; }
body:not(.is-home) .guide-section h2 { color: #073b8f; }
body:not(.is-home) .pill-list span,
body:not(.is-home) .tag-row span {
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(7,61,143,0.16);
    border-radius: 999px;
    color: #073b8f;
}
body:not(.is-home) .step-list { border-top-color: rgba(7,61,143,0.14); }
body:not(.is-home) .step-list > div { border-bottom-color: rgba(7,61,143,0.14); }
body:not(.is-home) .requirement-grid > div {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(7,61,143,0.16);
    border-radius: 24px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 24px 62px rgba(13,118,255,0.1);
}
body:not(.is-home) .score-list { border-top-color: rgba(7,61,143,0.14); }
body:not(.is-home) .score-list > div { border-bottom-color: rgba(7,61,143,0.14); }
body:not(.is-home) .score-list span { background: rgba(11,92,255,0.08); }
body:not(.is-home) .award-table > div {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(7,61,143,0.16);
    border-radius: 24px;
}
body:not(.is-home) .award-table .grand {
    background: linear-gradient(145deg, #0b5cff, #06152e);
    border: 0;
}

/* ---- FAQ page ---- */
body:not(.is-home) .faq-tools > label {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(7,61,143,0.2);
    border-radius: 999px;
}
body:not(.is-home) .faq-list { border-top: 0; }
body:not(.is-home) .faq-list article {
    border-bottom: 0;
    margin-bottom: 14px;
    overflow: hidden;
    padding: 0 26px;
}
body:not(.is-home) .faq-list article > button { color: #071a3d; }
body:not(.is-home) .faq-list article > button i {
    border-color: rgba(7,61,143,0.24);
    color: #0b5cff;
}
body:not(.is-home) .empty-state { color: rgb(82,107,145); }

/* ---- Partners page ---- */
body:not(.is-home) .logo-tile { backdrop-filter: blur(8px); }
body:not(.is-home) .logo-tile b { color: #073b8f; }
body:not(.is-home) .logo-feature b { color: #0b5cff; }

/* ---- Guests page ---- */
body:not(.is-home) .guest-page .section-heading h2 { color: #073b8f; }
body:not(.is-home) .guest-grid h3 { color: #071a3d; }
body:not(.is-home) .guest-note { color: rgb(82,107,145); }

/* ---- Media page ---- */
body:not(.is-home) .media-feature {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(7,61,143,0.16);
    border-radius: 24px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 24px 62px rgba(13,118,255,0.1);
}
body:not(.is-home) .media-feature h2 { color: #073b8f; }
body:not(.is-home) .download-grid article {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(7,61,143,0.16);
    border-radius: 24px;
}
body:not(.is-home) .file-icon { background: rgba(11,92,255,0.08); }
body:not(.is-home) .media-contact { border-radius: 24px; }

/* ---- Legal page ---- */
body:not(.is-home) .legal-layout aside a { color: rgb(82,107,145); }
body:not(.is-home) .legal-layout aside a.active { color: #0b5cff; }
body:not(.is-home) .prose h2 { color: #073b8f; }
body:not(.is-home) .prose blockquote {
    background: rgba(255,255,255,0.78);
    border-left-color: #0b5cff;
    border-radius: 0 24px 24px 0;
    color: #073b8f;
}

/* ---- Article page ---- */
body:not(.is-home) .article-header h1 { color: #071a3d; }
body:not(.is-home) .article-body figure { border-radius: 24px; }
body:not(.is-home) .article-lead { color: #073b8f !important; }
body:not(.is-home) .article-action {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(7,61,143,0.16);
    border-radius: 24px;
}
body:not(.is-home) .article-action h3 { color: #073b8f; }

/* ---- Auth & dashboard (workflow) ---- */
body:not(.is-home) .auth-visual { border-radius: 0; }
body:not(.is-home) .auth-card h2 { color: #071a3d; }
body:not(.is-home) .form-intro { color: rgb(82,107,145); }
body:not(.is-home) .dashboard-hero { border-radius: 0 0 32px 32px; }
body:not(.is-home) .dashboard-nav,
body:not(.is-home) .dashboard-welcome,
body:not(.is-home) .progress-card,
body:not(.is-home) .dashboard-grid article,
body:not(.is-home) .workflow-form,
body:not(.is-home) .team-list,
body:not(.is-home) .invite-form,
body:not(.is-home) .claim-preview {
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(7,61,143,0.16);
    border-radius: 24px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 24px 62px rgba(13,118,255,0.1);
}
body:not(.is-home) .dashboard-nav a { border-bottom-color: rgba(7,61,143,0.12); color: rgb(82,107,145); }
body:not(.is-home) .dashboard-nav a.active { background: rgba(11,92,255,0.06); color: #0b5cff; }
body:not(.is-home) .dashboard-welcome h2,
body:not(.is-home) .form-heading h2 { color: #071a3d; }
body:not(.is-home) .workflow-form fieldset { border-bottom-color: rgba(7,61,143,0.14); }
body:not(.is-home) .team-member { border-bottom-color: rgba(7,61,143,0.12); }
body:not(.is-home) .upload-zone {
    background: rgba(11,92,255,0.05);
    border-color: rgba(7,61,143,0.28);
    border-radius: 18px;
}
body:not(.is-home) .notice-card { border-radius: 24px; }

/* ---- CMS pagination (light theme) ---- */
body:not(.is-home) .cms-goai-pagination .pagination a,
body:not(.is-home) .cms-goai-pagination .pagination span {
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(7,61,143,0.16);
    border-radius: 12px;
    color: #073b8f;
}
body:not(.is-home) .cms-goai-pagination .pagination .active span,
body:not(.is-home) .cms-goai-pagination .pagination a:hover {
    background: #0b5cff;
    border-color: #0b5cff;
    color: #fff;
}

/* ---- CMS goai pages: neutralize legacy dark-theme text overrides ---- */
body:not(.is-home).cms-goai-page .side-index a,
body:not(.is-home).cms-goai-page .guide-section > p,
body:not(.is-home).cms-goai-page .step-list p,
body:not(.is-home).cms-goai-page .requirement-grid p,
body:not(.is-home).cms-goai-page .guest-grid p,
body:not(.is-home).cms-goai-page .guest-note,
body:not(.is-home).cms-goai-page .news-card p,
body:not(.is-home).cms-goai-page .faq-list p,
body:not(.is-home).cms-goai-page .empty-state,
body:not(.is-home).cms-goai-page .article-body .prose p,
body:not(.is-home).cms-goai-page .article-body .prose li {
    color: rgba(7,26,61,0.72);
}
body:not(.is-home).cms-goai-page .faq-list article > button { color: #071a3d; }

/* ---- CMS pagination (light theme) ---- */
body:not(.is-home) .cms-goai-pagination .pagination a,
body:not(.is-home) .cms-goai-pagination .pagination span {
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(7,61,143,0.16);
    border-radius: 12px;
    color: #073b8f;
}
body:not(.is-home) .cms-goai-pagination .pagination .active span,
body:not(.is-home) .cms-goai-pagination .pagination a:hover {
    background: #0b5cff;
    border-color: #0b5cff;
    color: #fff;
}

/* ---- CMS goai pages: neutralize legacy dark-theme overrides ---- */
body:not(.is-home).cms-goai-page .side-index a,
body:not(.is-home).cms-goai-page .guide-section > p,
body:not(.is-home).cms-goai-page .step-list p,
body:not(.is-home).cms-goai-page .requirement-grid p,
body:not(.is-home).cms-goai-page .guest-grid p,
body:not(.is-home).cms-goai-page .guest-note,
body:not(.is-home).cms-goai-page .news-card p,
body:not(.is-home).cms-goai-page .faq-list p,
body:not(.is-home).cms-goai-page .empty-state,
body:not(.is-home).cms-goai-page .article-body .prose p,
body:not(.is-home).cms-goai-page .article-body .prose li {
    color: rgba(7,26,61,0.72);
}
body:not(.is-home).cms-goai-page .faq-list article > button { color: #071a3d; }
