/* ========================================
   落地页模板 - 暗夜紫
   主背景: #1a0e2e  强调: #ff2d92
   单页结构：固定导航 + Hero + 5列品牌 + 5列APP下载
   ======================================== */
:root {
    --bg-primary: #1a0e2e;
    --bg-deep: #050507;
    --bg-card: rgba(255, 255, 255, 0.08);
    --bg-card-hover: rgba(255, 255, 255, 0.14);
    --accent: #ff2d92;
    --accent-soft: rgba(255, 255, 255, 0.15);
    --text-light: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-faint: rgba(255, 255, 255, 0.45);
    --border-soft: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.35);
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;

}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #1a0e2e;
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* ========== 顶部固定导航 ========== */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-soft);
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.top-nav-menu a {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
    opacity: 0.85;
}

.top-nav-menu a:hover {
    opacity: 1;
    color: #ff2d92;
}

.top-nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #ff2d92;
    transition: width 0.3s;
}

.top-nav-menu a:hover::after {
    width: 100%;
}

/* ========== Hero 区 ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 32px 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(135deg, #1a0e2ef0 0%, #000000 100%),
        url("./images/background.jpg") center/cover no-repeat;
    background-blend-mode: multiply;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 0 32px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
    font-weight: 400;
}

/* ========== 通用容器 ========== */
.section {
    padding: 60px 32px;
    position: relative;
}

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

.section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
}

.section-title span {
    color: #ff2d92;
}

/* ========== 5 列品牌卡片 ========== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.brand-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    min-height: 100px;
}

.brand-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ff2d9210 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.brand-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #ff2d9266;
}

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

.brand-logo {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
    font-weight: 800;
    color: #ff2d92;
    border: 1px solid var(--border-soft);
}

.brand-info {
    flex: 1;
    min-width: 0;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 6px;
}

.brand-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 2px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-arrow {
    color: #ff2d92;
    font-size: 24px;
    flex-shrink: 0;
    opacity: 0.5;
    transition: all 0.3s;
}

.brand-card:hover .brand-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* ========== 5 列 APP 下载卡片 ========== */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.app-card {
    position: relative;
    border-radius: var(--radius-md);
    padding: 24px 20px;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.app-card::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.app-card:hover::after {
    transform: scale(1.5);
    opacity: 0.4;
}

.app-card-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.app-card-desc {
    font-size: 13px;
    line-height: 1.55;
    opacity: 0.92;
    position: relative;
    z-index: 1;
}

/* APP 卡片 5 色（每套模板固定 5 色组合） */
.app-red    { background: linear-gradient(135deg, #e63946 0%, #c1121f 100%); }
.app-purple { background: linear-gradient(135deg, #8e44ad 0%, #6c3483 100%); }
.app-orange { background: linear-gradient(135deg, #e67e22 0%, #d35400 100%); }
.app-green  { background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%); }
.app-blue   { background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%); }

/* ========== Footer ========== */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-soft);
    padding: 32px;
    text-align: center;
    color: var(--text-faint);
    font-size: 13px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.footer p {
    margin: 4px 0;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .brands-grid,
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .top-nav {
        padding: 12px 16px;
    }
    .top-nav-menu {
        gap: 16px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .brands-grid,
    .apps-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 100px 16px 40px;
    }
    .section {
        padding: 40px 16px;
    }
    .section-title {
        font-size: 22px;
    }
}
