/* ==================== 预约演示页面样式 ==================== */

/* CSS变量定义 - 与主站保持一致 */
:root {
    --primary-color: #7559FF;
    --secondary-color: #6A7DFF;
    --dark-color: #17171D;
    --light-color: #f9f9f9;
    --white-color: #fff;
    --gray-color: rgba(23, 23, 29, 0.48);
    --light-gray: rgba(23, 23, 29, 0.25);
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --accent-color: #4facfe;
    --gradient-primary: linear-gradient(90deg, #7559FF 0%, #6A7DFF 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-tech: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-background: linear-gradient(135deg, #f8f9fc 0%, #eef1f8 100%);
    --gradient-button-hover: linear-gradient(90deg, #6A7DFF 0%, #7559FF 100%);
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 16px 40px rgba(117, 89, 255, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* 全局样式重置 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
  
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background: var(--gradient-background);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 粒子背景 */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 80%, rgba(117, 89, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(106, 125, 255, 0.08) 0%, transparent 50%),
        var(--gradient-background);
}

/* 动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(117, 89, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(117, 89, 255, 0.4);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* 容器 */
.container {
  
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 英雄区域 */
.demo-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    background:   url('../images/bjbanner.png') no-repeat center center,
        radial-gradient(circle at 20% 80%, rgba(117, 89, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(106, 125, 255, 0.05) 0%, transparent 50%),
        var(--gradient-background);
   ;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-left {
    animation: fadeInLeft 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(117, 89, 255, 0.1);
    border: 1px solid rgba(117, 89, 255, 0.2);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    animation: glow 3s ease-in-out infinite;
}

.hero-badge i {
    font-size: 16px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--dark-color);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text {
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-color);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-color);
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 18px;
}

/* 表单容器 */
.hero-right {
    animation: fadeInRight 0.8s ease-out;
}

.demo-form-container {
    background: var(--white-color);
    border: 1px solid rgba(117, 89, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.demo-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* 表单样式 */
.demo-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 移除form-row样式，改为单列布局 */

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(117, 89, 255, 0.15);
    color: var(--dark-color);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: var(--primary-color);
}

.form-group input:focus + .form-line,
.form-group select:focus + .form-line,
.form-group textarea:focus + .form-line {
    transform: scaleX(1);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--white-color);
    color: var(--dark-color);
}

/* 简化的表单样式，无需复选框 */

/* 提交按钮 */
.submit-btn {
    position: relative;
    width: 100%;
    padding: 18px 32px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 16px;
    box-shadow: 0 8px 24px rgba(117, 89, 255, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(117, 89, 255, 0.4);
    background: var(--gradient-button-hover);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-text {
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .btn-loading {
    opacity: 1;
}

.btn-background {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover .btn-background {
    left: 100%;
}

.form-footer {
    text-align: center;
    margin-top: 16px;
}

.form-footer p {
    font-size: 0.8rem;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-footer i {
    color: var(--primary-color);
}

/* 删除了showcase相关样式 */

/* 删除了process相关样式 */

/* 删除了FAQ相关样式 */

/* 删除了contact相关样式 */

/* 成功提交弹窗 */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.success-modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: var(--white-color);
    border: 1px solid rgba(117, 89, 255, 0.1);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: fadeInUp 0.5s ease-out;
    box-shadow: var(--card-shadow-hover);
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

.modal-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-content p {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 32px;
}

.modal-btn {
    padding: 12px 32px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(117, 89, 255, 0.3);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(117, 89, 255, 0.4);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    /* 删除了showcase响应式样式 */
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .demo-hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .demo-form-container {
        padding: 32px 24px;
    }
    
    /* 移动端单列布局 */
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* 删除了不需要的响应式样式 */
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .demo-form-container {
        padding: 24px 16px;
    }
    
    .modal-content {
        padding: 32px 24px;
        width: 95%;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    /* 删除了更多不需要的响应式样式 */

    .demo-hero {
        padding: 100px 0 60px;
    }
}

/* 高性能动画优化 */
.hero-badge,
.success-icon {
    will-change: transform;
}

/* AOS动画库兼容 */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(117, 89, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-button-hover);
}

/* 打印样式 */
@media print {
    .demo-hero,
    .demo-showcase,
    .demo-process,
    .demo-faq,
    .demo-contact {
        page-break-inside: avoid;
    }
    
    .success-modal {
        display: none !important;
    }
    
    #particles-container {
        display: none;
    }
}