/* ====== 全局基础 ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* 主色：紫色渐变（恢复原版配色） */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-darker: #4338ca;
    --primary-light: #818cf8;
    --primary-lighter: #a5b4fc;
    --accent: #ec4899;
    --accent-light: #f472b6;

    --text: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;

    --shadow-sm: 0 2px 10px rgba(99, 102, 241, 0.06);
    --shadow: 0 8px 30px rgba(99, 102, 241, 0.10);
    --shadow-lg: 0 20px 60px rgba(99, 102, 241, 0.15);

    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-hero: linear-gradient(180deg, #f8fafc 0%, #eef2ff 50%, #fdf2f8 100%);

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ====== 顶部导航 ====== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-sm); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }

.logo-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--gradient-primary);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 16px;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.nav-menu { display: flex; gap: 28px; align-items: center; }
.nav-menu a { color: var(--text-light); font-size: 15px; font-weight: 500; }
.nav-menu a:hover { color: var(--primary-dark); }

.btn-login {
    padding: 8px 18px;
    background: #fff;
    border: 1.5px solid var(--primary-light);
    border-radius: 100px;
    color: var(--primary-dark) !important;
    font-weight: 600;
    transition: var(--transition);
}
.btn-login:hover {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

/* ====== 焦点样式（键盘导航反馈） ====== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 8px;
}
.price-card:focus-within { box-shadow: 0 16px 44px rgba(99, 102, 241, 0.25); }
.btn-primary:focus-visible,
.btn-purchase:focus-visible,
.btn-login:focus-visible { outline: 2px solid #fff; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.5); }

.menu-toggle {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 8px;
}
.menu-toggle span {
    display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px;
    transition: var(--transition);
}

/* ====== Hero ====== */
.hero {
    position: relative; min-height: 100vh; padding: 140px 0 100px;
    background: var(--gradient-hero);
    overflow: hidden; display: flex; align-items: center;
}

.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 1; }

.gradient-blob {
    position: absolute; border-radius: 50%; filter: blur(90px);
    opacity: 0.5; animation: float 22s ease-in-out infinite;
}
.blob-1 {
    width: 450px; height: 450px;
    background: linear-gradient(135deg, #818cf8, #ec4899);
    top: -120px; left: -100px;
}
.blob-2 {
    width: 500px; height: 500px;
    background: linear-gradient(135deg, #f472b6, #8b5cf6);
    bottom: -150px; right: -120px; animation-delay: -8s;
}
.grid-lines {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.08); }
    66% { transform: translate(-40px, 50px) scale(0.95); }
}

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 950px; }

.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 100px;
    font-size: 14px; font-weight: 600; color: var(--primary-dark);
    margin-bottom: 28px;
}
.tag-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--primary);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 800; line-height: 1.1;
    margin-bottom: 20px; letter-spacing: -1px; color: var(--text);
}
.title-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text); font-weight: 600; margin-bottom: 12px;
}
.hero-desc { font-size: 16px; color: var(--text-light); margin-bottom: 28px; }

.hero-keywords { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.kw-chip {
    display: inline-flex; align-items: center;
    padding: 10px 18px; background: #fff;
    border: 1px solid var(--border); border-radius: 100px;
    color: var(--text); font-size: 14px; font-weight: 600;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.08);
    transition: var(--transition);
}
.kw-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-light);
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 16px 36px; font-size: 16px; font-weight: 700;
    border-radius: var(--radius); border: none; cursor: pointer;
    transition: var(--transition);
}
.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.35);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(99, 102, 241, 0.45); }
.btn-primary:active { transform: translateY(-1px) scale(0.98); box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4); }
.btn-outline { background: #fff; color: var(--text); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-3px); }
.btn-outline:active { transform: translateY(-1px) scale(0.98); }
.btn-large { padding: 20px 52px; font-size: 17px; }

/* Hero 对比表格 */
.hero-compare {
    display: flex; justify-content: center; margin-top: 32px;
}
.compare-table {
    width: 100%; max-width: 820px;
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: 0 14px 40px rgba(99, 102, 241, 0.15);
    overflow: hidden;
    border: 2px solid rgba(99, 102, 241, 0.08);
}
.compare-row {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    align-items: center;
    min-height: 58px;
    border-bottom: 1px solid #eef2ff;
}
.compare-row:hover { background: #f7f8ff; }
.compare-row-last { border-bottom: none; }
.compare-col {
    padding: 14px 22px;
    font-size: 14px; line-height: 1.5;
}
.compare-col-dim {
    color: var(--text-light); text-align: right;
    font-weight: 500;
    padding-right: 28px;
}
.compare-col-center {
    text-align: center;
    font-size: 13px; font-weight: 700;
    color: var(--primary);
    background: #f0f3ff;
    border-left: 1px solid #e6e9ff;
    border-right: 1px solid #e6e9ff;
    padding: 14px 8px;
    min-height: 58px;
    display: flex; align-items: center; justify-content: center;
}
.compare-col-highlight {
    color: var(--primary-dark);
    font-weight: 700;
    padding-left: 28px;
}

/* 表头 */
.compare-header {
    min-height: 60px;
}
.compare-header .compare-col {
    text-align: center;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    padding: 16px 22px;
    position: relative;
}
.compare-header .compare-col-dim {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
}
.compare-header .compare-col-center {
    background: linear-gradient(135deg, #fb923c 0%, #f59e0b 100%);
    color: #fff;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 14px;
    padding: 14px 8px;
}
.compare-header .compare-col-highlight {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 45%, #ec4899 100%);
}

/* hover效果 - 只对非表头行 */
.compare-row:not(.compare-header):hover .compare-col-center {
    background: #e0e7ff;
    color: var(--primary-dark);
    transition: background 0.25s ease;
}
.compare-row:not(.compare-header) {
    transition: background 0.25s ease;
}
.compare-row:not(.compare-header):hover {
    background: linear-gradient(90deg, #fef7f6 0%, #eef2ff 50%, #fdf2f8 100%);
}

.compare-icon {
    display: inline-block;
    width: 20px; height: 20px;
    line-height: 20px; text-align: center;
    border-radius: 50%;
    margin-right: 6px;
    font-weight: 800; font-size: 11px;
}
.compare-col-dim .compare-icon {
    background: #fecaca; color: #dc2626;
}
.compare-col-highlight .compare-icon {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #fff;
}

/* ====== 通用区块头部 ====== */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-tag {
    display: inline-block; font-size: 13px; font-weight: 700;
    letter-spacing: 2.5px; color: var(--primary); margin-bottom: 16px;
    text-transform: uppercase;
}
.section-title {
    font-size: clamp(28px, 4vw, 44px); font-weight: 800;
    margin-bottom: 16px; color: var(--text); letter-spacing: -0.5px; line-height: 1.2;
}
.accent-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-desc { font-size: 16px; color: var(--text-light); line-height: 1.8; }

/* ====== 7 种布局（横版交替） ====== */
.layouts { padding: 120px 0; background: var(--bg); }

.layout-list { display: flex; flex-direction: column; gap: 40px; }

.layout-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 24px;
    background: linear-gradient(135deg, #fafafa 0%, #fff 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
    position: relative;
}
.layout-row:hover {
    border-color: var(--primary-light);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.18);
    transform: translateY(-4px);
}

/* 偶数项（2、4、6）左右翻转 */
.layout-reverse { grid-template-columns: 1fr 1.1fr; }
.layout-reverse .layout-image { order: 2; }
.layout-reverse .layout-text { order: 1; }

/* 图片容器：16:9 */
.layout-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, #e0e7ff 0%, #fce7f3 100%);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.5s ease;
}
.layout-row:hover .layout-image {
    transform: scale(1.03);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}
.layout-image img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.layout-row:hover .layout-image img { transform: scale(1.08); }

/* 图片占位图（未替换图片时显示） */
.layout-image-placeholder {
    position: absolute; inset: 0;
    display: none;
    align-items: center; justify-content: center;
    background: linear-gradient(135deg, #818cf8 0%, #ec4899 100%);
    padding: 20px;
}
.placeholder-inner {
    text-align: center; color: rgba(255, 255, 255, 0.95);
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.placeholder-tag {
    display: block; font-size: 18px; font-weight: 800; margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.placeholder-desc { font-size: 13px; line-height: 1.8; opacity: 0.9; }

/* 文字区域 */
.layout-text { padding: 16px 8px; position: relative; }

.layout-num {
    display: inline-block;
    font-size: 56px; font-weight: 800; line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.layout-text h3 {
    font-size: 28px; font-weight: 700;
    color: var(--text); margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.layout-subtitle {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    color: var(--primary-dark);
    border-radius: 100px;
    font-size: 14px; font-weight: 700;
    margin-bottom: 16px;
}
.tag-hot {
    background: var(--gradient-primary);
    color: #fff;
}

.layout-desc {
    font-size: 16px; color: var(--text-light);
    line-height: 1.8; margin-bottom: 20px;
}

.num-hl {
    font-weight: 800;
    color: var(--primary-dark);
    padding: 0 2px;
}

.layout-bullets {
    display: flex; flex-direction: column; gap: 10px;
    padding-top: 8px;
    border-top: 1px dashed var(--border);
}
.layout-bullets li {
    font-size: 14.5px; color: var(--text); font-weight: 500;
    display: flex; align-items: center; gap: 10px;
}
.layout-bullets li::before {
    content: "";
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gradient-primary);
    flex-shrink: 0;
}

/* 布局7 推荐样式 */
.layout-featured {
    background: linear-gradient(135deg, #fff 0%, #eef2ff 50%, #fdf2f8 100%);
    border: 2px solid var(--primary-light);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}
.featured-ribbon {
    position: absolute; top: -14px; left: 32px;
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 100px;
    font-size: 13px; font-weight: 800; letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    z-index: 10;
}

/* ====== 开发初衷 ====== */
.why { padding: 120px 0; background: linear-gradient(180deg, #eef2ff 0%, #fdf2f8 100%); }
.why-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }

.why-title {
    font-size: clamp(28px, 3.5vw, 38px); font-weight: 800; line-height: 1.25;
    color: var(--text); margin-bottom: 24px; letter-spacing: -0.5px;
}
.why-quote {
    font-size: 18px; font-weight: 600; color: var(--text); line-height: 1.9;
    padding: 24px 28px; background: #fff;
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 36px; box-shadow: var(--shadow);
}
.why-quote em {
    font-style: normal; font-weight: 800; color: var(--primary-dark);
    background: linear-gradient(120deg, rgba(236, 72, 153, 0.12), rgba(99, 102, 241, 0.12));
    padding: 2px 8px; border-radius: 6px;
}

.why-pain h4 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 20px; }
.pain-card {
    display: flex; gap: 16px; padding: 20px;
    background: #fff; border-radius: var(--radius);
    margin-bottom: 14px; border: 1px solid rgba(129, 140, 248, 0.25);
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.pain-card:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.pain-num {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, #f87171, #ef4444);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 15px;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.25);
}
.pain-card h5 { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.pain-card p { font-size: 14.5px; color: var(--text-light); line-height: 1.8; }
.pain-card p strong { color: var(--primary-dark); font-weight: 700; }

/* 开发者宣言整排 CTA */
.why-cta {
    margin-top: 48px;
    padding: 44px 48px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.why-cta::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15), transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1), transparent 45%);
    pointer-events: none;
}
.why-cta-title {
    position: relative; z-index: 1;
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1.4;
    margin-bottom: 28px;
}
.why-cta-title .cta-product {
    font-weight: 900;
    font-size: 1.15em;
    margin-left: 6px;
    letter-spacing: -1px;
}
.why-cta-features {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    gap: 0;
    max-width: 780px;
    margin: 0 auto;
}
.why-cta-box {
    display: flex; align-items: center; gap: 14px;
    background: rgba(255, 255, 255, 0.96);
    padding: 18px 28px;
    border-radius: var(--radius);
    flex: 1;
    text-align: left;
    transition: transform 0.2s;
}
.why-cta-box:hover { transform: translateY(-2px); }
.why-cta-box-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700;
    flex-shrink: 0;
}
.why-cta-box-text {
    display: flex; flex-direction: column; gap: 4px;
    line-height: 1.4;
}
.why-cta-box-text strong {
    font-size: 16px; font-weight: 800;
    color: var(--text);
}
.why-cta-box-text span {
    font-size: 13.5px;
    color: var(--text-light);
    font-weight: 500;
}
.why-cta-divider {
    width: 2px; height: 48px;
    background: rgba(255, 255, 255, 0.35);
    margin: 0 2px;
    flex-shrink: 0;
}

.why-visual { position: relative; }
.story-card {
    background: #fff; border-radius: var(--radius-lg); padding: 40px 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.8);
}
.story-scene { text-align: center; padding: 20px 0; }
.story-scene.story-old .scene-time {
    color: var(--text-light); font-size: 44px;
}
.scene-label { font-size: 13px; font-weight: 700; color: var(--text-lighter); margin-bottom: 16px; letter-spacing: 2px; }
.story-new .scene-label { color: var(--primary-dark); }
.scene-time {
    font-size: 44px; font-weight: 800;
    line-height: 1.1;
    margin-bottom: 4px;
    letter-spacing: -1px;
}
.scene-time .time-num {
    font-size: 72px; font-weight: 900;
    line-height: 1;
    margin-right: 6px;
}
.story-old .scene-time .time-num {
    color: #94a3b8;
}
.story-new .scene-time .time-num {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.story-old .scene-time { color: #94a3b8; }
.scene-time-gradient {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 44px;
}
.scene-time-gradient .time-num {
    font-size: 72px; font-weight: 900;
}
.scene-time-sub {
    font-size: 14px; font-weight: 600; color: var(--text-lighter);
    margin-bottom: 20px;
}
.scene-steps {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: 8px;
}
.scene-steps span:not(.scene-arrow) {
    padding: 8px 16px; background: #f1f5f9; border-radius: 8px;
    font-size: 13px; font-weight: 600; color: var(--text-light);
}
.scene-steps-new span:not(.scene-arrow) {
    background: linear-gradient(135deg, #e0e7ff, #fce7f3);
    color: var(--primary-dark);
}
.scene-arrow { color: var(--text-lighter); font-size: 14px; font-weight: 700; }
.scene-divider {
    width: 100%; height: 1px; margin: 24px 0;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ====== 4 大核心优势 ====== */
.features { padding: 120px 0; background: var(--bg); }
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px; margin-bottom: 60px;
}
.feature-card {
    position: relative; padding: 36px 28px;
    background: #fff; border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 44px rgba(99, 102, 241, 0.18);
    border-color: var(--primary-light);
}
.feature-card:hover .feature-icon-box {
    transform: translateY(-2px) scale(1.05);
}
.feature-icon-box {
    width: 68px; height: 68px; border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: linear-gradient(135deg, #e0e7ff, #fce7f3);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
}
.icon-box-1 { background: linear-gradient(135deg, #fef3c7, #fce7f3); }
.icon-box-2 { background: linear-gradient(135deg, #e0e7ff, #fce7f3); }
.icon-box-3 { background: linear-gradient(135deg, #dbeafe, #e0e7ff); }
.icon-box-4 { background: linear-gradient(135deg, #d1fae5, #e0e7ff); }

.feature-icon-main { font-size: 30px; }
.feature-card h3 { font-size: 19px; font-weight: 800; color: var(--text); margin-bottom: 12px; letter-spacing: -0.3px; }
.feature-card p { font-size: 14.5px; color: var(--text-light); line-height: 1.85; font-weight: 400; }
.feature-card p strong { color: var(--primary-dark); font-weight: 700; }

/* 全平台适配 */
.platforms {
    padding: 28px 32px;
    background: linear-gradient(135deg, #eef2ff 0%, #fdf2f8 100%);
    border-radius: var(--radius-lg);
    display: flex; align-items: center; gap: 24px;
    flex-wrap: wrap; justify-content: center;
    border: 1px solid rgba(99, 102, 241, 0.15);
}
.platforms-label { font-size: 14px; font-weight: 700; color: var(--primary-dark); white-space: nowrap; }
.platforms-list { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.platform-chip {
    display: inline-flex; padding: 10px 18px; background: #fff;
    border-radius: 100px; font-size: 14px; font-weight: 600;
    color: var(--text); box-shadow: 0 2px 10px rgba(99, 102, 241, 0.08);
    transition: var(--transition);
}
.platform-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
    color: var(--primary-dark);
}

/* ====== 价格方案 ====== */
.pricing { padding: 120px 0; background: linear-gradient(180deg, #fff 0%, #eef2ff 100%); }

.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px; align-items: stretch;
}

.price-card {
    position: relative; background: #fff;
    border: 2px solid var(--border); border-radius: var(--radius-lg);
    padding: 44px 32px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
    display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.price-card:active { transform: translateY(-3px); }

.price-card-featured {
    /* 默认：和其他两卡保持一致，只靠徽标提示它是主推 */
}
.price-card-featured:hover {
    border-color: var(--primary-light);
    background: linear-gradient(180deg, #fff 0%, #eef2ff 100%);
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 24px 60px rgba(99, 102, 241, 0.22);
}

.featured-badge {
    position: absolute; top: -18px; left: 50%;
    transform: translateX(-50%);
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: #fff; border-radius: 100px;
    font-size: 13px; font-weight: 800; letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    white-space: nowrap; display: inline-flex; align-items: center; gap: 6px;
}
.badge-flash { animation: flash 1.5s ease-in-out infinite; }
@keyframes flash { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

/* 永久卡专用：低调灰系，不抢年卡的风头 */
.featured-badge-mini {
    position: absolute; top: -14px; left: 50%;
    transform: translateX(-50%);
    padding: 7px 18px;
    background: #f1f5f9;
    color: #94a3b8;
    border-radius: 100px;
    font-size: 12px; font-weight: 600; letter-spacing: 0;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
}

.price-name { font-size: 16px; font-weight: 700; color: var(--text-light); margin-bottom: 16px; text-align: center; }
.price-amount {
    text-align: center; font-size: 52px; font-weight: 800;
    color: var(--text); line-height: 1; margin-bottom: 8px;
}
.price-amount .currency { font-size: 26px; font-weight: 700; vertical-align: top; }
.price-amount .period {
    display: block; font-size: 14px; font-weight: 500;
    color: var(--text-lighter); margin-top: 10px; letter-spacing: 0.5px;
}
.price-amount-main {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 58px;
}
.price-save {
    text-align: center; padding: 10px 18px;
    border-radius: 100px;
    font-size: 14px; font-weight: 600;
    margin: 12px auto 20px; max-width: 260px;
}
/* 月卡、永久卡：灰色小字，提供参考价但不抢焦点 */
.price-save-soft {
    background: #f8fafc;
    color: var(--text-light);
    font-size: 13px; font-weight: 500;
}
/* 年卡：大、紫粉渐变、加粗、有发光效果 — 整个板块的视觉焦点 */
.price-save-hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(236, 72, 153, 0.12));
    padding: 14px 20px;
    margin: 16px auto 24px;
    max-width: 280px;
    display: flex; align-items: baseline; justify-content: center;
    gap: 6px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.1);
}
.price-save-hero .save-label {
    font-size: 14px; font-weight: 600;
    color: var(--primary-dark);
}
.price-save-hero .save-num {
    font-size: 34px; font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    line-height: 1;
}
.price-save-hero .save-unit {
    font-size: 14px; font-weight: 700;
    color: var(--primary-dark);
}

.price-features {
    margin: 24px 0 28px;
    display: flex; flex-direction: column; gap: 12px;
    flex: 1;
}
.price-features li {
    display: flex; align-items: center; gap: 10px;
    font-size: 14.5px; color: var(--text); font-weight: 500;
}
.check { color: #10b981; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.check-main {
    color: var(--primary-dark);
    font-size: 17px; font-weight: 800;
}

.btn-purchase {
    display: block; width: 100%; padding: 14px 24px;
    background: #f1f5f9; color: var(--text);
    border: 2px solid var(--border); border-radius: var(--radius);
    font-size: 15px; font-weight: 700; cursor: pointer;
    text-align: center;
    transition: var(--transition); margin-top: auto;
}
.btn-purchase:hover {
    background: var(--primary); color: #fff;
    border-color: var(--primary); transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}
.btn-purchase-main {
    background: var(--gradient-primary);
    color: #fff; border-color: transparent;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}
.btn-purchase-main:hover { box-shadow: 0 12px 28px rgba(99, 102, 241, 0.45); }

/* ====== CTA ====== */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 60%, #831843 100%);
    position: relative; overflow: hidden;
}
.cta::before {
    content: ""; position: absolute; top: 0; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 500px;
    background: radial-gradient(ellipse, rgba(236, 72, 153, 0.25), transparent 60%);
    pointer-events: none;
}
.cta-content { text-align: center; position: relative; z-index: 2; }
.cta-content h2 {
    font-size: clamp(28px, 4vw, 44px); font-weight: 800;
    margin-bottom: 20px; color: #fff; line-height: 1.3; letter-spacing: -0.5px;
}
.cta-content > p {
    font-size: 17px; color: rgba(221, 214, 254, 0.9);
    margin-bottom: 40px; line-height: 1.8;
}
.cta-content .btn {
    background: linear-gradient(135deg, #fff 0%, #fce7f3 100%);
    color: var(--primary-darker);
    box-shadow: 0 16px 40px rgba(236, 72, 153, 0.35);
}
.cta-content .btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 50px rgba(236, 72, 153, 0.5);
}
.cta-subline { margin-top: 24px; font-size: 15px; color: rgba(221, 214, 254, 0.8); font-weight: 500; }

/* ====== 页脚 ====== */
.footer { background: var(--bg-dark); color: #cbd5e1; padding: 72px 0 0; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; padding-bottom: 56px;
}
.footer-logo { color: #fff; margin-bottom: 20px; }
.footer-about {
    font-size: 14px; line-height: 1.8;
    color: #94a3b8; max-width: 340px;
}
.footer-col h4 { color: #f8fafc; font-size: 15px; font-weight: 700; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: #94a3b8; display: inline-block; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0; text-align: center;
    font-size: 13px; color: #64748b;
}

/* ====== 滚动进入动画 ====== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ====== 响应式 ====== */
@media (max-width: 1024px) {
    .why-row { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-col-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; position: absolute; top: 72px; left: 0; right: 0;
        background: #fff; flex-direction: column; padding: 20px 24px;
        gap: 14px; box-shadow: var(--shadow);
    }
    .nav-menu.active { display: flex; }
    .menu-toggle { display: flex; }

    .hero { padding: 120px 0 80px; }

    .features, .why, .pricing, .layouts, .cta { padding: 80px 0; }

    .layout-row, .layout-reverse {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 20px;
    }
    .layout-reverse .layout-image { order: unset; }
    .layout-reverse .layout-text { order: unset; }

    .price-card-featured { transform: none; }
    .price-card-featured:hover { transform: translateY(-6px); }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { width: 100%; }
    .features-grid, .pricing-grid, .layouts-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-col-brand { grid-column: span 1; }
    .logo-text { font-size: 15px; }
    .layout-text h3 { font-size: 22px; }
    .layout-num { font-size: 40px; }
    .layout-row, .layout-reverse { gap: 20px; padding: 16px; }
}
