/* 纸飞机Telegram官网样式 - 百变模板版本 */
/* 所有类名都添加了z96395前缀，实现百变模板功能 */

/* CSS变量定义 */
:root {
    --container-max-width: 1200px;
    --container-padding: 20px;
    --hero-padding: 120px 0 80px;
    --section-padding: 80px 0;
    --border-radius: 20px;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 响应式断点变量 */
@media (max-width: 1024px) {
    :root {
        --container-max-width: 960px;
        --container-padding: 30px;
        --hero-padding: 100px 0 70px;
        --section-padding: 70px 0;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 25px;
        --hero-padding: 100px 0 60px;
        --section-padding: 60px 0;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 15px;
        --hero-padding: 80px 0 40px;
        --section-padding: 60px 0;
    }
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 确保图片在所有设备上正确显示 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.z96395container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* 头部导航样式 */
.z96395header {
    background: linear-gradient(135deg, #0088cc 0%, #00a8ff 100%);
    box-shadow: 0 2px 20px rgba(0, 136, 204, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.z96395nav {
    padding: 15px 0;
}

.z96395nav .z96395container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.z96395logo h1 {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.z96395nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.z96395nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
}

.z96395nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.z96395mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.z96395mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 英雄区域样式 */
.z96395hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: var(--hero-padding);
    color: white;
    position: relative;
    overflow: hidden;
}

.z96395hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.z96395hero .z96395container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.z96395hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.z96395hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.z96395hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.z96395hero-features {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.z96395feature-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.z96395feature-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.z96395hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.z96395stat-mini {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.z96395stat-mini .z96395stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.z96395stat-mini .z96395stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.z96395btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.z96395btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.z96395btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.z96395btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.z96395btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.z96395btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

.z96395hero-picture {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.z96395hero-picture:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.4);
}

.z96395hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.z96395hero-picture:hover .z96395hero-img {
    transform: scale(1.05);
}

.z96395hero-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
}

.z96395hero-badge {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.z96395badge-icon {
    font-size: 16px;
}

.z96395badge-text {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 下载区域样式 */
.z96395download-section {
    padding: var(--section-padding);
    background: #f8f9fa;
}

.z96395section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2c3e50;
}

.z96395section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.z96395download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.z96395download-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.z96395download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #0088cc;
}

.z96395platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
}

.z96395platform-icon.windows {
    background: linear-gradient(45deg, #0078d4, #106ebe);
}

.z96395platform-icon.mac {
    background: linear-gradient(45deg, #000000, #333333);
}

.z96395platform-icon.android {
    background: linear-gradient(45deg, #3ddc84, #2bb673);
}

.z96395platform-icon.ios {
    background: linear-gradient(45deg, #007aff, #5856d6);
}

.z96395download-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.z96395download-card p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.z96395version-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 8px 12px;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
}

.z96395version-tag {
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.z96395version-number {
    color: #495057;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.z96395system-req {
    margin-bottom: 20px;
}

.z96395system-req small {
    color: #6c757d;
    font-size: 12px;
    line-height: 1.4;
}

.z96395download-meta {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.z96395download-meta span {
    font-size: 11px;
    color: #6c757d;
    text-align: center;
}

.z96395download-btn {
    background: linear-gradient(45deg, #0088cc, #00a8ff);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.z96395download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
}

/* 功能特色区域样式 */
.z96395features-section {
    padding: var(--section-padding);
    background: white;
}

.z96395features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.z96395feature-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.z96395feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.05) 0%, rgba(0, 168, 255, 0.05) 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.z96395feature-item:hover::before {
    opacity: 1;
}

.z96395feature-item:hover {
    transform: translateY(-5px);
}

.z96395feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: white;
    position: relative;
    z-index: 2;
}

.z96395feature-icon.security {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}

.z96395feature-icon.cloud {
    background: linear-gradient(45deg, #3498db, #2980b9);
}

.z96395feature-icon.group {
    background: linear-gradient(45deg, #9b59b6, #8e44ad);
}

.z96395feature-icon.file {
    background: linear-gradient(45deg, #f39c12, #e67e22);
}

.z96395feature-icon.bot {
    background: linear-gradient(45deg, #1abc9c, #16a085);
}

.z96395feature-icon.channel {
    background: linear-gradient(45deg, #e67e22, #d35400);
}

.z96395feature-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
    position: relative;
    z-index: 2;
}

.z96395feature-item p {
    color: #7f8c8d;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.z96395feature-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.z96395detail-item {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(0, 136, 204, 0.2);
    transition: all 0.3s ease;
}

.z96395detail-item:hover {
    background: rgba(0, 136, 204, 0.2);
    transform: translateX(5px);
}

/* 关于我们区域样式 */
.z96395about-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.z96395about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.z96395about-text h2 {
    margin-bottom: 30px;
}

.z96395about-text p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.z96395stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.z96395stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.z96395stat-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #0088cc;
    margin-bottom: 5px;
}

.z96395stat-label {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 5px;
}

.z96395stat-desc {
    color: #adb5bd;
    font-size: 12px;
    line-height: 1.4;
}

.z96395about-graphic {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, #0088cc, #00a8ff);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 136, 204, 0.3);
}

.z96395about-graphic::before {
    content: '✈️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    opacity: 0.8;
}

/* 下载引导区域样式 */
.z96395cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.z96395cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.z96395cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.z96395cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.z96395cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 500;
}

.z96395cta-icon {
    font-size: 20px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.z96395cta-note {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
    font-style: italic;
}

/* 页脚样式 */
.z96395footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.z96395footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.z96395footer-section h3 {
    margin-bottom: 20px;
    color: #3498db;
    font-size: 18px;
}

.z96395footer-section p,
.z96395footer-section li {
    color: #bdc3c7;
    margin-bottom: 10px;
    line-height: 1.6;
}

.z96395footer-section ul {
    list-style: none;
}

.z96395footer-section li {
    position: relative;
    padding-left: 20px;
}

.z96395footer-section li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 12px;
}

.z96395footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #95a5a6;
}

/* 动画效果 */
.z96395feature-item,
.z96395download-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.z96395feature-item.animate-in,
.z96395download-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .z96395container {
        max-width: 960px;
        padding: 0 30px;
    }
    
    .z96395hero-title {
        font-size: 42px;
    }
    
    .z96395hero-picture {
        width: 350px;
        height: 350px;
    }
    
    .z96395download-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .z96395features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .z96395stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .z96395container {
        padding: 0 25px;
    }
    
    .z96395mobile-menu-btn {
        display: flex;
    }
    
    .z96395nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: #0088cc;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .z96395nav-menu.active {
        transform: translateY(0);
    }
    
    .z96395hero {
        padding: 100px 0 60px;
    }
    
    .z96395hero .z96395container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .z96395hero-title {
        font-size: 36px;
    }
    
    .z96395hero-subtitle {
        font-size: 18px;
    }
    
    .z96395hero-buttons {
        justify-content: center;
    }
    
    .z96395hero-features {
        justify-content: center;
        gap: 12px;
    }
    
    .z96395hero-picture {
        width: 300px;
        height: 300px;
    }
    
    .z96395about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .z96395about-graphic {
        width: 300px;
        height: 300px;
    }
    
    .z96395stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .z96395download-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .z96395features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .z96395footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .z96395cta-features {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .z96395section-title {
        font-size: 32px;
    }
    
    .z96395section-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .z96395container {
        padding: 0 15px;
    }
    
    .z96395hero {
        padding: 80px 0 40px;
    }
    
    .z96395hero-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .z96395hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .z96395hero-features {
        justify-content: center;
        gap: 8px;
        margin-bottom: 25px;
    }
    
    .z96395feature-tag {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .z96395btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .z96395hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .z96395hero-picture {
        width: 250px;
        height: 250px;
    }
    
    .z96395hero-badge {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .z96395section-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .z96395section-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }
    
    .z96395download-section,
    .z96395features-section,
    .z96395about-section,
    .z96395cta-section {
        padding: 60px 0;
    }
    
    .z96395download-card {
        padding: 30px 20px;
    }
    
    .z96395feature-item {
        padding: 30px 15px;
    }
    
    .z96395about-graphic {
        width: 250px;
        height: 250px;
    }
    
    .z96395stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .z96395footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }
    
    .z96395cta-features {
        gap: 15px;
    }
    
    .z96395cta-content h2 {
        font-size: 28px;
    }
    
    .z96395cta-content p {
        font-size: 16px;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .z96395btn:hover,
    .z96395feature-tag:hover,
    .z96395download-card:hover,
    .z96395feature-item:hover,
    .z96395hero-picture:hover {
        transform: none;
    }
    
    .z96395btn:active,
    .z96395feature-tag:active,
    .z96395download-card:active,
    .z96395feature-item:active {
        transform: scale(0.98);
    }
    
    .z96395nav-menu a {
        padding: 12px 20px;
        margin: 5px 0;
    }
    
    .z96395mobile-menu-btn {
        padding: 10px;
    }
}

/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .z96395hero-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* 打印样式 */
@media print {
    .z96395header,
    .z96395footer,
    .z96395mobile-menu-btn {
        display: none;
    }
    
    .z96395hero {
        padding: 40px 0;
        background: white !important;
        color: black !important;
    }
    
    .z96395btn {
        border: 1px solid #333;
        background: white !important;
        color: black !important;
    }
    
    .z96395download-card,
    .z96395feature-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
} 