:root {
    --bg: #f5f8fc;
    --white: #ffffff;
    --line: #e6edf5;
    --text: #1e293b;
    --text2: #5b6b81;
    --primary: #3b82f6;
    --primary2: #2563eb;
    --green: #22c55e;
    --green2: #16a34a;
    --blue-soft: #eff6ff;
    --green-soft: #f0fdf4;
    --red-soft: #fff1f2;
    --yellow-soft: #fff8e8;
    --shadow: 0 12px 36px rgba(37, 99, 235, 0.08);
    --shadow-hover: 0 18px 44px rgba(37, 99, 235, 0.12);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body.ios-page {
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.10), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
    color: var(--text);
    min-height: 100vh;
}

.ios-page .main-wrapper,
.ios-page .main-content,
.ios-page .section,
.ios-page .container,
.ios-page .row,
.ios-page .col-xs-12,
.ios-page .col-md-6,
.ios-page .col-lg-6 {
    box-sizing: border-box;
}

.ios-main-content {
    padding-top: 28px !important;
    padding-bottom: 60px;
}

.ios-section {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.ios-page-inner {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* 顶部返回 */
.ios-topbar {
    margin-bottom: 20px;
}

.ios-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text2);
    text-decoration: none !important;
    padding: 10px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    transition: all .2s ease;
}

.ios-back-btn:hover {
    color: var(--primary2);
    background: #fff;
    transform: translateY(-1px);
}

/* 标题区域 */
.ios-header-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 28px 24px;
    margin-bottom: 20px;
    text-align: center;
}

.ios-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--primary2);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.ios-title {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
    color: #0f172a;
}

.ios-subtitle {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text2);
}

/* 通用卡片 */
.ios-card,
.ios-step-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    box-sizing: border-box;
}

.ios-card {
    padding: 24px 22px;
    margin-bottom: 20px;
}

.ios-card-head {
    text-align: center;
    margin-bottom: 18px;
}

.ios-card-head h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}

.ios-card-head p {
    margin: 0;
    font-size: 14px;
    color: var(--text2);
    line-height: 1.8;
}

/* 视频 */
.ios-video-box {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
}

.ios-video-box video {
    display: block;
    width: 100%;
    height: auto;
}

/* 步骤卡 */
.ios-step-card {
    padding: 28px 22px;
    margin-bottom: 22px;
}

.ios-step-card-blue {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-left: 6px solid var(--primary);
}

.ios-step-card-green {
    background: linear-gradient(180deg, #ffffff 0%, #f6fdf8 100%);
    border-left: 6px solid var(--green);
}

.ios-step-no {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    color: var(--primary2);
    font-size: 22px;
    font-weight: 800;
}

.ios-step-title {
    margin: 0 0 10px;
    text-align: center;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 800;
    color: #0f172a;
}

.ios-step-desc {
    margin: 0 0 18px;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text2);
}

/* 按钮 */
.ios-btn-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.ios-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 22px;
    border: 0;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: all .22s ease;
    box-sizing: border-box;
}

.ios-btn:hover {
    transform: translateY(-2px);
}

.ios-btn-primary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.20);
}

.ios-btn-secondary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--green), var(--green2));
    box-shadow: 0 12px 24px rgba(34, 197, 94, 0.18);
}

.ios-btn-ghost {
    color: #16a34a;
    background: var(--green-soft);
    border: 1px solid #ccefd8;
}

/* 提示 */
.ios-tip {
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--blue-soft);
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 16px;
}

.ios-tip-danger {
    background: var(--red-soft);
    color: #b91c1c;
    font-weight: 700;
}

/* 图片 */
.ios-image-box {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e7eef7;
    background: #f8fbff;
}

.ios-image-box img {
    display: block;
    width: 100%;
    height: auto;
}

/* 下滑提示 */
.ios-slide-tip {
    text-align: center;
    font-size: 15px;
    color: var(--primary2);
    font-weight: 700;
    margin: 6px 0 22px;
    animation: iosSlideTip 1.2s infinite;
}

@keyframes iosSlideTip {
    0% { transform: translateY(0); }
    50% { transform: translateY(6px); }
    100% { transform: translateY(0); }
}

/* 完成提示 */
.ios-success-card {
    background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf3 100%);
    border-color: #ccefd8;
}

.ios-success-tip {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.72);
    color: #166534;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 600;
}

/* FAQ */
.ios-faq-card {
    background: linear-gradient(180deg, #fffdf6 0%, #fff8e8 100%);
    border-color: #f7e7b7;
}

.ios-faq-text {
    padding: 18px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.72);
    color: #4b5563;
    font-size: 14px;
    line-height: 1.9;
}

/* 底部按钮 */
.ios-bottom-btn {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.ios-bottom-btn .ios-btn {
    min-width: 220px;
}

/* 弹窗 */
.ios-modal-content {
    border-radius: 20px;
    overflow: hidden;
}

/* 平板 */
@media (max-width: 991px) {
    .ios-title {
        font-size: 30px;
    }
}

/* 手机 */
@media (max-width: 767px) {
    .ios-main-content {
        padding-top: 18px !important;
        padding-bottom: 40px;
    }

    .ios-page-inner {
        padding: 0 14px;
    }

    .ios-header-card,
    .ios-card,
    .ios-step-card {
        padding: 20px 18px;
        border-radius: 20px;
    }

    .ios-title {
        font-size: 28px;
    }

    .ios-subtitle,
    .ios-step-desc {
        font-size: 14px;
        line-height: 1.85;
    }

    .ios-step-title {
        font-size: 24px;
    }

    .ios-btn {
        width: 100%;
    }

    .ios-video-box {
        max-width: 100%;
    }

    .ios-bottom-btn .ios-btn {
        width: 100%;
        min-width: 0;
    }
}