/* 全局样式重置 */
* {
    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: #ffffff;
    background-color: #0B131A;
}

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

/* 顶部导航栏 */
.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo-section {
    display: flex;
    align-items: center;
    padding: 15px 0;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    border-radius: 8px;
}

.app-name {
    font-size: 24px;
    font-weight: 600;
    color: #FFB101;
    margin: 0;
}

/* 应用下载区域 */
.download-section {
    background: url('../img/img-bei.png') center center / cover no-repeat;
    padding: 180px 0 120px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    background-size: 120% auto;
}

/* 现代装饰：细网格与柔光 */
.download-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(circle at 50% 40%, rgba(0,0,0,0.9), rgba(0,0,0,0.2) 60%, transparent 75%);
    mask-image: radial-gradient(circle at 50% 40%, rgba(0,0,0,0.9), rgba(0,0,0,0.2) 60%, transparent 75%);
    animation: none;
    pointer-events: none;
    display: none;
}

.download-section::after {
    content: '';
    position: absolute;
    inset: -10% -20% -30% -20%;
    background: radial-gradient(600px 350px at 20% 20%, rgba(253, 142, 54, 0.2), transparent 60%),
                radial-gradient(700px 400px at 80% 10%, rgba(253, 142, 54, 0.15), transparent 70%);
    filter: blur(20px);
    opacity: 0.8;
    animation: none;
    pointer-events: none;
}

/* 科技感装饰元素 */
.tech-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #FD8E36, transparent);
    height: 1px;
    width: 100px;
    opacity: 0.6;
    animation: flowLine 8s linear infinite;
}

.tech-line:nth-child(1) {
    top: 20%;
    left: -100px;
    animation-delay: 0s;
}

.tech-line:nth-child(2) {
    top: 40%;
    right: -100px;
    animation-delay: 2s;
    animation-direction: reverse;
}

.tech-line:nth-child(3) {
    top: 60%;
    left: -100px;
    animation-delay: 4s;
}

.tech-line:nth-child(4) {
    top: 80%;
    right: -100px;
    animation-delay: 6s;
    animation-direction: reverse;
}

/* 浮动几何图形 */
.floating-shape {
    position: absolute;
    border: 1px solid rgba(253, 142, 54, 0.3);
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}

.floating-shape.triangle {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid rgba(253, 142, 54, 0.3);
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shape.square {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(253, 142, 54, 0.3);
    top: 25%;
    right: 15%;
    animation-delay: 1s;
}

.floating-shape.circle {
    width: 25px;
    height: 25px;
    border: 1px solid rgba(253, 142, 54, 0.3);
    border-radius: 50%;
    top: 70%;
    left: 20%;
    animation-delay: 2s;
}

.floating-shape.diamond {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(253, 142, 54, 0.3);
    transform: rotate(45deg);
    top: 35%;
    right: 25%;
    animation-delay: 3s;
}

/* 数据流动效果 */
.data-stream {
    position: absolute;
    color: rgba(253, 142, 54, 0.6);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    white-space: nowrap;
    animation: dataFlow 10s linear infinite;
    opacity: 0.7;
}

.data-stream:nth-child(1) {
    top: 30%;
    left: -200px;
    animation-delay: 0s;
}

.data-stream:nth-child(2) {
    top: 50%;
    right: -200px;
    animation-delay: 3s;
    animation-direction: reverse;
}

.data-stream:nth-child(3) {
    top: 75%;
    left: -200px;
    animation-delay: 6s;
}

/* 脉冲光点 */
.pulse-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #FD8E36;
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.pulse-dot:nth-child(1) {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.pulse-dot:nth-child(2) {
    top: 45%;
    right: 8%;
    animation-delay: 1s;
}

.pulse-dot:nth-child(3) {
    top: 70%;
    left: 12%;
    animation-delay: 2s;
}

.pulse-dot:nth-child(4) {
    top: 85%;
    right: 3%;
    animation-delay: 0.5s;
}

.download-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.download-left {
    flex: 1;
}

.download-title {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.2);
}

.download-subtitle {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    padding: 15px 60px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 250px;
}

.download-btn.primary {
    background: #FFF0CF;
    color: #555555;
    box-shadow: 0 4px 15px rgba(253, 142, 54, 0.3);
}

.download-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 142, 54, 0.4);
}

.download-btn.secondary {
    background: linear-gradient(135deg, #0B131A 0%, #333333 100%);
    color: #FD8E36;
    border: 2px solid #FD8E36;
}

.download-btn.secondary:hover {
    transform: translateY(-2px);
    border: 3px solid #FD8E36;
    box-shadow: 0 4px 15px rgba(253, 142, 54, 0.3);
}

.download-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.app-preview {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.app-preview:hover {
    transform: scale(1.05);
}

/* 特性区域 */
.features-section {
    padding: 80px 0;
    background: #ffffff;
    color: #FD8E36;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 60px;
    position: relative;
}
/* 限定特性區域內標題為主色 */
.features-section .section-title {
    color: #2779C0;
    margin-bottom: 8px;
}

/* 去掉功能區域標題下方的漸變線 */
.features-section .section-title::after {
    content: none;
}

/* 功能區域副標題樣式 */
.features-section .section-subtitle {
    text-align: center;
    font-size: 22px;
    line-height: 1.6;
    color: #2779C0;
    margin: 0 0 40px;
}

/* 限定場景區域標題為藍色 */
.scenarios-section .section-title {
    color: #2779C0;
}

/* 去掉場景區域標題下方的漸變線 */
.scenarios-section .section-title::after {
    content: none;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #FEDB53 0%, #FD8E36 100%);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    counter-reset: feature-step;
}

.feature-card {
    position: relative;
    overflow: visible;
    background: #ffffff;
    border: 1px solid #E6EAF2;
    border-radius: 999px;
    padding: 12px 18px 12px 70px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2779C0;
    box-shadow: 0 4px 10px rgba(39, 121, 192, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* 左側藍色圓形序號 */
.feature-card::before {
    counter-increment: feature-step;
    content: counter(feature-step);
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2779C0;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(39, 121, 192, 0.25);
}

.feature-card::after { content: none; }

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(39, 121, 192, 0.18);
    border-color: #2779C0;
}

.feature-icon { display: none; }

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2779C0;
    margin: 0;
}

.feature-card p {
    display: inline;
    margin: 0 0 0 10px;
    font-size: 14px;
    line-height: 1.4;
    color: #2779C0;
    opacity: 0.95;
}

/* 场景区域 */
.scenarios-section {
    padding: 80px 0;
    background: #FCFAED;
    background-size: 400% 400%;
    animation: gradientFlow 12s ease infinite;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 2;
}

.scenario-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    background-image: radial-gradient(circle at 20px 20px, rgba(39, 121, 192, 0.06) 2px, transparent 2px);
    background-size: 24px 24px;
    padding: 30px 25px 28px 25px;
    border-radius: 12px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgba(39, 121, 192, 0.2);
    box-shadow: 0 6px 18px rgba(39, 121, 192, 0.10);
}

/* 左側漸變色條 */
.scenario-card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 6px;
    background: linear-gradient(180deg, #2779C0 0%, #FFB101 100%);
}

.scenario-card::after { content: none; }

.scenario-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 14px 28px rgba(39, 121, 192, 0.18);
    border-color: #FFB101;
    border-radius: 12px;
}

.scenario-icon {
    font-size: 22px;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 2px solid #2779C0;
    background: transparent;
    color: #2779C0;
}

/* 交錯排列增加動態感 */
.scenario-card:nth-child(odd) { transform: translateY(4px); }
.scenario-card:nth-child(odd):hover { transform: translateY(-2px) scale(1.01); }

.scenario-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2779C0;
    margin-bottom: 10px;
}

.scenario-card p {
    color: #2779C0;
    font-size: 14px;
    line-height: 1.5;
}

/* 底部版权信息 */
.footer {
    background: #ffffff;
    padding: 30px 0;
    text-align: center;
}

.copyright {
    color: #FFB101;
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .download-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .download-section {
        background-size: 110% auto;
    }
    
    .floating-shape {
        display: none;
    }
    
    .tech-line {
        display: none;
    }
    
    .data-stream {
        display: none;
    }
    
    .pulse-dot {
        display: none;
    }
    
    .download-section .container::before,
    .download-section .container::after {
        display: none;
    }
    
    /* 手机端去掉橙色柔光 */
    .download-section::before,
    .download-section::after {
        display: none;
    }
    
    /* 手机端使用相同的背景图片 */
    .download-section {
        background: url('../img/img-bei.png') center center / cover no-repeat;
    }
    
    .download-title {
        font-size: 36px;
    }
    
    .download-subtitle {
        font-size: 16px;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .scenarios-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .download-section {
        padding: 140px 0 100px;
    }
    .download-title {
        font-size: 28px;
    }
    
    .download-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .feature-card,
    .scenario-card {
        padding: 25px 20px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

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

.feature-card,
.scenario-card {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.scenario-card:nth-child(1) { animation-delay: 0.1s; }
.scenario-card:nth-child(2) { animation-delay: 0.2s; }
.scenario-card:nth-child(3) { animation-delay: 0.3s; }
.scenario-card:nth-child(4) { animation-delay: 0.4s; }
.scenario-card:nth-child(5) { animation-delay: 0.5s; }
.scenario-card:nth-child(6) { animation-delay: 0.6s; }
.scenario-card:nth-child(7) { animation-delay: 0.7s; }

/* 科技感装饰动画 */
@keyframes flowLine {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(calc(100vw + 100px));
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.7;
    }
}

@keyframes dataFlow {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateX(calc(100vw + 200px));
        opacity: 0;
    }
}

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