        /* ========== 页面整体布局 ========== */
        html, body {
            height: 100%;
            margin: 0;
        }
        
        body {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            min-height: 100dvh;
        }
        
        /* ========== 主内容区域 - Grid布局 ========== */
        .hero-section {
            flex: 1 1 0;
            display: grid;
            grid-template-rows: 
                clamp(20px, 4vh, 50px)      /* 上留白 */
                auto                         /* 文字按钮区域 */
                clamp(16px, 3vh, 40px)      /* 间距 */
                1fr                          /* 视频区域 */
                clamp(16px, 3vh, 40px);     /* 下留白 */
            padding: 0 clamp(16px, 5vw, 60px);
            padding-top: 60px; /* 导航栏高度 */
            background: linear-gradient(180deg, #f8fafc 0%, #f0f7ff 50%, #e8f4fd 100%);
            position: relative;
            overflow: hidden;
            min-height: 0;
        }
        
        .hero-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
                        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
                        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 60%);
            animation: bgFloat 25s ease-in-out infinite;
            pointer-events: none;
            clip-path: inset(0 0 0 0);
        }
        
        @keyframes bgFloat {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            50% { transform: translate(-2%, 2%) rotate(1deg); }
        }
        
        /* hero-container 不再需要，但保留结构兼容 */
        .hero-container {
            display: contents; /* 让子元素直接参与grid布局 */
        }
        
        /* ========== 上留白区域 ========== */
        .hero-spacer-top {
            /* 由grid-template-rows控制 */
        }
        
        /* ========== 文字+按钮区域 - 自适应高度 ========== */
        .hero-left {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            z-index: 2;
        }
        
        .hero-intro {
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 900px;
            gap: clamp(6px, 1.2vh, 14px);
        }
        
        .hero-intro h1 {
            font-size: clamp(28px, 5vw, 56px);
            font-weight: 600;
            color: #1d1d1f;
            margin: 0;
            line-height: 1.15;
            letter-spacing: 0.08em;
        }
        
        .hero-intro h1 .highlight {
            background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .hero-intro .hero-desc {
            font-size: clamp(14px, 2vw, 20px);
            color: #86868b;
            margin: 0;
            line-height: 1.6;
            font-weight: 400;
            max-width: 100%;
            text-align: center;
            white-space: normal;
        }
        
        /* 确保文字分行始终显示 */
        .hero-intro .hero-desc br {
            display: inline !important;
        }
        
        .intro-features {
            display: none;
        }
        
        .hero-buttons {
            display: flex;
            gap: clamp(10px, 2vw, 16px);
            justify-content: center;
            flex-wrap: wrap;
            margin-top: clamp(8px, 1.5vh, 16px);
        }
        
        .hero-buttons .btn-primary {
            padding: clamp(10px, 1.5vh, 14px) clamp(20px, 3vw, 28px);
            font-size: clamp(14px, 1.6vw, 16px);
            border-radius: 980px;
            background: #0071e3;
            color: white;
            border: none;
            cursor: pointer;
            transition: all 0.2s ease;
            text-decoration: none;
        }
        
        .hero-buttons .btn-primary:hover {
            background: #0077ed;
        }
        
        .hero-buttons .btn-tutorial {
            padding: clamp(10px, 1.5vh, 14px) clamp(20px, 3vw, 28px);
            font-size: clamp(14px, 1.6vw, 16px);
            border-radius: 980px;
            background: rgba(0, 113, 227, 0.08);
            color: #0071e3;
            border: none;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .hero-buttons .btn-tutorial:hover {
            background: rgba(0, 113, 227, 0.15);
        }
        
        /* 按钮统一宽度和居中 */
        .hero-buttons .btn-primary,
        .hero-buttons .btn-ai-gen,
        .hero-buttons .btn-tutorial {
            min-width: clamp(90px, 10vw, 120px);
            text-align: center;
            box-sizing: border-box;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        
        /* AI制图按钮 - 紫色渐变 + 发光 */
        .hero-buttons .btn-ai-gen {
            padding: clamp(10px, 1.5vh, 14px) clamp(20px, 3vw, 28px);
            font-size: clamp(14px, 1.6vw, 16px);
            border-radius: 980px;
            background: linear-gradient(135deg, #581c87, #a855f7, #c084fc, #7c3aed, #581c87);
            background-size: 300% 300%;
            animation: gradientShift 3s ease infinite, glowPulse 2s ease-in-out infinite;
            color: white;
            border: none;
            cursor: pointer;
            transition: all 0.2s ease;
            text-decoration: none;
            position: relative;
            box-shadow: 0 0 20px rgba(139, 92, 246, 0.5), 0 0 40px rgba(168, 85, 247, 0.3);
        }
        
        .hero-buttons .btn-ai-gen:hover {
            transform: scale(1.05);
            box-shadow: 0 0 30px rgba(139, 92, 246, 0.7), 0 0 60px rgba(192, 132, 252, 0.5), 0 0 80px rgba(168, 85, 247, 0.4);
        }
        
        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        
        @keyframes glowPulse {
            0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.5), 0 0 40px rgba(168, 85, 247, 0.3); }
            50% { box-shadow: 0 0 30px rgba(192, 132, 252, 0.6), 0 0 50px rgba(124, 58, 237, 0.4); }
        }
        
        .tutorial-card {
            display: none;
        }
        
        /* ========== 中间间距区域 ========== */
        .hero-spacer-mid {
            /* 由grid-template-rows控制 */
        }
        
        /* ========== 视频播放区域 - 占据剩余空间 ========== */
        .hero-right {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 0;
            position: relative;
            z-index: 2;
        }
        
        /* 视频容器 - clamp平滑缩放，保持比例，不超出 */
        .video-container {
            width: clamp(280px, 75vw, 950px);
            max-width: 100%;
            max-height: 100%;
            aspect-ratio: 14 / 9;
            position: relative;
        }
        
        .carousel-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: transparent;
            overflow: hidden;
            border-radius: 16px;
        }
        
        /* 隐藏轮播切换按钮 */
        .carousel-nav-btn {
            display: none;
        }
        
        /* 轮播内容区域 - 填满整个容器 */
        .carousel-wrapper {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            background: transparent;
            border-radius: 16px;
        }
        
        .carousel-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            visibility: hidden;
            transform: translateX(20px);
            transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s 0.4s;
            padding: 0;
        }
        
        .carousel-slide.active {
            opacity: 1;
            visibility: visible;
            transform: translateX(0);
            transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s 0s;
        }
        
        .carousel-slide.prev {
            opacity: 0;
            visibility: hidden;
            transform: translateX(-20px);
        }
        
        .carousel-slide.next-out {
            opacity: 0;
            visibility: hidden;
            transform: translateX(20px);
        }
        
        .carousel-slide img,
        .carousel-slide video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 16px;
        }
        
        /* 隐藏不需要的元素 */
        .carousel-header {
            display: none;
        }
        
        .carousel-title {
            display: none;
        }
        
        .carousel-controls {
            display: none;
        }
        
        .carousel-btn {
            display: none;
        }
        
        .carousel-indicators {
            display: none;
        }
        
        /* ========== 视频加载卡片 ========== */
        .video-loading-card {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            background: transparent;
        }
        
        /* 加载卡片内容 - 填满视频容器 */
        .video-loading-card-inner {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            border-radius: 16px;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        
        .video-loading-card.hidden {
            display: none;
        }
        
        /* 三角函数动画画布 - 填满卡片（除底部文字） */
        .trig-canvas-container {
            flex: 1;
            width: 100%;
            min-height: 0;
            position: relative;
            padding: 20px;
            box-sizing: border-box;
        }
        
        #trigCanvas {
            position: absolute;
            top: 15px;
            left: 15px;
            right: 15px;
            bottom: 0;
            width: calc(100% - 30px);
            height: calc(100% - 15px);
            display: block;
        }
        
        .loading-text {
            height: clamp(40px, 8vh, 60px);
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            font-size: clamp(14px, 2vw, 20px);
            font-weight: 500;
            color: #64748b;
            letter-spacing: 0.08em;
            background: transparent;
            flex-shrink: 0;
            padding-bottom: 10px;
        }
        
        /* 加载动画点 */
        .loading-dots {
            display: flex;
            gap: 4px;
        }
        
        .loading-dots span {
            width: 6px;
            height: 6px;
            background: #3b82f6;
            border-radius: 50%;
            animation: loadingDot 1.4s ease-in-out infinite;
        }
        
        .loading-dots span:nth-child(2) {
            animation-delay: 0.2s;
        }
        
        .loading-dots span:nth-child(3) {
            animation-delay: 0.4s;
        }
        
        @keyframes loadingDot {
            0%, 80%, 100% {
                transform: scale(0.6);
                opacity: 0.4;
            }
            40% {
                transform: scale(1);
                opacity: 1;
            }
        }
        
        /* ========== 底部留白区域 ========== */
        .hero-spacer-bottom {
            /* 由grid-template-rows控制 */
        }
        
        /* 空状态 */
        .carousel-empty {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #94a3b8;
            padding: 40px;
        }
        
        .carousel-empty i {
            font-size: 3.5rem;
            margin-bottom: 16px;
            opacity: 0.4;
            color: #94a3b8;
        }
        
        .carousel-empty p {
            font-size: 1rem;
            margin-bottom: 6px;
            color: #64748b;
        }
        
        .carousel-empty span {
            font-size: 0.85rem;
        }
        
        /* 加载状态 */
        .carousel-loading {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: linear-gradient(180deg, #fafbfc 0%, #f1f5f9 100%);
        }
        
        .carousel-loading .spinner {
            width: 40px;
            height: 40px;
            border: 3px solid #e5e7eb;
            border-top-color: #3b82f6;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        
        .carousel-loading p {
            margin-top: 12px;
            color: #64748b;
            font-size: 0.9rem;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        /* ========== 底部统计栏 ========== */
        .stats {
            flex-shrink: 0;
            padding: 12px 20px;
            background: white;
        }
        
        .stats-inner {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            font-size: 1.1rem;
            color: #475569;
        }
        
        .stats .divider {
            color: #cbd5e1;
        }
        
        .stats .stat-num {
            color: #3b82f6;
            font-weight: 700;
            font-size: 1.3rem;
        }
        
        /* ========== 页脚 ========== */
        .footer {
            flex-shrink: 0;
            padding: 10px 20px;
            background: #1e293b;
            text-align: center;
        }
        
        .footer-inner {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 6px;
            font-size: 0.78rem;
            color: #94a3b8;
        }
        
        .footer .divider {
            color: #64748b;
        }
        
        .footer a {
            color: #94a3b8;
            text-decoration: none;
        }
        
        .footer a:hover {
            color: #e2e8f0;
        }
        
        .footer .beian-link {
            display: inline-flex;
            align-items: center;
            gap: 3px;
        }
        
        .footer .beian-link img {
            height: 12px;
        }
        
        /* ========== 教程弹窗样式 ========== */
        .tutorial-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 10000;
            align-items: center;
            justify-content: center;
            padding: 20px;
            backdrop-filter: blur(4px);
        }
        
        .tutorial-modal.active {
            display: flex;
        }
        
        .tutorial-modal-content {
            background: white;
            border-radius: 16px;
            width: 90vw;
            max-width: 900px;
            max-height: 85vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
        }
        
        .tutorial-modal-header {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 20px;
            background: #f8fafc;
            border-bottom: 1px solid #e5e7eb;
            position: relative;
        }
        
        .tutorial-modal-header .header-left {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }
        
        .tutorial-modal-header .header-left i {
            color: #3b82f6;
            font-size: 1.1rem;
        }
        
        .tutorial-modal-header .header-title {
            font-size: 1rem;
            font-weight: 600;
            color: #1e293b;
        }
        
        .tutorial-modal-header .header-center {
            display: flex;
            align-items: center;
            gap: 8px;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .tutorial-modal-header .step-indicator {
            background: #dbeafe;
            color: #1d4ed8;
            padding: 5px 14px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            margin: 0;
        }
        
        .tutorial-modal-header .step-divider {
            color: #94a3b8;
            font-size: 1.2rem;
        }
        
        .tutorial-modal-header .step-title {
            margin: 0;
            font-size: 1.1rem;
            color: #1e293b;
            font-weight: 600;
        }
        
        .close-modal-btn {
            width: 32px;
            height: 32px;
            border: none;
            background: #e5e7eb;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #64748b;
            transition: all 0.2s;
            flex-shrink: 0;
        }
        
        .close-modal-btn:hover {
            background: #ef4444;
            color: white;
        }
        
        .tutorial-modal-body {
            padding: 16px 20px;
            overflow-y: auto;
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }
        
        .step-nav {
            flex-shrink: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid #e5e7eb;
        }
        
        .tutorial-ggb-wrapper {
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
            overflow: hidden;
        }
        
        .tutorial-ggb-display {
            position: relative;
            width: 100%;
            flex: 1;
            min-height: 200px;
            background: #f8fafc;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid #e2e8f0;
        }
        
        #tutorial-ggb-container {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .tutorial-loading {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: white;
            z-index: 10;
        }
        
        .tutorial-loading .loading-spinner {
            width: 36px;
            height: 36px;
            border: 3px solid #e5e7eb;
            border-top-color: #3b82f6;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        
        .tutorial-loading p {
            margin-top: 10px;
            color: #64748b;
            font-size: 0.85rem;
        }
        
        .tutorial-empty {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: white;
            z-index: 10;
            color: #94a3b8;
        }
        
        .tutorial-empty i {
            font-size: 2.5rem;
            margin-bottom: 12px;
        }
        
        .tutorial-empty p {
            font-size: 1rem;
            margin-bottom: 6px;
            color: #64748b;
        }
        
        .tutorial-empty span {
            font-size: 0.8rem;
            color: #94a3b8;
        }
        
        /* ========== 简化响应式断点 ========== */
        
        /* 平板 (<=768px) */
        @media (max-width: 768px) {
            html, body {
                overflow-x: hidden;
            }
            
            .hero-section {
                padding-top: 56px;
                grid-template-rows: 
                    clamp(12px, 2vh, 30px)
                    auto
                    clamp(12px, 2vh, 24px)
                    1fr
                    clamp(12px, 2vh, 24px);
            }
            
            .video-container {
                width: clamp(280px, 88vw, 700px);
            }
            
            /* 底部栏简化 */
            .stats {
                padding: 8px 12px;
            }
            
            .stats-inner {
                font-size: 0.85rem;
                gap: 10px;
            }
            
            .stats .stat-num {
                font-size: 1rem;
            }
            
            .footer {
                padding: 8px 12px;
            }
            
            .footer-inner {
                font-size: 0.7rem;
                gap: 4px;
            }
            
            /* 教程弹窗 */
            .tutorial-modal {
                padding: 10px;
            }
            
            .tutorial-modal-content {
                width: 100%;
                max-width: none;
                max-height: 90vh;
                border-radius: 12px;
            }
            
            .tutorial-modal-header {
                padding: 10px 12px;
            }
            
            .tutorial-modal-header .header-left {
                display: none;
            }
            
            .tutorial-modal-header .header-center {
                position: static;
                transform: none;
                gap: 6px;
            }
            
            .tutorial-modal-header .step-indicator {
                font-size: 0.75rem;
                padding: 3px 10px;
            }
            
            .tutorial-modal-header .step-title {
                font-size: 0.9rem;
            }
            
            .close-modal-btn {
                width: 28px;
                height: 28px;
            }
            
            .tutorial-modal-body {
                padding: 12px 14px;
            }
            
            .tutorial-ggb-display {
                min-height: 180px;
                border-radius: 8px;
            }
            
            .step-nav {
                margin-top: 10px;
                padding-top: 10px;
            }
            
            .step-btn {
                padding: 8px 14px;
                font-size: 0.85rem;
            }
        }
        
        /* 手机 (<=480px) */
        @media (max-width: 480px) {
            .hero-section {
                padding-top: 52px;
                grid-template-rows: 
                    clamp(8px, 1.5vh, 20px)
                    auto
                    clamp(10px, 1.5vh, 20px)
                    1fr
                    clamp(8px, 1.5vh, 16px);
            }
            
            .video-container {
                width: clamp(260px, 94vw, 500px);
            }
            
            /* 按钮竖排 */
            .hero-buttons {
                flex-direction: column;
                gap: 10px;
                width: 100%;
                max-width: 200px;
            }
            
            .hero-buttons .btn-primary,
            .hero-buttons .btn-ai-gen,
            .hero-buttons .btn-tutorial {
                width: 100%;
                padding: 12px 24px;
                font-size: 15px;
            }
            
            .stats-inner {
                font-size: 0.78rem;
                gap: 8px;
            }
            
            .stats .stat-num {
                font-size: 0.95rem;
            }
            
            .footer-inner {
                font-size: 0.65rem;
            }
            
            /* 教程弹窗 */
            .tutorial-modal {
                padding: 8px;
            }
            
            .tutorial-modal-content {
                max-height: 92vh;
                border-radius: 10px;
            }
            
            .tutorial-modal-header {
                padding: 8px 10px;
            }
            
            .tutorial-modal-header .header-center {
                gap: 4px;
            }
            
            .tutorial-modal-header .step-title {
                font-size: 0.8rem;
            }
            
            .tutorial-modal-header .step-indicator {
                font-size: 0.7rem;
                padding: 2px 8px;
            }
            
            .tutorial-modal-header .step-divider {
                display: none;
            }
            
            .tutorial-modal-body {
                padding: 10px 12px;
            }
            
            .tutorial-ggb-display {
                min-height: 160px;
            }
            
            .step-nav {
                flex-direction: column;
                gap: 8px;
            }
            
            .step-nav .btn,
            .step-btn {
                width: 100%;
                justify-content: center;
                padding: 10px 16px;
                font-size: 0.85rem;
            }
        }
