/**
 * 黑夜模式文字显示修复
 * 修复黑夜模式下文字看不清的问题
 */

/* Footer 统计数据文字修复 */
.theme-dark .footer-stats-wrap .footer-stat-item {
    color: #fff !important;
}

.theme-dark .footer-stat-number {
    color: #fff !important;
    font-weight: bold;
}

.theme-dark .footer-stat-label {
    color: rgba(255, 255, 255, 0.9) !important;
}

.theme-dark .footer-stat-trend {
    color: rgba(255, 255, 255, 0.75) !important;
}

.theme-dark .footer-stat-icon {
    opacity: 0.9;
}

/* Footer 主体内容修复 */
.theme-dark .footer-widget {
    color: rgba(255, 255, 255, 0.85) !important;
}

.theme-dark .footer-brand {
    color: #fff !important;
}

.theme-dark .comp-desc {
    color: rgba(255, 255, 255, 0.85) !important;
}

.theme-dark .footer-widget-title {
    color: #fff !important;
}

.theme-dark .footer-menu li a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.theme-dark .footer-menu li a:hover {
    color: #D72324 !important;
}

.theme-dark .contact-info li {
    color: rgba(255, 255, 255, 0.85) !important;
}

.theme-dark .contact-info strong {
    color: #fff !important;
}

.theme-dark .contact-detail p,
.theme-dark .contact-detail a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.theme-dark .contact-detail a:hover {
    color: #D72324 !important;
}

/* Footer 订阅表单修复 */
.theme-dark .footer-subscribe h4 {
    color: #fff !important;
}

.theme-dark .subscribe-desc {
    color: rgba(255, 255, 255, 0.85) !important;
}

.theme-dark .newsletter-form input {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.theme-dark .newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.theme-dark .newsletter-form button {
    background-color: #D72324 !important;
    color: #fff !important;
}

/* Footer 底部版权信息修复 */
.theme-dark .footer-bottom {
    background-color: #000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-dark .copyright-text {
    color: rgba(255, 255, 255, 0.75) !important;
}

.theme-dark .copyright-text a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.theme-dark .copyright-text a:hover {
    color: #D72324 !important;
}

.theme-dark .beian-link {
    color: rgba(255, 255, 255, 0.75) !important;
}

.theme-dark .beian-link:hover {
    color: #D72324 !important;
}

/* 首页特定元素修复 */
.theme-dark .advantage-card h4,
.theme-dark .step-card h4,
.theme-dark .stat-label {
    color: #fff !important;
}

.theme-dark .advantage-card p,
.theme-dark .step-card p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* 域名卡片修复 */
.theme-dark .domain-card h3 {
    color: #fff !important;
}

.theme-dark .domain-desc {
    color: rgba(255, 255, 255, 0.9) !important;
}

.theme-dark .feature-tag {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.theme-dark .domain-stats {
    color: #fff !important;
}

.theme-dark .explore-btn {
    color: #fff !important;
}

/* 案例展示卡片修复 */
.theme-dark .case-showcase-card {
    background-color: #111 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.theme-dark .case-showcase-card h4 {
    color: #fff !important;
}

.theme-dark .case-showcase-card p {
    color: rgba(255, 255, 255, 0.85) !important;
}

.theme-dark .case-tags span {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Section 标题修复 */
.theme-dark .section-title h2 {
    color: #fff !important;
}

.theme-dark .section-title p {
    color: rgba(255, 255, 255, 0.75) !important;
}

.theme-dark .section-title span {
    color: #D72324 !important;
}

/* 背景色修复 */
.theme-dark .bg-clay {
    background-color: #0a0a0a !important;
}

/* CTA 区域修复 */
.theme-dark .cta-wrapper h2 {
    color: #333 !important;
}

.theme-dark .cta-wrapper p {
    color: #666 !important;
}

/* Hero 区域文字修复 */
.theme-dark .hero-wrap.style1 {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
}

.theme-dark .hero-content h1,
.theme-dark .hero-content p,
.theme-dark .hero-content span {
    color: #fff !important;
}

/* 统计数字修复 */
.theme-dark .stat-number {
    color: #fff !important;
}

.theme-dark .stat-item .stat-number,
.theme-dark .stat-item .stat-label {
    color: #fff !important;
}

/* 移动端修复 */
@media only screen and (max-width: 991px) {
    .theme-dark .footer-stats-wrap {
        background-color: #0a0a0a !important;
    }
    
    .theme-dark .footer-widget {
        margin-bottom: 30px;
    }
}

/* 加载骨架屏动画颜色修复 */
.theme-dark .loading-skeleton {
    background: linear-gradient(
        90deg, 
        rgba(255,255,255,0.1) 25%, 
        rgba(255,255,255,0.15) 50%, 
        rgba(255,255,255,0.1) 75%
    );
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 确保所有渐变背景在黑夜模式下可见 */
.theme-dark .stats-wrapper {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
}

/* 社交媒体图标修复 */
.theme-dark .social-profile li a {
    color: rgba(255, 255, 255, 0.85) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.theme-dark .social-profile li a:hover {
    background-color: #D72324 !important;
    color: #fff !important;
    border-color: #D72324 !important;
}
