/* ================================================================
   vuzcloud 中文站 · 橙红品牌页面层
   主色 #FF4F00 · 辅色 #F5B800 · 留白 #FFFFFF
   ================================================================ */

:root {
    --canvas-mesh: #F7F8FB;
    --text-main: #0B1220;
    --text-tertiary: #8A93A8;
    --accent-primary: #FF4F00;
    --accent-gold: #F5B800;
    --accent-gold-dark: #C9950A;
    --accent-gold-light: #FEF3C7;
    --accent-secondary: #0B1E47;
    --glass-stroke: rgba(255, 79, 0, 0.12);
    --glass-fill: #FFFFFF;
    --base-bg: #FFFFFF;
    --shadow-soft: 0 4px 20px rgba(11, 18, 32, 0.06);
    --shadow-premium: 0 12px 48px rgba(11, 18, 32, 0.1);
    --accent-glow: rgba(255, 79, 0, 0.14);
}

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

/* 卡片 */
.glass-panel,
.luminous-glass {
    background: #FFFFFF;
    border: 1.5px solid rgba(255, 79, 0, 0.1);
    box-shadow: var(--shadow-soft);
    border-radius: 20px;
}

.luminous-glass.featured {
    background: #FFFFFF;
    box-shadow: var(--shadow-premium), 0 0 0 2px rgba(255, 79, 0, 0.12);
    border-color: rgba(255, 79, 0, 0.2);
}

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

.sub-title {
    font-size: clamp(17px, 2vw, 21px);
    color: var(--text-tertiary);
    font-weight: 400;
    line-height: 1.6;
    max-width: 560px;
}

/* 小标签 eyebrow */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #FF4F00;
    margin-bottom: 20px;
    padding: 5px 12px;
    border-radius: 100px;
    background: rgba(255, 79, 0, 0.07);
    border: 1px solid rgba(255, 79, 0, 0.18);
}

.eyebrow::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #F5B800;
    flex-shrink: 0;
}

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

.apple-btn-primary {
    background: #F5B800;
    color: #0B1220;
    box-shadow: 0 4px 20px rgba(245, 184, 0, 0.35);
    font-weight: 700;
}
.apple-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(245, 184, 0, 0.45);
    background: #E8AC00;
}

.apple-btn-secondary {
    background: #FFFFFF;
    color: #0B1220;
    border: 1.5px solid rgba(11, 18, 32, 0.18);
    font-weight: 600;
}
.apple-btn-secondary:hover {
    background: #F7F8FB;
    border-color: #FF4F00;
    color: #FF4F00;
    transform: translateY(-1px);
}

.apple-btn-link {
    color: #FF4F00;
    font-weight: 600;
    padding: 14px 0;
}
.apple-btn-link:hover {
    opacity: 0.8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* jiage.html 按钮 */
.btn-m4 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-m4-primary {
    background: #FF4F00;
    color: #fff;
    box-shadow: 0 4px 18px rgba(255, 79, 0, 0.3);
}
.btn-m4-primary:hover:not(:disabled) {
    background: #0F3BAA;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 79, 0, 0.38);
}
.btn-m4-secondary {
    background: #FFFFFF;
    color: var(--text-main);
    border: 1.5px solid rgba(11, 18, 32, 0.16);
}
.btn-m4-secondary:hover:not(:disabled) {
    background: #F7F8FB;
    border-color: #FF4F00;
    color: #FF4F00;
}
.btn-m4:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* 滚动显现 */
.fade-up {
    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);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* 规格条 */
.spec-box {
    padding: 40px 36px;
    margin: 36px 0;
}
.spec-box .spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(11, 18, 32, 0.07);
}
.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;
}

@media (max-width: 1024px) {
    .container { padding: 0 22px; }
}

/* ── 隐藏导航栏波浪动画 ── */
.pm-header-wave-wrapper {
    display: none !important;
}

/* ================================================================
   全站弹窗 · 与 Cobalt & Gold 正文区一致（登录 / 支付 / 法务 / 关于）
   ================================================================ */

/* ── 登录卡片：圆角与层次（内联样式为直角时由 common.css + 此处补强）── */
#loginModal #lm-card {
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow:
        0 24px 64px rgba(11, 18, 32, 0.14),
        0 0 0 1px rgba(255, 79, 0, 0.06) !important;
}
#loginModal #lm-card::before {
    height: 3px !important;
    border-radius: 20px 20px 0 0 !important;
}
#loginModal .lm-close-btn {
    border-radius: 10px !important;
}

/* ── 支付结果弹窗 ── */
#paymentResultModal #pr-card {
    border-radius: 22px !important;
}
#paymentResultModal #pr-card::before {
    border-radius: 22px 22px 0 0 !important;
}

/* ── 服务条款 / 隐私政策：由深色壳改为浅色阅读稿（与帮助页、登录弹窗一致）── */
#termsModal #tm-overlay,
#privacyModal #prv-overlay {
    background: rgba(11, 18, 32, 0.48) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

#termsModal #tm-card,
#privacyModal #prv-card {
    background: #ffffff !important;
    border: 1px solid rgba(11, 18, 32, 0.1) !important;
    box-shadow:
        0 24px 64px rgba(11, 18, 32, 0.14),
        0 0 0 1px rgba(255, 79, 0, 0.06) !important;
}

#termsModal #tm-card::before,
#privacyModal #prv-card::before {
    height: 3px !important;
    background: linear-gradient(90deg, transparent, #ff8a4d 28%, #ff4f00 52%, #cc3f00 78%, transparent) !important;
}

#termsModal #tm-card::after,
#privacyModal #prv-card::after {
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 79, 0, 0.07) 0%, transparent 72%) !important;
}

#termsModal .tm-header,
#privacyModal .prv-header {
    background: #f7f8fb !important;
    border-bottom: 1px solid rgba(11, 18, 32, 0.08) !important;
}

#termsModal .tm-header-icon,
#privacyModal .prv-header-icon {
    background: rgba(255, 79, 0, 0.08) !important;
    border: 1px solid rgba(255, 79, 0, 0.18) !important;
    color: #ff4f00 !important;
}

#termsModal .tm-title,
#privacyModal .prv-title {
    color: #0b1220 !important;
}

#termsModal .tm-subtitle,
#privacyModal .prv-subtitle {
    color: #8a93a8 !important;
}

#termsModal .tm-close,
#privacyModal .prv-close {
    background: #ffffff !important;
    border: 1px solid rgba(11, 18, 32, 0.1) !important;
    color: #8a93a8 !important;
    transform: none !important;
}

#termsModal .tm-close:hover,
#privacyModal .prv-close:hover {
    background: rgba(255, 79, 0, 0.08) !important;
    border-color: rgba(255, 79, 0, 0.28) !important;
    color: #ff4f00 !important;
    transform: rotate(90deg) !important;
}

#termsModal .tm-body,
#privacyModal .prv-body {
    background: #ffffff !important;
    color: #4a5568 !important;
}

#termsModal .tm-body::-webkit-scrollbar-thumb,
#privacyModal .prv-body::-webkit-scrollbar-thumb {
    background: rgba(255, 79, 0, 0.28) !important;
}

#termsModal .tm-section-title,
#privacyModal .prv-section-title {
    color: #0b1220 !important;
    border-bottom-color: rgba(11, 18, 32, 0.08) !important;
}

#termsModal .tm-icon,
#privacyModal .prv-icon {
    background: rgba(255, 79, 0, 0.08) !important;
    border: 1px solid rgba(255, 79, 0, 0.15) !important;
    color: #ff4f00 !important;
}

#termsModal .tm-sub-title,
#privacyModal .prv-sub-title {
    color: #0b1220 !important;
}

#termsModal .tm-text,
#privacyModal .prv-text {
    color: #4a5568 !important;
}

#termsModal .tm-text strong,
#privacyModal .prv-text strong {
    color: #0b1220 !important;
}

#termsModal .tm-ul li,
#privacyModal .prv-ul li {
    color: #4a5568 !important;
}

#termsModal .tm-ul li::before,
#privacyModal .prv-ul li::before {
    background: linear-gradient(135deg, #ff9a5a, #ff4f00) !important;
    box-shadow: 0 0 0 1px rgba(255, 79, 0, 0.22) !important;
}

#termsModal .tm-footer,
#privacyModal .prv-footer {
    background: #f7f8fb !important;
    border-top: 1px solid rgba(11, 18, 32, 0.08) !important;
}

#termsModal .tm-btn,
#privacyModal .prv-btn {
    background: linear-gradient(90deg, #ff7a3d 0%, #ff4f00 45%, #e03d00 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(255, 79, 0, 0.35) !important;
}

#termsModal .tm-btn:hover,
#privacyModal .prv-btn:hover {
    box-shadow: 0 8px 28px rgba(255, 79, 0, 0.45) !important;
    filter: brightness(1.03) !important;
}

/* ── 关于我们 / 联系我们（createInfoModal）── */
#aboutModal .lm-modal-surface,
#contactModal .lm-modal-surface {
    border: 1px solid rgba(11, 18, 32, 0.1) !important;
    border-radius: 22px !important;
    box-shadow:
        0 24px 64px rgba(11, 18, 32, 0.14),
        0 0 0 1px rgba(255, 79, 0, 0.05) !important;
}

#aboutModal .lm-modal-surface > div:first-child,
#contactModal .lm-modal-surface > div:first-child {
    background: linear-gradient(90deg, transparent, #ff8a4d 28%, #ff4f00 52%, #cc3f00 78%, transparent) !important;
}

#aboutModal h3 i.fa-solid:not(.fa-check-circle),
#contactModal i.fa-solid:not(.fa-check-circle) {
    color: #ff4f00 !important;
}

#aboutModal i.fa-check-circle.text-green-500,
#contactModal i.fa-check-circle.text-green-500 {
    color: #16a34a !important;
}

#aboutModal a[style*='FF4F00'],
#aboutModal a[style*='ff4f00'],
#contactModal a[style*='FF4F00'],
#contactModal a[style*='ff4f00'] {
    color: #ff4f00 !important;
}

#aboutModal [style*='255,79,0'],
#contactModal [style*='255,79,0'] {
    background: rgba(255, 79, 0, 0.06) !important;
    border-color: rgba(255, 79, 0, 0.14) !important;
}

#aboutModal .lm-modal-surface button.w-full.text-white,
#contactModal .lm-modal-surface button.w-full.text-white {
    background: #ff4f00 !important;
    box-shadow: 0 4px 16px rgba(255, 79, 0, 0.28) !important;
}

/* 小屏：法务与支付贴近底部安全区，更易拇指操作 */
@media (max-width: 640px) {
    #termsModal #tm-wrap,
    #privacyModal #prv-wrap {
        align-items: flex-end;
        padding: 0 0 env(safe-area-inset-bottom) !important;
    }

    #termsModal #tm-card,
    #privacyModal #prv-card {
        max-height: min(92vh, 720px) !important;
        border-radius: 22px 22px 0 0 !important;
    }

    #paymentResultModal #pr-wrap {
        align-items: flex-end;
        padding: 12px 12px calc(12px + env(safe-area-inset-bottom)) !important;
    }

    #paymentResultModal #pr-card {
        border-radius: 22px 22px 0 0 !important;
    }
}
