/* =========================================================

   Tutorial Studio

   Commercial Landing Page

   Design System

========================================================= */

:root {

    --primary: #6366f1;

    --primary-dark: #4f46e5;

    --text: #111827;

    --text-secondary: #64748b;

    --background: #ffffff;

    --border: #e5e7eb;

    --radius: 20px;

    --container: 1320px;

    --shadow:

        0 20px 60px rgba(15, 23, 42, .08);

}

/* =========================================================

   Reset

========================================================= */

* {

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

    scroll-padding-top: 90px;

}

body {

    margin: 0;

    font-family:

        -apple-system,

        BlinkMacSystemFont,

        "Segoe UI",

        "PingFang SC",

        "Microsoft YaHei",

        sans-serif;

    color: var(--text);

    background: var(--background);

    overflow-x: clip;

}

button,

a {

    -webkit-tap-highlight-color: transparent;

}

button {

    font: inherit;

}

a {

    text-decoration: none;

    color: inherit;

}

button,

a {

    transition:

        *background* .25s,

        color .25s,

        border-color .25s,

        transform .25s,

        box-shadow .25s;

}

button:focus-visible,

a:focus-visible {

    outline: 3px solid #818cf8;

    outline-offset: 4px;

}

.container {

    width: min(calc(100% - 64px),

            var(--container));

    margin: auto;

}

.section {

    padding: 110px 0;

}


/* =========================================================
   Background Glow
   背景光效独立定位，不参与页面宽度计算
========================================================= */

.background-glow {
    position: absolute;

    width: min(42vw, 560px);
    height: min(42vw, 560px);

    border-radius: 50%;
    filter: blur(80px);

    pointer-events: none;
    z-index: -1;

    /*
     * 限制光效自身的视觉范围，
     * 避免模糊效果影响页面布局。
     */
    contain: layout paint;
}

/* 右上方光效 */
.background-glow.glow-one {
    width: min(42vw, 560px);
    height: min(42vw, 560px);

    top: 100px;
    right: 0;

    /*
     * 不再使用 right: -250px，
     * 避免元素整体越过页面右边界。
     */
    transform: translateX(12%);

    background: rgba(129, 140, 248, 0.12);
}

/* 左侧光效 */
.background-glow.glow-two {
    width: min(36vw, 460px);
    height: min(36vw, 460px);

    top: 450px;
    left: 0;

    /*
     * 不再使用 left: -250px。
     */
    transform: translateX(-12%);

    background: rgba(56, 189, 248, 0.08);
}

/* 平板 */
@media (max-width: 1024px) {
    .background-glow.glow-one {
        width: min(45vw, 420px);
        height: min(45vw, 420px);

        transform: translateX(8%);
        filter: blur(65px);
    }

    .background-glow.glow-two {
        width: min(40vw, 360px);
        height: min(40vw, 360px);

        transform: translateX(-8%);
        filter: blur(60px);
    }
}

/* 手机 */
@media (max-width: 768px) {
    .background-glow.glow-one {
        width: 220px;
        height: 220px;

        top: 80px;
        right: 0;

        transform: translateX(5%);
        filter: blur(45px);
    }

    .background-glow.glow-two {
        width: 180px;
        height: 180px;

        top: 420px;
        left: 0;

        transform: translateX(-5%);
        filter: blur(40px);
    }
}

/* 小屏手机 */
@media (max-width: 420px) {
    .background-glow.glow-one {
        width: 160px;
        height: 160px;

        transform: none;
    }

    .background-glow.glow-two {
        width: 140px;
        height: 140px;

        transform: none;
    }
}


/* =========================================================

   Header

========================================================= */

.site-header {

    position: sticky;

    top: 0;

    height: 76px;

    z-index: 1000;

    background: rgba(255, 255, 255, .88);

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(226, 232, 240, .65);

}

.site-header.scrolled {

    box-shadow:

        0 8px 30px rgba(15, 23, 42, .05);

}

.header-container {

    max-width: 1440px;

    height: 100%;

    padding: 0 36px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 24px;

}

/* Brand */

.brand {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;

}

.brand-icon {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 11px;

    background:

        linear-gradient(135deg,

            #818cf8,

            #6366f1,

            #4338ca);

    color: white;

    font-size: 23px;

    font-weight: 800;

    box-shadow:

        0 6px 16px rgba(99, 102, 241, .25);

}

.brand-name {

    font-size: 19px;

    font-weight: 750;

    letter-spacing: -.6px;

}

.brand-name span {

    color: var(--primary);

}

/* Navigation */

.desktop-nav {

    display: flex;

    align-items: center;

    gap: 34px;

}

.desktop-nav a {

    font-size: 14px;

    font-weight: 550;

    color: #475569;

}

.desktop-nav a:hover {

    color: var(--primary);

}

/* Header Action */

.header-actions {

    display: flex;

    align-items: center;

    gap: 12px;

}

.header-start {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 11px 20px;

    background: #111827;

    color: white;

    border-radius: 10px;

    font-size: 13px;

    font-weight: 650;

}

.header-start:hover {

    background: var(--primary);

    transform: translateY(-2px);

}

.header-start span {

    font-size: 16px;

}

/* Mobile Menu Button */

.mobile-menu-button {

    display: none;

    width: 40px;

    height: 40px;

    border: 0;

    background: transparent;

    cursor: pointer;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 5px;

}

.mobile-menu-button span {

    width: 22px;

    height: 2px;

    background: #111827;

    border-radius: 4px;

    transition: .3s;

}

.mobile-menu-button.active span:nth-child(1) {

    transform: translateY(7px) rotate(45deg);

}

.mobile-menu-button.active span:nth-child(2) {

    opacity: 0;

}

.mobile-menu-button.active span:nth-child(3) {

    transform: translateY(-7px) rotate(-45deg);

}

/* Mobile Navigation */

.mobile-menu {

    display: none;

}

/* =========================================================

   Hero

========================================================= */

.hero {
    position: relative;
    padding: 64px 0 96px;
    overflow: hidden;
}

.hero-container {

    width: min(calc(100% - 64px),

            1360px);

    margin: auto;

    display: grid;

    grid-template-columns:

        minmax(0, 1fr) minmax(0, 1.05fr);

    align-items: center;

    gap: 65px;

}

/* Hero Content */

.hero-content {

    position: relative;

    z-index: 2;

}

.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 9px 15px;

    background: #eef2ff;

    border: 1px solid #e0e7ff;

    border-radius: 100px;

    font-size: 12px;

    font-weight: 650;

    color: #4f46e5;

}

.badge-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #6366f1;

    box-shadow:

        0 0 0 4px rgba(99, 102, 241, .12);

}

.badge-arrow {

    font-size: 15px;

}

.hero h1 {

    margin: 28px 0 24px;

    font-size: clamp(42px,

            4.5vw,

            72px);

    line-height: 1.17;

    font-weight: 800;

    letter-spacing: -2.5px;

}

.hero-gradient-text {

    background:

        linear-gradient(100deg,

            #4f46e5,

            #7c3aed,

            #2563eb);

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;

}

.hero-description {

    font-size: 16px;

    line-height: 2;

    color: var(--text-secondary);

    margin-bottom: 34px;

}

/* Buttons */

.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

}

.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-height: 52px;

    padding: 0 24px;

    border-radius: 12px;

    font-size: 14px;

    font-weight: 650;

    white-space: nowrap;

}

.button-primary {

    background:

        linear-gradient(135deg,

            #6366f1,

            #4f46e5);

    color: white;

    box-shadow:

        0 10px 25px rgba(99, 102, 241, .24);

}

.button-primary:hover {

    transform: translateY(-3px);

    box-shadow:

        0 15px 35px rgba(99, 102, 241, .3);

}

.button-secondary {

    background: white;

    border: 1px solid #e2e8f0;

    color: #334155;

}

.button-secondary:hover {

    border-color: #a5b4fc;

    color: var(--primary);

    transform: translateY(-3px);

}

/* Highlights */

.hero-highlights {

    display: flex;

    flex-wrap: wrap;

    gap: 22px;

    margin-top: 32px;

    font-size: 12px;

    color: #64748b;

}

.hero-highlights div {

    display: flex;

    align-items: center;

    gap: 6px;

}

.highlight-icon {

    color: #6366f1;

    font-weight: 800;

}

/* =========================================================

   Hero Visual

========================================================= */

.hero-visual {

    position: relative;

    min-width: 0;

    perspective: 1200px;

}

.studio-preview {

    position: relative;

    width: 100%;

    background: white;

    border: 1px solid #e2e8f0;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:

        0 40px 90px rgba(30, 41, 59, .14),

        0 8px 24px rgba(30, 41, 59, .06);

    transform: rotate(-2deg);

    animation:

        previewFloat 7s ease-in-out infinite;

}

@keyframes previewFloat {

    0%,

    100% {

        transform: translateY(0) rotate(-2deg);

    }

    50% {

        transform: translateY(-12px) rotate(-1deg);

    }

}

/* Preview Top */

.preview-topbar {

    height: 46px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 8px;

    padding: 0 16px;

    background: #f8fafc;

    border-bottom: 1px solid #e2e8f0;

}

.preview-dots {

    display: flex;

    gap: 5px;

}

.preview-dots i {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #cbd5e1;

}

.preview-dots i:nth-child(1) {

    background: #fb7185;

}

.preview-dots i:nth-child(2) {

    background: #fbbf24;

}

.preview-dots i:nth-child(3) {

    background: #34d399;

}

.preview-title {

    font-size: 11px;

    font-weight: 700;

    color: #334155;

}

.preview-status {

    font-size: 9px;

    color: #16a34a;

}

/* Preview Body */

.preview-body {

    display: flex;

    height: 360px;

}

.preview-sidebar {

    width: 48px;

    flex-shrink: 0;

    padding: 12px 7px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 12px;

    background: #f8fafc;

    border-right: 1px solid #e2e8f0;

}

.preview-tool {

    width: 30px;

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    color: #64748b;

    font-size: 15px;

}

.preview-tool.active {

    color: #6366f1;

    background: #e0e7ff;

}

.preview-workspace {

    flex: 1;

    min-width: 0;

    padding: 24px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:

        radial-gradient(#cbd5e1 0.7px,

            transparent 0.7px);

    background-size: 16px 16px;

    background-color: #f1f5f9;

}

/* Canvas */

.preview-canvas {

    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    background:

        linear-gradient(135deg,

            #151c42,

            #3730a3,

            #7c3aed);

    border-radius: 7px;

    overflow: hidden;

    box-shadow:

        0 15px 30px rgba(30, 41, 59, .18);

}

.canvas-label {

    position: absolute;

    top: 17%;

    left: 9%;

    font-size: clamp(6px, .7vw, 10px);

    font-weight: 700;

    letter-spacing: 2px;

    color: #c4b5fd;

}

.canvas-title {

    position: absolute;

    top: 30%;

    left: 9%;

    font-size: clamp(22px,

            3vw,

            46px);

    font-weight: 800;

    line-height: 1.05;

    letter-spacing: -1px;

    color: white;

}

.canvas-title span {

    color: #c4b5fd;

}

.canvas-subtitle {

    position: absolute;

    left: 9%;

    bottom: 17%;

    font-size: clamp(7px, .8vw, 12px);

    color: #ddd6fe;

}

.canvas-shape {

    position: absolute;

    width: 38%;

    aspect-ratio: 1;

    right: -4%;

    top: 9%;

    border-radius: 30%;

    background:

        linear-gradient(135deg,

            #f0abfc,

            #818cf8,

            #38bdf8);

    transform: rotate(-25deg);

    box-shadow:

        0 0 60px rgba(196, 181, 253, .4);

    animation:

        shapeRotate 12s ease-in-out infinite alternate;

}

.shape-inner {

    position: absolute;

    inset: 25%;

    border: 2px solid rgba(255, 255, 255, .4);

    border-radius: 30%;

}

@keyframes shapeRotate {

    to {

        transform: rotate(20deg) scale(1.08);

    }

}

.canvas-decoration {

    position: absolute;

    border-radius: 50%;

    filter: blur(20px);

}

.decoration-one {

    width: 140px;

    height: 140px;

    right: 10%;

    bottom: -80px;

    background: #38bdf8;

    opacity: .4;

}

.decoration-two {

    width: 100px;

    height: 100px;

    left: -40px;

    top: -40px;

    background: #a78bfa;

    opacity: .4;

}

/* Selection */

.canvas-selection {

    position: absolute;

    inset: 26% 7% 20% 7%;

    border: 1px solid rgba(255, 255, 255, .55);

    pointer-events: none;

}

.selection-point {

    position: absolute;

    width: 7px;

    height: 7px;

    background: white;

    border: 1px solid #6366f1;

}

.point-one {

    top: -4px;

    left: -4px;

}

.point-two {

    top: -4px;

    right: -4px;

}

.point-three {

    bottom: -4px;

    left: -4px;

}

.point-four {

    bottom: -4px;

    right: -4px;

}

/* Preview Bottom */

.preview-bottom {

    height: 30px;

    padding: 0 15px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #f8fafc;

    border-top: 1px solid #e2e8f0;

    font-size: 9px;

    color: #94a3b8;

}

/* Floating Elements */

.floating-label {

    position: absolute;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 12px 17px;

    background: white;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    box-shadow: var(--shadow);

    font-size: 12px;

    font-weight: 650;

    animation:

        labelFloat 5s ease-in-out infinite;

}

.floating-label span {

    color: #6366f1;

    font-size: 17px;

}

.floating-label-one {

    top: -35px;

    right: -20px;

}

.floating-label-two {

    bottom: 20px;

    left: -35px;

    animation-delay: -2s;

}

@keyframes labelFloat {

    0%,

    100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-9px);

    }

}

.visual-orbit {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

}

.orbit-one {

    width: 450px;

    height: 450px;

    right: -100px;

    top: -100px;

    border: 1px solid rgba(99, 102, 241, .1);

}

.orbit-two {

    width: 550px;

    height: 550px;

    right: -150px;

    top: -150px;

    border: 1px solid rgba(99, 102, 241, .06);

}

/* =========================================================

   Intro

========================================================= */

.section-intro {

    padding: 25px 0;

}

.intro-line {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 30px;

    font-size: 12px;

    letter-spacing: 2px;

    color: #94a3b8;

}

.intro-line span {

    width: 80px;

    height: 1px;

    background: #e2e8f0;

}

/* =========================================================

   Section Heading

========================================================= */

.section-heading {

    margin-bottom: 50px;

}

.section-heading.center {

    text-align: center;

}

.section-label {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

    font-size: 11px;

    font-weight: 750;

    letter-spacing: 2px;

    color: #6366f1;

}

.section-label span {

    width: 7px;

    height: 7px;

    background: #6366f1;

    border-radius: 50%;

}

.section-heading h2 {

    margin: 0 0 20px;

    font-size: clamp(32px,

            3.5vw,

            52px);

    line-height: 1.3;

    font-weight: 800;

    letter-spacing: -1.5px;

}

.section-heading h2 span {

    color: #6366f1;

}

.section-heading p {

    max-width: 650px;

    margin: 0;

    font-size: 15px;

    line-height: 1.9;

    color: #64748b;

}

.section-heading.center p {

    margin: auto;

}

/* =========================================================

   Product Cards

========================================================= */

.products-section {

    background:

        linear-gradient(180deg,

            #ffffff,

            #f8fafc);

}

.product-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 24px;

}

.product-card {

    position: relative;

    min-height: 390px;

    padding: 36px;

    border-radius: 24px;

    overflow: hidden;

    border: 1px solid rgba(226, 232, 240, .8);

    transition:

        transform .35s,

        box-shadow .35s;

}

.product-card:hover {

    transform: translateY(-8px);

    box-shadow:

        0 25px 55px rgba(30, 41, 59, .1);

}

.product-card-content {

    position: relative;

    z-index: 2;

    max-width: 290px;

}

.product-icon {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 25px;

    background: rgba(255, 255, 255, .8);

    border-radius: 13px;

    font-size: 23px;

    box-shadow:

        0 5px 15px rgba(15, 23, 42, .05);

}

.product-tag {

    margin-bottom: 12px;

    font-size: 10px;

    font-weight: 750;

    letter-spacing: 1.5px;

    opacity: .65;

}

.product-card h3 {

    margin: 0 0 15px;

    font-size: 27px;

    letter-spacing: -.7px;

}

.product-card p {

    margin: 0;

    font-size: 13px;

    line-height: 1.9;

    color: #64748b;

}

.product-link {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    margin-top: 25px;

    font-size: 13px;

    font-weight: 750;

}

.product-link span {

    font-size: 20px;

    transition: transform .25s;

}

.product-card:hover .product-link span {

    transform: translate(4px, -4px);

}

/* Product Themes */

.product-editor {

    background:

        linear-gradient(135deg,

            #eef2ff,

            #e0e7ff);

}

.product-tutorial {

    background:

        linear-gradient(135deg,

            #eff6ff,

            #dbeafe);

}

.product-template {

    background:

        linear-gradient(135deg,

            #fff7ed,

            #ffedd5);

}

.product-tools {

    background:

        linear-gradient(135deg,

            #f0fdf4,

            #dcfce7);

}

/* Editor Artwork */

.editor-art {

    position: absolute;

    width: 48%;

    right: -20px;

    bottom: -15px;

    transform: rotate(-8deg);

}

.editor-art-window {

    height: 225px;

    background: white;

    border-radius: 12px;

    box-shadow:

        0 20px 45px rgba(79, 70, 229, .18);

    overflow: hidden;

}

.art-window-top {

    height: 30px;

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 0 12px;

    background: #f8fafc;

}

.art-window-top span {

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: #cbd5e1;

}

.art-window-body {

    display: flex;

    height: calc(100% - 30px);

}

.art-code {

    width: 42%;

    padding: 20px 12px;

    background: #1e1b4b;

}

.art-code div {

    height: 5px;

    margin-bottom: 12px;

    border-radius: 4px;

    background: #818cf8;

}

.art-code div:nth-child(2) {

    width: 70%;

    background: #38bdf8;

}

.art-code div:nth-child(3) {

    width: 85%;

    background: #c4b5fd;

}

.art-code div:nth-child(4) {

    width: 60%;

}

.art-preview {

    flex: 1;

    padding: 20px;

    background: #f8fafc;

}

.art-preview-circle {

    width: 55px;

    height: 55px;

    margin-bottom: 18px;

    border-radius: 50%;

    background:

        linear-gradient(135deg,

            #818cf8,

            #c4b5fd);

}

.art-preview-title {

    width: 90%;

    height: 10px;

    margin-bottom: 10px;

    background: #6366f1;

    border-radius: 5px;

}

.art-preview-text {

    width: 70%;

    height: 6px;

    background: #cbd5e1;

    border-radius: 5px;

}

/* Tutorial Artwork */

.tutorial-art {

    position: absolute;

    right: 20px;

    bottom: 30px;

    width: 190px;

    height: 190px;

}

.tutorial-book {

    position: absolute;

    width: 115px;

    height: 145px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    color: white;

    font-size: 25px;

    font-weight: 800;

    box-shadow:

        0 15px 25px rgba(37, 99, 235, .15);

}

.book-one {

    background: #2563eb;

    transform: rotate(-18deg);

    left: 0;

    top: 20px;

}

.book-two {

    background: #38bdf8;

    transform: rotate(5deg);

    left: 40px;

    top: 10px;

}

.book-three {

    background: #1d4ed8;

    transform: rotate(22deg);

    left: 75px;

    top: 30px;

}

/* Template Artwork */

.template-art {

    position: absolute;

    right: 25px;

    bottom: 20px;

    width: 220px;

    height: 180px;

}

.template-art-card {

    position: absolute;

    width: 125px;

    height: 155px;

    display: flex;

    align-items: flex-end;

    padding: 15px;

    border-radius: 12px;

    color: white;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    box-shadow:

        0 15px 30px rgba(154, 52, 18, .15);

}

.template-a {

    background:

        linear-gradient(135deg,

            #fb923c,

            #ea580c);

    transform: rotate(-15deg);

}

.template-b {

    background:

        linear-gradient(135deg,

            #fbbf24,

            #f97316);

    left: 45px;

    transform: rotate(5deg);

}

.template-c {

    background:

        linear-gradient(135deg,

            #fdba74,

            #c2410c);

    left: 85px;

    transform: rotate(20deg);

}

/* Tools Artwork */

.tools-art {

    position: absolute;

    width: 220px;

    height: 200px;

    right: 10px;

    bottom: 15px;

}

.tool-bubble {

    position: absolute;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 18px;

    background: white;

    box-shadow:

        0 12px 25px rgba(22, 101, 52, .12);

    color: #16a34a;

    font-weight: 800;

}

.bubble-one {

    width: 70px;

    height: 70px;

    left: 10px;

    top: 20px;

    font-size: 30px;

    transform: rotate(-12deg);

}

.bubble-two {

    width: 60px;

    height: 60px;

    right: 15px;

    top: 0;

    font-size: 25px;

    transform: rotate(12deg);

}

.bubble-three {

    width: 85px;

    height: 85px;

    left: 60px;

    bottom: 0;

    font-size: 40px;

    transform: rotate(8deg);

}

.bubble-four {

    width: 45px;

    height: 45px;

    right: 0;

    bottom: 25px;

    font-size: 23px;

}

/* =========================================================

   Features

========================================================= */

.features-section {

    background: white;

}

.features-grid {

    display: grid;

    grid-template-columns:

        repeat(4, minmax(0, 1fr));

    gap: 22px;

}

.feature-card {

    padding: 30px;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    background: white;

    transition: .3s;

}

.feature-card:hover {

    transform: translateY(-6px);

    border-color: #c7d2fe;

    box-shadow:

        0 15px 35px rgba(30, 41, 59, .06);

}

.feature-icon {

    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 25px;

    border-radius: 15px;

    background: #eef2ff;

    color: #6366f1;

    font-size: 27px;

}

.feature-card h3 {

    margin: 0 0 14px;

    font-size: 17px;

}

.feature-card p {

    margin: 0;

    font-size: 13px;

    line-height: 1.9;

    color: #64748b;

}

/* =========================================================

   Scenarios

========================================================= */

.scenarios-section {

    background: #f8fafc;

}

.scenario-grid {

    display: grid;

    grid-template-columns:

        repeat(4, minmax(0, 1fr));

    gap: 20px;

}

.scenario-card {

    position: relative;

    min-height: 300px;

    padding: 25px;

    border-radius: 20px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition: .3s;

}

.scenario-card:hover {

    transform: translateY(-7px);

    box-shadow:

        0 20px 40px rgba(30, 41, 59, .12);

}

.scenario-symbol {

    display: flex;

    align-items: center;

    justify-content: center;

    height: 180px;

    font-size: 80px;

    font-weight: 800;

    opacity: .65;

    transition: .4s;

}

.scenario-card:hover .scenario-symbol {

    transform: scale(1.15) rotate(-5deg);

}

.scenario-info h3 {

    margin: 0 0 8px;

    font-size: 19px;

}

.scenario-info p {

    margin: 0;

    font-size: 12px;

    opacity: .75;

}

.scenario-arrow {

    position: absolute;

    top: 20px;

    right: 22px;

    font-size: 22px;

}

.scenario-culture {

    background: #fee2e2;

    color: #991b1b;

}

.scenario-education {

    background: #dbeafe;

    color: #1d4ed8;

}

.scenario-design {

    background: #ede9fe;

    color: #6d28d9;

}

.scenario-media {

    background: #dcfce7;

    color: #166534;

}

/* =========================================================

   Workflow

========================================================= */

.workflow-section {

    background: white;

}

.workflow-grid {

    display: grid;

    grid-template-columns:

        repeat(4, minmax(0, 1fr));

    gap: 30px;

}

.workflow-step {

    position: relative;

    text-align: center;

}

.step-number {

    margin-bottom: 20px;

    font-size: 12px;

    font-weight: 750;

    color: #a5b4fc;

}

.step-icon {

    width: 80px;

    height: 80px;

    margin: 0 auto 25px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 24px;

    background: #eef2ff;

    color: #6366f1;

    font-size: 32px;

}

.workflow-step h3 {

    margin: 0 0 12px;

    font-size: 18px;

}

.workflow-step p {

    margin: 0;

    font-size: 13px;

    line-height: 1.8;

    color: #64748b;

}

/* =========================================================

   CTA

========================================================= */

.cta-section {

    padding: 60px 0 100px;

}

.cta-panel {

    position: relative;

    min-height: 400px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 70px 30px;

    border-radius: 30px;

    overflow: hidden;

    text-align: center;

    background:

        linear-gradient(135deg,

            #312e81,

            #4f46e5,

            #7c3aed);

    color: white;

}

.cta-content {

    position: relative;

    z-index: 2;

}

.cta-badge {

    display: inline-block;

    margin-bottom: 25px;

    padding: 8px 16px;

    border: 1px solid rgba(255, 255, 255, .25);

    border-radius: 100px;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    color: #ddd6fe;

}

.cta-panel h2 {

    margin: 0 0 20px;

    font-size: clamp(34px,

            4vw,

            55px);

    line-height: 1.25;

    letter-spacing: -1px;

}

.cta-panel p {

    margin: 0;

    font-size: 14px;

    line-height: 2;

    color: #ddd6fe;

}

.cta-actions {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 30px;

}

.button-light {

    background: white;

    color: #4338ca;

}

.button-light:hover {

    transform: translateY(-3px);

    background: #eef2ff;

}

.button-outline-light {

    border: 1px solid rgba(255, 255, 255, .4);

    color: white;

}

.button-outline-light:hover {

    background: rgba(255, 255, 255, .1);

    transform: translateY(-3px);

}

.cta-decoration {

    position: absolute;

    width: 350px;

    height: 350px;

    border: 1px solid rgba(255, 255, 255, .12);

    border-radius: 50%;

}

.decoration-left {

    left: -150px;

    top: -150px;

}

.decoration-right {

    right: -150px;

    bottom: -150px;

}


/* =========================================================
   Footer
   页脚 + ICP 备案信息
========================================================= */

.site-footer {
    padding: 70px 0 25px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand p {
    margin-top: 20px;
    font-size: 13px;
    line-height: 2;
    color: #64748b;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-column h4 {
    margin: 0 0 10px;
    font-size: 14px;
}

.footer-column a {
    font-size: 13px;
    color: #64748b;
}

.footer-column a:hover {
    color: #6366f1;
}

/* =========================================================
   Footer Bottom
   版权、宣传文字、ICP备案统一放在同一区域
========================================================= */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    width: 100%;
    min-width: 0;
    gap: 12px 24px;

    padding-top: 25px;
    border-top: 1px solid #e2e8f0;

    font-size: 12px;
    line-height: 1.9;
    color: #64748b;

    box-sizing: border-box;
}

/* 左侧版权信息 */

.footer-bottom-copyright {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    min-width: 0;
    gap: 8px;

    line-height: 1.9;
}

/* 右侧宣传语与备案链接 */

.footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;

    min-width: 0;
    max-width: 100%;
    gap: 8px 12px;

    line-height: 1.9;
}

/* 分隔符 */

.footer-divider {
    flex-shrink: 0;
    color: #cbd5e1;
}

/* ICP 备案链接 */

.icp-link {
    display: inline-block;

    max-width: 100%;
    min-width: 0;

    color: #64748b;
    text-decoration: none;

    overflow-wrap: anywhere;
    word-break: break-word;

    transition: color .25s;
}

.icp-link:hover {
    color: #4f46e5;
    text-decoration: underline;
}

/* =========================================================
   Tablet
========================================================= */

@media (max-width: 1100px) {
    .footer-links {
        gap: 40px;
    }

    .footer-bottom {
        gap: 12px 18px;
    }

    .footer-bottom-links {
        gap: 8px 10px;
    }
}

/* =========================================================
   Mobile
========================================================= */

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .footer-column a {
        font-size: 12px;
    }

    /* 页脚改为纵向排列，防止手机横向溢出 */

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 10px;
        text-align: center;
    }

    .footer-bottom-copyright {
        justify-content: center;
        max-width: 100%;
    }

    .footer-bottom-links {
        justify-content: center;
        max-width: 100%;
        gap: 6px 8px;
    }

    .icp-link {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

/* =========================================================
   Small Mobile
========================================================= */

@media (max-width: 420px) {
    .footer-links {
        gap: 12px;
    }

    .footer-bottom {
        gap: 8px;
        font-size: 11px;
    }

    .footer-bottom-copyright,
    .footer-bottom-links {
        gap: 5px 6px;
    }
}

/* =========================================================

   Back To Top

========================================================= */

.back-to-top {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 45px;

    height: 45px;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    background: white;

    color: #6366f1;

    font-size: 22px;

    cursor: pointer;

    box-shadow:

        0 10px 25px rgba(15, 23, 42, .08);

    opacity: 0;

    visibility: hidden;

    transform: translateY(15px);

    z-index: 100;

}

.back-to-top.visible {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}

.back-to-top:hover {

    background: #6366f1;

    color: white;

}

/* =========================================================

   Reveal Animation

========================================================= */

.js-reveal {

    opacity: 0;

    transform: translateY(25px);

    transition:

        opacity .7s ease,

        transform .7s ease;

}

.js-reveal.revealed {

    opacity: 1;

    transform: translateY(0);

}

/* =========================================================

   Tablet

========================================================= */

@media (max-width: 1100px) {

    .desktop-nav {

        gap: 20px;

    }

    .hero-container {

        gap: 35px;

    }

    .hero h1 {

        font-size: 50px;

    }

    .features-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .scenario-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .footer-links {

        gap: 40px;

    }

}

/* =========================================================

   Mobile

========================================================= */

@media (max-width: 768px) {

    .container {

        width: calc(100% - 36px);

    }

    .section {

        padding: 70px 0;

    }

    /* Header */

    .site-header {

        height: 64px;

    }

    .header-container {

        padding: 0 18px;

    }

    .brand-name {

        font-size: 17px;

    }

    .brand-icon {

        width: 34px;

        height: 34px;

        font-size: 20px;

    }

    .desktop-nav {

        display: none;

    }

    .header-start {

        display: none;

    }

    .mobile-menu-button {

        display: flex;

    }

    /* Mobile Menu: hidden menus must not affect mobile viewport */
    .mobile-menu {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: auto;
        width: 100%;
        max-width: 100%;
        max-height: calc(100dvh - 64px);
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        z-index: 999;
        background: #fff;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 15px 30px rgba(15, 23, 42, .08);
    }

    .mobile-menu.open {
        display: block;
    }

    .mobile-menu nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 15px 20px 25px;
        box-sizing: border-box;
    }

    .mobile-menu a {
        display: block;
        width: 100%;
        min-width: 0;
        padding: 15px 5px;
        border-bottom: 1px solid #f1f5f9;
        font-size: 15px;
        color: #334155;
        box-sizing: border-box;
    }

    .mobile-menu .mobile-start {
        margin-top: 15px;
        padding: 14px;
        text-align: center;
        background: #6366f1;
        color: #fff;
        border-radius: 10px;
    }

    /* Hero */
    .hero {
        padding: 48px 0 80px;
    }

    .hero-container {

        width: calc(100% - 36px);

        grid-template-columns: 1fr;

        gap: 70px;

    }

    .hero-content {

        text-align: center;

    }

    .hero-badge {

        font-size: 11px;

    }

    .hero h1 {

        margin-top: 25px;

        font-size: clamp(38px,

                9vw,

                55px);

        letter-spacing: -1.5px;

    }

    .hero-description {

        font-size: 14px;

        line-height: 1.9;

    }

    .hero-description br {

        display: none;

    }

    .hero-actions {

        justify-content: center;

    }

    .hero-highlights {

        justify-content: center;

        gap: 15px;

    }

    /* Hero Preview */

    .hero-visual {

        width: 100%;

    }

    .studio-preview {

        transform: none;

        animation:

            mobilePreviewFloat 7s ease-in-out infinite;

    }

    @keyframes mobilePreviewFloat {

        0%,

        100% {

            transform: translateY(0);

        }

        50% {

            transform: translateY(-8px);

        }

    }

    .preview-body {

        height: 260px;

    }

    .preview-workspace {

        padding: 12px;

    }

    .preview-sidebar {

        width: 38px;

    }

    .preview-tool {

        width: 26px;

        height: 26px;

        font-size: 12px;

    }

    .canvas-title {

        font-size: clamp(20px, 6vw, 36px);

    }

    .floating-label {

        padding: 8px 10px;

        font-size: 10px;

    }

    .floating-label-one {

        right: -5px;

        top: -25px;

    }

    .floating-label-two {

        left: -5px;

        bottom: -20px;

    }

    /* Intro */

    .intro-line {

        gap: 12px;

        font-size: 10px;

        letter-spacing: 1px;

    }

    .intro-line span {

        width: 25px;

    }

    /* Headings */

    .section-heading {

        margin-bottom: 35px;

    }

    .section-heading h2 {

        font-size: 34px;

        letter-spacing: -1px;

    }

    .section-heading p {

        font-size: 14px;

    }

    /* Products */

    .product-grid {

        grid-template-columns: 1fr;

    }

    .product-card {

        min-height: 340px;

        padding: 28px;

    }

    .product-card h3 {

        font-size: 23px;

    }

    .product-card-content {

        max-width: 65%;

    }

    .editor-art {

        width: 50%;

    }

    .tutorial-art {

        transform: scale(.8);

        transform-origin: bottom right;

    }

    .template-art {

        transform: scale(.8);

        transform-origin: bottom right;

    }

    .tools-art {

        transform: scale(.8);

        transform-origin: bottom right;

    }

    /* Features */

    .features-grid {

        grid-template-columns: 1fr;

    }

    .feature-card {

        padding: 25px;

    }

    /* Scenarios */

    .scenario-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 12px;

    }

    .scenario-card {

        min-height: 230px;

        padding: 18px;

    }

    .scenario-symbol {

        height: 120px;

        font-size: 55px;

    }

    .scenario-info h3 {

        font-size: 15px;

    }

    .scenario-info p {

        font-size: 11px;

        line-height: 1.6;

    }

    /* Workflow */

    .workflow-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 35px 15px;

    }

    .step-icon {

        width: 65px;

        height: 65px;

        font-size: 26px;

    }

    .workflow-step h3 {

        font-size: 16px;

    }

    .workflow-step p {

        font-size: 12px;

    }

    /* CTA */

    .cta-section {

        padding: 20px 0 70px;

    }

    .cta-panel {

        min-height: 360px;

        padding: 60px 22px;

        border-radius: 22px;

    }

    .cta-panel h2 {

        font-size: 34px;

    }

    .cta-panel p {

        font-size: 13px;

        line-height: 1.9;

    }

    .cta-panel p br {

        display: none;

    }

    /* Footer */

    .footer-main {

        flex-direction: column;

        gap: 40px;

    }

    .footer-links {

        display: grid;

        grid-template-columns: repeat(3, 1fr);

        gap: 20px;

    }

    .footer-column a {

        font-size: 12px;

    }

    .footer-bottom {

        flex-direction: column;

        text-align: center;

        align-items: center;

    }

}

/* =========================================================

   Small Mobile

========================================================= */

@media (max-width: 420px) {

    .hero h1 {

        font-size: 37px;

    }

    .hero-actions {

        flex-direction: column;

    }

    .hero-actions .button {

        width: 100%;

    }

    .hero-highlights {

        gap: 12px;

    }

    .hero-highlights div {

        font-size: 11px;

    }

    .preview-body {

        height: 210px;

    }

    .preview-status {

        display: none;

    }

    .product-card {

        min-height: 350px;

        padding: 24px;

    }

    .product-card-content {

        max-width: 70%;

    }

    .product-card h3 {

        font-size: 21px;

    }

    .product-card p {

        font-size: 12px;

    }

    .editor-art {

        width: 52%;

        right: -40px;

    }

    .tutorial-art,

    .template-art,

    .tools-art {

        transform: scale(.65);

    }

    .scenario-card {

        min-height: 215px;

    }

    .scenario-info h3 {

        font-size: 14px;

    }

    .footer-links {

        gap: 12px;

    }

}

/* =========================================================

   Accessibility

========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,

    *::before,

    *::after {

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;

    }

    .js-reveal {

        opacity: 1;

        transform: none;

    }

}