* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    touch-action: manipulation;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #f0f2f5;
    min-height: 100vh;
    color: #333;
    touch-action: manipulation;
}

.wrapper {
    max-width: 100%;
    min-height: 100vh;
    background: #fff;
}

/* 顶部导航 */
.topbar {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
}

.topbar-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon img {
    height: 32px;
}

.subtitle {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
}

.navigation {
    display: flex;
    gap: 24px;
}

.navigation a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.3s;
}

.navigation a:hover {
    color: #ff2442;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.btn-upgrade {
    background: linear-gradient(135deg, #ff2442, #ff5577);
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: opacity 0.3s;
}

.btn-upgrade:hover {
    opacity: 0.9;
}

.btn-login {
    background: white;
    color: #333;
    border: 1px solid #d9d9d9;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-login:hover {
    color: #ff2442;
    border-color: #ff2442;
}

.btn-subscribe {
    background: linear-gradient(135deg, #ff2442, #ff5577);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 36, 66, 0.3);
}

.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 36, 66, 0.4);
    opacity: 0.95;
}

/* 二维码弹窗 */
.qr-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.qr-popup.active {
    display: flex;
}

.qr-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.qr-popup-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease-out;
    z-index: 10001;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.qr-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    line-height: 1;
}

.qr-popup-close:hover {
    background: #f5f5f5;
    color: #333;
}

.qr-popup-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.qr-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto 20px;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qr-popup-content p {
    font-size: 14px;
    color: #666;
    margin-top: 16px;
}

/* 主内容区 */
.content-area {
    width: 100%;
    margin: 0;
    padding: 60px 0 0;
    background: #fff;
    position: relative;
}

.content-area > .hero-section,
.content-area > .function-panel {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* 首屏装饰动画 */
.decoration-layer {
    position: absolute;
    top: -200px;
    left: 0;
    width: 100%;
    height: 1800px;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: 0.6;
}

.hero-section,
.function-panel {
    position: relative;
    z-index: 1;
}

.animated-shape {
    position: absolute;
    opacity: 0.35;
    will-change: transform;
    mix-blend-mode: multiply;
}

/* 第一组 - 顶部 */
.animated-square-1 {
    width: 350px;
    height: 350px;
    top: 8%;
    right: 5%;
    animation: float-1 22s ease-in-out infinite;
    filter: blur(100px) saturate(200%);
}

.animated-circle-1 {
    width: 450px;
    height: 450px;
    top: 35%;
    left: 2%;
    animation: float-2 28s ease-in-out infinite;
    filter: blur(120px) saturate(180%);
}

.animated-irregular-1 {
    width: 380px;
    height: 380px;
    top: 15%;
    left: 45%;
    animation: float-3 32s ease-in-out infinite;
    filter: blur(110px) saturate(190%);
}

/* 第二组 - 中部 */
.animated-square-2 {
    width: 320px;
    height: 320px;
    top: 50%;
    right: 15%;
    animation: float-4 26s ease-in-out infinite;
    filter: blur(95px) saturate(175%);
}

.animated-circle-2 {
    width: 420px;
    height: 420px;
    top: 65%;
    left: 8%;
    animation: float-5 30s ease-in-out infinite;
    filter: blur(115px) saturate(185%);
}

.animated-irregular-2 {
    width: 360px;
    height: 360px;
    top: 58%;
    right: 45%;
    animation: float-6 24s ease-in-out infinite;
    filter: blur(105px) saturate(195%);
}

/* 第三组 - 底部 */
.animated-square-3 {
    width: 340px;
    height: 340px;
    bottom: 10%;
    left: 25%;
    animation: float-1 34s ease-in-out infinite reverse;
    filter: blur(100px) saturate(170%);
}

.animated-circle-3 {
    width: 400px;
    height: 400px;
    bottom: 5%;
    right: 20%;
    animation: float-2 29s ease-in-out infinite reverse;
    filter: blur(125px) saturate(180%);
}

/* 漂浮动画 - 类型1 */
@keyframes float-1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(-20px, -30px) rotate(45deg) scale(1.05);
    }
    50% {
        transform: translate(-10px, -50px) rotate(90deg) scale(1);
    }
    75% {
        transform: translate(-30px, -40px) rotate(135deg) scale(0.95);
    }
}

/* 漂浮动画 - 类型2 */
@keyframes float-2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(30px, -30px) rotate(60deg) scale(1.08);
    }
    66% {
        transform: translate(15px, -60px) rotate(120deg) scale(0.92);
    }
}

/* 漂浮动画 - 类型3 */
@keyframes float-3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    30% {
        transform: translate(-35px, 25px) rotate(-30deg) scale(1.06);
    }
    60% {
        transform: translate(-20px, 45px) rotate(-60deg) scale(0.94);
    }
    90% {
        transform: translate(-40px, 20px) rotate(-90deg) scale(1.02);
    }
}

/* 漂浮动画 - 类型4 */
@keyframes float-4 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    40% {
        transform: translate(25px, -35px) rotate(50deg) scale(1.04);
    }
    80% {
        transform: translate(-15px, -25px) rotate(100deg) scale(0.96);
    }
}

/* 漂浮动画 - 类型5 */
@keyframes float-5 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    35% {
        transform: translate(-30px, 20px) rotate(-40deg) scale(1.07);
    }
    70% {
        transform: translate(-10px, 40px) rotate(-80deg) scale(0.93);
    }
}

/* 漂浮动画 - 类型6 */
@keyframes float-6 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(40px, -20px) rotate(35deg) scale(1.05);
    }
    50% {
        transform: translate(20px, -40px) rotate(70deg) scale(1);
    }
    75% {
        transform: translate(30px, -30px) rotate(105deg) scale(0.95);
    }
}

/* 标题区域 */
.hero-section {
    text-align: center;
    margin-bottom: 50px;
}

.brand-image {
    margin-bottom: 24px;
}

.brand-image img {
    height: 80px;
}

.hero-image {
    margin-bottom: 16px;
    margin: 0 auto 16px;
    text-align: center;
}

.hero-image img {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 16px;
    color: #666;
}

/* 工具区域 */
.function-panel {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 80px;
}

/* 选项卡 */
.switch-tabs {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e8e8e8;
    padding: 0 16px;
    position: relative;
}

.switch-btn {
    padding: 12px 24px;
    border: none;
    background: none;
    font-size: 16px;
    cursor: pointer;
    color: #666;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.3s;
    position: relative;
}

.switch-btn.active {
    color: #ff2442;
    border-bottom-color: #ff2442;
    font-weight: 500;
}

.switch-btn:hover:not(.active) {
    color: #333;
}

.switch-extra {
    margin-left: auto;
    display: flex;
    gap: 8px;
    padding: 8px 0;
}

.icon-btn {
    padding: 6px 12px;
    border: 1px solid #d9d9d9;
    background: white;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    color: #333;
}

.icon-btn:hover {
    border-color: #ff2442;
    color: #ff2442;
}

/* 输入区域 */
.form-section {
    padding: 24px;
}

.panel-content {
    display: none;
}

.panel-content.active {
    display: block;
}

.form-wrapper {
    background: #fafafa;
    border-radius: 4px;
    padding: 12px 16px;
    border: 1px solid #d9d9d9;
    transition: all 0.3s;
}

.form-wrapper:focus-within {
    background: white;
    border-color: #40a9ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.primary-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 14px;
    padding: 4px 0;
    outline: none;
    color: #333;
}

.primary-input::placeholder {
    color: #bfbfbf;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.mode-btn {
    padding: 3px 10px;
    border: 1px solid #d9d9d9;
    background: #f5f5f5;
    color: #666;
    border-radius: 12px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    line-height: 1.4;
}

.mode-btn:hover {
    background: #e8e8e8;
    border-color: #bfbfbf;
    color: #333;
}

.action-area {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

.online-status,
.pro-mode {
    /* 保留原有类名以兼容 */
}

.action-btn {
    background: #ff2442;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    margin-left: auto;
    display: inline-block;
    text-decoration: none;
}

.action-btn:hover {
    background: #ff4d6a;
}

.action-btn:active {
    background: #d91f3a;
}

.price-tag {
    font-size: 12px;
    opacity: 0.9;
}

/* 文本域 */
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    outline: none;
    transition: all 0.3s;
}

textarea:focus {
    border-color: #40a9ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.tone-select {
    padding: 6px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    background: white;
}

/* 推荐列表 */
.suggestion-box {
    margin-top: 16px;
    padding: 16px;
    background: #fafafa;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.suggestion-title {
    font-size: 14px;
    font-weight: 500;
    color: #ff1616;
    margin-bottom: 12px;
}

.suggestion-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.suggestion-item {
    padding: 8px 12px;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
    color: #333;
}

.suggestion-item:hover {
    background: #e6f7ff;
    color: #ff2442;
}

/* 工具栏 */
.control-bar {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid #e8e8e8;
    flex-wrap: wrap;
    gap: 12px;
}

.control-left,
.control-right {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.version-select,
.control-btn {
    padding: 6px 16px;
    border: 1px solid #d9d9d9;
    background: white;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    color: #333;
    display: inline-block;
    text-decoration: none;
}

.version-select:hover,
.control-btn:hover {
    border-color: #ff2442;
    color: #ff2442;
}

.control-btn.primary-action {
    background: #ff2442;
    color: white;
    border-color: #ff2442;
}

.control-btn.primary-action:hover {
    background: #ff4d6a;
}

/* 系统功能介绍 */
.feature-showcase {
    margin: 80px auto;
    max-width: 1200px;
    padding: 0 24px;
}

.feature-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: #fafafa;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.feature-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
}

.feature-card span {
    display: block;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
}

.feature-card p {
    margin: 0;
    padding: 0;
}

/* 图片模板展示 */
.template-showcase {
    margin: 80px auto;
    max-width: 1200px;
    padding: 0 24px;
}

.showcase-header {
    text-align: center;
    margin-bottom: 60px;
}

.showcase-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.showcase-header p {
    font-size: 16px;
    color: #666;
    line-height: 2;
    max-width: 800px;
    margin: 0 auto;
}

.template-filter {
    margin-bottom: 30px;
}

.filter-line {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

.filter-name {
    font-size: 14px;
    color: #333;
    width: 80px;
    flex-shrink: 0;
    padding-top: 6px;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    padding: 6px 16px;
    border: 1px solid #d9d9d9;
    background: white;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

.filter-chip.active {
    border-color: #ff2442;
    color: #ff2442;
    background: #fff1f0;
}

.filter-chip:hover {
    border-color: #ff2442;
    color: #ff2442;
}

.template-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.template-item {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.template-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.template-item img {
    width: 100%;
    height: auto;
    display: block;
}

.template-item p {
    padding: 12px;
    font-size: 13px;
    color: #333;
    text-align: center;
}

/* AI配图、批量生成、发布笔记 section */
.mapping-showcase,
.generation-showcase,
.publish-showcase,
.benchmark-showcase {
    width: 100%;
    margin: 0;
    padding: 120px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.mapping-showcase {
    background: #fafbfc;
}

.generation-showcase {
    background: #fff;
}

.publish-showcase {
    background: #fafbfc;
}

.benchmark-showcase {
    background: #fff;
}

.content-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.content-layout.reverse {
    flex-direction: row-reverse;
}

.content-text {
    flex: 0 0 480px;
}

.content-text h2 {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 32px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.content-text p {
    font-size: 18px;
    color: #666;
    line-height: 2;
    margin-bottom: 48px;
}

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

.content-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
}

.content-image img {
    width: 100%;
    max-width: 800px;
    height: auto;
    transform: translateZ(40px) rotateY(-2deg);
    box-shadow: 
        0 50px 100px -20px rgba(0, 0, 0, 0.15),
        0 30px 60px -30px rgba(0, 0, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.content-image img:hover {
    transform: translateZ(60px) rotateY(0deg) scale(1.02);
    box-shadow: 
        0 60px 120px -20px rgba(0, 0, 0, 0.2),
        0 40px 80px -30px rgba(0, 0, 0, 0.25);
}

/* 9:16竖屏图片样式 - 缩小尺寸 */
.content-image .vertical-image {
    max-width: 400px;
    width: auto;
}

.btn-try {
    padding: 16px 48px;
    background: linear-gradient(135deg, #ff2442, #ff5577);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    box-shadow: 0 10px 30px rgba(255, 36, 66, 0.3);
    text-decoration: none;
}

.btn-try:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(255, 36, 66, 0.4);
}

/* 引导区域 */
.cta-section {
    text-align: center;
    margin: 120px auto;
    padding: 100px 60px;
    background: linear-gradient(135deg, #ff2442 0%, #ff5577 100%);
    border-radius: 16px;
    color: white;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 50px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.btn-launch {
    padding: 18px 60px;
    background: white;
    color: #ff2442;
    border: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    display: inline-block;
    text-decoration: none;
}

.btn-launch:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* 底部 */
.bottom-bar {
    background: #fafafa;
    border-top: 1px solid #e8e8e8;
    padding: 60px 0 40px;
}

.bottom-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 60px;
}

.bottom-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bottom-logo {
    height: 40px;
}

.footer-qr {
    width: 100px;
    height: 100px;
}

.footer-tag {
    font-size: 14px;
    color: #666;
}

.bottom-right {
    flex: 1;
    display: flex;
    gap: 60px;
}

.bottom-group h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 16px;
    font-weight: 600;
}

.bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
}

.bottom-links a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.bottom-links a:hover {
    color: #ff2442;
}

.bottom-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    text-align: center;
    border-top: 1px solid #e8e8e8;
    margin-top: 20px;
}

.bottom-info p {
    font-size: 13px;
    color: #999;
    margin: 0;
}

.bottom-info a {
    color: #666;
    text-decoration: none;
    margin-left: 8px;
}

.bottom-info a:hover {
    color: #ff2442;
}

/* 浮动工具栏 */
.floating-tools {
    position: fixed;
    right: 24px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1000;
}

.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    background: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.float-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #40a9ff;
}

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

@media (max-width: 768px) {
    .navigation {
        display: none;
    }

    .hero-section {
        padding: 0 16px;
        margin-bottom: 40px;
    }

    .brand-image img {
        height: 60px;
    }

    .hero-image img {
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    /* 工具区域优化 */
    .function-panel {
        border-radius: 8px;
        margin-bottom: 60px;
    }

    .switch-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 12px;
        flex-wrap: nowrap;
    }

    .switch-btn {
        padding: 10px 20px;
        font-size: 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .switch-extra {
        display: none;
    }

    .form-section {
        padding: 20px 16px;
    }

    .form-wrapper {
        padding: 12px;
    }

    .primary-input {
        font-size: 14px;
    }

    .form-actions {
        gap: 8px;
        margin-top: 8px;
    }

    .mode-btn {
        font-size: 10px;
        padding: 3px 8px;
        border-radius: 10px;
    }

    .action-area {
        margin-top: 12px;
        justify-content: stretch;
    }

    .action-btn {
        width: 100%;
        text-align: center;
    }

    .action-btn {
        margin-left: 0;
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
        order: 1;
    }

    textarea {
        font-size: 14px;
        padding: 12px;
    }

    .tone-select {
        width: 100%;
        padding: 10px 12px;
    }

    .control-bar {
        flex-direction: column;
        padding: 16px;
        gap: 12px;
    }

    .control-left,
    .control-right {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .control-left .version-select {
        grid-column: 1 / -1;
    }

    .version-select,
    .control-btn {
        width: 100%;
        padding: 10px 16px;
        font-size: 14px;
        text-align: center;
    }

    .floating-tools {
        right: 16px;
        bottom: 60px;
    }

    .float-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .feature-showcase {
        margin: 60px auto;
        padding: 0 20px;
    }

    .feature-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .feature-card {
        padding: 24px 16px;
    }

    .feature-card img {
        width: 70px;
        height: 70px;
        margin-bottom: 14px;
    }

    .feature-card span {
        font-size: 14px;
        line-height: 1.4;
    }

    .template-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .mapping-showcase,
    .generation-showcase,
    .publish-showcase,
    .benchmark-showcase {
        padding: 80px 0;
    }

    .content-layout {
        padding: 0 24px;
    }

    .content-layout,
    .content-layout.reverse {
        flex-direction: column;
        gap: 50px;
    }

    .content-text {
        flex: 1;
    }

    .content-text h2 {
        font-size: 36px;
    }

    .content-text p {
        font-size: 16px;
    }

    .content-image img {
        transform: translateZ(20px) rotateY(0deg);
    }

    .cta-section {
        padding: 60px 24px;
        margin: 80px 24px;
    }

    .cta-section h2 {
        font-size: 36px;
    }

    .cta-section p {
        font-size: 16px;
    }

    .bottom-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .bottom-right {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .topbar-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 12px 16px;
    }

    .brand-icon {
        gap: 6px;
    }

    .brand-icon img {
        height: 28px;
    }

    .subtitle {
        font-size: 11px;
    }

    .action-buttons {
        width: 100%;
        justify-content: center;
    }

    .btn-subscribe {
        padding: 10px 24px;
        font-size: 14px;
    }

    .content-area {
        padding: 40px 0 0;
    }

    .hero-section {
        padding: 0 12px;
        margin-bottom: 30px;
    }

    .brand-image img {
        height: 50px;
    }

    .hero-image img {
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    /* 工具区域 */
    .function-panel {
        margin: 0 12px 40px;
    }

    .switch-tabs {
        padding: 0 8px;
    }

    .switch-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .form-section {
        padding: 16px 12px;
    }

    .form-wrapper {
        padding: 10px 12px;
    }

    .primary-input {
        font-size: 13px;
    }

    .mode-btn {
        padding: 2px 8px;
        font-size: 10px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
    }

    .action-area {
        margin-top: 10px;
    }

    .action-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .price-tag {
        font-size: 11px;
    }

    .control-bar {
        padding: 12px;
        gap: 10px;
    }

    .control-left,
    .control-right {
        gap: 8px;
    }

    .version-select,
    .control-btn {
        padding: 10px 12px;
        font-size: 13px;
    }

    .feature-showcase {
        margin: 40px auto;
        padding: 0 16px;
    }

    .feature-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-card {
        padding: 28px 20px;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
    }

    .feature-card img {
        width: 64px;
        height: 64px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .feature-card span {
        font-size: 15px;
        line-height: 1.5;
    }

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

    .showcase-header h2 {
        font-size: 24px;
    }

    .showcase-header p {
        font-size: 14px;
    }

    .filter-name {
        font-size: 13px;
        width: 60px;
    }

    .filter-chip {
        padding: 6px 12px;
        font-size: 12px;
    }

    .content-text h2 {
        font-size: 26px;
    }

    .content-text p {
        font-size: 14px;
    }

    .btn-try {
        padding: 12px 32px;
        font-size: 15px;
    }

    .cta-section {
        padding: 40px 16px;
        margin: 60px 12px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section p {
        font-size: 14px;
    }

    .btn-launch {
        padding: 14px 40px;
        font-size: 16px;
    }

    .bottom-bar {
        padding: 40px 0 30px;
    }

    .bottom-wrapper {
        padding: 0 16px;
    }

    .bottom-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .bottom-logo {
        height: 32px;
    }

    .footer-qr {
        width: 80px;
        height: 80px;
    }

    .bottom-group h3 {
        font-size: 13px;
    }

    /* 二维码弹窗移动端样式 */
    .qr-popup-content {
        padding: 30px 24px;
        max-width: 90%;
    }

    .qr-popup-content h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .qr-image {
        max-width: 250px;
    }

    .bottom-links a {
        font-size: 12px;
    }

    .bottom-info {
        padding: 16px;
        margin-top: 16px;
    }

    .bottom-info p {
        font-size: 12px;
    }
}
