/* ================================================================
   leanvps 中文站 · Aurora Frost 页面层
   浅色磨砂玻璃、与 common.css 变量协同
   ================================================================ */

:root {
    --canvas-mesh: #eef1f8;
    --text-main: #12151f;
    --text-tertiary: #7a8194;
    --accent-primary: #3d52b5;
    --accent-secondary: #0f766e;
    --glass-stroke: rgba(255, 255, 255, 0.72);
    --glass-fill: rgba(255, 255, 255, 0.48);
    --base-bg: rgba(255, 255, 255, 0.38);
    --shadow-soft: 0 12px 40px rgba(15, 23, 42, 0.07);
    --shadow-premium: 0 24px 64px rgba(15, 23, 42, 0.1);
    --accent-glow: rgba(61, 82, 181, 0.18);
}

/* 氛围光晕 — 与 body 渐变叠加 */
.ambient-glow {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 15% 10%, rgba(180, 200, 255, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 70% 45% at 85% 75%, rgba(170, 230, 220, 0.22) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(220, 210, 250, 0.2) 0%, transparent 45%);
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 36px; }

/* 磨砂玻璃面板 */
.glass-panel,
.luminous-glass {
    background: var(--glass-fill);
    backdrop-filter: blur(36px) saturate(1.55);
    -webkit-backdrop-filter: blur(36px) saturate(1.55);
    border: 1px solid var(--glass-stroke);
    box-shadow: var(--shadow-soft), 0 1px 0 rgba(255, 255, 255, 0.65) inset;
    border-radius: 28px;
}

.luminous-glass.featured {
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-premium), 0 1px 0 rgba(255, 255, 255, 0.85) inset;
    border-color: rgba(255, 255, 255, 0.88);
}

/* 标题层级 */
.super-title {
    font-size: clamp(44px, 5.5vw, 76px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.06;
    color: var(--text-main);
    font-feature-settings: "ss01" on;
}

.sub-title {
    font-size: clamp(18px, 2.2vw, 22px);
    color: var(--text-tertiary);
    font-weight: 400;
    line-height: 1.55;
    max-width: 560px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 20px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(61, 82, 181, 0.08);
    border: 1px solid rgba(61, 82, 181, 0.14);
}

.eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    box-shadow: 0 0 12px rgba(61, 82, 181, 0.35);
}

/* 按钮 */
.apple-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 30px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.apple-btn-primary {
    background: linear-gradient(135deg, #3d52b5 0%, #5a6fd4 100%);
    color: #fff;
    box-shadow: 0 6px 24px rgba(61, 82, 181, 0.28);
}
.apple-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(61, 82, 181, 0.35);
}

.apple-btn-link {
    color: var(--accent-primary);
    font-weight: 600;
    padding: 14px 8px;
}
.apple-btn-link:hover {
    opacity: 0.85;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.btn-m4 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
}
.btn-m4-primary {
    background: linear-gradient(135deg, #3d52b5 0%, #5a6fd4 100%);
    color: #fff;
    box-shadow: 0 6px 22px rgba(61, 82, 181, 0.26);
}
.btn-m4-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(61, 82, 181, 0.34);
}
.btn-m4-secondary {
    background: rgba(255, 255, 255, 0.65);
    color: var(--text-main);
    border: 1px solid var(--glass-stroke);
    backdrop-filter: blur(12px);
}
.btn-m4-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(61, 82, 181, 0.22);
}
.btn-m4:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* 首页特性区 */
.feature-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 88px 0;
}
.feature-card {
    padding: 44px 28px;
    text-align: center;
}
.feature-icon {
    font-size: 28px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 22px;
}
.feature-card h3 {
    font-size: 20px;
    font-weight: 650;
    margin-bottom: 14px;
    color: var(--text-main);
}
.feature-card p {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.65;
}

/* 规格条 */
.spec-box {
    padding: 48px 40px;
    margin: 40px 0;
}
.spec-box .spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(18, 21, 31, 0.06);
}
.spec-box .spec-item:last-child {
    border-bottom: none;
}
.spec-label {
    font-weight: 600;
    color: var(--text-tertiary);
    font-size: 13px;
}
.spec-value {
    font-family: ui-monospace, "SF Mono", monospace;
    font-weight: 600;
    color: var(--text-main);
    font-size: 14px;
}

/* 滚动显现 */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.85s cubic-bezier(0.2, 1, 0.2, 1), transform 0.85s cubic-bezier(0.2, 1, 0.2, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-m4 {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.2, 1, 0.2, 1), transform 0.75s cubic-bezier(0.2, 1, 0.2, 1);
}
.reveal-m4.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .feature-row {
        grid-template-columns: 1fr;
        margin: 56px 0;
    }
    .container {
        padding: 0 22px;
    }
}
