/* ============================================
   内网云首页 - 现代化设计样式
   ============================================ */

/* CSS 变量 */
:root {
    --primary: #2563EB;
    --primary-light: #3B82F6;
    --primary-dark: #1D4ED8;
    --secondary: #10B981;
    --accent: #F59E0B;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* 全局样式 */
body {
    font-family: var(--font-sans);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--gray-900);
}

/* ============================================
   导航栏
   ============================================ */
.navbar-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    z-index: 1040;
    position: sticky;
    top: 0;
}

.navbar-modern.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-brand-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--gray-900) !important;
}

.navbar-brand-modern img {
    width: 32px;
    height: 32px;
}

.nav-link-modern {
    color: var(--gray-600) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

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

.btn-nav {
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-nav-outline {
    border: 1.5px solid var(--gray-300);
    color: var(--gray-700);
    background: transparent;
}

.btn-nav-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.btn-nav-primary {
    background: var(--primary);
    color: white;
    border: 1.5px solid var(--primary);
}

.btn-nav-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* ============================================
   顶部通知横幅
   ============================================ */
.top-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 0;
    position: relative;
    z-index: 1;
}

.top-banner .container {
    position: relative;
}

.banner-icon {
    font-size: 0.9rem;
    margin-right: 0.6rem;
    opacity: 0.9;
}

.banner-text {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.banner-link {
    color: rgba(255, 255, 255, 0.95) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.banner-link:hover {
    color: white !important;
    text-decoration: none;
}

.banner-divider {
    margin: 0 0.5rem;
    opacity: 0.5;
}

.banner-close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: all 0.2s ease;
}

.banner-close:hover {
    color: white;
}

/* ============================================
   Hero 区域
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0 7rem;
    min-height: 76vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    padding: 0.5rem 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--accent);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #60A5FA, #34D399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* 终端卡片 */
.terminal-card {
    background: var(--dark-light);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #FF5F57; }
.terminal-dot.yellow { background: #FFBD2E; }
.terminal-dot.green { background: #28CA41; }

.terminal-title {
    flex: 1;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'SF Mono', 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
    position: relative;
}

.terminal-line {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.terminal-prompt {
    color: var(--secondary);
    user-select: none;
}

.terminal-command {
    color: #E2E8F0;
}

.terminal-command .comment {
    color: var(--gray-400);
}

.terminal-command .flag {
    color: #60A5FA;
}

.terminal-command .value {
    color: #FCD34D;
}

.terminal-command .at {
    color: var(--gray-400);
}

.terminal-command .host {
    color: #34D399;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    width: 26px;
    height: 26px;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.copy-btn.copied {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

/* Hero 按钮组 */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
    color: white;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

/* ============================================
   核心优势
   ============================================ */
.advantages-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
    color: var(--primary);
    padding: 0.375rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.advantage-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.advantage-icon.blue {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.2));
    color: var(--primary);
}

.advantage-icon.green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.2));
    color: var(--secondary);
}

.advantage-icon.yellow {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(252, 211, 77, 0.2));
    color: var(--accent);
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.advantage-desc {
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   适用场景
   ============================================ */
.scenarios-section {
    padding: 6rem 0;
    background: white;
}

.scenario-card {
    background: var(--gray-50);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.scenario-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.scenario-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.scenario-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.scenario-content p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   数据统计
   ============================================ */
.stats-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number .counter {
    display: inline-block;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ============================================
   实测案例
   ============================================ */
.cases-section {
    padding: 6rem 0;
    background: white;
}

.case-card {
    background: var(--gray-50);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    height: 100%;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.case-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.case-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
}

.case-content {
    padding: 1.5rem;
}

.case-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.case-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.case-desc {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.case-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: gap 0.2s ease;
}

.case-link:hover {
    gap: 0.625rem;
    color: var(--primary-dark);
}

/* ============================================
   功能特性
   ============================================ */
.features-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.2));
    color: var(--primary);
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.2));
    color: var(--secondary);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(252, 211, 77, 0.2));
    color: var(--accent);
}

.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(167, 139, 250, 0.2));
    color: #8B5CF6;
}

.feature-card:nth-child(5) .feature-icon {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(244, 114, 182, 0.2));
    color: #EC4899;
}

.feature-card:nth-child(6) .feature-icon {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(34, 211, 238, 0.2));
    color: #06B6D4;
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: var(--gray-500);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   用户评价
   ============================================ */
.testimonials-section {
    padding: 6rem 0;
    background: white;
}

.testimonial-card {
    background: var(--gray-50);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    min-height: 280px;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    position: relative;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    color: var(--gray-200);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-stars {
    color: #FCD34D;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.testimonial-text {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
}

.testimonial-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.125rem;
}

.testimonial-info span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ============================================
   用户评价轮播
   ============================================ */
#testimonialCarousel .carousel-inner {
    min-height: 320px;
}

#testimonialCarousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

#testimonialCarousel .testimonial-card {
    height: 100%;
    min-height: 280px;
}

.testimonial-indicators {
    position: relative;
    bottom: 0;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.testimonial-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray-300);
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.testimonial-indicators li.active {
    background-color: var(--primary);
    width: 24px;
    border-radius: 5px;
}

/* ============================================
   CTA 区域
   ============================================ */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.btn-cta {
    padding: 1rem 3rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    background: white;
    color: var(--primary);
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: var(--primary-dark);
}

/* ============================================
   页脚
   ============================================ */
.footer-modern {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-brand img {
    width: 36px;
    height: 36px;
}

.footer-brand h4 {
    color: white;
    font-weight: 700;
    margin: 0;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-links h5 {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.footer-copyright a:hover {
    color: white;
}

.footer-beian {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-beian img {
    height: 16px;
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 4rem 0 5rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .terminal-body {
        font-size: 0.8rem;
        padding: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .scenario-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .footer-bottom .row {
        flex-direction: column-reverse;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-beian {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   动画
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }
.delay-5 { animation-delay: 0.5s; opacity: 0; }

/* 滚动动画 */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* Toast 提示 */
.toast-message {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--dark);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.toast-message.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   亮暗主题切换
   ============================================ */
/* 主题切换按钮 */
.theme-toggle {
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-left: 0.5rem;
    outline: none;
}

.theme-toggle:hover {
    background: var(--gray-200);
    color: var(--gray-800);
    transform: rotate(30deg);
}

[data-theme="dark"] .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* 暗色模式 */
[data-theme="dark"] {
    --primary: #60A5FA;
    --primary-light: #93C5FD;
    --primary-dark: #3B82F6;
    --secondary: #34D399;
    --accent: #FBBF24;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --gray-50: #0F172A;
    --gray-100: #151f33;
    --gray-200: #1a2332;
    --gray-300: #1E293B;
    --gray-400: #334155;
    --gray-500: #64748B;
    --gray-600: #94A3B8;
    --gray-700: #CBD5E1;
    --gray-800: #E2E8F0;
    --gray-900: #F1F5F9;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] body {
    background: var(--gray-50);
}

[data-theme="dark"] .navbar-modern {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .navbar-brand-modern {
    color: var(--gray-900) !important;
}

[data-theme="dark"] .btn-nav-outline {
    border-color: var(--gray-400);
    color: var(--gray-700);
}

[data-theme="dark"] .btn-nav-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

[data-theme="dark"] .advantages-section {
    background: var(--gray-100);
}

[data-theme="dark"] .advantage-card {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

[data-theme="dark"] .scenarios-section {
    background: var(--gray-50);
}

[data-theme="dark"] .scenario-card {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

[data-theme="dark"] .scenario-card:hover {
    background: var(--gray-50);
}

[data-theme="dark"] .cases-section {
    background: var(--gray-50);
}

[data-theme="dark"] .case-card {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

[data-theme="dark"] .features-section {
    background: var(--gray-100);
}

[data-theme="dark"] .feature-card {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

[data-theme="dark"] .testimonials-section {
    background: var(--gray-50);
}

[data-theme="dark"] .testimonial-card {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

[data-theme="dark"] .testimonial-card::before {
    color: var(--gray-400);
}

[data-theme="dark"] .testimonial-avatar {
    border-color: var(--gray-300);
}

[data-theme="dark"] .testimonial-indicators li {
    background-color: var(--gray-400);
}

[data-theme="dark"] .testimonial-indicators li.active {
    background-color: var(--primary);
}

[data-theme="dark"] .footer-modern {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-300);
}

[data-theme="dark"] .top-banner {
    background: linear-gradient(135deg, #1E3A5F 0%, #1E293B 100%) !important;
}

[data-theme="dark"] .hero-section {
    background: linear-gradient(135deg, #1E3A5F 0%, #1E293B 100%) !important;
}

[data-theme="dark"] .stats-section {
    background: linear-gradient(135deg, #1E3A5F 0%, #1E293B 100%) !important;
}

[data-theme="dark"] .cta-section {
    background: linear-gradient(135deg, #1E3A5F 0%, #1E293B 100%) !important;
}

/* ============================================
   登录/注册页面 - 暗色模式
   ============================================ */
[data-theme="dark"] .login-page,
[data-theme="dark"] .register-page {
    background: linear-gradient(135deg, #1E3A5F 0%, #1E293B 100%) !important;
}

[data-theme="dark"] .login-form-area,
[data-theme="dark"] .register-form-area {
    background: var(--gray-50);
}

[data-theme="dark"] .login-form-area .form-header h3,
[data-theme="dark"] .register-form-area .form-header h3 {
    color: var(--gray-900);
}

[data-theme="dark"] .login-form-area .form-header p,
[data-theme="dark"] .register-form-area .form-header p {
    color: var(--gray-500);
}

[data-theme="dark"] .login-form .input-with-icon .form-control,
[data-theme="dark"] .register-form .input-with-icon .form-control {
    background: var(--gray-100);
    border-color: var(--gray-300);
    color: var(--gray-800);
}

[data-theme="dark"] .login-form .input-with-icon .form-control:focus,
[data-theme="dark"] .register-form .input-with-icon .form-control:focus {
    background: var(--gray-50);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}

[data-theme="dark"] .login-form .input-with-icon .form-control::placeholder,
[data-theme="dark"] .register-form .input-with-icon .form-control::placeholder {
    color: var(--gray-400);
}

[data-theme="dark"] .login-form .input-with-icon .input-icon,
[data-theme="dark"] .register-form .input-with-icon .input-icon {
    color: var(--gray-400);
}

[data-theme="dark"] .captcha-row .captcha-image {
    border-color: var(--gray-300);
}

[data-theme="dark"] .captcha-row .captcha-image:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}

[data-theme="dark"] .login-form .form-footer,
[data-theme="dark"] .register-form .form-footer {
    border-top-color: var(--gray-200);
}

[data-theme="dark"] .login-form .form-footer a,
[data-theme="dark"] .register-form .form-footer a {
    color: var(--gray-500);
}

[data-theme="dark"] .login-form .form-footer a:hover,
[data-theme="dark"] .register-form .form-footer a:hover {
    color: var(--primary);
}

[data-theme="dark"] .toast-message.warning {
    background: #332B00;
    color: #FBBF24;
    border-color: #5C4B00;
}

[data-theme="dark"] .toast-message.success {
    background: #002F1F;
    color: #34D399;
    border-color: #005C3B;
}

[data-theme="dark"] .toast-message.error {
    background: #3B0000;
    color: #FCA5A5;
    border-color: #700000;
}
