@charset "UTF-8";

/* ================= 全局重置 ================= */
body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f2f2f7; /* iOS 设置页面的背景灰 */
    margin: 0;
    padding: 0;
    color: #000;
    -webkit-font-smoothing: antialiased;
}

/* ================= 容器布局 ================= */
.container {
    max-width: 600px; /* 限制最大宽度，手机上看刚好，电脑看也不会太宽 */
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* ================= 头部区域 (图标+信息) ================= */
.header {
    display: flex;
    padding: 24px;
    align-items: flex-start; /* 顶部对齐 */
    border-bottom: 1px solid #e5e5ea;
}

.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px; /* iOS 图标圆角率 */
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
    margin-right: 20px;
    flex-shrink: 0; /* 防止图标被压缩 */
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.app-info h1 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #1c1c1e;
}

.app-info .subtitle {
    font-size: 14px;
    color: #8e8e93;
    margin-bottom: 4px;
}

.app-info .developer {
    font-size: 14px;
    color: #007aff; /* 苹果蓝 */
    margin-bottom: 10px;
}

/* ================= 动作区域 (下载+评分) ================= */
/* 这里使用了 column 让它们垂直排列 */
.actions-area {
    display: flex;
    flex-direction: column; 
    align-items: flex-start;
    margin-top: 8px;
}

.download-btn {
    background-color: #007aff;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 0;
    width: 140px; /* 固定宽度 */
    text-align: center;
    border-radius: 18px;
    transition: background-color 0.2s;
    margin-bottom: 10px; /* 按钮和下方评分的距离 */
}

.download-btn:active {
    background-color: #0051a8;
    opacity: 0.8;
}

/* 评分和安全认证行 */
.rating-row {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #8e8e93;
}

.rating-row .stars {
    color: #ff9500; /* 星星黄 */
    font-size: 14px;
    margin-right: 6px;
    letter-spacing: 1px;
}

.rating-row .badge {
    background-color: #f2f2f7;
    color: #8e8e93;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 500;
}

/* ================= 提示框 (iOS专用) ================= */
.ios-guide {
    display: none; /* 默认隐藏，JS控制显示 */
    background-color: #fff8e1; /* 警告黄 */
    padding: 16px 24px;
    border-bottom: 1px solid #ffeeba;
}

.ios-guide p {
    margin: 0;
    font-size: 14px;
    color: #8a6d3b;
    line-height: 1.5;
}

.ios-guide strong {
    color: #795548;
}

/* ================= 内容区块 ================= */
.section {
    padding: 24px;
    border-bottom: 1px solid #e5e5ea;
}

.section h2 {
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #1c1c1e;
}

.description-text {
    font-size: 15px;
    line-height: 1.6;
    color: #3a3a3c;
}

/* ================= 信息列表 ================= */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f2f2f7;
    font-size: 14px;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #8e8e93;
}

.info-value {
    color: #1c1c1e;
    font-weight: 500;
}