:root {
    /* Deep Blue-Grey Palette */
    --color-bg-main: #08131F;
    --color-bg-card: #101C2D;
    --color-bg-footer: #050B14;
    --color-brand-purple: #7446FF;
    --color-gradient-blue: #2563EB;
    --color-gradient-purple: #8B5CF6;
    --color-cta-yellow: #FFD600;
    --color-cta-yellow-hover: #E5C200;
    --color-white: #FFFFFF;
    --color-text-body: #B7C0D0;
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-hover: rgba(116, 70, 255, 0.5);
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 72px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    color: var(--color-text-body);
    line-height: 1.6;
    background-color: var(--color-bg-main);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }

/* =========================================
   2. Buttons
   ========================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 1rem; cursor: pointer;
    transition: all 0.3s ease; border: 2px solid transparent;
}

.btn--primary {
    background-color: var(--color-cta-yellow);
    color: #111111;
}
.btn--primary:hover {
    background-color: var(--color-cta-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 214, 0, 0.25);
}

.btn--ghost {
    background: transparent;
    border-color: rgba(255,255,255,0.3);
    color: var(--color-white);
}
.btn--ghost:hover {
    border-color: var(--color-white);
    background: rgba(255,255,255,0.05);
}

.btn--lg { padding: 16px 40px; font-size: 1.1rem; border-radius: var(--radius-md); }

/* =========================================
   3. Header
   ========================================= */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--header-height);
    background-color: var(--color-bg-main);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.header__logo { display: flex; flex-direction: column; line-height: 1.2; }
.header__logo-text { font-size: 1.5rem; font-weight: 800; color: var(--color-white); }
.header__logo-sub { font-size: 0.7rem; color: var(--color-brand-purple); letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
.header__nav { display: flex; gap: 32px; }
.header__link { color: var(--color-text-body); font-size: 0.95rem; font-weight: 500; }
.header__link:hover, .header__link.active { color: var(--color-white); }
.header__toggle { display: none; background: none; border: none; color: var(--color-white); font-size: 1.5rem; cursor: pointer; }

/* =========================================
   4. Hero Section
   ========================================= */
.hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 100px;
    background: linear-gradient(160deg, #08131F 0%, #152A45 50%, #4520A8 100%);
    min-height: 90vh;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
}
.hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
    background: linear-gradient(to top, var(--color-bg-main), transparent);
    pointer-events: none;
}
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero__title { font-size: 3.2rem; font-weight: 800; line-height: 1.15; margin-bottom: 24px; color: var(--color-white); letter-spacing: -1px; }
.hero__subtitle { font-size: 1.25rem; color: rgba(255,255,255,0.8); margin-bottom: 16px; max-width: 500px; }
.hero__seo-text { font-size: 0.95rem; color: rgba(183,192,208,0.7); margin-bottom: 40px; max-width: 500px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Registration Panel Mockup */
.reg-panel {
    background: rgba(16, 28, 45, 0.9);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.reg-panel__header { margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); }
.reg-panel__brand { font-size: 1.1rem; font-weight: 700; color: var(--color-white); }
.reg-panel__steps { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.reg-step { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.03); }
.reg-step--done .reg-step__icon { background: var(--color-brand-purple); color: var(--color-white); }
.reg-step--active { background: rgba(116, 70, 255, 0.1); border: 1px solid rgba(116, 70, 255, 0.3); }
.reg-step--active .reg-step__icon { background: var(--color-cta-yellow); color: #111; }
.reg-step__icon {
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 700; flex-shrink: 0;
    background: rgba(255,255,255,0.1); color: var(--color-text-body);
}
.reg-step__label { font-size: 0.95rem; color: var(--color-white); font-weight: 500; }
.reg-panel__cta { width: 100%; }

/* =========================================
   5. Generic Sections
   ========================================= */
.section { padding: 80px 0; }
.section__title { font-size: 2.2rem; font-weight: 700; text-align: center; margin-bottom: 48px; color: var(--color-white); }
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: var(--color-bg-card);
    padding: 32px; border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}
.card:hover { border-color: var(--color-border-hover); transform: translateY(-4px); }
.card__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--color-white); }
.card__text { font-size: 0.95rem; line-height: 1.7; }
.card--account { border-top: 3px solid var(--color-brand-purple); }
.card__link { display: inline-block; margin-top: 20px; color: var(--color-brand-purple); font-weight: 600; font-size: 0.95rem; }
.card__link:hover { color: var(--color-gradient-purple); }

.intro__content, .platforms__content, .why-choose__content {
    max-width: 800px; margin: 0 auto; text-align: center; font-size: 1.1rem;
}

/* =========================================
   6. Timeline Process
   ========================================= */
.timeline { max-width: 700px; margin: 0 auto 48px; position: relative; padding-left: 40px; }
.timeline::before {
    content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, var(--color-brand-purple), var(--color-gradient-blue));
}
.timeline__item { position: relative; margin-bottom: 36px; }
.timeline__item:last-child { margin-bottom: 0; }
.timeline__marker {
    position: absolute; left: -40px; top: 0;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--color-bg-card); border: 2px solid var(--color-brand-purple);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 800; color: var(--color-brand-purple);
    z-index: 1;
}
.timeline__title { font-size: 1.15rem; font-weight: 700; color: var(--color-white); margin-bottom: 6px; }
.timeline__text { font-size: 0.95rem; }
.process__cta { text-align: center; }

/* =========================================
   7. FAQ (Dark Blue Theme)
   ========================================= */
.faq__list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--color-bg-card); border-radius: var(--radius-sm); border: 1px solid var(--color-border); overflow: hidden; }
.faq__question {
    padding: 20px 24px; font-weight: 600; font-size: 1.05rem;
    cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center;
    color: var(--color-white);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after { content: '+'; font-size: 1.4rem; font-weight: 300; color: var(--color-brand-purple); }
.faq__item[open] .faq__question::after { content: '−'; }
.faq__answer { padding: 0 24px 20px; font-size: 0.95rem; line-height: 1.7; }

/* =========================================
   8. Final CTA Section
   ========================================= */
.final-cta { padding: 100px 0; }
.final-cta__inner {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 64px 40px;
    text-align: center;
    position: relative; overflow: hidden;
}
.final-cta__inner::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(116,70,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.final-cta__title { font-size: 2rem; font-weight: 800; color: var(--color-white); margin-bottom: 16px; position: relative; }
.final-cta__text { font-size: 1.1rem; margin-bottom: 32px; position: relative; }
.final-cta .btn { position: relative; }

/* =========================================
   9. Footer
   ========================================= */
.footer { background-color: var(--color-bg-footer); padding-top: 48px; border-top: 1px solid var(--color-border); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--color-border); }
.footer__logo { font-size: 1.3rem; font-weight: 800; color: var(--color-white); }
.footer__links { display: flex; gap: 32px; }
.footer__links a { font-size: 0.9rem; }
.footer__links a:hover { color: var(--color-cta-yellow); }
.footer__risk { padding: 24px 0; }
.footer__risk p { font-size: 0.75rem; text-align: center; color: rgba(183,192,208,0.5); }

/* =========================================
   10. Responsive
   ========================================= */
@media (max-width: 1024px) {
    .hero__title { font-size: 2.6rem; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    :root { --header-height: 64px; }
    .header__nav { display: none; }
    .header__toggle { display: block; }
    .header__cta { display: none; }
    .hero { padding-top: calc(var(--header-height) + 40px); padding-bottom: 60px; min-height: auto; }
    .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero__title { font-size: 2rem; }
    .hero__subtitle, .hero__seo-text { margin-left: auto; margin-right: auto; }
    .hero__actions { justify-content: center; }
    .section { padding: 56px 0; }
    .section__title { font-size: 1.7rem; margin-bottom: 32px; }
    .grid--4, .grid--2 { grid-template-columns: 1fr; }
    .footer__inner { flex-direction: column; gap: 24px; text-align: center; }
    .footer__links { flex-wrap: wrap; justify-content: center; gap: 20px; }
    .btn--lg { padding: 14px 28px; font-size: 1rem; width: 100%; }
    .final-cta__inner { padding: 48px 24px; }
    .timeline { padding-left: 36px; }
    .timeline__marker { left: -36px; width: 28px; height: 28px; font-size: 0.7rem; }
}
.news__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.news__title {
    margin-bottom: 0 !important;
    text-align: left;
}

.news__more {
    color: var(--color-brand-purple);
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.news__more:hover {
    color: var(--color-cta-yellow);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.news-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
}

.news-card__img {
    position: relative;
    aspect-ratio: 400 / 240;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.03);
}

.news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.85);
}

.news-card:hover .news-card__img img {
    transform: scale(1.05);
    filter: brightness(1);
}

.news-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-brand-purple);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.news-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card__date {
    font-size: 0.8rem;
    color: rgba(183, 192, 208, 0.6);
    margin-bottom: 8px;
}

.news-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--color-white);
}

.news-card__title a {
    color: inherit;
    transition: color 0.2s ease;
}

.news-card__title a:hover {
    color: var(--color-brand-purple);
}

.news-card__excerpt {
    font-size: 0.9rem;
    color: var(--color-text-body);
    line-height: 1.6;
    margin-top: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* News Responsive - 追加到现有媒体查询 */
@media (max-width: 1024px) {
    .grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .news__grid .news-card:last-child:nth-child(odd) {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .news__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 28px;
    }
    .news__title {
        font-size: 1.5rem !important;
    }
    .grid--3 {
        grid-template-columns: 1fr;
    }
    .news__grid .news-card:last-child:nth-child(odd) {
        grid-column: span 1;
    }
    .news-card__body {
        padding: 20px;
    }
    .news-card__title {
        font-size: 1.05rem;
    }
}