/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF8C42;
    --primary-dark: #FF7A2E;
    --primary-light: #FFB084;
    --secondary-color: #FF6B6B;
    --accent-color: #4ECDC4;
    --bg-gradient-start: #FFF7ED;
    --bg-gradient-end: #FFEDD5;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --white: #FFFFFF;
    --bg-light: #FFF9F4;
    --border-color: #FED7AA;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(255, 140, 66, 0.1), 0 2px 4px -1px rgba(255, 140, 66, 0.06);
    --shadow-lg: 0 10px 25px -3px rgba(255, 140, 66, 0.15), 0 4px 6px -2px rgba(255, 140, 66, 0.08);
    --shadow-xl: 0 20px 40px -5px rgba(255, 140, 66, 0.2), 0 10px 10px -5px rgba(255, 140, 66, 0.08);
    --gradient-primary: linear-gradient(135deg, #FF8C42 0%, #FF6B6B 100%);
    --gradient-soft: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.nav-menu {
    display: flex;
    gap: 36px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 24px;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.5);
}

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

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

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
    background: var(--gradient-soft);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(255, 140, 66, 0.15) 0%, transparent 70%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 140, 66, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.08) 0%, transparent 50%);
}

.float-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    bottom: 20%;
    right: 10%;
    animation-delay: -3s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    top: 50%;
    right: 30%;
    animation-delay: -5s;
}

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

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--white);
    border-radius: 50px;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
}

.hero-badge .badge-icon {
    font-size: 16px;
}

.hero-badge i {
    font-size: 12px;
    color: var(--text-light);
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

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

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-preview {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.preview-window {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.preview-header {
    padding: 12px 20px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

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

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

.preview-dots span:nth-child(1) {
    background: #FF5F57;
}

.preview-dots span:nth-child(2) {
    background: #FFBD2E;
}

.preview-dots span:nth-child(3) {
    background: #28C840;
}

.preview-title {
    font-size: 13px;
    color: var(--text-secondary);
    flex: 1;
    text-align: center;
}

.preview-content {
    padding: 0;
    background: var(--bg-light);
}

.preview-content img {
    width: 100%;
    height: auto;
    display: block;
}

.preview-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    gap: 32px;
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
}

.placeholder-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.placeholder-bar {
    height: 12px;
    background: var(--border-color);
    border-radius: 6px;
}

.bar-1 {
    width: 200px;
}

.bar-2 {
    width: 150px;
}

.bar-3 {
    width: 180px;
}

/* 动画 */
.fade-in {
    animation: fadeIn 0.8s ease;
}

.fade-in-delay-1 {
    animation: fadeIn 0.8s ease 0.15s both;
}

.fade-in-delay-2 {
    animation: fadeIn 0.8s ease 0.3s both;
}

.fade-in-delay-3 {
    animation: fadeIn 0.8s ease 0.45s both;
}

.fade-in-delay-4 {
    animation: fadeIn 0.8s ease 0.6s both;
}

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

/* 区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 140, 66, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 核心功能 */
.features {
    padding: 100px 0;
    background: var(--white);
}

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

.feature-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
    color: white;
}

.icon-calendar {
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B6B 100%);
}

.icon-tasks {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
}

.icon-pomodoro {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
}

.icon-reminder {
    background: linear-gradient(135deg, #FFD93D 0%, #FF8C42 100%);
}

.icon-insights {
    background: linear-gradient(135deg, #A855F7 0%, #7C3AED 100%);
}

.icon-sync {
    background: linear-gradient(135deg, #3B82F6 0%, #6366F1 100%);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.feature-list li i {
    color: var(--primary-color);
    font-size: 12px;
}

/* 产品版本 */
.editions {
    padding: 100px 0;
    background: var(--bg-light);
}

.editions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.edition-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.edition-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

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

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

.edition-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 4px 12px;
    background: var(--gradient-primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.edition-header {
    text-align: center;
    margin-bottom: 32px;
}

.edition-icon {
    width: 72px;
    height: 72px;
    background: var(--bg-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--primary-color);
}

.edition-icon-pro {
    background: var(--gradient-primary);
    color: white;
}

.edition-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.edition-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
}

.edition-price {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.price-free {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.edition-features {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.edition-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.edition-features li i {
    color: var(--primary-color);
    font-size: 16px;
}

/* 界面展示 */
.screenshots {
    padding: 100px 0;
    background: var(--white);
}

.screenshot-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: var(--bg-light);
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.tab-btn:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.4);
}

.screenshot-showcase {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    background: var(--bg-light);
}

.screenshot-item {
    display: none;
    animation: fadeIn 0.5s ease;
}

.screenshot-item.active {
    display: block;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 下载区域 */
.download {
    padding: 100px 0;
    background: var(--bg-light);
}

.download-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 80px 64px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.download-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.download-content {
    position: relative;
    z-index: 1;
}

.download-content .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    margin-bottom: 20px;
}

.download-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.download-content > p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.download-option {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.download-option:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(5px);
}

.download-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.download-info {
    flex: 1;
}

.download-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.download-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

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

.download-option .btn:hover {
    transform: scale(1.05);
}

.download-illustration {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.circle-a {
    width: 250px;
    height: 250px;
    animation: pulse 3s ease-in-out infinite;
}

.circle-b {
    width: 180px;
    height: 180px;
    animation: pulse 3s ease-in-out infinite 1s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.illustration-icon {
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: float 4s ease-in-out infinite;
    z-index: 1;
}

/* 常见问题 */
.faq {
    padding: 100px 0;
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    padding: 24px 28px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    font-family: inherit;
    transition: all 0.3s ease;
}

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

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-size: 14px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 28px 24px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-slogan {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

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

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

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.footer-bottom i {
    color: var(--secondary-color);
    margin: 0 4px;
}

/* 滚动动画 */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.user-menu {
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}

.user-dropdown {
    position: absolute;
    top: 56px;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    min-width: 200px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s ease;
}

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

.user-dropdown-item i {
    width: 20px;
    text-align: center;
}

/* 排行榜 */
.ranking {
    padding: 100px 0;
    background: var(--bg-light);
}

.ranking-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.ranking-tab {
    padding: 12px 32px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.ranking-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.ranking-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.4);
}

.ranking-list {
    max-width: 700px;
    margin: 0 auto;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.ranking-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.ranking-item.top-three {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
}

.ranking-rank {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--bg-light);
    flex-shrink: 0;
}

.ranking-rank.gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
}

.ranking-rank.silver {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
    color: white;
}

.ranking-rank.bronze {
    background: linear-gradient(135deg, #CD7F32 0%, #B87333 100%);
    color: white;
}

.ranking-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
}

.ranking-info {
    flex: 1;
}

.ranking-info h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ranking-info p {
    font-size: 14px;
    color: var(--text-light);
}

.ranking-stats {
    text-align: right;
}

.ranking-stats .time {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.ranking-stats .label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

.ranking-loading {
    text-align: center;
    padding: 60px;
    color: var(--text-secondary);
    font-size: 16px;
}

.ranking-empty {
    text-align: center;
    padding: 60px;
    color: var(--text-light);
    font-size: 16px;
}

.ranking-empty i {
    display: block;
    font-size: 48px;
    color: var(--border-color);
    margin-bottom: 16px;
}

/* 模态框 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 440px;
    padding: 40px;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 18px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 4px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.auth-tab:hover {
    color: var(--text-primary);
}

.auth-tab.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
    background: var(--white);
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}

.form-group input::placeholder {
    color: var(--text-light);
}

.form-error {
    font-size: 13px;
    color: var(--secondary-color);
    min-height: 18px;
}

.form-success {
    font-size: 13px;
    color: var(--accent-color);
    min-height: 18px;
}

.auth-form .btn-primary {
    margin-top: 8px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.auth-divider span {
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 400;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.auth-links a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: var(--primary-color);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 14px;
}

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

.auth-footer a:hover {
    text-decoration: underline;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.code-input-group {
    display: flex;
    gap: 12px;
}

.code-input-group input {
    flex: 1;
}

.ranking-container {
    max-width: 800px;
    margin: 0 auto;
}

.ranking-type {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.ranking-type-btn {
    padding: 8px 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ranking-type-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.ranking-type-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.ranking-login-tip {
    text-align: center;
    padding: 40px;
    background: rgba(255, 140, 66, 0.05);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border-color);
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.login-tip-icon {
    font-size: 32px;
}

.login-tip-text {
    font-size: 15px;
    color: var(--text-secondary);
}

/* 响应式设计 */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 24px;
        box-shadow: var(--shadow-md);
        transition: left 0.3s ease;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

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

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

    .hero-stats {
        gap: 32px;
    }

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

    .editions-grid {
        grid-template-columns: 1fr;
    }

    .edition-card.featured {
        transform: scale(1);
    }

    .download-card {
        grid-template-columns: 1fr;
        padding: 48px 32px;
        text-align: center;
    }

    .download-options {
        align-items: center;
    }

    .download-option {
        width: 100%;
        max-width: 400px;
    }

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

@media (max-width: 640px) {
    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 32px;
    }

    .hero-preview {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        position: static;
        transform: none;
    }

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

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

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

    .stat-divider {
        width: 40px;
        height: 1px;
    }

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

    .section-subtitle {
        font-size: 16px;
    }

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

    .feature-card {
        padding: 32px 24px;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .download-card {
        padding: 40px 24px;
    }

    .download-content h2 {
        font-size: 32px;
    }

    .download-option {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .download-illustration {
        display: none;
    }

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

    .social-links {
        justify-content: center;
    }

    .ranking-tabs {
        gap: 8px;
    }

    .ranking-tab {
        padding: 8px 16px;
        font-size: 14px;
    }

    .ranking-item {
        padding: 16px;
    }

    .ranking-rank {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .ranking-avatar {
        width: 48px;
        height: 48px;
    }

    .ranking-info h4 {
        font-size: 15px;
    }

    .ranking-stats .time {
        font-size: 20px;
    }

    .modal-container {
        margin: 16px;
        padding: 24px;
    }

    .auth-form input {
        padding: 12px 16px;
        font-size: 15px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 12px 16px;
    }

    .hero {
        padding: 100px 16px 60px;
        min-height: auto;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 32px;
        padding-top: 20px;
    }

    .hero-badge {
        padding: 6px 16px;
        font-size: 13px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .hero-buttons {
        gap: 12px;
        margin-bottom: 32px;
    }

    .hero-stats {
        gap: 16px;
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1;
        min-width: 80px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-divider {
        height: 24px;
    }

    .hero-preview {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        position: static;
        transform: none;
    }

    .preview-window {
        border-radius: 12px;
        overflow: hidden;
    }

    .preview-header {
        padding: 8px 14px;
    }

    .preview-dots span {
        width: 10px;
        height: 10px;
    }

    .preview-title {
        font-size: 11px;
    }

    .preview-content img {
        width: 100%;
        height: auto;
        display: block;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-tag {
        font-size: 12px;
        padding: 4px 12px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .features-grid {
        gap: 16px;
    }

    .feature-card {
        padding: 24px 20px;
    }

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

    .feature-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 14px;
    }

    .editions-grid {
        gap: 20px;
    }

    .edition-card {
        padding: 28px 20px;
    }

    .edition-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .edition-card .price {
        font-size: 32px;
    }

    .edition-card ul {
        gap: 12px;
        margin-bottom: 20px;
    }

    .screenshot-tabs {
        gap: 6px;
        margin-bottom: 32px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .tab-btn {
        padding: 8px 14px;
        font-size: 13px;
        flex-shrink: 0;
    }

    .download-card {
        padding: 32px 16px;
        border-radius: 16px;
    }

    .download-content h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .download-content p {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .download-option {
        padding: 16px;
        gap: 12px;
    }

    .download-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .download-info h4 {
        font-size: 16px;
    }

    .download-info p {
        font-size: 13px;
    }

    .faq-list {
        gap: 12px;
    }

    .faq-item {
        padding: 16px;
    }

    .faq-question {
        font-size: 15px;
        padding: 16px 0;
    }

    .faq-answer p {
        font-size: 14px;
        padding: 0 0 16px;
    }

    .ranking-container {
        padding: 24px 16px;
    }

    .ranking-tabs {
        gap: 6px;
        margin-bottom: 20px;
    }

    .ranking-tab {
        padding: 6px 12px;
        font-size: 13px;
    }

    .ranking-list {
        gap: 12px;
    }

    .ranking-item {
        padding: 12px;
        gap: 12px;
    }

    .ranking-rank {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .ranking-avatar {
        width: 40px;
        height: 40px;
    }

    .ranking-info h4 {
        font-size: 14px;
    }

    .ranking-info p {
        font-size: 13px;
    }

    .ranking-stats .time {
        font-size: 18px;
    }

    .ranking-stats .label {
        font-size: 11px;
    }

    .footer {
        padding: 60px 0 24px;
    }

    .footer-content {
        gap: 32px;
    }

    .footer-logo {
        font-size: 20px;
    }

    .footer-slogan {
        font-size: 14px;
    }

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

    .footer-links a {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .footer-bottom {
        padding-top: 24px;
        font-size: 13px;
    }

    .modal-overlay {
        padding: 12px;
    }

    .modal-container {
        margin: 0;
        padding: 20px;
        border-radius: 16px;
    }

    .auth-tabs {
        gap: 8px;
        margin-bottom: 20px;
    }

    .auth-tab {
        padding: 8px 16px;
        font-size: 14px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .auth-form input {
        padding: 10px 14px;
        font-size: 14px;
    }

    .code-input-group {
        flex-direction: column;
        gap: 8px;
    }

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

    .btn-primary {
        padding: 12px;
    }

    .btn-small {
        padding: 6px 16px;
        font-size: 13px;
    }

    .nav-menu {
        top: 64px;
        padding: 16px;
    }

    .nav-link {
        font-size: 16px;
        padding: 12px 0;
    }

    .user-avatar {
        width: 36px;
        height: 36px;
    }
}
