@charset "utf-8";

/* ==========================================================================
   前台首页样式（仅被 application/index/view/index/index.html 引用）
   主题：攒股权养老 —— 高股息投资记录，微信专属入口
   ========================================================================== */

:root {
    --brand: #2b7de9;
    --brand-deep: #1d4fa8;
    --gold: #f0b429;
    --ink: #1f2d3d;
    --ink-2: #61738a;
    --line: #e6edf6;
    --card: #ffffff;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "PingFang SC", "SF Pro SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: var(--ink);
    background-color: #f4f8ff;
    background-image: radial-gradient(circle at 12% 0%, #e2edff 0%, rgba(226, 237, 255, 0) 55%),
                      radial-gradient(circle at 92% 6%, #eaf3ff 0%, rgba(234, 243, 255, 0) 45%);
    background-repeat: no-repeat;
    background-size: 100% 620px;
    min-height: 100%;
}

.page {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 16px 34px;
}

/* ---------- 顶部品牌区 ---------- */
.hero {
    position: relative;
    margin: 0 -16px 20px;
    padding: 46px 26px 40px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #1d4fa8 0%, #2b7de9 55%, #4094f5 100%);
    border-radius: 0 0 26px 26px;
    -webkit-box-shadow: 0 10px 26px rgba(43, 125, 233, 0.22);
    box-shadow: 0 10px 26px rgba(43, 125, 233, 0.22);
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
}

.hero::before {
    width: 170px;
    height: 170px;
    right: -62px;
    top: -72px;
}

.hero::after {
    width: 130px;
    height: 130px;
    left: -46px;
    bottom: -78px;
}

.hero-title {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 3px;
}

.hero-sub {
    position: relative;
    z-index: 1;
    margin: 10px 0 0;
    font-size: 13px;
    letter-spacing: 1px;
    opacity: 0.88;
}

.hero-line {
    position: relative;
    z-index: 1;
    width: 38px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 2px;
    background: var(--gold);
}

/* ---------- 卡片 ---------- */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 20px;
    margin-bottom: 16px;
    -webkit-box-shadow: 0 4px 16px rgba(28, 74, 148, 0.05);
    box-shadow: 0 4px 16px rgba(28, 74, 148, 0.05);
}

.card-title {
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    text-align: center;
    letter-spacing: 1px;
}

/* ---------- 二维码 ---------- */
.qr-box {
    width: 210px;
    height: 210px;
    margin: 0 auto;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.qr-box img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.qr-tip {
    margin: 14px 0 0;
    text-align: center;
    font-size: 13px;
    color: var(--ink-2);
}

.qr-tip b {
    color: var(--brand);
    font-weight: 600;
}

/* ---------- 步骤 ---------- */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: none;
}

.steps li {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    padding: 13px 0;
    border-bottom: 1px dashed var(--line);
}

.steps li:first-child {
    padding-top: 0;
}

.steps li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.step-no {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 26px;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    margin-right: 12px;
    border-radius: 50%;
    background: #eaf2fe;
    color: var(--brand);
    font-size: 13px;
    font-weight: 600;
    line-height: 26px;
    text-align: center;
}

.step-txt {
    display: block;
    font-size: 14px;
    line-height: 1.6;
}

.step-txt b {
    display: block;
    color: var(--ink);
    font-weight: 500;
    margin-bottom: 2px;
}

.step-txt span {
    display: block;
    color: var(--ink-2);
    font-size: 13px;
}

/* 关键词高亮 */
.kw {
    display: inline-block;
    padding: 0 8px;
    border-radius: 4px;
    background: #eaf2fe;
    color: var(--brand);
    font-style: normal;
    font-weight: 600;
}

/* ---------- 按钮 ---------- */
.btn-main {
    display: block;
    padding: 14px 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #2b7de9 0%, #1d4fa8 100%);
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    -webkit-box-shadow: 0 6px 18px rgba(43, 125, 233, 0.28);
    box-shadow: 0 6px 18px rgba(43, 125, 233, 0.28);
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
}

.btn-main:hover,
.btn-main:focus {
    color: #fff;
    text-decoration: none;
    opacity: 0.94;
}

.btn-main:active {
    -webkit-transform: scale(0.985);
    transform: scale(0.985);
}

.note {
    margin: 14px 0 28px;
    text-align: center;
    font-size: 12px;
    color: #9aa9bd;
}

/* ---------- 页脚 ---------- */
.site-footer {
    text-align: center;
    font-size: 12px;
    line-height: 1.9;
    color: #9aa9bd;
}

.site-footer p {
    margin: 0;
    font-size: 12px;
}

.site-footer a {
    color: #9aa9bd;
    text-decoration: none;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
}

.site-footer a:hover,
.site-footer a:focus {
    color: var(--brand);
}

/* ---------- 大屏微调 ---------- */
@media (min-width: 768px) {
    .page {
        padding-bottom: 44px;
    }

    .hero {
        margin-bottom: 24px;
        padding: 58px 30px 52px;
        border-radius: 0 0 32px 32px;
    }

    .hero-title {
        font-size: 29px;
    }

    .card {
        padding: 26px 24px;
    }

    .qr-box {
        width: 220px;
        height: 220px;
    }
}
