/**
 * Screen Markup 官网样式
 * 风格：清爽、现代、偏可爱但不幼稚
 * 面向：学生、效率用户与创作者
 */

/* ===== 全局变量 ===== */
:root {
    --primary-color: var(--theme-primary-color);
    --primary-light: var(--theme-primary-light);
    --primary-dark: var(--theme-primary-dark);
    --theme-primary-color-rgb: 250, 159, 175; /* Default to pink_nor RGB */
    
    /* 辅助色 - 可爱但不幼稚 */
    --accent-color: var(--theme-accent-color);
    --accent-light: var(--theme-accent-light);
    
    /* 背景色 - 清爽 */
    --bg-primary: #ffffff;
    --bg-secondary: #fef8f8;
    --bg-gradient: var(--theme-bg-gradient);
    --bg-gradient-light: var(--theme-bg-gradient-light);
    /* 主题色变量 */
    --theme-primary-color: var(--pink-nor-primary);
    --theme-primary-light: var(--pink-nor-light);
    --theme-primary-dark: var(--pink-nor-dark);
    --theme-accent-color: var(--pink-nor-accent);
    --theme-accent-light: var(--pink-nor-accent-light);
    --theme-bg-gradient: var(--pink-nor-gradient);
    --theme-bg-gradient-light: var(--pink-nor-gradient-light);

    /* 默认颜色（粉色） */
    --pink-nor-primary: #fa9faf;
    --pink-nor-primary-rgb: 250, 159, 175;
    --pink-nor-light: #ffb3c1;
    --pink-nor-light-rgb: 255, 179, 193;
    --pink-nor-dark: #e88a9d;
    --pink-nor-accent: #fa9faf;
    --pink-nor-accent-light: #ffb3c1;
    --pink-nor-gradient: linear-gradient(135deg, #fa9faf 0%, #ffb3c1 100%);
    --pink-nor-gradient-light: linear-gradient(135deg, #fef8f8 0%, #ffe8e8 100%);

    /* 蓝色主题 */
    --blue-nor-primary: #afdfe4;
    --blue-nor-primary-rgb: 175, 223, 228;
    --blue-nor-light: #c0f2f7;
    --blue-nor-light-rgb: 192, 242, 247;
    --blue-nor-dark: #9ad5db;
    --blue-nor-accent: #afdfe4;
    --blue-nor-accent-light: #c0f2f7;
    --blue-nor-gradient: linear-gradient(135deg, #afdfe4 0%, #c0f2f7 100%);
    --blue-nor-gradient-light: linear-gradient(135deg, #f0faff 0%, #e0faff 100%);

    /* 灰色主题 */
    --gray-nor-primary: #8D8D8D;
    --gray-nor-primary-rgb: 141, 141, 141;
    --gray-nor-light: #A3A3A3;
    --gray-nor-light-rgb: 163, 163, 163;
    --gray-nor-dark: #707070;
    --gray-nor-accent: #8D8D8D;
    --gray-nor-accent-light: #A3A3A3;
    --gray-nor-gradient: linear-gradient(135deg, #8D8D8D 0%, #A3A3A3 100%);
    --gray-nor-gradient-light: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    /* 黄色主题 */
    --yellow-nor-primary: #d5c59f;
    --yellow-nor-primary-rgb: 213, 197, 159;
    --yellow-nor-light: #e6d8b2;
    --yellow-nor-light-rgb: 230, 216, 178;
    --yellow-nor-dark: #c0b08a;
    --yellow-nor-accent: #d5c59f;
    --yellow-nor-accent-light: #e6d8b2;
    --yellow-nor-gradient: linear-gradient(135deg, #d5c59f 0%, #e6d8b2 100%);
    --yellow-nor-gradient-light: linear-gradient(135deg, #fffbe0 0%, #fff0c0 100%);

    /* 绿色主题 */
    --green-nor-primary: #7DA6A1;
    --green-nor-primary-rgb: 125, 166, 161;
    --green-nor-light: #94b9b5;
    --green-nor-light-rgb: 148, 185, 181;
    --green-nor-dark: #6a928e;
    --green-nor-accent: #7DA6A1;
    --green-nor-accent-light: #94b9b5;
    --green-nor-gradient: linear-gradient(135deg, #7DA6A1 0%, #94b9b5 100%);
    --green-nor-gradient-light: linear-gradient(135deg, #e0fffb 0%, #c0fff7 100%);

    --purple-nor-primary: #A390B0;
    --purple-nor-primary-rgb: 163, 144, 176;
    --purple-nor-light: #b9a8c7;
    --purple-nor-light-rgb: 185, 168, 199;
    --purple-nor-dark: #8e7a9b;
    --purple-nor-accent: #A390B0;
    --purple-nor-accent-light: #b9a8c7;
    --purple-nor-gradient: linear-gradient(135deg, #A390B0 0%, #b9a8c7 100%);
    --purple-nor-gradient-light: linear-gradient(135deg, #f0ebf5 0%, #e0dbe5 100%);
    
    /* 文字颜色 */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    
    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 8px 24px rgba(var(--theme-primary-color-rgb), 0.25);
    
    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* 过渡动画 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.color-option {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.color-option:hover {
    transform: scale(1.1);
    border-color: rgba(0, 0, 0, 0.2);
}

.color-option.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* 各个颜色选项的背景色 */
.color-option.pink_nor { background-color: #fa9faf; }
.color-option.blue_nor { background-color: #afdfe4; }
.color-option.gray_nor { background-color: #8D8D8D; }
.color-option.yellow_nor { background-color: #d5c59f; }
.color-option.green_nor { background-color: #7DA6A1; }
.color-option.purple_nor { background-color: #A390B0; }

/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: var(--transition);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
    align-items: center; /* 垂直居中 */
}

.navbar-links li {
    display: flex;
    align-items: center; /* 确保 li 内部元素垂直居中 */
}

.navbar-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.navbar-links a:hover {
    color: var(--primary-color);
    background-color: rgba(var(--theme-primary-color-rgb), 0.1);
}

/* ===== Hero 区域 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient-light);
    padding: var(--spacing-xl) var(--spacing-md);
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-bg-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(var(--theme-primary-dark-rgb), 0.4), rgba(var(--theme-primary-color-rgb), 0.3));
    animation: floatShape 20s ease-in-out infinite;
}

.hero-bg-shape.shape-1 {
    width: 300px;
    background: linear-gradient(45deg, rgba(var(--theme-primary-dark-rgb), 0.4), rgba(var(--theme-primary-color-rgb), 0.3));
    top: 10%;
    left: 10%;
}

.hero-bg-shape.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
}

.hero-bg-shape.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
}

.hero-bg-shape.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
}

.hero-bg-shape.shape-5 {
    width: 400px;
    height: 400px;
    bottom: 45%;
    left: 15%;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.3;
    }
    33% {
        transform: translate(30px, -30px) scale(1.1) rotate(120deg);
        opacity: 0.4;
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9) rotate(240deg);
        opacity: 0.2;
    }
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-block;
    background: rgba(var(--theme-primary-color-rgb), 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out;
    border: 1px solid rgba(var(--theme-primary-color-rgb), 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.title-gradient {
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.title-accent {
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 600;
    margin-top: 0.5rem;
    display: block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-store-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(var(--theme-primary-color-rgb), 0.08);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(var(--theme-primary-color-rgb), 0.15);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.store-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--bg-gradient);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.store-info-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-light);
    font-size: 0.9rem;
    cursor: pointer;
    animation: bounce 2s infinite;
    margin-top: var(--spacing-md);
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-light);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--text-light);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(8px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-bubble {
    position: absolute;
    font-size: 2rem;
    animation: bubbleFloat 6s ease-in-out infinite;
    z-index: 2;
}

.floating-bubble.bubble-1 {
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.floating-bubble.bubble-2 {
    top: 40%;
    left: 10%;
    animation-delay: 2s;
}

.floating-bubble.bubble-3 {
    bottom: 30%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes bubbleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 1;
    }
}

.hero-mockup {
    position: relative;
    z-index: 1;
}

.mockup-screen {
    width: 280px;
    height: 500px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 24px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.mockup-toolbar {
    height: 40px;
    background: linear-gradient(90deg, #f8f9fa, #e9ecef);
    border-bottom: 1px solid #dee2e6;
    position: relative;
}

.mockup-toolbar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 6px;
    background: #dee2e6;
    border-radius: 3px;
}

.mockup-content {
    padding: 20px;
    height: calc(100% - 40px);
    position: relative;
}

.mockup-annotation {
    position: absolute;
    border-radius: 50%;
    background: var(--bg-gradient);
    animation: annotationPulse 2s ease-in-out infinite;
}

.mockup-annotation.annotation-1 {
    width: 40px;
    height: 40px;
    top: 30%;
    left: 20%;
    animation-delay: 0s;
}

.mockup-annotation.annotation-2 {
    width: 30px;
    height: 30px;
    top: 50%;
    right: 25%;
    animation-delay: 0.5s;
}

.mockup-annotation.annotation-3 {
    width: 25px;
    height: 25px;
    bottom: 30%;
    left: 30%;
    animation-delay: 1s;
}

@keyframes annotationPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}


/* ===== 按钮样式 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-icon {
    font-size: 1.2rem;
}

.version-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: var(--spacing-xs);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-glow {
    box-shadow:
        0 4px 12px rgba(var(--theme-primary-color-rgb), 0.3),
        0 0 0 1px rgba(var(--theme-primary-color-rgb), 0.1);
}

.btn-glow:hover {
    box-shadow:
        0 8px 24px rgba(var(--theme-primary-color-rgb), 0.4),
        0 0 0 1px rgba(var(--theme-primary-color-rgb), 0.2);
}

.btn-primary {
    background: var(--bg-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

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

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

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

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* ===== 功能亮点区域 ===== */
.features {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-gradient-light) 50%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.features-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.features-bg-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--theme-primary-color-rgb), 0.08), transparent);
    filter: blur(60px);
    animation: featuresFloat 20s ease-in-out infinite;
}

.features-bg-shape.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.features-bg-shape.shape-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -150px;
    animation-delay: 7s;
}

.features-bg-shape.shape-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes featuresFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
        opacity: 0.5;
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
        opacity: 0.2;
    }
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.features-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.features-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(var(--theme-primary-color-rgb), 0.12), rgba(var(--theme-primary-light-rgb), 0.08));
    border: 1px solid rgba(var(--theme-primary-color-rgb), 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(var(--theme-primary-color-rgb), 0.1);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

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

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 50%, var(--text-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    letter-spacing: -0.02em;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--spacing-lg);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(var(--theme-primary-color-rgb), 0.03), rgba(var(--theme-primary-light-rgb), 0.01));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 24px;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-8px) translateZ(0);
    box-shadow:
        0 20px 60px rgba(var(--theme-primary-color-rgb), 0.15),
        0 8px 24px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(var(--theme-primary-color-rgb), 0.3);
}

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

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.feature-number {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(var(--theme-primary-color-rgb), 0.3);
    letter-spacing: 0.05em;
    transition: all 0.4s ease;
    z-index: 3;
}

.feature-card:hover .feature-number {
    color: var(--primary-color);
    transform: scale(1.1);
}

.feature-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--theme-primary-color-rgb), 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    border-radius: 50%;
    pointer-events: none;
}

.feature-card:hover .feature-glow {
    opacity: 1;
}

.feature-icon-wrapper {
    position: relative;
    margin-bottom: var(--spacing-md);
    display: inline-block;
    z-index: 2;
}

.feature-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(var(--theme-primary-color-rgb), 0.12), rgba(var(--theme-primary-light-rgb), 0.08));
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.feature-card:hover .feature-icon-bg {
    width: 120px;
    height: 120px;
    background: var(--bg-gradient);
    box-shadow: 0 12px 32px rgba(var(--theme-primary-color-rgb), 0.3);
    transform: translate(-50%, -50%) rotate(5deg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 8px 16px rgba(var(--theme-primary-color-rgb), 0.4));
}

.feature-content {
    position: relative;
    z-index: 2;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    line-height: 1.3;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.feature-card:hover .feature-title {
    color: var(--primary-color);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
    transition: color 0.3s ease;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.feature-card:hover .feature-description {
    color: var(--text-primary);
}

.feature-decoration {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--theme-primary-color-rgb), 0.08), rgba(var(--theme-primary-light-rgb), 0.03));
    transform: scale(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.feature-decoration.decoration-1 {
    background: linear-gradient(135deg, rgba(var(--theme-primary-color-rgb), 0.12), rgba(var(--theme-primary-light-rgb), 0.05));
}

.feature-decoration.decoration-2 {
    background: linear-gradient(135deg, rgba(var(--theme-primary-light-rgb), 0.12), rgba(var(--theme-primary-color-rgb), 0.05));
}

.feature-decoration.decoration-3 {
    background: linear-gradient(135deg, rgba(var(--theme-primary-color-rgb), 0.1), rgba(var(--theme-primary-light-rgb), 0.06));
}

.feature-decoration.decoration-4 {
    background: linear-gradient(135deg, rgba(var(--theme-primary-light-rgb), 0.1), rgba(var(--theme-primary-color-rgb), 0.06));
}

.feature-decoration.decoration-5 {
    background: linear-gradient(135deg, rgba(var(--theme-primary-color-rgb), 0.11), rgba(var(--theme-primary-light-rgb), 0.04));
}

.feature-decoration.decoration-6 {
    background: linear-gradient(135deg, rgba(var(--theme-primary-light-rgb), 0.11), rgba(var(--theme-primary-color-rgb), 0.04));
}

.feature-card:hover .feature-decoration {
    transform: scale(1.2);
}

.feature-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.feature-card:hover .feature-shine {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* ===== 用户评价区域 ===== */
.testimonials {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--bg-primary);
    display: none; /* 暂时隐藏 */
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.testimonial-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(var(--theme-primary-color-rgb), 0.1);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.testimonial-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--theme-primary-color-rgb), 0.3);
}

.testimonial-content {
    margin-bottom: var(--spacing-md);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.author-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== 演示区域 ===== */
.demo-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: white;
}

.demo-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.demo-content {
    text-align: left;
}

.demo-features {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(var(--theme-primary-color-rgb), 0.1);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(var(--theme-primary-color-rgb), 0.15);
}

.demo-feature.active {
    background: var(--bg-gradient);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(var(--theme-primary-color-rgb), 0.3);
}

.demo-icon {
    font-size: 1.2rem;
}

.demo-visual {
    position: relative;
}

.demo-screen {
    width: 300px;
    height: 500px;
    background: linear-gradient(145deg, #1e293b, #334155);
    border-radius: 24px;
    margin: 0 auto;
    position: relative;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.demo-toolbar {
    height: 40px;
    background: #0f172a;
    position: relative;
}

.demo-toolbar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 4px;
    background: #374151;
    border-radius: 2px;
}

.demo-canvas {
    height: calc(100% - 40px);
    position: relative;
    background: #ffffff;
}

.demo-annotation {
    position: absolute;
    background: var(--bg-gradient);
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0);
}

.demo-annotation.active {
    opacity: 1;
    transform: scale(1);
}

.demo-annotation-1 {
    width: 40px;
    height: 40px;
    top: 25%;
    left: 20%;
}

.demo-annotation-2 {
    width: 35px;
    height: 35px;
    top: 45%;
    right: 25%;
}

.demo-annotation-3 {
    width: 30px;
    height: 30px;
    bottom: 30%;
    left: 35%;
}

/* ===== 关于区域 ===== */
.about {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.highlight-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(var(--theme-primary-color-rgb), 0.1);
    transition: var(--transition);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.highlight-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--theme-primary-color-rgb), 0.3);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    display: block;
}

.highlight-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.highlight-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-cta {
    margin-top: var(--spacing-xl);
}

/* ===== 鼠标跟随效果 ===== */
.cursor-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(var(--theme-primary-color-rgb), 0.3), transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s cubic-bezier(0.2, 0, 0.2, 1);
    mix-blend-mode: multiply;
    transform: translate(-50%, -50%);
    will-change: transform;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.footer-copyright p {
    margin: 0.25rem 0;
}

.footer-icp {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
}

/* ===== 历史版本页面 ===== */
.versions-page {
    min-height: 100vh;
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--bg-gradient-light);
    margin-top: 60px;
}

.versions-container {
    max-width: 900px;
    margin: 0 auto;
}

.version-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-md);
    transition: var(--transition);
    position: relative;
}

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

.version-card.current {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(var(--theme-primary-color-rgb), 0.1) 0%, rgba(255, 255, 255, 1) 100%);
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.version-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.version-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.version-name {
    color: var(--text-secondary);
    font-style: italic;
}

.version-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
}

.version-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.version-size {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.version-notes {
    color: var(--text-secondary);
    margin: var(--spacing-sm) 0;
    line-height: 1.6;
    white-space: pre-line;
}

.version-download {
    margin-top: var(--spacing-sm);
}

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

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

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

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

    .hero-visual {
        order: -1;
    }

    .demo-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .demo-content {
        text-align: center;
    }

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

    .section-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
        --spacing-md: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .title-accent {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }


    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .feature-card {
        padding: var(--spacing-md);
    }

    .feature-number {
        top: 1rem;
        left: 1rem;
        font-size: 0.9rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .feature-icon-bg {
        width: 80px;
        height: 80px;
    }

    .feature-card:hover .feature-icon-bg {
        width: 90px;
        height: 90px;
    }

    .feature-title {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .demo-features {
        justify-content: center;
    }

    .demo-screen {
        width: 250px;
        height: 400px;
    }

    .mockup-content {
        display: none;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .highlight-card {
        padding: var(--spacing-md);
    }


    .navbar-container {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }

    .navbar-links {
        flex-wrap: wrap;
        gap: calc(var(--spacing-xs) * 0.5);
        width: 100%;
    }

    .navbar-links li:has(.color-option) {
        flex-basis: auto;
        order: 0;
    }

    .navbar-links li:has(a) {
        flex-basis: auto;
        order: 1;
    }

    /* 让最后一个颜色选项占据剩余空间，使链接靠右 */
    .navbar-links li:has(.color-option):last-of-type {
        flex-grow: 1;
    }

    /* 选择第7个li（第一个链接），使其靠右 */
    .navbar-links li:nth-child(7) {
        margin-left: auto;
    }

    .color-option {
        width: 16px;
        height: 16px;
    }

    /* 手机端导航链接样式优化，避免换行 */
    .navbar-links a {
        font-size: 0.9rem;
        padding: var(--spacing-xs) calc(var(--spacing-xs) + 0.25rem);
        white-space: nowrap;
    }

    .version-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-bg-shape {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* 更小的屏幕上进一步优化导航链接 */
    .navbar-links a {
        font-size: 0.85rem;
        padding: var(--spacing-xs) calc(var(--spacing-xs) + 0.125rem);
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .feature-card {
        padding: var(--spacing-sm);
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

    .feature-icon-bg {
        width: 70px;
        height: 70px;
    }

    .feature-card:hover .feature-icon-bg {
        width: 80px;
        height: 80px;
    }

    .feature-title {
        font-size: 1.1rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }

    .floating-bubble {
        display: none;
    }

    .hero-mockup {
        transform: scale(0.8);
    }


    .demo-features {
        flex-direction: column;
        align-items: center;
    }

    .demo-feature {
        width: 100%;
        max-width: 200px;
    }
}

/* ===== 加载动画 ===== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
