/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: #4285f4;
    color: white;
}

.btn-primary:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #4285f4;
    border: 2px solid #4285f4;
}

.btn-outline:hover {
    background-color: #4285f4;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 30px;
    font-size: 18px;
}

.btn-icon {
    margin-right: 8px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand .logo {
    height: 40px;
    margin-right: 10px;
}

.nav-brand .brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #4285f4;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #4285f4;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主页横幅样式 */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.version-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.version-label {
    font-weight: 600;
}

.version-number {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
}

.release-date {
    opacity: 0.8;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    max-width: 500px;
    height: 350px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.placeholder-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.placeholder-desc {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 通用版块样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* 功能特色样式 */
.features {
    padding: 100px 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.icon-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #f1f8ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.feature-description {
    color: #666;
    line-height: 1.7;
}

/* 应用截图样式 */
/* 
.screenshots {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.screenshot-item {
    text-align: center;
}

.screenshot-item .image-placeholder {
    background: white;
    border: 1px solid #eee;
    margin-bottom: 20px;
    color: #666;
}

.screenshot-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.screenshot-desc {
    color: #666;
    line-height: 1.6;
}
*/

/* 下载安装样式 */
.download {
    padding: 100px 0;
    background-color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.download-info {
    background: #f1f8ff;
    border-radius: 15px;
    padding: 30px;
}

.version-details h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.version-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e1e8ed;
}

.version-item:last-child {
    border-bottom: none;
}

.version-item .label {
    font-weight: 600;
    color: #555;
}

.version-item .value {
    color: #333;
}

.download-buttons {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.system-requirements h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.system-requirements ul {
    list-style-position: inside;
    color: #666;
}

.system-requirements li {
    margin-bottom: 8px;
}

.installation-guide h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #333;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step {
    display: flex;
    gap: 20px;
}

.step-number {
    background: #4285f4;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 8px;
    color: #333;
}

.step-content p {
    color: #666;
}

/* 更新日志样式 */
.changelog {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.changelog-list {
    max-width: 800px;
    margin: 0 auto;
}

.changelog-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.version-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.version-tag {
    background: #4285f4;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
}

.release-date {
    color: #666;
}

.version-type {
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.version-type.stable {
    background: #34a853;
    color: white;
}

.version-type.beta {
    background: #f9ab00;
    color: white;
}

.changelog-content h4 {
    margin-bottom: 15px;
    color: #333;
}

.changelog-content ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.changelog-content li {
    margin-bottom: 10px;
    color: #666;
}

/* 联系我们样式 */
.contact {
    padding: 100px 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 8px;
    color: #333;
}

.contact-details p {
    color: #666;
    margin-bottom: 5px;
}

.contact-details small {
    color: #999;
}

.community-qr h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #333;
}

.qr-placeholder {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.qr-placeholder p {
    margin-top: 15px;
    color: #666;
}

/* 页脚样式 */
.footer {
    background: #333;
    color: white;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 50px;
    width: 50px;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #4285f4;
}

.footer-description {
    color: #ccc;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.link-group h4 {
    margin-bottom: 20px;
    color: #4285f4;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 12px;
}

.link-group a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #4285f4;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #555;
    color: #aaa;
}

.footer-bottom a {
    color: #aaa;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #4285f4;
    text-decoration: underline;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* 占位图样式 */
.image-placeholder {
    width: 100%;
    min-height: 200px;
    background: linear-gradient(45deg, #f1f8ff, #e8f5e9);
    border: 2px dashed #4285f4;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #4285f4;
    text-align: center;
    padding: 20px;
}

.image-placeholder::before {
    content: "🖼️";
    font-size: 3rem;
    margin-bottom: 15px;
}

.image-placeholder .placeholder-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.image-placeholder .placeholder-desc {
    font-size: 0.9rem;
    opacity: 0.8;
}