/* 美益快保 · 全国联保服务中心 首页样式 2026-08 · 国际感 / 立体 / 动态 */
:root {
    --brand-dark: #1a2744;
    --brand-blue: #243656;
    --brand-blue-2: #2c4a7a;
    --brand-gold: #e8931f;
    --brand-gold-hover: #d17a0f;
    --brand-gold-soft: #f5a83a;
    --text: #1f2937;
    --text-light: #5d6b82;
    --bg-light: #f5f7fb;
    --bg-dark: #141f35;
    --white: #ffffff;
    --radius: 16px;
    --radius-lg: 24px;
    /* 多层阴影：立体感核心 */
    --shadow-sm: 0 2px 10px -4px rgba(15, 23, 40, 0.10);
    --shadow: 0 14px 38px -16px rgba(26, 39, 68, 0.22);
    --shadow-lg: 0 30px 70px -28px rgba(26, 39, 68, 0.34);
    --shadow-gold: 0 14px 34px -12px rgba(232, 147, 31, 0.42);
    --max-width: 1200px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    line-height: 1.75;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ 顶部导航（深蓝玻璃 + 滚动增强） ============ */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 39, 68, 0.55);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    height: 80px;
    transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}

.topbar.scrolled {
    background: rgba(18, 28, 50, 0.86);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
    height: 70px;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 58px;
    width: auto;
    display: block;
    transition: height 0.4s var(--ease);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.topbar.scrolled .brand-logo {
    height: 50px;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-gold-soft), var(--brand-gold));
    color: var(--brand-dark);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: var(--shadow-gold);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -12px rgba(232, 147, 31, 0.6);
    filter: brightness(1.05);
}

.login-btn .icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ============ Hero ============ */
.hero {
    position: relative;
    min-height: 94vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 90px;
    overflow: hidden;
    background: radial-gradient(120% 120% at 50% 0%, #243656 0%, #1a2744 45%, #0f1728 100%);
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 31, 53, 0.35), rgba(15, 23, 40, 0.55));
    z-index: 1;
}

.hero-bg {
    position: absolute;
    left: 0;
    top: -12%;
    width: 100%;
    height: 124%;
    z-index: 0;
    background-image: url('/assets/img/banner_bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.62;
    will-change: transform;
}

/* 玻璃面板：立体感 */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 50px 46px;
    border-radius: var(--radius-lg);
    background: rgba(13, 20, 38, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 40px 90px -36px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
}

.hero-badge {
    display: inline-block;
    padding: 7px 18px;
    border: 1px solid rgba(232, 147, 31, 0.55);
    border-radius: 999px;
    color: var(--brand-gold-soft);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 26px;
    background: rgba(232, 147, 31, 0.08);
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(34px, 6vw, 58px);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.hero-sub {
    font-size: clamp(18px, 2.5vw, 25px);
    color: var(--brand-gold-soft);
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    margin: 0 auto 38px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮：渐变 + 立体阴影 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-gold-soft), var(--brand-gold));
    color: var(--brand-dark);
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 48px -14px rgba(232, 147, 31, 0.65);
    filter: brightness(1.04);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 17px 44px;
    font-size: 16px;
}

/* ============ Section 通用 ============ */
.section {
    padding: 104px 0;
    position: relative;
}

.section-light {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}

.section-dark {
    background: var(--bg-dark);
    color: var(--white);
}

.section-gradient {
    background: linear-gradient(135deg, var(--brand-blue-2), var(--brand-dark) 70%);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 64px;
}

.section-header.light h2,
.section-header.light .section-lead {
    color: var(--white);
}

.section-tag {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 999px;
    background: rgba(232, 147, 31, 0.12);
    color: var(--brand-gold-hover);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 1.5px;
    text-transform: none;
}

.section-dark .section-tag,
.section-gradient .section-tag {
    background: rgba(232, 147, 31, 0.22);
    color: var(--brand-gold-soft);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(27px, 4.2vw, 38px);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--brand-dark);
    letter-spacing: 0.3px;
}

.section-lead {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.85;
}

/* ============ Value Grid ============ */
.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.value-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    padding: 38px 28px;
    text-align: center;
    border: 1px solid rgba(26, 39, 68, 0.07);
    box-shadow: var(--shadow);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
    overflow: hidden;
}

.value-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-gold-soft), var(--brand-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(232, 147, 31, 0.18);
    border-color: rgba(232, 147, 31, 0.25);
}

.value-card:hover::after {
    transform: scaleX(1);
}

.value-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px -10px rgba(26, 39, 68, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.value-icon svg {
    width: 34px;
    height: 34px;
    fill: var(--white);
}

.value-icon-blue {
    background: linear-gradient(135deg, var(--brand-blue-2), var(--brand-dark));
}

.value-icon-gold {
    background: linear-gradient(135deg, var(--brand-gold-soft), var(--brand-gold-hover));
    box-shadow: 0 12px 26px -10px rgba(232, 147, 31, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.value-icon-gold svg {
    fill: var(--brand-dark);
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--brand-dark);
}

.value-card p {
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.75;
}

/* ============ Feature Row ============ */
.feature-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.feature-item {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius);
    padding: 38px 26px;
    transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 50% -10%, rgba(232, 147, 31, 0.16), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.feature-item:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(232, 147, 31, 0.35);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-num {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    color: var(--brand-gold-soft);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.feature-item h3 {
    font-family: var(--font-display);
    font-size: 19px;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-item p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    position: relative;
}

/* ============ Warranty Grid ============ */
.warranty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.warranty-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 38px 30px;
    box-shadow: var(--shadow);
    border-top: 4px solid transparent;
    background-image: linear-gradient(var(--white), var(--white)), linear-gradient(135deg, var(--brand-gold-soft), var(--brand-gold-hover));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.warranty-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.warranty-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 16px;
}

.warranty-title svg {
    width: 26px;
    height: 26px;
    fill: var(--brand-gold);
    flex-shrink: 0;
}

.warranty-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ============ Digital List ============ */
.digital-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.digital-item {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 30px;
    transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.digital-item:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(232, 147, 31, 0.35);
}

.digital-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand-gold-soft), var(--brand-gold-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px -10px rgba(232, 147, 31, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.digital-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--brand-dark);
}

.digital-body h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.digital-body p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
}

/* ============ Standard Grid ============ */
.standard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.standard-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 34px 30px;
    border: 1px solid rgba(26, 39, 68, 0.07);
    box-shadow: var(--shadow);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.standard-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.standard-card h3 {
    font-family: var(--font-display);
    font-size: 19px;
    color: var(--brand-dark);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--brand-gold);
    display: inline-block;
    font-weight: 700;
}

.standard-card ul {
    list-style: none;
}

.standard-card li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 13px;
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

.standard-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-gold-soft), var(--brand-gold));
    box-shadow: 0 2px 6px rgba(232, 147, 31, 0.5);
}

/* ============ Two Col ============ */
.two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.two-col-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius);
    padding: 38px;
    overflow: hidden;
    transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.two-col-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(232, 147, 31, 0.3);
}

.two-col-head {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--brand-gold-soft);
}

.two-col-head svg {
    width: 30px;
    height: 30px;
    fill: var(--brand-gold-soft);
    flex-shrink: 0;
}

.two-col-card ul {
    list-style: none;
}

.two-col-card li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 15px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
}

.two-col-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-gold-soft);
    font-weight: 800;
}

/* ============ Brand Statement ============ */
.section-brand {
    background: radial-gradient(120% 120% at 50% 0%, #243656 0%, #1a2744 50%, #0f1728 100%);
    color: var(--white);
    text-align: center;
    padding: 116px 0;
    position: relative;
    overflow: hidden;
}

.section-brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 50% at 50% 120%, rgba(232, 147, 31, 0.18), transparent 70%);
}

.brand-statement {
    position: relative;
    max-width: 840px;
}

.brand-statement h2 {
    font-family: var(--font-display);
    font-size: clamp(27px, 4.2vw, 38px);
    font-weight: 800;
    margin-bottom: 26px;
    color: var(--white);
}

.brand-quote {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.95;
    margin-bottom: 24px;
    font-weight: 500;
}

.brand-statement p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.85;
    margin-bottom: 38px;
}

.brand-statement strong {
    color: var(--brand-gold-soft);
    font-weight: 700;
}

/* ============ Footer ============ */
.site-footer {
    background: #0c1424;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}

.footer-small {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

/* ============ 动态：滚动揭示（仅 JS 开启时隐藏，避免无 JS 空白） ============ */
html.js .reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

html.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

html.js .reveal-stagger > * {
    opacity: 0;
    transition: opacity 0.7s var(--ease);
}

html.js .reveal-stagger.is-visible {
    opacity: 1;
    transform: none;
}

html.js .reveal-stagger.is-visible > * {
    opacity: 1;
}

html.js .reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.04s; }
html.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
html.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.20s; }
html.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.28s; }
html.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.36s; }
html.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.44s; }

/* Hero 载入动画 */
@keyframes heroRise {
    from { opacity: 0; transform: translateY(34px); }
    to { opacity: 1; transform: translateY(0); }
}

html.js .hero-content > * {
    opacity: 0;
    animation: heroRise 0.95s var(--ease) forwards;
}

html.js .hero-content > *:nth-child(1) { animation-delay: 0.15s; }
html.js .hero-content > *:nth-child(2) { animation-delay: 0.28s; }
html.js .hero-content > *:nth-child(3) { animation-delay: 0.41s; }
html.js .hero-content > *:nth-child(4) { animation-delay: 0.54s; }
html.js .hero-content > *:nth-child(5) { animation-delay: 0.67s; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
    .value-grid,
    .feature-row,
    .warranty-grid,
    .digital-list,
    .standard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .topbar {
        height: 64px;
    }

    .topbar.scrolled {
        height: 58px;
    }

    .brand-logo {
        height: 44px;
    }

    .topbar.scrolled .brand-logo {
        height: 40px;
    }

    .login-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero {
        min-height: auto;
        padding: 104px 20px 64px;
    }

    .hero-content {
        padding: 36px 24px;
        border-radius: 20px;
    }

    .section {
        padding: 72px 0;
    }

    .value-grid,
    .feature-row,
    .warranty-grid,
    .digital-list,
    .standard-grid,
    .two-col {
        grid-template-columns: 1fr;
    }

    .digital-item {
        flex-direction: column;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* 无障碍：尊重减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
    html.js .reveal,
    html.js .reveal-stagger > *,
    html.js .hero-content > * {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
    html { scroll-behavior: auto; }
}
