/* ===========================
   StarCloud - 全局样式
   =========================== */

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

:root {
    /* 颜色系统 - StarCloud宇宙主题 */
    --bg-deep: #06060f;
    --bg-dark: #0a0a1a;
    --bg-card: #111124;
    --bg-card-hover: #161630;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(139, 92, 246, 0.4);

    --text-primary: #f5f5fa;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b85;

    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --blue: #3b82f6;
    --blue-light: #60a5fa;
    --cyan: #06b6d4;
    --pink: #ec4899;
    --amber: #f59e0b;

    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    --gradient-cosmic: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #3b82f6 100%);
    --gradient-glow: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);

    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --header-h: 70px;
    --max-width: 1280px;

    /* 首屏文字基准字号：随视口宽度连续等比缩放（约 46px@768 / 64px@1440 / 76px@1920 / 104px@4K） */
    --hero-fs: clamp(34px, 2.6vw + 26px, 104px);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
    list-style: none;
}

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

/* 渐变文字 */
.gradient-text {
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===========================
   按钮
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

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

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--purple);
}

.btn-large {
    padding: 16px 48px;
    font-size: 17px;
    border-radius: var(--radius-md);
}

/* ===========================
   导航栏
   =========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 1000;
    background: rgba(6, 6, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(6, 6, 15, 0.9);
    border-bottom-color: var(--border);
}

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

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

.logo-icon {
    display: flex;
    width: 36px;
    height: 36px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text {
    font-family: 'Dancing Script', cursive;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    background: linear-gradient(135deg, #8b5cf6, #ec4899, #f59e0b, #3b82f6, #8b5cf6, #ec4899);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: logoShimmer 6s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3));
}

@keyframes logoShimmer {
    0% { background-position: 0% 50%; filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3)); }
    25% { background-position: 100% 0%; filter: drop-shadow(0 0 12px rgba(236, 72, 153, 0.3)); }
    50% { background-position: 50% 100%; filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.3)); }
    75% { background-position: 0% 0%; filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.25)); }
    100% { background-position: 0% 50%; filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3)); }
}

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

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 15px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
    cursor: pointer;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-hot {
    position: absolute;
    top: -4px;
    right: -6px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    padding: 2px 4px;
    color: #fff;
    background: linear-gradient(135deg, #ff4d6d, #ff8a5c);
    border-radius: 4px;
    letter-spacing: 0.4px;
}

.caret {
    font-size: 11px;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    box-shadow: var(--shadow-card);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 9px 14px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    color: var(--text-primary);
    background: rgba(139, 92, 246, 0.15);
}

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

/* 顶部导航：登录高亮，开始体验暗色 */
.nav-actions .btn-ghost {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.nav-actions .btn-ghost:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
    background: var(--gradient-primary);
    border: none;
}

.nav-actions .btn-primary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border);
    box-shadow: none;
}

.nav-actions .btn-primary:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    box-shadow: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   英雄区
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

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

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 6, 15, 0.55) 0%, rgba(6, 6, 15, 0.35) 45%, rgba(6, 6, 15, 0.88) 100%);
}

.nebula-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 12s ease-in-out infinite;
}

.nebula-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.6), transparent);
    top: -100px;
    left: -100px;
}

.nebula-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.5), transparent);
    bottom: -150px;
    right: -100px;
    animation-delay: -4s;
}

.nebula-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.4), transparent);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -8s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

.stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 90% 50%, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 45% 45%, rgba(167,139,250,0.7), transparent),
        radial-gradient(1px 1px at 15% 60%, rgba(96,165,250,0.6), transparent);
    background-size: 200% 200%;
    animation: twinkle 8s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: calc(var(--hero-fs) * 12.6); /* 随字号等比放宽，2K/4K 下长标题不折行 */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: calc(var(--hero-fs) * 0.095) calc(var(--hero-fs) * 0.25);
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 100px;
    font-size: clamp(12px, calc(var(--hero-fs) * 0.205), 21px);
    color: var(--purple-light);
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--purple);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--purple);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: var(--hero-fs);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: calc(var(--hero-fs) * -0.016);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
    font-size: clamp(14px, calc(var(--hero-fs) * 0.26), 26px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-search {
    display: flex;
    gap: 12px;
    max-width: calc(var(--hero-fs) * 10);
    margin: 0 auto 28px;
    padding: calc(var(--hero-fs) * 0.125);
    background: rgba(17, 17, 36, 0.7);
    border: 1px solid var(--border);
    border-radius: 100px;
    backdrop-filter: blur(20px);
    transition: border-color 0.3s ease;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-search:focus-within {
    border-color: var(--border-hover);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.hero-input {
    flex: 1;
    padding: calc(var(--hero-fs) * 0.19) calc(var(--hero-fs) * 0.31);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: clamp(14px, calc(var(--hero-fs) * 0.235), 24px);
    outline: none;
}

.hero-input::placeholder {
    color: var(--text-muted);
}

.hero-btn {
    border-radius: 100px;
    font-size: clamp(14px, calc(var(--hero-fs) * 0.235), 24px);
    padding: calc(var(--hero-fs) * 0.19) calc(var(--hero-fs) * 0.44);
}

.hero-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-tags span {
    padding: calc(var(--hero-fs) * 0.095) calc(var(--hero-fs) * 0.22);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: clamp(12px, calc(var(--hero-fs) * 0.205), 21px);
    color: var(--text-secondary);
    transition: all 0.25s ease;
}

.hero-tags span:hover {
    color: var(--purple-light);
    border-color: var(--border-hover);
    background: rgba(139, 92, 246, 0.08);
}

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    z-index: 1;
}

.scroll-arrow {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, var(--purple), transparent);
    animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--purple-light);
    margin-bottom: 16px;
    padding: 4px 14px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 100px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ===========================
   模型展示
   =========================== */
.model-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.model-tab {
    padding: 10px 24px;
    font-size: 15px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.model-tab:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.model-tab.active {
    color: #fff;
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.model-grid {
    min-height: 200px;
}

.model-panel {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.model-panel.active {
    display: grid;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.model-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.model-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.model-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.model-icon svg {
    width: 24px;
    height: 24px;
}

.model-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.model-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.model-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--pink);
    width: fit-content;
}

.model-tag.hot {
    background: rgba(236, 72, 153, 0.15);
    padding: 2px 8px;
    border-radius: 100px;
}

/* ===========================
   功能特性
   =========================== */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-item.reverse .feature-visual {
    order: 2;
}

.feature-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    aspect-ratio: 16 / 10;
    position: relative;
}

.feature-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), transparent 50%);
    pointer-events: none;
}

.feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-item:hover .feature-visual img {
    transform: scale(1.05);
}

.feature-text {
    padding: 20px 0;
}

.feature-num {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.feature-text h3 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 18px;
}

.feature-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===========================
   应用场景
   =========================== */
.usecase-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.usecase-tab {
    padding: 10px 24px;
    font-size: 15px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.usecase-tab:hover {
    color: var(--text-primary);
}

.usecase-tab.active {
    color: #fff;
    background: var(--gradient-primary);
    border-color: transparent;
}

.usecase-content {
    min-height: 360px;
}

.usecase-panel {
    display: none;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: center;
}

.usecase-panel.active {
    display: grid;
    animation: fadeIn 0.4s ease;
}

.usecase-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16 / 10;
    box-shadow: var(--shadow-card);
}

.usecase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.usecase-info h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.usecase-info p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
}

/* ===========================
   一键成片 凸显板块
   =========================== */
.oneclick {
    position: relative;
    overflow: hidden;
}

.oneclick-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.18), transparent 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.oneclick-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 56px;
    background: linear-gradient(145deg, rgba(17, 17, 36, 0.9), rgba(10, 10, 26, 0.95));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.oneclick-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-cosmic);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.5;
}

.oneclick-left {
    padding: 8px 0;
}

.oneclick-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
}

.oneclick-desc {
    font-size: 16px;
    color: #c8c8dc;
    line-height: 1.85;
    margin-bottom: 32px;
}

.oneclick-points {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
}

.oneclick-points li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.op-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-sm);
    color: var(--purple-light);
}

.op-icon svg {
    width: 22px;
    height: 22px;
}

.oneclick-points li div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.oneclick-points strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.oneclick-points span {
    font-size: 13px;
    color: #b8b8d0;
}

.oneclick-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* 流程演示区 */
.oneclick-right {
    display: flex;
    justify-content: center;
}

.flow-demo {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 420px;
}

.flow-input,
.flow-output {
    background: rgba(6, 6, 15, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.flow-input {
    border-color: rgba(139, 92, 246, 0.3);
}

.flow-output {
    border-color: rgba(59, 130, 246, 0.3);
    transition: all 0.4s ease;
}

.flow-output.generating {
    border-color: var(--purple);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.flow-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.flow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-hover);
}

.flow-dot:nth-child(1) { background: #ff5f57; }
.flow-dot:nth-child(2) { background: #febc2e; }
.flow-dot:nth-child(3) { background: #28c840; }

.flow-label {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.flow-badge {
    margin-left: auto;
    padding: 2px 8px;
    background: rgba(236, 72, 153, 0.15);
    color: var(--pink);
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
}

.flow-body {
    padding: 18px 16px;
}

.flow-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}

/* 中间箭头与按钮 */
.flow-arrow {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.flow-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(139, 92, 246, 0.5), rgba(59, 130, 246, 0.5));
    transform: translateX(-50%);
}

.flow-btn {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 100px;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.5);
    transition: all 0.3s ease;
}

.flow-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.7);
}

.flow-btn svg {
    width: 18px;
    height: 18px;
}

.flow-btn:disabled,
.flow-btn.loading {
    opacity: 0.85;
    cursor: not-allowed;
    transform: none;
}

/* 输出区视频预览 */
.flow-video {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-deep);
}

.flow-video img,
.flow-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.flow-output.done .flow-video img,
.flow-output.done .flow-video video {
    opacity: 1;
    transform: scale(1);
}

.flow-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.9);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.flow-output.done .flow-play {
    opacity: 1;
}

.flow-play svg {
    width: 26px;
    height: 26px;
    margin-left: 3px;
}

.flow-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.flow-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    transition: width 0.1s linear;
}

.flow-output.generating .flow-progress span {
    width: 100%;
    transition: width 2s ease;
}

.flow-output.done .flow-progress span {
    width: 100%;
}

.flow-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid var(--border);
}

.flow-meta span {
    font-size: 12px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 10px;
    border-radius: 100px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .oneclick-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 32px;
    }
}

@media (max-width: 768px) {
    .oneclick-card {
        padding: 32px 20px;
    }
    .oneclick-actions .btn {
        flex: 1;
    }
    .flow-demo {
        max-width: 100%;
    }
}

/* ===========================
   四步流程
   =========================== */
.steps-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-line {
    position: absolute;
    top: 24px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--border-hover), transparent);
}

.step-item {
    position: relative;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px var(--bg-deep), 0 0 30px rgba(139, 92, 246, 0.5);
}

.step-card {
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    height: 100%;
}

.step-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.step-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* ===========================
   新闻资讯
   =========================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.news-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.08);
}

.news-body {
    padding: 24px;
}

.news-date {
    font-size: 13px;
    color: var(--purple-light);
    margin-bottom: 12px;
    display: block;
}

.news-body h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-more {
    text-align: center;
    margin-top: 48px;
}

/* ===========================
   CTA
   =========================== */
.cta-section {
    position: relative;
    padding: 160px 24px;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-bg .nebula-orb-1 {
    width: 600px;
    height: 600px;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
}

.cta-bg .nebula-orb-2 {
    width: 500px;
    height: 500px;
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
    animation-delay: -6s;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* ===========================
   页脚
   =========================== */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    padding: 80px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) 0.8fr 0.8fr;
    gap: 48px 96px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.footer-brand .logo {
    margin-bottom: 24px;
}

.footer-qr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-qr .qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-qr .qr-item span {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.footer-qr .qr-placeholder {
    margin-bottom: 0;
    width: 96px;
    height: 96px;
}

/* ===========================
   登录页 - Login Page
   =========================== */

.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

.login-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.login-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 48px;
}

.login-back {
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.login-back:hover {
    color: var(--text-primary);
}

.login-main {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px 60px;
}

.login-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: rgba(17, 17, 36, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 44px;
    box-shadow: var(--shadow-card), 0 0 80px rgba(139, 92, 246, 0.12);
    overflow: hidden;
}

.login-card-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: var(--gradient-glow);
    border-radius: 50%;
    pointer-events: none;
}

.login-header {
    text-align: center;
    margin-bottom: 36px;
    position: relative;
}

.login-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.login-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

.login-form {
    position: relative;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.form-icon {
    position: absolute;
    left: 14px;
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
    pointer-events: none;
}

.form-input {
    width: 100%;
    height: 48px;
    padding: 0 14px 0 44px;
    background: rgba(6, 6, 15, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    outline: none;
    border-color: var(--border-hover);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.form-input-wrap:has(.pwd-toggle) .form-input {
    padding-right: 48px;
}

.pwd-toggle {
    position: absolute;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    border-radius: 6px;
    transition: color 0.2s;
}

.pwd-toggle:hover,
.pwd-toggle.active {
    color: var(--purple-light);
}

.pwd-toggle svg {
    width: 20px;
    height: 20px;
}

.form-error {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    font-size: 12px;
    color: var(--pink);
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}

.form-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-box {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--border);
    border-radius: 5px;
    background: rgba(6, 6, 15, 0.6);
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}

.form-checkbox input:checked + .checkbox-box {
    background: var(--gradient-primary);
    border-color: transparent;
}

.form-checkbox input:checked + .checkbox-box::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-link {
    font-size: 14px;
    color: var(--purple-light);
    text-decoration: none;
    transition: color 0.2s;
}

.form-link:hover {
    color: var(--text-primary);
}

.login-submit {
    width: 100%;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s, box-shadow 0.2s;
}

.login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(139, 92, 246, 0.4);
}

.login-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.login-btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-divider {
    position: relative;
    text-align: center;
    margin: 28px 0 22px;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.form-divider span {
    position: relative;
    background: rgba(17, 17, 36, 0.9);
    padding: 0 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.social-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 6, 15, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.social-btn svg {
    width: 24px;
    height: 24px;
}

.social-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.login-footer-text {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.login-page-footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 24px;
    font-size: 12px;
    color: var(--text-muted);
}

.login-page-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.login-page-footer a:hover {
    color: var(--text-secondary);
}

.login-page-footer span {
    margin: 0 4px;
}

/* 登录页响应式 */
@media (max-width: 560px) {
    .login-topbar {
        padding: 16px 24px;
    }

    .login-card {
        padding: 36px 28px;
    }

    .login-title {
        font-size: 26px;
    }

    .form-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

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

.qr-placeholder {
    width: 100px;
    height: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.qr-placeholder svg {
    width: 60px;
    height: 60px;
}

.qr-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

/* ===========================
   注册页 - Register Page
   =========================== */

/* 验证码输入组 */
.form-input-with-btn .form-input {
    padding-right: 120px;
}

.code-btn {
    position: absolute;
    right: 6px;
    height: 36px;
    padding: 0 14px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: var(--purple-light);
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.code-btn:hover:not(:disabled) {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--purple);
}

.code-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 密码强度 */
.pwd-strength {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.strength-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: background 0.3s;
}

.strength-text {
    font-size: 12px;
    color: var(--text-muted);
    width: 20px;
    text-align: right;
    transition: color 0.3s;
}

/* 协议勾选 */
.form-checkbox-agree {
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.6;
}

.form-checkbox-agree .checkbox-box {
    margin-top: 2px;
}

.form-checkbox-agree a {
    white-space: nowrap;
}

/* 注册卡片内边距适配（字段更多） */
.register-page .login-card,
.login-card.register-card {
    max-width: 460px;
}

@media (max-width: 560px) {
    .form-input-with-btn .form-input {
        padding-right: 100px;
    }

    .code-btn {
        padding: 0 10px;
        font-size: 12px;
    }
}

.qr-item span {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--purple-light);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding-top: 32px;
    font-size: 13px;
    text-align: center;
    color: var(--text-muted);
}

.footer-bottom a:hover {
    color: var(--text-secondary);
}

/* ===========================
   滚动显现动画
   =========================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===========================
   响应式
   =========================== */
@media (max-width: 1024px) {
    .feature-item,
    .feature-item.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .feature-item.reverse .feature-visual {
        order: 0;
    }
    .usecase-panel {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    .step-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(6, 6, 15, 0.98);
        backdrop-filter: blur(20px);
        padding: 16px 24px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }

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

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.02);
        border: none;
        padding: 4px 0 4px 12px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown.open .dropdown-menu {
        max-height: 300px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions .btn-ghost {
        display: none;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-search {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 12px;
        gap: 8px;
    }

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

    .hero-btn {
        width: 100%;
        border-radius: var(--radius-md);
    }

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

    .steps-track {
        grid-template-columns: 1fr;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

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

    .model-panel {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-text h3 {
        font-size: 24px;
    }
}

/* ===========================
   一键成片子页 - One-Click Page
   =========================== */

/* 子页 Hero */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 72px;
    overflow: hidden;
    text-align: center;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.16), transparent 55%),
        linear-gradient(180deg, rgba(6, 6, 15, 0.25) 0%, rgba(6, 6, 15, 0) 40%, rgba(6, 6, 15, 0.9) 100%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

.page-hero-title {
    font-size: clamp(38px, 5.5vw, 60px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin: 20px 0 24px;
    letter-spacing: 1px;
}

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

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

/* 数据统计 */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 32px;
    background: rgba(17, 17, 36, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

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

.stat-num {
    display: block;
    font-size: 34px;
    font-weight: 800;
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* 交替背景区 */
.section-alt {
    background: rgba(6, 6, 15, 0.4);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* 一屏展示的板块 */
.section-screen {
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-screen > .container {
    width: 100%;
}

/* 核心能力卡片 */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    background: var(--bg-card-hover);
}

.feature-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

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

.feature-card-title {
    font-size: 19px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* 一键成片 - 核心能力模块大气化 */
#capabilities {
    padding: 140px 0;
}
#capabilities .section-header {
    margin-bottom: 56px;
}
#capabilities .section-title {
    font-size: clamp(32px, 4.5vw, 48px);
}
#capabilities .feature-cards {
    gap: 32px;
}
#capabilities .feature-card {
    padding: 48px 40px;
}
#capabilities .feature-card-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 28px;
}
#capabilities .feature-card-icon svg {
    width: 34px;
    height: 34px;
}
#capabilities .feature-card-title {
    font-size: 22px;
    margin-bottom: 16px;
}
#capabilities .feature-card-desc {
    font-size: 15px;
    line-height: 1.8;
}

/* 四步流程 */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.step-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
}

.step-num {
    display: inline-block;
    font-size: 40px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    line-height: 1;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* 对比区 */
.compare-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 920px;
    margin: 0 auto;
}

.compare-col {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
}

.compare-col-starcloud {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.12);
}

.compare-badge {
    display: inline-block;
    padding: 6px 18px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    margin-bottom: 24px;
}

.compare-badge-muted {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.compare-list {
    list-style: none;
}

.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.compare-list li:last-child {
    border-bottom: none;
}

.compare-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    margin-top: 1px;
}

.compare-cross {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    margin-top: 1px;
}

/* 应用场景 */
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.usecase-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.usecase-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    background: var(--bg-card-hover);
}

.usecase-card:nth-child(4),
.usecase-card:nth-child(5) {
    grid-column: span 1;
}

.usecase-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.usecase-icon svg {
    width: 26px;
    height: 26px;
}

.usecase-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.usecase-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* FAQ */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color 0.3s;
    background: var(--bg-card);
}

.faq-item.open {
    border-color: var(--border-hover);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--purple-light);
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.12);
    color: var(--purple-light);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 400;
    transition: transform 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 22px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* 子页响应式 */
@media (max-width: 1024px) {
    .feature-cards,
    .usecase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .page-hero {
        padding: 110px 20px 60px;
    }

    .page-hero-title {
        font-size: 34px;
    }

    .feature-cards,
    .usecase-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .compare-wrap {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
    }

    .stat-num {
        font-size: 28px;
    }

    .page-hero-actions {
        flex-direction: column;
    }

    .page-hero-actions .btn {
        width: 100%;
    }
}

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

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 26px;
    }

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

/* ===========================
   案例作品页 - Cases Page
   =========================== */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.case-grid + .case-grid {
    margin-top: 28px;
}

/* 第二排：竖版视频 4 列 */
.case-grid-portrait {
    grid-template-columns: repeat(4, 1fr);
}

.case-grid-portrait .case-cover {
    aspect-ratio: 9 / 16;
}

.case-card {
    cursor: pointer;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.case-card:hover {
    transform: translateY(-6px);
    border-color: var(--purple-light);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

.case-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.case-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.case-card:hover .case-cover img {
    transform: scale(1.06);
}

.play-btn {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(10, 12, 28, .1), rgba(10, 12, 28, .45));
    transition: background .3s ease;
}

.play-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .35);
    backdrop-filter: blur(6px);
    transition: transform .3s ease, background .3s ease;
}

.case-card:hover .play-circle {
    transform: scale(1.08);
    background: rgba(139, 92, 246, .85);
}

.play-circle svg {
    width: 24px;
    height: 24px;
    margin-left: 3px;
}

.case-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    color: #fff;
    background: rgba(15, 17, 35, .55);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(6px);
}

.case-body {
    padding: 18px 20px 22px;
}

.case-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.case-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 视频弹窗 */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 7, 18, .88);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.video-modal.open {
    opacity: 1;
    visibility: visible;
}

.video-modal-inner {
    position: relative;
    width: min(960px, 100%);
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
    transform: scale(.96);
    transition: transform .3s ease;
}

.video-modal.open .video-modal-inner {
    transform: scale(1);
}

.video-modal-inner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 竖版视频弹窗（第二排竖屏卡片） */
.video-modal.portrait .video-modal-inner {
    width: auto;
    height: min(86vh, calc((100vw - 48px) * 16 / 9));
    aspect-ratio: 9 / 16;
}

.video-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(15, 17, 35, .6);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s ease;
}

.video-modal-close:hover {
    background: rgba(239, 68, 68, .85);
}

@media (max-width: 1024px) {
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .case-grid {
        grid-template-columns: 1fr;
    }

    .case-grid-portrait {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================
   回到顶部按钮 - Back to Top
   =========================== */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s ease;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.5);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===========================
   大屏幕适配 (≥1600px)
   =========================== */
@media (min-width: 1600px) {
    :root {
        --max-width: 1440px;
    }

    /* 模块上下留白 */
    .section {
        padding: 170px 0;
    }
    .cta-section {
        padding: 200px 24px;
    }
    .footer {
        padding-top: 104px;
    }

    /* 首屏文字已由 --hero-fs 流式缩放（含 2K/4K），无需固定覆盖 */

    /* 通用标题与说明 */
    .section-header {
        max-width: 760px;
    }
    .section-title {
        font-size: 48px;
    }
    .section-desc {
        font-size: 18px;
    }

    /* 首页内容模块 */
    .oneclick-card {
        gap: 64px;
        padding: 64px;
    }
    .oneclick-title {
        font-size: 46px;
    }
    .oneclick-desc {
        font-size: 17px;
    }
    .feature-item {
        gap: 72px;
    }
    .feature-list {
        gap: 96px;
    }
    .steps-track {
        gap: 28px;
    }

    /* 子页面 */
    .page-hero-content {
        max-width: 900px;
    }
    .page-hero-title {
        font-size: 64px;
    }
    .page-hero-desc {
        max-width: 760px;
        font-size: 19px;
    }
    .feature-cards {
        gap: 28px;
    }
    .feature-card {
        padding: 40px 34px;
    }
    .case-grid {
        gap: 32px;
    }

    .case-grid + .case-grid {
        margin-top: 32px;
    }
}
