:root {
    --primary: #4f46e5;
    --primary-600: #4338ca;
    --primary-700: #3730a3;
    --violet: #7c3aed;
    --cyan: #06b6d4;
    --text: #0b1220;
    --text-secondary: #5b6577;
    --text-hint: #98a2b3;
    --border: #e8ecf2;
    --bg: #fbfcfe;
    --bg-soft: #f4f7fb;
    --surface: #ffffff;
    --radius: 14px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.06);
    --shadow-md: 0 14px 38px rgba(16,24,40,.09);
    --shadow-lg: 0 30px 70px rgba(16,24,40,.14);
    --gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

a { color: inherit; }

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 顶部导航 ===== */
.home-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.7);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(232,236,242,0.6);
}

.home-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }

.brand-mark {
    width: 36px; height: 36px;
    border-radius: 11px;
    background: var(--gradient);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(79,70,229,0.32);
    flex-shrink: 0;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-mark--sm { width: 30px; height: 30px; border-radius: 9px; }
.brand-mark--sm svg { width: 18px; height: 18px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 16px; color: var(--text); letter-spacing: .2px; }
.brand-tag { font-size: 10px; color: var(--text-hint); letter-spacing: 1.5px; font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.header-notice {
    position: relative;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary);
    border-radius: 11px;
    background: rgba(255,255,255,0.6);
    border: 1px solid var(--border);
    transition: all .25s var(--ease);
    text-decoration: none;
}
.header-notice:hover { color: var(--primary); border-color: rgba(79,70,229,.35); background: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.header-notice svg { width: 20px; height: 20px; }
.notice-dot { position: absolute; top: 9px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 2px #fff; }

.header-cta {
    padding: 9px 20px;
    background: var(--gradient);
    color: #fff; text-decoration: none;
    font-size: 13px; font-weight: 700;
    border-radius: 11px;
    box-shadow: 0 6px 16px rgba(79,70,229,0.3);
    transition: all .25s var(--ease);
}
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(79,70,229,0.4); }

/* ===== Hero ===== */
.hero-section {
    position: relative;
    padding: 92px 0 0;
    background: radial-gradient(120% 130% at 50% -10%, #eceeff 0%, var(--bg) 60%);
    overflow: hidden;
}

.hero-aurora { position: absolute; inset: 0; pointer-events: none; }
.aurora { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.aurora-1 { width: 560px; height: 560px; top: -220px; left: 50%; transform: translateX(-60%); background: radial-gradient(circle, rgba(79,70,229,.5), transparent 70%); animation: drift1 16s ease-in-out infinite; }
.aurora-2 { width: 480px; height: 480px; top: -120px; right: -80px; background: radial-gradient(circle, rgba(6,182,212,.32), transparent 70%); animation: drift2 20s ease-in-out infinite; }
.aurora-3 { width: 420px; height: 420px; top: -40px; left: -120px; background: radial-gradient(circle, rgba(124,58,237,.34), transparent 70%); animation: drift3 18s ease-in-out infinite; }

@keyframes drift1 { 0%,100% { transform: translate(-60%,0); } 50% { transform: translate(-50%,30px); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px,40px); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,20px); } }

.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(15,23,42,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,23,42,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(70% 55% at 50% 25%, #000 25%, transparent 75%);
    mask-image: radial-gradient(70% 55% at 50% 25%, #000 25%, transparent 75%);
}

.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; padding-bottom: 64px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(79,70,229,.18);
    border-radius: 999px;
    font-size: 13px; font-weight: 600; color: var(--primary-700);
    box-shadow: var(--shadow-sm);
    margin-bottom: 26px;
}
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(79,70,229,.18); }

.hero-title {
    font-size: 58px; font-weight: 800; line-height: 1.12; letter-spacing: -1.5px;
    margin-bottom: 20px; color: var(--text);
}
.hero-title .accent {
    display: block;
    background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-desc {
    font-size: 18px; color: var(--text-secondary); line-height: 1.85;
    max-width: 560px; margin: 0 auto 36px;
}

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

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; font-size: 15px; font-weight: 700; border-radius: 12px;
    text-decoration: none; transition: all .25s var(--ease);
    cursor: pointer; border: none; font-family: inherit; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 10px 26px rgba(79,70,229,0.34); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(79,70,229,0.42); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { background: #fff; color: var(--text-secondary); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* 数据信任带 */
.trust-band {
    position: relative; z-index: 2;
    margin-top: 8px;
    padding: 0 0 88px;
}
.trust-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.trust-item {
    text-align: center;
    padding: 34px 20px;
    position: relative;
}
.trust-item + .trust-item::before {
    content: '';
    position: absolute; left: 0; top: 22px; bottom: 22px;
    width: 1px; background: var(--border);
}
.trust-num {
    font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -1px;
    background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    display: flex; align-items: baseline; justify-content: center; gap: 2px;
}
.trust-unit { font-size: 22px; }
.trust-label { font-size: 13px; color: var(--text-hint); margin-top: 10px; font-weight: 500; }

/* ===== 通知滚动栏 ===== */
.notice-scroll-section { padding: 0 0 8px; position: relative; z-index: 3; margin-top: -44px; }

.notice-scroll-wrapper {
    display: flex; align-items: center; gap: 14px;
    background: var(--surface);
    border-radius: 999px;
    padding: 10px 18px 10px 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.notice-scroll-label {
    flex-shrink: 0;
    font-size: 12px; font-weight: 700; color: #fff;
    background: var(--gradient);
    padding: 6px 14px; border-radius: 999px;
    letter-spacing: .5px;
}

.notice-scroll-container { flex: 1; overflow: hidden; position: relative; height: 22px; }
.notice-scroll-track {
    display: flex; gap: 52px; white-space: nowrap;
    animation: scrollNotice 32s linear infinite;
    position: absolute; left: 0; top: 0;
}
.notice-scroll-track:hover { animation-play-state: paused; }
@keyframes scrollNotice { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.notice-scroll-item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-secondary); cursor: pointer; transition: color .2s; }
.notice-scroll-item:hover { color: var(--primary); }
.notice-scroll-item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.notice-scroll-item.type-important::before { background: #ef4444; }
.notice-scroll-item.type-update::before { background: var(--violet); }
.scroll-top-icon { font-size: 13px; flex-shrink: 0; }

.notice-scroll-more { font-size: 13px; color: var(--primary); text-decoration: none; font-weight: 700; flex-shrink: 0; transition: opacity .2s; }
.notice-scroll-more:hover { opacity: .75; }

/* ===== 通用区块 ===== */
.section-head { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.section-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--primary); text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: 32px; font-weight: 800; text-align: center; margin-bottom: 10px; letter-spacing: -0.5px; color: var(--text); }
.section-sub { font-size: 15px; color: var(--text-secondary); text-align: center; }

/* ===== 流程：连接式时间轴 ===== */
.flow-section { padding: 96px 0; background: var(--surface); }

.flow-stepper {
    position: relative;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.flow-line {
    position: absolute;
    top: 30px; left: 12.5%; right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--violet));
    opacity: .35;
    z-index: 0;
}
.flow-node { position: relative; z-index: 1; text-align: center; }
.flow-dot {
    width: 60px; height: 60px; margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid transparent;
    background-image: linear-gradient(var(--surface), var(--surface)), var(--gradient);
    background-origin: border-box; background-clip: content-box, border-box;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 800; color: var(--primary-700);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.flow-node:hover .flow-dot { transform: translateY(-4px) scale(1.05); box-shadow: 0 14px 30px rgba(79,70,229,.28); }
.flow-node h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.flow-node p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ===== 优势：编号编辑卡 ===== */
.feature-section { padding: 96px 0; background: var(--bg-soft); }
.feature-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.feature-card {
    position: relative;
    background: var(--surface);
    padding: 36px 30px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all .3s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.feature-index {
    position: absolute;
    top: 18px; right: 26px;
    font-size: 56px; font-weight: 800; line-height: 1;
    color: var(--primary);
    opacity: .07;
    font-feature-settings: "tnum";
    transition: opacity .3s var(--ease);
}
.feature-card:hover .feature-index { opacity: .14; }

.feature-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    transition: transform .3s var(--ease);
}
.feature-card:hover .feature-icon { transform: scale(1.06) rotate(-3deg); }
.feature-icon svg { width: 27px; height: 27px; }
.feature-icon-blue { background: #eef0fe; color: var(--primary); }
.feature-icon-green { background: #dcfce7; color: #16a34a; }
.feature-icon-purple { background: #ede9fe; color: var(--violet); }

.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* ===== 已备案成功域名展示 ===== */
.approved-section { padding: 96px 0; background: var(--surface); }

.approved-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.approved-card {
    position: relative;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 22px 20px;
    overflow: hidden;
    transition: all .3s var(--ease);
}
.approved-card::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.approved-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.approved-card:hover::before { opacity: 1; }

.approved-card-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px;
}
.approved-badge {
    width: 30px; height: 30px; border-radius: 9px;
    background: #dcfce7; color: #16a34a;
    display: flex; align-items: center; justify-content: center;
}
.approved-badge svg { width: 18px; height: 18px; }
.approved-type {
    font-size: 12px; font-weight: 600; color: var(--text-hint);
    background: #fff; border: 1px solid var(--border);
    padding: 3px 10px; border-radius: 999px;
}
.approved-domain {
    font-size: 16px; font-weight: 800; color: var(--text);
    letter-spacing: -.3px; line-height: 1.35;
    word-break: break-all;
    margin-bottom: 10px;
}
.approved-beian {
    display: inline-block;
    font-size: 12px; font-weight: 700; color: var(--primary-700);
    background: rgba(79,70,229,.08);
    border: 1px solid rgba(79,70,229,.16);
    padding: 3px 10px; border-radius: 8px;
    margin-bottom: 12px;
    word-break: break-all;
}
.approved-entity {
    font-size: 12.5px; color: var(--text-secondary); line-height: 1.5;
}

.approved-total {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 14px; font-weight: 600; color: var(--text-secondary);
    margin-top: 8px;
}

.approved-skeleton, .approved-empty {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 14px; color: var(--text-hint);
    padding: 48px 0;
    background: var(--bg-soft);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
}

/* ===== CTA ===== */
.cta-section { padding: 96px 0; background: var(--surface); }
.cta-card {
    position: relative; overflow: hidden;
    background: var(--gradient);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    color: #fff; box-shadow: var(--shadow-lg);
}
.cta-glow {
    position: absolute; width: 380px; height: 380px;
    right: -110px; top: -170px;
    background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: 28px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.3px; }
.cta-content p { font-size: 15px; opacity: .92; }
.btn-white {
    position: relative; z-index: 1;
    background: #fff; color: var(--primary-700);
    padding: 14px 32px; font-weight: 700;
    box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.btn-white:hover { background: #f4f5ff; transform: translateY(-2px); }

/* ===== 底部 ===== */
.home-footer { padding: 36px 0; background: var(--bg-soft); border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand-name { font-weight: 800; font-size: 15px; color: var(--text); }
.footer-meta { text-align: right; }
.footer-copy { font-size: 13px; color: var(--text-hint); margin-bottom: 4px; }
.footer-beian { font-size: 12px; }
.footer-beian a { color: var(--text-hint); text-decoration: none; transition: color .2s; }
.footer-beian a:hover { color: var(--primary); }

/* ===== 入场动画 ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.reveal-in { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 860px) {
    .hero-title { font-size: 44px; }
    .flow-stepper { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
    .flow-line { display: none; }
    .feature-bento { grid-template-columns: 1fr; gap: 16px; }
    .approved-grid { grid-template-columns: 1fr; gap: 12px; }
    .cta-card { flex-direction: column; text-align: center; padding: 40px 28px; gap: 22px; }
    .btn-white { width: 100%; }
}

@media (max-width: 768px) {
    .container { padding: 0 18px; }
    .home-header .container { height: 56px; }
    .brand-tag { display: none; }

    .hero-section { padding: 56px 0 0; }
    .hero-title { font-size: 34px; letter-spacing: -1px; }
    .hero-desc { font-size: 15px; margin-bottom: 28px; }
    .hero-actions { gap: 12px; }
    .hero-inner { padding-bottom: 44px; }

    .trust-band { padding-bottom: 60px; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-item { padding: 22px 20px; }
    .trust-item + .trust-item::before { left: 22px; right: 22px; top: 0; bottom: auto; width: auto; height: 1px; }
    .trust-num { font-size: 32px; }
    .trust-unit { font-size: 18px; }

    .notice-scroll-section { margin-top: -36px; }
    .notice-scroll-wrapper { padding: 8px 14px 8px 10px; gap: 10px; }
    .notice-scroll-label { padding: 5px 12px; font-size: 11px; }
    .notice-scroll-item { font-size: 13px; }
    .notice-scroll-more { font-size: 12px; }

    .section-head { margin-bottom: 38px; }
    .section-title { font-size: 23px; }
    .section-sub { font-size: 14px; }

    .flow-section, .feature-section, .cta-section { padding: 60px 0; }
    .flow-stepper { grid-template-columns: 1fr; gap: 24px; }
    .flow-dot { width: 54px; height: 54px; font-size: 20px; }
    .flow-node h3 { font-size: 15px; }
    .flow-node p { font-size: 13px; }

    .feature-card { padding: 28px 24px 26px; }
    .feature-index { font-size: 48px; }
    .feature-icon { width: 50px; height: 50px; }
    .feature-icon svg { width: 24px; height: 24px; }
    .feature-card h3 { font-size: 17px; }
    .feature-card p { font-size: 13px; }

    .cta-content h2 { font-size: 22px; }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
    .footer-meta { text-align: left; }
}

@media (max-width: 374px) {
    .hero-title { font-size: 29px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .cta-content h2 { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}
