/* ===================================
   字体定义 - 已移至 singolare.font.css
   =================================== */

/* ===================================
   CSS变量配置
   =================================== */

:root {
    /* 主色调 */
    --primary: #6F00FF;
    --primary-light: #C4A0FF;
    --primary-dark: #7B3FCC;
    --primary-rgb: 111, 0, 255;
    
    /* 背景色 */
    --bg-gradient-start: #F4EFFF;
    --bg-gradient-end: #FFFFFF;
    --card: #FFFFFF;
    
    /* 文字颜色 */
    --text: #1A1A1A;
    --text-secondary: #6B6B6B;
    --text-light: #999999;
    
    /* 边框 */
    --border: rgba(157, 80, 255, 0.1);
    --border-light: rgba(157, 80, 255, 0.05);
    
    /* 状态颜色 */
    --success: #00C853;
    --danger: #FF3B30;
    --warning: #FF9500;
    
    /* 圆角 */
    --radius: 16px;
    --radius-lg: 24px;
    --radius-sm: 8px;
    
    /* 间距 */
    --space: 16px;
    --space-sm: 8px;
    --space-lg: 24px;
    --space-xl: 32px;
    
    /* 透明度 */
    --opacity-light: 0.1;
    --opacity-medium: 0.5;
    --opacity-heavy: 0.8;
}

/* ===================================
   基础样式
   =================================== */

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

body {
    font-family: 'Singolare';
    background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 50%);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: 'Singolare';
    font-weight: 700;
}

/* ===================================
   导航栏
   =================================== */

.nav {
    display: flex;
    height: 64px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo {
    position: relative;
    display: block;
    height: 38px;
    width: 113px;
}

.logo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    font-family: 'Singolare';
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-arrow {
    transition: transform 0.2s;
}

.nav-item-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-dropdown:hover {
    display: block;
    opacity: 1;
    visibility: visible;
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    padding-top: 8px;
    background: transparent;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

.nav-dropdown::before {
    content: '';
    display: block;
    height: 8px;
    width: 100%;
}

.nav-dropdown-content {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 4px 24px rgba(var(--primary-rgb), 0.12);
    padding: 8px 0;
}

.nav-dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    font-family: 'Singolare';
}

.nav-dropdown-item:hover {
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--primary);
}

.nav-item-research {
    display: none;
}

@media (min-width: 1280px) {
    .nav-item-research {
        display: block;
    }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-btn {
    display: flex;
    height: 32px;
    width: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 1.75px #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.avatar-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.avatar-btn img {
    height: 28px;
    width: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.menu-btn {
    display: flex;
    height: 40px;
    width: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.menu-btn:hover {
    background: rgba(var(--primary-rgb), var(--opacity-light));
}

.menu-icon {
    position: relative;
    display: block;
    height: 28px;
    width: 28px;
}

.icon-menu,
.icon-close {
    position: absolute;
    left: 0;
    top: 0;
    height: 28px;
    width: 28px;
    transition: all 0.3s;
}

.icon-menu {
    transform: rotate(0deg) scale(1);
    opacity: 1;
}

.icon-close {
    transform: rotate(-45deg) scale(0.75);
    opacity: 0;
}

.menu-btn.active .icon-menu {
    transform: rotate(45deg) scale(0.75);
    opacity: 0;
}

.menu-btn.active .icon-close {
    transform: rotate(0deg) scale(1);
    opacity: 1;
}

/* ===================================
   主容器
   =================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px var(--space-xl) 60px;
}

/* ===================================
   股票头部
   =================================== */

.stock-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 239, 255, 0.8) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px var(--space-xl);
    margin-bottom: var(--space-lg);
    box-shadow: 0 4px 24px rgba(var(--primary-rgb), 0.08);
    position: relative;
    overflow: hidden;
}

.stock-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://web-cdn.rockflow.tech/rockflow-website/stocks/stock-header-bg.png') center top / cover no-repeat;
    opacity: 1;
    z-index: 0;
}

.stock-header > * {
    position: relative;
    z-index: 1;
}

.stock-header-cta-wrapper {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 2;
    max-width: 300px;
}

.stock-header-cta-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    text-align: right;
    line-height: 1.4;
    margin: 0;
    font-family: 'Singolare';
}

.stock-header-cta {
    padding: 0 24px;
    height: 42px;
    background: #6F00FF;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 21px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Singolare';
    white-space: nowrap;
}

.stock-header-cta-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.stock-header-cta span {
    display: inline-block;
}

.stock-header-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(111, 0, 255, 0.3);
}

.stock-title {
    display: flex;
    align-items: center;
    gap: var(--space);
    margin-bottom: var(--space-sm);
}

.stock-title h1 {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stock-ticker {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 6px var(--space);
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}

.stock-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 18px;
    max-width: 55%;
    line-height: 1.6;
}

.stock-price {
    display: flex;
    align-items: baseline;
    gap: var(--space);
    margin-bottom: var(--space-sm);
}

.price-current {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-change {
    font-size: 18px;
    font-weight: 700;
}

.price-change.positive {
    color: var(--success);
}

.price-change.negative {
    color: var(--danger);
}

/* ===================================
   工具类：文本颜色
   =================================== */

/* 正负文本颜色工具类 */
.text-positive {
    color: var(--success);
}

.text-negative {
    color: var(--danger);
}

/* 基于 data-change 属性的自动颜色 */
[data-change^="-"] {
    color: var(--danger);
}

[data-change^="+"] {
    color: var(--success);
}

.update-time {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 28px;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

/* ===================================
   作者信息
   =================================== */

.author-simple {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(244, 239, 255, 0.5) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space) var(--space-lg);
    margin-bottom: var(--space-xl);
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.update-badge {
    background: rgba(var(--primary-rgb), var(--opacity-light));
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

/* ===================================
   卡片组件
   =================================== */

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: var(--space-lg);
    box-shadow: 0 2px 16px rgba(var(--primary-rgb), 0.04);
    transition: all 0.3s;
    /* 淡入动画 */
    animation: fadeIn 0.5s ease-out;
}

.card:hover {
    box-shadow: 0 4px 24px rgba(var(--primary-rgb), 0.08);
    transform: translateY(-2px);
}

/* 卡片动画延迟（交错效果） */
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.3s; }

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.section-number {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.card-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
}

.content-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
}

.content-text p {
    margin-bottom: var(--space);
}

.content-text p:last-child {
    margin-bottom: 0;
}

.content-text strong {
    color: var(--primary);
    font-weight: 600;
}

.content-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--text);
}

/* 华尔街共识内容区域 */
.outlook-content {
    margin-top: var(--space-xl);
}

/* ===================================
   指标网格
   =================================== */

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space);
    margin-top: 20px;
    margin-bottom: var(--space-xl);
}

.metric-card {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0.02) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space);
    text-align: center;
}

.metric-label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.metric-note {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.metric-change {
    font-size: 13px;
    margin-top: 4px;
}

.metric-change.positive {
    color: var(--success);
}

.metric-change.negative {
    color: var(--danger);
}

/* ===================================
   图表容器
   =================================== */

.chart-container {
    position: relative;
    height: 320px;
    margin-top: 20px;
}

/* 图表卡片布局 */
.chart-card {
    padding: var(--space-lg);
}

.chart-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.chart-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

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

@media (max-width: 768px) {
    .chart-dual-grid {
        grid-template-columns: 1fr;
    }
}

/* 风险指标网格 */
.risk-metrics {
    margin-bottom: var(--space-xl);
}

/* ===================================
   对比表格（股价历史表现）
   =================================== */

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.9);
}

.comparison-table thead {
    background: rgba(var(--primary-rgb), 0.03);
}

.comparison-table th,
.comparison-table td {
    padding: 10px 12px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:nth-child(even) {
    background: rgba(var(--primary-rgb), 0.015);
}

.comparison-table tbody tr:hover {
    background: rgba(var(--primary-rgb), 0.04);
}

/* 场景预测表格特殊样式 */
.scenario-table th:first-child,
.scenario-table td:first-child {
    text-align: left;
    padding-left: 16px;
}

.scenario-table th:last-child,
.scenario-table td:last-child {
    text-align: left;
    padding-right: 16px;
}

.scenario-table td {
    font-size: 13px;
    line-height: 1.6;
}

/* ===================================
   评级系统
   =================================== */

.rating-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space);
    margin-bottom: var(--space-lg);
    padding: var(--space-lg);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, transparent 100%);
    border-radius: var(--radius);
}

.rating-item {
    text-align: center;
}

.rating-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.rating-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 48px 0 0;
    padding: 40px 36px;
    text-align: left;
}

/* 当 ratings-breakdown 应用 metric-card 样式时，覆盖 text-align */
.rating-breakdown.metric-card {
    text-align: left;
}

.rating-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-row:not(:last-child) {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 0;
}

.rating-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.rating-label-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.rating-row-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.rating-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.rating-bar {
    width: 100%;
    height: 8px;
    background: var(--border-light);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.rating-bar-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.6s ease;
}

/* 买入 - 绿色 */
.rating-row.rating-buy .rating-bar-fill {
    background: rgba(76, 175, 80, 0.4);
}

/* 持有 - 主题色 */
.rating-row.rating-hold .rating-bar-fill {
    background: rgba(var(--primary-rgb), 0.4);
}

/* 卖出 - 红色 */
.rating-row.rating-sell .rating-bar-fill {
    background: rgba(239, 83, 80, 0.4);
}

/* ===================================
   优劣势列表
   =================================== */

.pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: 20px;
}

.pros-section,
.cons-section {
    background: rgba(var(--primary-rgb), 0.02);
    border-radius: var(--radius);
    padding: 20px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.section-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.pros-section .section-title {
    color: var(--success);
}

.cons-section .section-title {
    color: var(--danger);
}

.pros-cons-list {
    list-style: none;
}

.pros-cons-list li {
    padding: 10px 0 10px 24px;
    position: relative;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pros-cons-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.pros-section li:before {
    background: var(--success);
}

.cons-section li:before {
    background: var(--danger);
}

/* ===================================
   FAQ组件
   =================================== */

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: var(--space) 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    padding: 12px 0;
    transition: color 0.15s ease-out;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), var(--opacity-light));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease-out;
    flex-shrink: 0;
}

.faq-toggle:after {
    content: '+';
    font-size: 20px;
    color: var(--primary);
    font-weight: 600;
}

.faq-toggle.open {
    transform: rotate(45deg);
    background: var(--primary);
}

.faq-toggle.open:after {
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.faq-answer.open {
    max-height: 500px;
    padding-top: var(--space-sm);
    padding-bottom: var(--space);
}

/* ===================================
   CTA Banner
   =================================== */

.cta-banner {
    margin: var(--space-xl) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(var(--primary-rgb), 0.08);
    width: 100%;
}

.cta-banner-link {
    display: block;
    width: 100%;
    text-decoration: none;
    transition: transform 0.3s;
}

.cta-banner-link:hover {
    transform: scale(1.02);
}

.cta-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ===================================
   CTA区域
   =================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 48px var(--space-xl);
    text-align: center;
    color: white;
    margin: var(--space-lg) 0;
    box-shadow: 0 4px 24px rgba(var(--primary-rgb), 0.2);
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
    font-family: 'Singolare';
}

.cta-text {
    font-size: 17px;
    opacity: 0.95;
    margin-bottom: var(--space-xl);
    line-height: 1.6;
    font-family: 'Singolare';
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: white;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 25px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    font-family: 'Singolare';
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

/* ===================================
   页脚
   =================================== */

.footer {
    background: url('https://web-cdn.rockflow.tech/rockflow-website/v2/footer-bg.png?x-oss-process=image/resize,w_1920/format,webp') center center / cover no-repeat;
    padding: 20px 0 4px;
    color: white;
}

@media (min-width: 1024px) {
    .footer {
        padding: 32px 0 8px;
    }
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 1024px) {
    .footer-main {
        flex-direction: row;
        align-items: flex-start;
    }
}

.footer-logo {
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .footer-logo {
        margin: 0;
    }
}

.footer-logo img {
    object-fit: contain;
}

.footer-links {
    display: flex;
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 20px;
}

@media (min-width: 1024px) {
    .footer-links {
        margin-left: 16px;
        margin-top: 0;
        flex-wrap: nowrap;
        justify-content: flex-end;
    }
}

.footer-link-group {
    margin-top: 20px;
    width: 50%;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .footer-link-group {
        margin-left: 5%;
        margin-top: 0;
        width: auto;
    }
}

@media (min-width: 1280px) {
    .footer-link-group {
        margin-left: 10%;
    }
}

.footer-group-title {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin: 0 0 12px 0;
    font-family: 'Singolare';
}

@media (min-width: 1024px) {
    .footer-group-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
}

.footer-link-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 1024px) {
    .footer-link-list {
        margin-top: 0;
    }
}

.footer-link-item {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #858585;
    font-family: 'Singolare';
}

.footer-link-item:last-child {
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .footer-link-item {
        margin-bottom: 8px;
        font-size: 16px;
    }
}

.footer-link-item a {
    color: #858585;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link-item a:hover,
.footer-link-item a:active {
    color: var(--primary);
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 0;
}

.footer-social-icons a {
    padding-left: 24px;
}

.footer-social-icons a:first-child {
    padding-left: 0;
}

.footer-icon {
    width: 36px;
    height: 36px;
}

.footer-social-mobile {
    display: block;
    width: 100%;
}

@media (min-width: 1024px) {
    .footer-social-mobile {
        display: none;
    }
}

.footer-social-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .footer-social-desktop {
        display: block;
    }
}


.footer-spacer {
    height: 2px;
}

@media (min-width: 1024px) {
    .footer-spacer {
        height: 2px;
    }
}

.footer-bottom {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0.6px;
    color: #aeaeae;
    white-space: pre-wrap;
    font-family: 'Singolare';
    margin-top: 0;
}

@media (min-width: 1536px) {
    .footer-bottom {
        font-size: 13px;
        line-height: 18px;
    }
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom p:first-child {
    margin-bottom: 2px;
}

.footer-legal {
    margin-top: 2px;
    margin-bottom: 0;
}

.nz-show {
    display: block;
}

.nz-hidden {
    display: none;
}

/* ===================================
   响应式设计
   =================================== */

@media (max-width: 768px) {
    .container {
        padding: var(--space-lg) 20px 40px;
    }
    
    .stock-header {
        padding: 20px;
    }
    
    .stock-header-cta-wrapper {
        bottom: 20px;
        right: 20px;
        max-width: 200px;
        gap: 10px;
    }
    
    .stock-header-cta-text {
        font-size: 13px;
        text-align: right;
    }
    
    .stock-header-cta {
        padding: 0 20px;
        height: 38px;
        font-size: 14px;
        border-radius: 19px;
    }
    
    .stock-title {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stock-title h1 {
        font-size: 24px;
    }

    .stock-subtitle {
        max-width: 100%;
    }

    .price-current {
        font-size: 36px;
    }
    
    .card {
        padding: 20px;
    }
    
    .card-header h2 {
        font-size: 20px;
    }
    
    .chart-container {
        height: 280px;
    }
    
    .metrics-grid,
    .pros-cons-grid,
    .rating-breakdown {
        grid-template-columns: 1fr;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-section {
        padding: 36px 20px;
    }
    
    .cta-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .cta-text {
        font-size: 15px;
        margin-bottom: var(--space-lg);
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    
    .rating-breakdown {
        max-width: 100%;
        padding: var(--space-lg) var(--space);
        gap: var(--space-lg);
    }
    
    .rating-row:not(:last-child) {
        padding-bottom: var(--space-lg);
    }
}

/* ===================================
   Wall Street Consensus 部分样式
   =================================== */

.outlook-chart-section {
    margin-bottom: var(--space-xl);
}

/* ===================================
   动画定义
   =================================== */

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