:root {
    /* Brand Colors - Dark Theme */
    --color-bg-dark: #050505;
    --color-bg-card: #111111;
    --color-brand-purple: #6C2CF5;
    --color-gradient-start: #7B3FF2;
    --color-gradient-end: #A855F7;
    --color-cta-yellow: #FFD600;
    --color-cta-yellow-hover: #E5C200;
    --color-white: #FFFFFF;
    --color-text-body: #A1A1AA;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(108, 44, 245, 0.4);
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 72px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Effects */
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    --glow-purple: 0 0 30px rgba(108, 44, 245, 0.15);
}

*, *::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-dark);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
img { max-width: 100%; display: block; }

.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: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn--primary {
    background-color: var(--color-cta-yellow);
    color: var(--color-bg-dark);
}

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

.btn--secondary {
    background-color: var(--color-brand-purple);
    color: var(--color-white);
}

.btn--secondary:hover {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    transform: translateY(-2px);
}

.btn--outline {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn--outline:hover {
    background-color: var(--color-white);
    color: var(--color-bg-dark);
}

.btn--lg {
    padding: 16px 36px;
    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-dark);
    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); letter-spacing: -0.5px; }
.header__logo-sub { font-size: 0.7rem; color: var(--color-text-body); letter-spacing: 1px; text-transform: uppercase; }

.header__nav { display: flex; gap: 32px; }
.header__link { color: var(--color-text-body); font-size: 0.95rem; font-weight: 500; position: relative; }
.header__link:hover, .header__link.active { color: var(--color-white); }
.header__link::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--color-brand-purple);
    transition: width 0.3s ease;
}
.header__link:hover::after { width: 100%; }

.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(135deg, #050505 20%, #25105A 60%, #6C2CF5);
    color: var(--color-white);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute; top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(108,44,245,0.25) 0%, transparent 70%);
    pointer-events: none;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__title {
    font-size: 3.5rem; font-weight: 800;
    line-height: 1.15; margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero__subtitle {
    font-size: 1.25rem; color: rgba(255,255,255,0.85);
    margin-bottom: 16px; max-width: 520px;
}

.hero__seo-text {
    font-size: 0.95rem; color: rgba(255,255,255,0.5);
    margin-bottom: 40px; max-width: 520px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Terminal Mockup */
.terminal-mockup {
    background: rgba(17, 17, 17, 0.9);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow: var(--glow-purple);
}

.terminal__header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid var(--color-border);
}

.terminal__brand { font-size: 0.85rem; font-weight: 700; color: var(--color-white); }
.terminal__dots { display: flex; gap: 6px; }
.terminal__dots span {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.15);
}
.terminal__dots span:first-child { background: #FF5F57; }
.terminal__dots span:nth-child(2) { background: #FEBC2E; }
.terminal__dots span:last-child { background: #28C840; }

.terminal__body { padding: 20px; }

.terminal__chart {
    width: 100%; height: 150px; margin-bottom: 20px;
}
.terminal__chart svg { width: 100%; height: 100%; }

.terminal__tickers { display: flex; gap: 12px; }
.ticker-card {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: flex; flex-direction: column; gap: 4px;
}
.ticker__symbol { font-size: 0.75rem; color: var(--color-text-body); font-weight: 600; }
.ticker__price { font-size: 0.95rem; font-weight: 700; }
.ticker--up .ticker__price { color: #28C840; }

/* =========================================
   5. Generic Sections (Dark Theme)
   ========================================= */
.section { padding: 80px 0; }

.section__title {
    font-size: 2.2rem; font-weight: 700;
    text-align: center; margin-bottom: 48px;
    color: var(--color-white);
    letter-spacing: -0.5px;
}

.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Dark Card */
.card--dark {
    background: var(--color-bg-card);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.card--dark:hover {
    border-color: var(--color-border-hover);
    box-shadow: var(--glow-purple);
    transform: translateY(-4px);
}

.card__title {
    font-size: 1.25rem; font-weight: 700;
    margin-bottom: 12px; color: var(--color-white);
}

.card__text { font-size: 0.95rem; color: var(--color-text-body); 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-gradient-end); font-weight: 600; font-size: 0.95rem;
}
.card__link:hover { color: var(--color-cta-yellow); }

/* Product Card Variant */
.card--product {
    background: var(--color-bg-card);
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all 0.3s ease;
}
.card--product:hover {
    border-color: var(--color-border-hover);
    box-shadow: var(--glow-purple);
}

/* Intro */
.intro__content {
    max-width: 800px; margin: 0 auto;
    text-align: center; font-size: 1.1rem;
}
.intro__content p + p { margin-top: 16px; }

/* Platforms */
.platforms__content { text-align: center; max-width: 700px; margin: 0 auto; }
.platforms__content p { font-size: 1.1rem; margin-bottom: 32px; }
.platforms__downloads { display: flex; gap: 16px; justify-content: center; }

/* Process Steps */
.process__steps { margin-bottom: 48px; }
.step { text-align: center; padding: 24px; }
.step__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--color-brand-purple), var(--color-gradient-end));
    color: var(--color-white); font-size: 1.3rem; font-weight: 800;
    margin-bottom: 20px;
}
.step__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--color-white); }
.step__text { font-size: 0.9rem; color: var(--color-text-body); }
.process__cta { text-align: center; }

/* Safety & SEO Content */
.safety__content, .seo-content__article {
    max-width: 800px; margin: 0 auto;
    text-align: center; font-size: 1.1rem;
}
.seo-content__article { text-align: left; }
.seo-content__article p + p { margin-top: 16px; }

/* FAQ (Dark) */
.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); transition: transform 0.3s ease;
}
.faq__item[open] .faq__question::after { content: '−'; }
.faq__answer { padding: 0 24px 20px; font-size: 0.95rem; color: var(--color-text-body); line-height: 1.7; }

/* =========================================
   6. Footer (Dark)
   ========================================= */
.footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-body);
    padding-top: 60px;
    border-top: 1px solid var(--color-border);
}

.footer__inner {
    display: grid; grid-template-columns: 1fr 2fr;
    gap: 60px; padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.footer__logo { font-size: 1.5rem; font-weight: 800; color: var(--color-white); display: block; margin-bottom: 12px; }
.footer__desc { font-size: 0.9rem; max-width: 280px; }

.footer__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.footer__col h4 { font-size: 1rem; font-weight: 700; color: var(--color-white); margin-bottom: 16px; }
.footer__col a { display: block; font-size: 0.9rem; padding: 4px 0; }
.footer__col a:hover { color: var(--color-cta-yellow); }

.footer__risk { padding: 24px 0; background: rgba(255,255,255,0.02); }
.footer__risk p { font-size: 0.75rem; line-height: 1.6; text-align: center; }

/* =========================================
   7. Responsive
   ========================================= */
@media (max-width: 1024px) {
    .hero__title { font-size: 2.8rem; }
    .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: 2.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 { grid-template-columns: 1fr; gap: 40px; }
    .footer__links { grid-template-columns: 1fr; }
    .platforms__downloads { flex-direction: column; align-items: center; }
    .btn--lg { padding: 14px 28px; font-size: 1rem; width: 100%; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 1.8rem; }
    .card--dark, .card--product { padding: 24px; }
    .terminal__tickers { flex-direction: column; }
}
.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-gradient-end);
    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);
    box-shadow: var(--glow-purple);
    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.9);
}

.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(161, 161, 170, 0.7);
    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-gradient-end);
}

.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;
}
@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;
    }
}