/* WinToys 网站样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
header {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #00d4ff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo:hover {
    color: #00a8cc;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

/* 主要内容区 */
main {
    padding-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Hero区域 */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.1) 0%, transparent 100%);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 20px;
    color: #b0b0b0;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid #00d4ff;
    color: #00d4ff;
    margin-left: 15px;
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
}

/* 特色区域 */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #00d4ff;
}

.feature-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* 产品展示 */
.products {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
}

/* 产品优势 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.advantage-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #00d4ff;
}

.advantage-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* 用户评价 */
.testimonials-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ffffff;
}

.product-info p {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.product-version {
    color: #00ff88;
    font-weight: 500;
}

.product-size {
    color: #888;
}

/* 下载页面 */
.download-section {
    padding: 60px 0;
}

.download-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.download-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}

.download-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.download-title p {
    color: #b0b0b0;
}

.download-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.detail-item {
    text-align: center;
}

.detail-item .label {
    color: #888;
    font-size: 14px;
    margin-bottom: 5px;
}

.detail-item .value {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
}

.download-btn-container {
    text-align: center;
}

.download-btn {
    padding: 20px 60px;
    font-size: 20px;
}

/* 下载建议和链接 */
.download-tips {
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    padding: 20px 25px;
    margin: 25px 0;
    border-left: 4px solid #00d4ff;
}

.download-tips h4 {
    color: #00d4ff;
    margin-bottom: 12px;
    font-size: 16px;
}

.download-tips p {
    color: #b0b0b0;
    line-height: 1.8;
    font-size: 14px;
}

.download-tips strong {
    color: #00ff88;
}

.download-links-section {
    margin-top: 30px;
}

.download-links-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #ffffff;
}

.download-version {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.version-title {
    font-size: 16px;
    color: #00d4ff;
    margin-bottom: 12px;
    font-weight: 500;
}

.download-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.download-btns .btn {
    padding: 12px 24px;
    font-size: 14px;
}

/* 关于页面 */
.about-section {
    padding: 60px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-card h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #00d4ff;
}

.about-card p {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 15px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.team-member {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.team-member h4 {
    color: #ffffff;
    margin-bottom: 5px;
}

.team-member p {
    color: #888;
    font-size: 14px;
}

/* 联系页面 */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #00d4ff;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.contact-item .text h4 {
    color: #ffffff;
    margin-bottom: 5px;
}

.contact-item .text p {
    color: #b0b0b0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #00d4ff;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* 页脚 */
footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #00d4ff;
}

.copyright {
    color: #666;
    font-size: 14px;
}

/* 用户评价 */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, background 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.testimonial-info h4 {
    color: #ffffff;
    margin-bottom: 3px;
    font-size: 16px;
}

.testimonial-info p {
    color: #888;
    font-size: 13px;
}

.testimonial-stars {
    color: #ffd700;
    font-size: 16px;
    margin-bottom: 12px;
}

.testimonial-text {
    color: #b0b0b0;
    line-height: 1.7;
    font-style: italic;
}

/* 二维码弹窗 */
.qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.qr-modal.active {
    display: flex;
}

.qr-modal-content {
    background: linear-gradient(135deg, #1e1e2e 0%, #2d2d44 100%);
    border-radius: 20px;
    padding: 50px 45px;
    max-width: 520px;
    width: 90%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.qr-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.qr-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.qr-modal-title {
    text-align: center;
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 8px;
}

.qr-modal-subtitle {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-bottom: 25px;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.qr-code-img {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    border: 3px solid #00d4ff;
    animation: qrGlow 2s ease-in-out infinite;
}

@keyframes qrGlow {
    0%, 100% {
        border-color: #00d4ff;
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    }
    50% {
        border-color: #00ff88;
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    }
}

.qr-modal-tips {
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 20px;
    border-left: 3px solid #00d4ff;
}

.qr-modal-tips p {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.qr-modal-tips p:last-child {
    margin-bottom: 0;
}

.qr-modal-tips strong {
    color: #00ff88;
}

.qr-modal-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    color: #1a1a2e;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.qr-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

/* 行内二维码卡片 */
.inline-qr-section {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.inline-qr-title {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
    text-align: center;
}

.inline-qr-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.inline-qr-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.inline-qr-item:hover {
    transform: translateY(-3px);
}

.inline-qr-img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    border: 2px solid #00d4ff;
    animation: qrGlow 2s ease-in-out infinite;
}

.inline-qr-label {
    margin-top: 8px;
    font-size: 12px;
    color: #b0b0b0;
}

/* 底部下载板块 */
.bottom-download-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-subtitle {
    text-align: center;
    color: #888;
    font-size: 16px;
    margin-top: -30px;
    margin-bottom: 40px;
}

.bottom-download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.bottom-download-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.bottom-download-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
}

.bottom-download-card.highlight {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

.bottom-download-card.highlight:hover {
    background: rgba(0, 212, 255, 0.15);
}

.bottom-download-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.bottom-download-card h3 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 10px;
}

.bottom-download-card p {
    color: #888;
    margin-bottom: 25px;
}

.bottom-download-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bottom-download-btns .btn,
.bottom-download-btns .btn-outline {
    width: 100%;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .download-header {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
    }
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero, .feature-card, .product-card, .about-card, .contact-info, .contact-form {
    animation: fadeIn 0.6s ease-out;
}
