* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0a0e27;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 70px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #ffffff;
}

.header-btn {
    background: linear-gradient(135deg, #22d3ee, #8b5cf6);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
}

.header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(34, 211, 238, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-6px);
}

body.menu-open {
    overflow: hidden;
}

.hero {
    padding: 100px 0 60px;
    background: linear-gradient(180deg, #0a0e27 0%, #1e1b4b 50%, #0a0e27 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
}

.hero-logo {
    margin-bottom: 24px;
}

.hero-logo img {
    width: 104px;
    height: 104px;
    border-radius: 12px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
    justify-content: center;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #22d3ee, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.market {
    padding: 40px 0 60px;
    background: linear-gradient(180deg, #0a0e27 0%, #4c1d95 50%, #0a0e27 100%);
    text-align: center;
}

.market h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
}

.market-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 16px;
    border-radius: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.market-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.model-base {
    padding: 40px 0;
    background: linear-gradient(180deg, #0a0e27 0%, #1e1b4b 50%, #0a0e27 100%);
}

.model-base h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #22d3ee, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.base-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 28px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.base-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.base-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.base-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.model-capabilities {
    padding: 40px 0;
    background: #0a0e27;
}

.model-capabilities h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #22d3ee, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.capabilities-column {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.capabilities-column h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #22d3ee;
}

.capabilities-column ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.capabilities-column li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.download {
    padding: 40px 0;
    background: linear-gradient(180deg, #0a0e27 0%, #4c1d95 50%, #0a0e27 100%);
    text-align: center;
}

.download h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #22d3ee, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.download p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.download-desc {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: 30px !important;
}

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

.download-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 28px;
    border-radius: 16px;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    font-size: 16px;
}

.download-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.about {
    padding: 40px 0;
    background: #0a0e27;
    text-align: center;
}

.about h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #22d3ee, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.about p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.news {
    padding: 40px 0;
    background: linear-gradient(180deg, #0a0e27 0%, #4c1d95 50%, #0a0e27 100%);
    text-align: center;
}

.news h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #22d3ee, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

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

.news-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
    text-decoration: none;
    color: inherit;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.news-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    flex-shrink: 0;
}

.news-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    flex: 1;
    text-align: left;
    line-height: 1.5;
}

.news-loading,
.news-empty {
    grid-column: 1 / -1;
    padding: 22px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    text-align: center;
}

.news-detail {
    padding: 60px 0;
    background: #0a0e27;
}

.news-detail .container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    max-width: 1200px;
}

.article-content {
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.article-meta .category {
    background: linear-gradient(135deg, #22d3ee, #8b5cf6);
    padding: 4px 12px;
    border-radius: 4px;
    color: #ffffff;
    font-weight: 500;
}

.article-meta .publish-time {
    color: rgba(255, 255, 255, 0.5);
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 22px;
    color: #ffffff;
}

.article-summary {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-body h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    color: #ffffff;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.9;
    margin-bottom: 20px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.article-tags span {
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.tushare-detail-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.detail-loading,
.detail-error {
    padding: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    text-align: center;
}

.web-feed-card,
.web-analysis-card {
    width: 100%;
    box-sizing: border-box;
    padding: 24px;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid rgba(215, 226, 239, 0.92);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
    color: #142844;
}

.module-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.module-title-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.module-title-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-right: 8px;
    border-radius: 50%;
    overflow: hidden;
}

.module-title {
    flex: 1;
    min-width: 0;
    color: #142844;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.module-content {
    display: block;
    color: #142844;
    font-size: 16px;
    line-height: 1.68;
    text-align: justify;
    word-break: break-word;
}

.tushare-lead-text {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.analysis-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.analysis-title {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
}

.item-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
}

.version {
    color: #142844;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
}

.analysis-action-hint {
    flex-shrink: 0;
    color: #5572fd;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
}

.analysis-thought-list {
    margin: 8px 0 18px;
    padding: 2px 0;
}

.analysis-thought-row {
    display: block;
    min-height: 24px;
}

.analysis-thought-row + .analysis-thought-row {
    margin-top: 10px;
}

.analysis-thought-head {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
}

.analysis-thought-icon {
    position: relative;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    border: 1px solid rgba(87, 114, 253, 0.48);
    border-radius: 50%;
    box-sizing: border-box;
}

.analysis-thought-icon::before {
    content: '';
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: -3px;
    height: 2px;
    border-radius: 999px;
    background: rgba(87, 114, 253, 0.36);
}

.analysis-thought-icon-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    margin-top: -2.5px;
    border-radius: 50%;
    background: #5572fd;
}

.analysis-thought-title {
    flex: 1;
    min-width: 0;
    color: #4f557a;
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
}

.analysis-thought-content {
    position: relative;
    margin: 7px 0 0 7px;
    padding: 10px 14px 10px 18px;
    border-radius: 0 8px 8px 0;
    background: rgba(247, 248, 252, 0.86);
    overflow: hidden;
}

.analysis-thought-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    border-radius: 999px;
    background: rgba(153, 162, 186, 0.24);
}

.analysis-thought-content-text {
    display: -webkit-box;
    color: #8d96ad;
    font-size: 14px;
    line-height: 22px;
    max-height: 44px;
    overflow: hidden;
    white-space: pre-wrap;
    word-break: break-word;
    text-overflow: clip;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.analysis-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.analysis-block {
    display: flex;
    flex-direction: column;
}

.analysis-block-title {
    margin-bottom: 10px;
    color: #5f6f83;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
}

.analysis-markdown {
    display: block;
    color: #142844;
    font-size: 16px;
    line-height: 1.72;
}

.analysis-markdown h3 {
    margin: 18px 0 8px;
    color: #142844;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 800;
}

.analysis-markdown h3:first-child {
    margin-top: 0;
}

.analysis-markdown p {
    margin: 0 0 12px;
}

.analysis-markdown p:last-child {
    margin-bottom: 0;
}

.analysis-markdown strong {
    color: #0f1f38;
    font-weight: 800;
}

.analysis-markdown hr {
    width: 100%;
    height: 1px;
    margin: 16px 0;
    border: 0;
    background: #e5edf6;
}

.analysis-list-line {
    padding-left: 4px;
}

.analysis-company-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 8px;
    background: rgba(247, 250, 255, 0.92);
}

.analysis-company-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.company-tag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 5px 10px;
    border-radius: 8px;
    background: #eef4ff;
    color: #315bab;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    word-break: break-all;
}

.analysis-company-relation {
    color: #5f6f83;
    font-size: 13px;
    line-height: 1.5;
}

.analysis-state {
    color: #5f6f83;
    font-size: 14px;
    line-height: 1.6;
}

.sidebar-loading {
    color: rgba(255, 255, 255, 0.48);
    font-size: 14px;
    line-height: 1.6;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.sidebar-section ul {
    list-style: none;
}

.sidebar-section li {
    margin-bottom: 16px;
}

.sidebar-section li:last-child {
    margin-bottom: 0;
}

.sidebar-section a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
}

.sidebar-section .side-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.sidebar-section .side-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    transition: color 0.3s;
}

.sidebar-section a:hover .side-title {
    color: #22d3ee;
}

.footer {
    background: #0a0e27;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-left {
    text-align: center;
}

.footer-left p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.footer-left p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .header .container {
        height: 56px;
    }

    .header-right {
        gap: 16px;
    }

    .nav {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        z-index: 999;
    }

    .nav.active {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
    }

    .nav li {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav li:last-child {
        border-bottom: none;
    }

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

    .header-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero-logo img {
        width: 78px;
        height: 78px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 14px;
    }

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

    .base-grid {
        grid-template-columns: 1fr;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }

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

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-detail {
        padding: 40px 0;
    }

    .news-detail .container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .article-content {
        padding: 0;
    }

    .article-title {
        font-size: 26px;
    }

    .article-summary {
        font-size: 16px;
    }

    .web-feed-card,
    .web-analysis-card {
        padding: 18px;
    }

    .module-content,
    .analysis-markdown {
        font-size: 15px;
    }

    .analysis-header {
        align-items: flex-start;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-left {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .market-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .hero-tags {
        justify-content: center;
    }
}
