/* 天涯网 - 现代化红色主题官网样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 红色主题色系 */
    --primary-color: #dc2626;
    --primary-hover: #b91c1c;
    --primary-light: #ef4444;
    --primary-dark: #991b1b;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    
    /* 文字颜色 */
    --text-color: #1e293b;
    --text-light: #64748b;
    --text-white: #ffffff;
    
    /* 背景色系 */
    --bg-color: #ffffff;
    --bg-light: #fef2f2;
    --bg-gradient: linear-gradient(135deg, #fef2f2 0%, #fee2e2 50%, #fecaca 100%);
    --bg-dark: #1e293b;
    
    /* 边框和阴影 */
    --border-color: #fecaca;
    --shadow: 0 4px 6px rgba(220, 38, 38, 0.1);
    --shadow-lg: 0 20px 25px rgba(220, 38, 38, 0.15);
    --shadow-xl: 0 25px 50px rgba(220, 38, 38, 0.25);
    
    /* 渐变定义 */
    --gradient-primary: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    --gradient-light: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-gradient);
    position: relative;
}

/* 添加动态背景装饰 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(185, 28, 28, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

/* 顶部导航 - 现代化红色主题 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--border-color);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    position: relative;
}

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

.logo-icon {
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
    border: 2px solid var(--primary-light);
}

.logo:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
    border-color: var(--primary-color);
}

.logo h1 {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(220, 38, 38, 0.1);
    position: relative;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.logo:hover h1::after {
    width: 100%;
}

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

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-light);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.nav a:hover::before {
    left: 0;
}

.header-actions {
    display: flex;
    gap: 12px;
}

/* 现代化按钮样式系统 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 50%, #7f1d1d 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--primary-hover);
    color: var(--text-white);
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-hero {
    padding: 20px 60px;
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-xl);
    border-radius: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
}

.btn-download {
    background: var(--gradient-primary);
    color: var(--text-white);
    width: 100%;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.btn-download:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.btn-block {
    width: 100%;
}

/* 现代化主横幅区域 */
.hero {
    margin-top: 80px;
    padding: 120px 0;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* 动态背景装饰 */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(239, 68, 68, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
    top: -300px;
    right: -200px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
    max-width: 90%;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.feature-tag {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: var(--gradient-primary);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.version-info {
    margin-top: 24px;
    font-size: 16px;
    color: var(--text-light);
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

/* 窗口模拟图 */
.hero-image {
    position: relative;
    z-index: 3;
    animation: slideInRight 1s ease-out 0.3s both;
}

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

.screenshot-placeholder {
    width: 100%;
    perspective: 1000px;
}

.window-mockup {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: rotateY(-8deg) rotateX(8deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-color);
}

.window-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 30px 60px rgba(220, 38, 38, 0.2);
}

.window-header {
    background: var(--gradient-primary);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.window-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.window-controls {
    display: flex;
    gap: 8px;
}

.window-controls .control {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.window-controls .control:nth-child(1) {
    background: #ff5f57;
}

.window-controls .control:nth-child(2) {
    background: #ffbd2e;
}

.window-controls .control:nth-child(3) {
    background: #28ca42;
}

.window-controls .control:hover {
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.window-title {
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.window-content {
    display: flex;
    height: 300px;
}

.sidebar {
    width: 150px;
    background: #f8fafc;
    border-right: 1px solid var(--border-color);
    padding: 16px 0;
}

.menu-item {
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-color);
    cursor: pointer;
    transition: background 0.2s;
}

.menu-item.active {
    background: white;
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.main-area {
    flex: 1;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-content: start;
}

.stat-card {
    background: var(--gradient-primary);
    color: white;
    padding: 20px;
    border-radius: 12px;
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* 下载区域 */
.download-section {
    padding: 120px 0;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(239, 68, 68, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 20px;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.download-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(220, 38, 38, 0.1);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.05), transparent);
    transition: left 0.6s;
}

.download-card:hover::before {
    left: 100%;
}

.download-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.platform-icon {
    margin-bottom: 24px;
}

.windows-icon svg path {
    fill: #0078D4;
}

.apple-icon svg path {
    fill: #555;
}

.download-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
    position: relative;
    z-index: 2;
}

.platform-desc {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.download-card .btn {
    margin-top: 24px;
}

/* 什么是指纹浏览器 */
.about-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-text {
    padding: 20px 0;
}

.about-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 24px;
    text-align: left;
    font-weight: 400;
}

.about-description:last-child {
    margin-bottom: 0;
}

/* 指纹图示 */
.fingerprint-diagram {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    aspect-ratio: 1;
}

.diagram-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    z-index: 10;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: var(--shadow-xl);
    }
    50% {
        box-shadow: 0 15px 40px rgba(220, 38, 38, 0.4);
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.center-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    background: white;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fingerprint-tags {
    position: relative;
    width: 100%;
    height: 100%;
}

.fp-tag {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float-tag 4s ease-in-out infinite;
}

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

.fp-tag:hover {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-hover);
}

/* 圆形分布布局 */
.fp-tag:nth-child(1) { top: 0%; left: 30%; }
.fp-tag:nth-child(2) { top: 5%; left: 55%; }
.fp-tag:nth-child(3) { top: 0%; left: 5%; }
.fp-tag:nth-child(4) { top: 20%; left: 75%; }
.fp-tag:nth-child(5) { top: 15%; left: 0%; }
.fp-tag:nth-child(6) { top: 40%; left: 80%; }
.fp-tag:nth-child(7) { top: 35%; left: 0%; }
.fp-tag:nth-child(8) { top: 60%; left: 0%; }
.fp-tag:nth-child(9) { top: 55%; left: 78%; }
.fp-tag:nth-child(10) { top: 75%; left: 70%; }
.fp-tag:nth-child(11) { top: 70%; left: 5%; }
.fp-tag:nth-child(12) { top: 85%; left: 50%; }
.fp-tag:nth-child(13) { top: 88%; left: 20%; }
.fp-tag:nth-child(14) { top: 45%; right: -5%; }
.fp-tag:nth-child(15) { top: 25%; right: 0%; }
.fp-tag:nth-child(16) { top: 10%; right: 8%; }
.fp-tag:nth-child(17) { top: 80%; left: 0%; }

/* 现代化响应式设计 */
@media (max-width: 1200px) {
    .hero .container {
        gap: 60px;
    }
    
    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 968px) {
    .header .container {
        height: 70px;
    }
    
    .hero {
        margin-top: 70px;
        padding: 80px 0;
        min-height: auto;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 20px;
        max-width: 100%;
    }
    
    .nav {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .fingerprint-diagram {
        max-width: 400px;
    }
    
    .fp-tag {
        font-size: 12px;
        padding: 8px 14px;
    }
    
    .download-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .btn-hero {
        padding: 16px 40px;
        font-size: 18px;
    }
    
    .download-section,
    .about-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 18px;
        margin-bottom: 60px;
    }
    
    .download-card {
        padding: 32px;
    }
    
    .fingerprint-diagram {
        max-width: 300px;
    }
    
    .diagram-center {
        width: 140px;
        height: 140px;
    }
    
    .center-logo {
        width: 90px;
        height: 90px;
    }
    
    .fp-tag {
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* 添加滚动动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* 添加现代化滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
}

/* 添加页面加载动画 */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(220, 38, 38, 0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 添加现代化选择样式 */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* 添加焦点样式 */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* 添加现代化阴影效果 */
.shadow-glow {
    box-shadow: 
        0 0 20px rgba(220, 38, 38, 0.1),
        0 0 40px rgba(220, 38, 38, 0.05),
        0 0 80px rgba(220, 38, 38, 0.02);
}

/* 添加渐变文字效果 */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 添加现代化卡片悬停效果 */
.modern-card {
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.modern-card:hover::before {
    left: 100%;
}

/* 功能特性 */
.features-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-item {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

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

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

.pricing-card.featured {
    border: 2px solid var(--primary-color);
}

.badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.price {
    margin-bottom: 32px;
}

.currency {
    font-size: 20px;
    color: var(--text-light);
}

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

.period {
    font-size: 16px;
    color: var(--text-light);
}

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

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

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

.pricing-note {
    margin-top: 48px;
    padding: 24px 32px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.pricing-note p {
    margin: 10px 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
}

.pricing-note p:first-child {
    margin-top: 0;
}

.pricing-note p:last-child {
    margin-bottom: 0;
}

.pricing-note strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* 联系我们 */
.contact-section {
    padding: 80px 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

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

.contact-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.contact-item p {
    color: var(--text-light);
}

.contact-desc {
    font-size: 14px;
    margin-top: 8px;
    color: var(--text-light) !important;
}

.contact-note {
    margin-top: 60px;
    padding: 30px;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
}

.contact-note p {
    margin: 12px 0;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

.contact-note p:first-child {
    margin-top: 0;
}

.contact-note p:last-child {
    margin-bottom: 0;
}

.contact-note strong {
    color: var(--primary-color);
    font-weight: 600;
}

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

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

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

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

    .hero-image {
        order: -1;
    }

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

@media (max-width: 768px) {
    .nav {
        display: none;
    }

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

    .hero-subtitle {
        font-size: 18px;
    }

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

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

    .window-content {
        height: 200px;
    }

    .stat-card {
        font-size: 24px;
        padding: 16px;
    }
}

/* 平滑滚动 + 强制显示滚动条（防止模态框跳动） */
html {
    scroll-behavior: smooth;
    overflow-y: scroll !important;
}

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

.hero-content,
.hero-image {
    animation: fadeInUp 0.8s ease-out;
}

/* ========== 注册模态框样式 ========== */

/* 用户菜单样式 */
.user-greeting {
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
}

.user-greeting span {
    color: var(--primary-color);
    font-weight: 600;
}

/* 次要按钮样式 */
.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

/* ========== 模态框样式（无动画版） ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

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

/* 模态框内容 */
.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.close {
    font-size: 32px;
    font-weight: 300;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: var(--text-color);
    background: var(--bg-light);
}

.modal-body {
    padding: 32px;
}

.modal-footer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.modal-footer p {
    color: var(--text-light);
    font-size: 14px;
    margin: 8px 0;
}

.register-benefits {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 12px 16px;
    border-radius: 8px;
    color: #92400e;
    font-weight: 500;
    margin-top: 16px !important;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-light);
}

.checkbox-group {
    margin: 24px 0;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400;
    font-size: 13px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 2px;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: underline;
}

.checkbox-group a:hover {
    color: var(--primary-hover);
}

/* 错误和成功消息 */
.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    border-left: 4px solid #dc2626;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    border-left: 4px solid #10b981;
}

/* 全宽按钮 */
.btn-block {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
}

/* 加载状态 */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* 动画 */
/* 动画已移除 - 防止模态框跳动 */

/* 响应式 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-width: none;
        margin: 20px;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .btn-secondary,
    .btn-primary {
        padding: 8px 16px;
        font-size: 13px;
    }
}

