/* ---------------------------------
   基础变量与重置
--------------------------------- */
:root {
    --bg-color: #050505;
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --accent-color: #E81CFF;
    --accent-hover: #D400E8;
    --secondary-accent: #40C9FF;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 修复点 1：html 只负责平滑滚动，不强制裁剪 */
html {
    scroll-behavior: smooth;
}

/* 修复点 2：把宽度限制和防晃动放在 body 上，安全防护不破坏渲染层 */
body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    width: 100%;
    overflow-x: hidden; 
    -webkit-text-size-adjust: 100%; 
}

/* 防止长文本或链接撑破气泡 */
.ai-bubble, .faq-answer p {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ------------------------------------
   UI 组件: 超具科技感发光体与毛玻璃
------------------------------------ */
.glow-orb {
    position: fixed; /* ✨ 核心修复：从 absolute 改为 fixed。它将永远悬浮在背景层，再也不会撑宽屏幕！ */
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite alternate;
    pointer-events: none; /* ✨ 安全补丁：防止发光球的隐形范围挡住你点击底部的按钮 */
}
.orb-1 {
    top: -200px; left: -100px;
    background: radial-gradient(circle, var(--accent-color), transparent 70%);
}
.orb-2 {
    bottom: 20%; right: -200px;
    background: radial-gradient(circle, var(--secondary-accent), transparent 70%);
    animation-delay: -5s;
}
.orb-3 {
    top: 40%; left: 30%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, #7000FF, transparent 70%);
    opacity: 0.3;
    animation-duration: 30s;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary-accent) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------------------------------
   导航栏
--------------------------------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 1000;
    border-radius: 0 0 24px 24px;
    border-top: none;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}
.logo span {
    color: var(--accent-color);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: var(--accent-color);
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------------------------------
   按钮样式
--------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

/* 按钮点击波纹效果 */
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}
.btn:active::after {
    width: 200px;
    height: 200px;
    opacity: 1;
    transition: width 0s, height 0s, opacity 0s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #7000FF);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(232, 28, 255, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 28, 255, 0.5);
    filter: brightness(1.1);
}
.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline {
    border: 1px solid var(--accent-color);
    color: white;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}
.btn-outline:hover {
    background: var(--accent-color);
}
.btn-block {
    width: 100%;
}
.btn-feature {
    margin-top: 1.5rem;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}
.btn-feature:hover {
    background: rgba(232, 28, 255, 0.15);
    border-color: var(--accent-color);
    color: white;
}

/* 按钮点击反馈 */
.btn-click {
    animation: btnClick 0.3s ease;
}
@keyframes btnClick {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* ---------------------------------
   首屏 Hero
--------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}
.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    z-index: 2;
}
.badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}
.hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -2px;
}
.hero .subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
}
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* ---------------------------------
   AI 对话演示区域
--------------------------------- */
.ai-demo {
    margin-top: 2rem;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: left;
}
.ai-demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.ai-demo-badge {
    background: linear-gradient(135deg, var(--accent-color), #7000FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 0.9rem;
}
.ai-demo-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.ai-demo-chat {
    max-height: 180px;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding-right: 0.5rem;
}
.ai-demo-chat::-webkit-scrollbar {
    width: 4px;
}
.ai-demo-chat::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}
.ai-message {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.ai-message.user {
    flex-direction: row-reverse;
}
.ai-avatar {
    font-size: 1.3rem;
    flex-shrink: 0;
}
.user-avatar {
    order: 2;
}
.ai-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1rem;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 80%;
}
.user-bubble {
    background: linear-gradient(135deg, var(--accent-color), #7000FF);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 4px;
}
.ai-demo-input {
    display: flex;
    gap: 0.75rem;
}
.ai-demo-input input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1rem;
    border-radius: 50px;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}
.ai-demo-input input:focus {
    border-color: var(--accent-color);
}
.ai-demo-input input::placeholder {
    color: #6B7280;
}
.ai-send-btn {
    padding: 0.75rem 1rem;
    min-width: auto;
    border-radius: 50%;
}

/* ---------------------------------
   合作客户 Logo 墙
--------------------------------- */
.trusted-section {
    padding: 60px 5%;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}
.trusted-label {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}
.logo-wall {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.logo-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 140px;
}
.logo-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}
.logo-icon {
    font-size: 1.5rem;
}
.logo-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ---------------------------------
   媒体背书
--------------------------------- */
.media-section {
    padding: 60px 5%;
}
.media-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}
.media-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.media-badge {
    flex: 1;
    min-width: 280px;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    text-align: center;
}
.media-quote {
    display: block;
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.media-source {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-color);
}

/* ---------------------------------
   布局与容器
--------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
}
section {
    padding: 100px 5%;
}

/* ---------------------------------
   功能区域 Features
--------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card {
    padding: 2.5rem;
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.2);
}
.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 16px;
}
.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ---------------------------------
   数据统计栏 Stats
--------------------------------- */
.stats-section {
    position: relative;
    padding: 80px 5%;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-item {
    padding: 2rem 1rem;
    position: relative;
}
.stat-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
}
.stat-item:last-child::after {
    display: none;
}
.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    display: inline;
    background: linear-gradient(135deg, var(--secondary-accent), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-suffix {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    display: inline;
    color: var(--accent-color);
}
.stat-label {
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ---------------------------------
   服务方案 / 价格
--------------------------------- */
.pricing-section {
    position: relative;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}
.pricing-card {
    border-radius: 24px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.pricing-card:hover {
    transform: translateY(-8px);
}
.pricing-featured {
    border: 1px solid var(--accent-color) !important;
    box-shadow: 0 0 40px rgba(232, 28, 255, 0.15);
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-color), #7000FF);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}
.pricing-urgency {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 200, 0, 0.15);
    border: 1px solid rgba(255, 200, 0, 0.3);
    color: #FFC800;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}
.pricing-tier {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    color: var(--text-secondary);
}
.pricing-price {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
}
.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}
.pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: 2rem;
}
.pricing-features li {
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.pricing-features li.disabled {
    opacity: 0.35;
}

/* ---------------------------------
   FAQ 常见问题
--------------------------------- */
.faq-section {
    position: relative;
}
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.faq-item {
    border-radius: 16px;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}
.faq-item.active {
    border-color: var(--accent-color);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    gap: 1rem;
}
.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
    max-height: 200px;
    padding-top: 1rem;
}
.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------------------------------
   客户评价 Testimonials
--------------------------------- */
.testimonials-section {
    position: relative;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.testimonial-card {
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
}
.testimonial-stars {
    color: #FBBF24;
    font-size: 1.2rem;
    letter-spacing: 2px;
}
.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}
.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-accent), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.author-name {
    font-weight: 600;
    font-size: 0.95rem;
}
.author-title {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* ---------------------------------
   体验区域 Demo — 多卡片表单
--------------------------------- */
.demo-section {
    display: flex;
    justify-content: center;
}
.demo-page-header {
    text-align: center;
    padding: 60px 20px 20px;
}
.demo-page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    color: var(--accent-color);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}
.demo-page-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.demo-page-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.demo-page-header p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 20px 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.demo-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.demo-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}
.demo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.18);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.demo-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}
.demo-card-icon.email { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.demo-card-icon.inquiry { background: linear-gradient(135deg, #06b6d4, #8b5cf6); }
.demo-card-icon.booking { background: linear-gradient(135deg, #f59e0b, #ec4899); }
.demo-card-icon.share { background: linear-gradient(135deg, #10b981, #06b6d4); }
.demo-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}
.demo-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}
.demo-form-group {
    margin-bottom: 14px;
}
.demo-form-group label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}
.demo-form-group input,
.demo-form-group textarea {
    width: 100%;
    padding: 11px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
}
.demo-form-group input:focus,
.demo-form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(232,28,255,0.08);
    box-shadow: 0 0 0 3px rgba(232,28,255,0.12);
}
.demo-form-group input::placeholder,
.demo-form-group textarea::placeholder {
    color: rgba(255,255,255,0.25);
}
.demo-form-group textarea {
    resize: vertical;
    min-height: 76px;
}
.demo-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.demo-share-platforms {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.demo-share-btn {
    flex: 1;
    padding: 10px 6px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.demo-share-btn:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.18);
}

.demo-share-btn input { display: none; }
.demo-submit-btn {
    width: 100%;
    padding: 13px;
    margin-top: 18px;
    background: linear-gradient(135deg, var(--accent-color), #7000FF);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.demo-submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(232,28,255,0.35);
}
.demo-submit-btn:active { transform: scale(0.98); }
.demo-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Toast */
.demo-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 26px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}
.demo-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.demo-toast.success {
    background: rgba(16,185,129,0.92);
    border: 1px solid rgba(16,185,129,0.5);
}
.demo-toast.error {
    background: rgba(239,68,68,0.92);
    border: 1px solid rgba(239,68,68,0.5);
}

/* ---------------------------------
   动画关键帧定义
--------------------------------- */
@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.75s; }

@keyframes slideUpFade {
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------------
   响应式
--------------------------------- */
@media(max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item:nth-child(2)::after {
        display: none;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(5, 5, 5, 0.97);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid var(--glass-border);
    }
    .nav-links.open {
        right: 0;
    }
    .nav-links a {
        font-size: 1.2rem;
    }

    .hero h1 { font-size: 2.5rem; }
    .cta-buttons { flex-direction: column; width: 100%; }
    .cta-buttons .btn { 
        width: 100%;
        padding: 1rem 1.8rem;
        font-size: 1.05rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item::after {
        display: none;
    }
    .stat-number {
        font-size: 2.5rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .ai-demo {
        padding: 1rem;
    }
    .ai-demo-chat {
        max-height: 150px;
    }
    .ai-bubble {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
    .ai-demo-input input {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
    
    .logo-wall { gap: 0.75rem; }
    .logo-item { padding: 0.75rem 1rem; min-width: 120px; }
    .logo-name { font-size: 0.8rem; }
    
    .media-badges { flex-direction: column; }
    .media-badge { min-width: 100%; }
    
    .faq-grid { grid-template-columns: 1fr; }
    .faq-item { padding: 1.2rem 1.5rem; }
    .faq-question { font-size: 0.95rem; }
    
    .feature-card .btn-feature {
        width: 100%;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 640px) {
    .demo-grid {
        grid-template-columns: 1fr;
        padding: 16px 5%;
        gap: 20px;
    }
    .demo-page-header { padding: 40px 16px 20px; }
    .demo-form-row { grid-template-columns: 1fr; }
}

@media(max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        width: 100%;
    }
    .ai-demo-input {
        flex-direction: column;
        gap: 0.5rem;
    }
    .ai-send-btn {
        width: 100%;
        border-radius: 50px;
        padding: 0.8rem;
    }
}

/* =========================================
   📱 移动端极致体验优化补丁 (已解决输入冲突与展示版)
   ========================================= */

/* 1. 消除手机端点击时自带的灰色半透明方块 */
* {
    -webkit-tap-highlight-color: transparent;
}

/* 2. 核心修复：防止苹果 iOS 点击输入框时强制放大页面导致排版错乱 */
@media screen and (max-width: 768px) {
    .ai-demo-input input,
    .demo-form-group input,
    .demo-form-group textarea,
    .input-wrapper input {
        font-size: 16px !important; 
    }
}

/* 3. 修复移动端按钮点击时的“物理反馈”，微调防误触 */
.btn:active, 
.demo-submit-btn:active, 
.demo-share-btn:active,
.hamburger:active {
    transform: scale(0.96) !important;
    transition: transform 0.1s ease;
}

/* 4. 社交分享按钮高亮逻辑 */
.demo-share-btn:has(input:checked) {
    border-color: var(--accent-color) !important;
    background: rgba(232, 28, 255, 0.15) !important;
    color: white !important;
    box-shadow: 0 0 12px rgba(232, 28, 255, 0.2);
}

/* 5. 防止 SVG 图标“吞掉”手指的触摸事件 */
.ai-send-btn svg {
    pointer-events: none;
}

/* 6. 统一解决 AI 聊天框错位、挤压的问题 */
@media(max-width: 480px) {
    .ai-demo-input {
        flex-direction: row !important;
        gap: 0.5rem !important;
        align-items: center; 
    }
    
    .ai-demo-input input {
        flex: 1;
        padding: 0.8rem 1rem !important;
        margin: 0 !important;
    }
    
    .ai-send-btn {
        width: 44px !important; 
        height: 44px !important;
        min-width: 44px !important; 
        padding: 0 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0; 
    }
    
    .demo-toast {
        bottom: 80px !important;
        width: 90%;
        max-width: 340px;
        justify-content: center;
    }
}