/* ==========================================================================
   Shotcut 官方推广网站 - 主样式表
   品牌主色：#115c77（深青蓝）
   设计风格：扁平、现代、专业
   ========================================================================== */

/* -------- CSS 变量定义 -------- */
:root {
    /* 品牌色系 - 基于 Logo 主色 #115c77 */
    --brand: #115c77;
    --brand-dark: #0a4459;
    --brand-darker: #082d3a;
    --brand-light: #1a7a9a;
    --brand-lighter: #2a9bc0;
    --brand-pale: #e6f3f8;
    --brand-pale2: #f0f8fb;

    /* 强调色 */
    --accent: #06b6d4;
    --accent-bright: #22d3ee;
    --accent-soft: #cffafe;

    /* 中性色 */
    --white: #ffffff;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-muted: #f1f5f9;
    --border: #e2e8f0;
    --border-dark: #cbd5e1;

    /* 文字色 */
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;

    /* 功能色 */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
    --shadow-brand: 0 10px 30px -8px rgba(17, 92, 119, 0.4);

    /* 圆角 */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* 间距 */
    --container: 1200px;
    --nav-height: 72px;

    /* 字体 */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
        sans-serif;
    --font-mono: "SF Mono", Monaco, Menlo, Consolas, "Courier New", monospace;

    /* 过渡 */
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------- 基础重置 -------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brand);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--brand-light);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

.container-narrow {
    max-width: 880px;
}

/* -------- 标题 -------- */
h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

.section-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand);
    background: var(--brand-pale);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.text-center { text-align: center; }

/* -------- 按钮 -------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--brand);
    color: var(--white);
    box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
    background: var(--brand-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px -8px rgba(17, 92, 119, 0.55);
}

.btn-secondary {
    background: var(--white);
    color: var(--brand);
    border-color: var(--border-dark);
}

.btn-secondary:hover {
    border-color: var(--brand);
    background: var(--brand-pale);
    color: var(--brand);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* -------- 顶部导航 -------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
    height: var(--nav-height);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text);
}

.nav-brand img {
    height: 38px;
    width: auto;
}

.nav-brand span {
    color: var(--brand);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.97rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--brand);
    background: var(--brand-pale);
}

.nav-menu a.active {
    color: var(--brand);
    background: var(--brand-pale);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 16px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* -------- Hero 区域 -------- */
.hero {
    position: relative;
    padding: 90px 0 80px;
    background: linear-gradient(135deg, #082d3a 0%, #115c77 55%, #1a7a9a 100%);
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(6, 182, 212, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(34, 211, 238, 0.18) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--white), transparent);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-eyebrow .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-bright);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.25);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.25); }
    50% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); }
}

.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero h1 .highlight {
    background: linear-gradient(120deg, #22d3ee, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p.lead {
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 32px;
    max-width: 560px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}

.hero-stats {
    display: flex;
    gap: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat .num {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.hero-stat .label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
}

.hero-visual {
    position: relative;
}

.hero-mockup {
    background: rgba(8, 45, 58, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.mockup-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-bar .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-bar .dot.r { background: #ff5f57; }
.mockup-bar .dot.y { background: #febc2e; }
.mockup-bar .dot.g { background: #28c840; }

.mockup-bar .title {
    margin-left: 12px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.mockup-body {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
    min-height: 340px;
}

.mockup-clip {
    background: linear-gradient(135deg, #1a7a9a, #06b6d4);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    min-height: 60px;
}

.mockup-clip::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 200%; }
    100% { background-position: -100% -100%; }
}

.mockup-clip.tall {
    grid-row: span 2;
    min-height: 130px;
}

.mockup-clip.c2 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.mockup-clip.c3 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.mockup-clip.c4 { background: linear-gradient(135deg, #10b981, #06b6d4); }
.mockup-clip.c5 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.mockup-clip.c6 { background: linear-gradient(135deg, #115c77, #1a7a9a); }

.mockup-timeline {
    grid-column: span 3;
    height: 60px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}

.timeline-track {
    height: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.timeline-track .seg {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 3px;
}

/* -------- 通用区块 -------- */
.section {
    padding: 90px 0;
}

.section-soft {
    background: var(--bg-soft);
}

.section-dark {
    background: var(--brand-darker);
    color: rgba(255, 255, 255, 0.85);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

/* -------- 特性卡片网格 -------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--brand-light);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--brand-pale), var(--brand-pale2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--brand);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.97rem;
    line-height: 1.7;
}

/* -------- 使用场景 -------- */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.scenario-card {
    position: relative;
    border-radius: var(--radius-md);
    padding: 36px 28px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.scenario-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-light);
}

.scenario-card .num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand-pale);
    line-height: 1;
    font-family: var(--font-mono);
}

.scenario-card .icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--brand);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.scenario-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text);
}

.scenario-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
}

.scenario-card .tag {
    display: inline-block;
    margin-top: 14px;
    padding: 4px 12px;
    background: var(--brand-pale);
    color: var(--brand);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    align-self: flex-start;
}

/* -------- 用户评价 -------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.testimonial-card .quote-mark {
    font-size: 3.5rem;
    font-family: Georgia, serif;
    color: var(--brand-pale);
    line-height: 0.6;
    height: 30px;
    margin-bottom: 12px;
}

.testimonial-card .rating {
    color: #f59e0b;
    margin-bottom: 14px;
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-card .text {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 24px;
    flex-grow: 1;
    font-style: italic;
}

.testimonial-card .user {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.testimonial-card .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-card .user-info .name {
    font-weight: 700;
    color: var(--text);
    font-size: 0.98rem;
}

.testimonial-card .user-info .role {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 2px;
}

/* -------- 数据统计条 -------- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    padding: 48px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border-radius: var(--radius-lg);
    color: var(--white);
    margin-top: -40px;
    position: relative;
    z-index: 5;
    box-shadow: var(--shadow-xl);
}

.stat-item {
    text-align: center;
}

.stat-item .num {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(120deg, #fff, #cffafe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item .label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 10px;
}

/* -------- 双栏内容布局 -------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-reverse .split-text {
    order: 2;
}

.split-text h2 {
    margin-bottom: 18px;
}

.split-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.split-text ul.check-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.split-text ul.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.98rem;
}

.check-list li::before {
    content: "✓";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--brand);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 2px;
}

.split-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--brand-darker);
    min-height: 360px;
    position: relative;
}

.visual-editor {
    background: #0f172a;
    padding: 0;
    aspect-ratio: 16/10;
}

.visual-editor .editor-top {
    background: #1e293b;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #334155;
}

.visual-editor .editor-top .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.visual-editor .editor-top .dot.r { background: #ff5f57; }
.visual-editor .editor-top .dot.y { background: #febc2e; }
.visual-editor .editor-top .dot.g { background: #28c840; }

.visual-editor .editor-top .label {
    margin-left: auto;
    color: #64748b;
    font-size: 0.75rem;
}

.visual-editor .editor-body {
    display: grid;
    grid-template-columns: 60px 1fr 240px;
    height: calc(100% - 38px);
}

.visual-editor .editor-sidebar {
    background: #1e293b;
    border-right: 1px solid #334155;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.visual-editor .editor-sidebar .tool {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #334155;
}

.visual-editor .editor-sidebar .tool.active {
    background: var(--brand);
}

.visual-editor .editor-preview {
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-editor .editor-preview .play {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(17, 92, 119, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
}

.visual-editor .editor-right {
    background: #1e293b;
    border-left: 1px solid #334155;
    padding: 14px;
}

.visual-editor .editor-right .panel-title {
    color: #94a3b8;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.visual-editor .editor-right .slider-group {
    margin-bottom: 14px;
}

.visual-editor .editor-right .slider-group .lbl {
    color: #cbd5e1;
    font-size: 0.75rem;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
}

.visual-editor .editor-right .slider {
    height: 4px;
    background: #334155;
    border-radius: 2px;
    position: relative;
}

.visual-editor .editor-right .slider::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60%;
    background: var(--brand);
    border-radius: 2px;
}

.visual-editor .editor-right .slider.s2::after { width: 35%; background: #06b6d4; }
.visual-editor .editor-right .slider.s3::after { width: 80%; background: #f59e0b; }

/* -------- CTA 区域 -------- */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--brand-darker), var(--brand));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 30%, rgba(6, 182, 212, 0.25), transparent 50%),
        radial-gradient(circle at 75% 70%, rgba(34, 211, 238, 0.18), transparent 50%);
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.15rem;
    max-width: 560px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* -------- 页脚 -------- */
.site-footer {
    background: var(--brand-darker);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .nav-brand {
    margin-bottom: 16px;
    color: var(--white);
}

.footer-brand .nav-brand span {
    color: var(--accent-bright);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--brand);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent-bright);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
    color: var(--accent-bright);
}

/* -------- 下载弹窗 -------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 45, 58, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
	  left: 0;
	  right: 0;
	  top: 0;
	  bottom: 0;
}
button { outline: none } 
.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 520px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.4);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.show .modal {
    transform: translateY(0) scale(1);
}

.modal-header {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: var(--white);
    padding: 28px 32px 24px;
    position: relative;
}

.modal-header h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.modal-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 32px;
}

.qr-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.qr-item {
    text-align: center;
    padding: 20px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.qr-item:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.qr-item .qr-img {
    width: 160px;
    height: 160px;
    margin: 0 auto 14px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--white);
    padding: 8px;
    border: 1px solid var(--border);
}

.qr-item .qr-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-item .platform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    font-size: 1rem;
}

.qr-item .desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.modal-tip {
    background: var(--brand-pale2);
    border-left: 3px solid var(--brand);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.modal-tip svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--brand);
}

/* -------- 面包屑 -------- */
.breadcrumb {
    padding: 18px 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb li {
    color: var(--text-muted);
}

.breadcrumb li a {
    color: var(--text-secondary);
}

.breadcrumb li a:hover {
    color: var(--brand);
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: var(--border-dark);
}

.breadcrumb li:last-child {
    color: var(--text);
    font-weight: 500;
}

/* -------- 下载卡片 -------- */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.download-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.download-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--brand);
}

.download-card.featured {
    border-color: var(--brand);
    box-shadow: var(--shadow-md);
}

.download-card.featured::before {
    content: "推荐";
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--brand);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.platform-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--brand-pale), var(--brand-pale2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--brand);
}

.platform-icon svg {
    width: 38px;
    height: 38px;
}

.download-card h3 {
    margin-bottom: 6px;
    font-size: 1.3rem;
}

.download-card .version {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 18px;
}

.download-card .size {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.download-card .req {
    text-align: left;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.download-card .req strong {
    display: block;
    color: var(--text);
    margin-bottom: 6px;
    font-size: 0.8rem;
}

/* -------- 时间线 -------- */
.timeline {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 8px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand), var(--brand-pale));
}

.timeline-item {
    position: relative;
    padding-bottom: 36px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--brand);
    box-shadow: 0 0 0 4px var(--brand-pale);
}

.timeline-item .date {
    display: inline-block;
    padding: 3px 12px;
    background: var(--brand);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-item h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.timeline-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* -------- FAQ -------- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open {
    border-color: var(--brand);
    box-shadow: var(--shadow-md);
}

.faq-q {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
    gap: 16px;
}

.faq-q .icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand-pale);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    line-height: 1;
    transition: var(--transition);
}

.faq-item.open .faq-q .icon {
    background: var(--brand);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-a {
    max-height: 400px;
}

.faq-a-inner {
    padding: 0 24px 22px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* -------- 教程卡片 -------- */
.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.tutorial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.tutorial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-light);
}

.tutorial-thumb {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--brand-darker), var(--brand));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tutorial-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: shimmer 4s infinite;
}

.tutorial-thumb .play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.tutorial-card:hover .play-btn {
    transform: scale(1.1);
    background: var(--white);
}

.tutorial-thumb .duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 500;
    z-index: 2;
}

.tutorial-thumb .level {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(17, 92, 119, 0.9);
    color: var(--white);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.tutorial-body {
    padding: 22px 24px 26px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tutorial-body h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.tutorial-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.tutorial-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.tutorial-meta .views {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* -------- 步骤卡片 -------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: step;
}

.step-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand);
}

.step-card::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -20px;
    left: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

.step-card h4 {
    margin-top: 12px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* -------- 版本历史表格 -------- */
.version-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.version-table thead {
    background: var(--brand);
    color: var(--white);
}

.version-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.version-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 0.93rem;
    color: var(--text-secondary);
    vertical-align: top;
}

.version-table tbody tr:last-child td {
    border-bottom: none;
}

.version-table tbody tr:hover {
    background: var(--brand-pale2);
}

.version-table .ver {
    font-weight: 700;
    color: var(--brand);
    font-family: var(--font-mono);
}

.version-table .badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-new { background: #dcfce7; color: #166534; }
.badge-stable { background: #dbeafe; color: #1e40af; }
.badge-lts { background: #fef3c7; color: #92400e; }

/* -------- 信息提示框 -------- */
.info-box {
    background: var(--brand-pale2);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin: 24px 0;
}

.info-box.warning {
    background: #fef3c7;
    border-left-color: var(--warning);
}

.info-box h4 {
    margin-bottom: 8px;
    color: var(--text);
}

.info-box p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin: 0;
}

/* -------- 滚动动画 -------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* -------- 响应式 -------- */
@media (max-width: 980px) {
    .hero-grid,
    .split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-reverse .split-text {
        order: 0;
    }

    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-bar {
        padding: 32px 24px;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
    }

    .nav-menu.open {
        transform: translateY(0);
    }

    .nav-menu a {
        padding: 14px 16px;
        font-size: 1rem;
    }

    .nav-actions {
        margin-left: auto;
    }

    .nav-toggle {
        display: flex;
        margin-left: 8px;
    }

    .section {
        padding: 64px 0;
    }

    .hero {
        padding: 60px 0 60px;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .qr-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .modal-body {
        padding: 24px 20px;
    }
}

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

    .nav-brand {
        font-size: 1.1rem;
    }

    .nav-brand img {
        height: 30px;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.95rem;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
    }
}
