/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #e0e7ff;
    --secondary: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: #fff;
}

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

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* 统一导航栏按钮大小 */
.nav-menu .btn-primary {
    padding: 8px 16px;
    gap: 6px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* 语言切换按钮 */
.lang-switch {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    background: var(--primary);
    color: white;
}

/* 下拉菜单 */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link::after {
    content: '▼';
    font-size: 10px;
    margin-left: 6px;
    opacity: 0.7;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--light);
    color: var(--primary);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    color: var(--primary);
}

/* 免费标签 */
.nav-brand .free-badge,
.free-badge {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 0;
    letter-spacing: 0.5px;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    text-decoration: none !important;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
}

.nav-brand .brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.nav-brand .brand-link:hover {
    text-decoration: none;
}

.nav-brand span {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-brand i {
    font-size: 28px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
}

/* 免费横幅 */
.free-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(16, 185, 129, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.free-banner i {
    font-size: 18px;
}

/* 英雄区域 V2 - 问题导向设计 */
.hero-v2 {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    overflow: hidden;
}

.hero-v2 .container {
    max-width: 1000px;
}

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

.hero-title-v2 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: white;
}

.hero-subtitle-v2 {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 50px;
    line-height: 1.7;
    color: #cbd5e1;
}

.risk-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.risk-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: left;
    transition: all 0.3s ease;
}

.risk-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.risk-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.risk-icon i {
    font-size: 24px;
    color: white;
}

.risk-content {
    flex: 1;
}

.risk-title {
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
    line-height: 1.4;
    word-wrap: break-word;
}

.risk-stat {
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 5px;
    line-height: 1.3;
    word-wrap: break-word;
}

.risk-desc {
    font-size: clamp(12px, 1vw, 14px);
    color: #94a3b8;
    line-height: 1.5;
    word-wrap: break-word;
}

/* 翻转卡片样式 */
.flip-card {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    perspective: 1000px;
}

.flip-card:hover {
    background: transparent;
    transform: none;
    border-color: transparent;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 220px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: auto;
    min-height: 220px;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 25px 20px;
    box-sizing: border-box;
}

.flip-card-front {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.flip-card-back {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
}

.flip-card:nth-child(2) .flip-card-back {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.flip-card:nth-child(3) .flip-card-back {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.risk-back-desc {
    font-size: clamp(12px, 0.95vw, 14px);
    color: #e2e8f0;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.cta-box {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 30px 40px;
    display: inline-block;
}

.cta-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #10b981;
}

.cta-check i {
    font-size: 24px;
}

.cta-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 14px 40px;
    font-size: 18px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5);
}

/* 仪表盘预览 */
.dashboard-preview {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s;
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.preview-header {
    background: #f1f5f9;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
}

.preview-dots span:first-child { background: #ef4444; }
.preview-dots span:nth-child(2) { background: #f59e0b; }
.preview-dots span:last-child { background: #10b981; }

.preview-title {
    font-size: 14px;
    color: var(--secondary);
    font-weight: 500;
}

.preview-content {
    display: grid;
    grid-template-columns: 180px 1fr;
    height: 350px;
}

.preview-sidebar {
    background: #f8fafc;
    padding: 20px;
    border-right: 1px solid var(--border);
}

.preview-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    margin-bottom: 5px;
    border-radius: 8px;
    color: var(--secondary);
    font-size: 14px;
    transition: all 0.3s;
}

.preview-menu-item.active,
.preview-menu-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.preview-main {
    padding: 20px;
    background: white;
}

.preview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.preview-card {
    background: var(--primary-light);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--primary);
}

.preview-card i {
    font-size: 20px;
}

.preview-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 150px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
}

.chart-bar {
    width: 30px;
    background: linear-gradient(to top, var(--primary), #818cf8);
    border-radius: 4px 4px 0 0;
    transition: all 0.3s;
}

.chart-bar:hover {
    opacity: 0.8;
}

/* 图表并排布局 */
.preview-charts-row {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
}

.preview-chart-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-chart-label {
    font-size: 12px;
    color: var(--secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.preview-trend-chart,
.preview-pie-chart,
.preview-bar-chart {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trend-svg,
.pie-svg,
.bar-svg {
    width: 100%;
    height: 100%;
}

/* 预览标签页 */
.preview-tab {
    display: none;
    animation: fadeIn 0.3s ease;
}

.preview-tab.active {
    display: block;
    background: white;
}

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

/* 表格样式 */
.preview-table-container {
    overflow-x: auto;
    max-height: 280px;
    overflow-y: auto;
}

.preview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

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

.preview-table th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--dark);
    position: sticky;
    top: 0;
}

.preview-table tbody tr:hover {
    background: #f8fafc;
}

.preview-table td {
    color: var(--secondary);
}

/* 徽章样式 */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-printing {
    background: #fef3c7;
    color: #92400e;
}

.badge-disabled {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.badge-bw {
    background: #f1f5f9;
    color: #475569;
}

.badge-color {
    background: #ede9fe;
    color: #5b21b6;
}

/* 统计网格 */
.preview-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.preview-stat-item {
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.preview-stat-label {
    font-size: 12px;
    color: var(--secondary);
    margin-bottom: 5px;
}

.preview-stat-label.two-line {
    line-height: 1.4;
    margin-bottom: 3px;
    white-space: normal;
}

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

.preview-chart-title {
    font-size: 13px;
    color: var(--secondary);
    margin-bottom: 10px;
}

.preview-chart-horizontal {
    display: flex;
    height: 30px;
    border-radius: 6px;
    overflow: hidden;
}

.chart-bar-h {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

/* 功能特性 */
.features {
    padding: 100px 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--secondary);
}

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

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 28px;
    color: var(--primary);
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-desc {
    font-size: 14px;
    color: var(--secondary);
    line-height: 1.7;
}

/* 解决方案 */
.solutions {
    padding: 100px 0;
    background: white;
}

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

.solution-card {
    background: var(--light);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
}

.solution-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
}

.solution-image {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.solution-image i {
    font-size: 36px;
    color: white;
}

.solution-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.solution-desc {
    font-size: 15px;
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.solution-list {
    list-style: none;
    text-align: left;
    margin-top: 25px;
}

.solution-list li {
    padding: 10px 0;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.solution-list i {
    color: var(--success);
}

/* 价格方案 */
.pricing {
    padding: 100px 0;
    background: var(--light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s;
}

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

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.pricing-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.pricing-price .currency {
    font-size: 24px;
    color: var(--primary);
}

.pricing-price .amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
}

.pricing-price .period {
    color: var(--secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
}

.pricing-features i {
    color: var(--success);
}

/* CTA区域 */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-section .btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    padding: 15px 40px;
    font-size: 18px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    animation: ctaBtnPulse 2s ease-in-out infinite;
}

@keyframes ctaBtnPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 8px 35px rgba(16, 185, 129, 0.6), 0 0 0 8px rgba(16, 185, 129, 0.1);
    }
}

.cta-section .btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.cta-section .btn i {
    margin-right: 8px;
}

/* Cookie同意提示 */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--secondary);
}

.cookie-text i {
    color: var(--primary);
    font-size: 20px;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* Cookie设置模态框 */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
}

.cookie-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-modal.show .cookie-modal-content {
    transform: scale(1);
}

.cookie-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-modal-header h3 i {
    color: var(--primary);
}

.cookie-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--gray);
    cursor: pointer;
    padding: 5px;
    border-radius: 6px;
    transition: all 0.3s;
}

.cookie-close:hover {
    background: var(--light);
    color: var(--dark);
}

.cookie-modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(90vh - 140px);
}

.cookie-intro {
    font-size: 14px;
    color: var(--secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.cookie-option {
    padding: 20px;
    background: var(--light);
    border-radius: 12px;
    margin-bottom: 16px;
}

.cookie-option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cookie-option-header strong {
    font-size: 16px;
    color: var(--dark);
}

.cookie-badge {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
    margin-left: 8px;
}

.cookie-badge.required {
    background: var(--primary-light);
    color: var(--primary);
}

.cookie-badge.optional {
    background: #e0f2fe;
    color: #0369a1;
}

.cookie-option-desc {
    font-size: 13px;
    color: var(--secondary);
    line-height: 1.6;
}

/* Cookie开关 */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
    background-color: var(--primary);
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

.cookie-switch input:disabled + .cookie-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* 页脚 */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    font-size: 24px;
    font-weight: 700;
}

.footer-brand i {
    color: var(--primary);
    margin-right: 10px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray);
    margin-top: 10px;
    font-weight: 400;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    color: var(--gray);
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: var(--gray);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .dashboard-preview {
        max-width: 500px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .hero-v2 {
        padding: 100px 0 60px;
    }

    .hero-title-v2 {
        font-size: 28px;
    }

    .hero-subtitle-v2 {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .risk-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .risk-card {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 20px;
    }

    .risk-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .risk-stat {
        font-size: 22px;
    }

    .cta-box {
        padding: 20px 25px;
    }

    .cta-check {
        flex-direction: column;
        gap: 8px;
        font-size: 14px;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .features-grid,
    .solutions-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }

    .preview-content {
        grid-template-columns: 1fr;
    }

    .preview-sidebar {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-text {
        flex-direction: column;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-modal-content {
        margin: 20px;
        max-height: calc(100vh - 40px);
    }
}

/* ========================================
   限时体验计划区域 - 使用具体选择器避免影响其他区域
   ======================================== */
.features-highlight-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.features-highlight-section .section-header {
    text-align: center;
    margin-bottom: 20px;
}

.features-highlight-section .section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.features-highlight-section .section-subtitle {
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 0;
    display: inline;
}

.highlight-subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.highlight-subtitle-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    animation: iconGlow 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

@keyframes iconGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4), 0 0 20px rgba(16, 185, 129, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 25px rgba(16, 185, 129, 0.6), 0 0 40px rgba(16, 185, 129, 0.5), 0 0 60px rgba(16, 185, 129, 0.3);
        transform: scale(1.05);
    }
}

.highlight-intro {
    text-align: center;
    margin-bottom: 50px;
}

.highlight-intro p {
    font-size: 20px;
    color: var(--dark);
    font-weight: 500;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.highlight-icon i {
    font-size: 28px;
    color: white;
}

.highlight-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.highlight-card-desc {
    font-size: 14px;
    color: var(--secondary);
    line-height: 1.6;
}

.highlight-cta-top {
    text-align: center;
    margin-top: 20px;
}

.highlight-cta-top .btn {
    padding: 15px 40px;
    font-size: 18px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 8px 35px rgba(16, 185, 129, 0.6), 0 0 0 8px rgba(16, 185, 129, 0.1);
    }
}

.highlight-cta-top .btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.highlight-cta-top .btn i {
    margin-right: 8px;
}

/* ========================================
   使用流程展示区域
   ======================================== */
.how-it-works-section {
    padding: 100px 0;
    background: white;
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step-card {
    background: var(--light);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    position: relative;
    transition: all 0.3s ease;
}

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

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 20px;
}

.step-icon i {
    font-size: 24px;
    color: var(--primary);
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 14px;
    color: var(--secondary);
    line-height: 1.5;
}

.step-arrow {
    color: var(--primary);
    font-size: 24px;
    flex-shrink: 0;
}

.step-arrow i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .features-highlight-section {
        padding: 60px 0;
    }

    .features-highlight-section .section-title {
        font-size: 28px;
    }

    .highlight-card {
        padding: 30px 20px;
    }

    .steps-grid {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .step-arrow i {
        animation: bounceDown 2s infinite;
    }

    @keyframes bounceDown {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(5px); }
    }

    .how-it-works-section {
        padding: 60px 0;
    }
}
