/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #2c52ed;
}

.logo img {
    height: 40px;
    width: auto;
}

/* 汉堡菜单 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-icon {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #2c52ed;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active .menu-icon:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .menu-icon:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-icon:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 导航链接 */
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    transition: all 0.3s ease;
}

.nav-links a {
    text-decoration: none;
    color: #1a202c;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 16px;
}

.nav-links a:hover {
    color: #2c52ed;
}

.nav-buttons {
    display: flex;
    gap: 16px;
}

/* 响应式导航 */
@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
    }
    
    .logo span {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-links.active {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        padding: 20px 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 12px 20px;
        width: 100%;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        background-color: #f7fafc;
        color: #2c52ed;
    }
    
    .nav-buttons {
        display: none;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 16px;
}

/* 响应式字体大小 */
:root {
    --font-size-xs: clamp(0.75rem, 0.69rem + 0.29vw, 0.875rem);
    --font-size-sm: clamp(0.875rem, 0.81rem + 0.34vw, 1rem);
    --font-size-base: clamp(1rem, 0.93rem + 0.38vw, 1.125rem);
    --font-size-lg: clamp(1.125rem, 1.05rem + 0.38vw, 1.25rem);
    --font-size-xl: clamp(1.25rem, 1.17rem + 0.4vw, 1.375rem);
    --font-size-2xl: clamp(1.5rem, 1.38rem + 0.6vw, 1.75rem);
    --font-size-3xl: clamp(1.875rem, 1.66rem + 1.07vw, 2.375rem);
    --font-size-4xl: clamp(2.25rem, 1.98rem + 1.36vw, 2.875rem);
    --font-size-5xl: clamp(3rem, 2.64rem + 1.82vw, 3.875rem);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: clamp(10px, 2vw, 12px) clamp(16px, 3vw, 24px);
    background-color: #2c52ed;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-primary:hover {
    background-color: #1a365d;
    transform: translateY(-2px);
}

/* Hero区域的特殊按钮样式 */
.hero .btn-primary {
    background-color: #fff;
    color: #2c52ed;
}

.hero .btn-primary:hover {
    background-color: #f0f0f0;
    color: #2c52ed;
}

.btn-secondary {
    display: inline-block;
    padding: clamp(10px, 2vw, 12px) clamp(16px, 3vw, 24px);
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 4px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* 首页横幅 */
.hero {
    background: linear-gradient(135deg, #2c52ed 0%, #6b46c1 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    margin-bottom: 16px;
}

.hero .subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: 24px;
    opacity: 0.9;
}

.hero .description {
    font-size: var(--font-size-base);
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.8;
}

.hero .buttons {
    margin-bottom: clamp(40px, 8vw, 60px);
    display: flex;
    gap: clamp(12px, 2vw, 20px);
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* 在非大屏情况下隐藏hero区域的按钮 */
@media (max-width: 1024px) {
    .hero .buttons {
        display: none;
    }
}

.hero .buttons::-webkit-scrollbar {
    display: none;
}

.hero .stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: clamp(20px, 5vw, 40px);
    margin-top: clamp(30px, 6vw, 40px);
    max-width: 100%;
    padding: 0 10px;
}

.hero .stat-item {
    text-align: center;
}

.hero .stat-number {
    font-size: clamp(24px, 6vw, var(--font-size-4xl));
    font-weight: 700;
    margin-bottom: clamp(4px, 1vw, 8px);
    line-height: 1.2;
}

.hero .stat-label {
    font-size: clamp(12px, 2vw, var(--font-size-sm));
    opacity: 0.8;
    line-height: 1.4;
}

/* 通用区块样式 */
.features, .advantages, .use-cases, .testimonials {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: #e6f0ff;
    color: #2c52ed;
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a202c;
}

.section-header p,
.contact > p,
.faq .section-header p {
    text-align: center;
    font-size: var(--font-size-base);
    color: #64748b;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* 功能模块 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background-color: #fff;
    border-radius: 12px;
    padding: clamp(16px, 3vw, 24px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid;
    display: flex;
    flex-direction: column;
    min-height: auto;
    max-height: none;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card.blue {
    border-color: #2c52ed;
}

.feature-card.purple {
    border-color: #6b46c1;
}

.feature-card.pink {
    border-color: #d53f8c;
}

.feature-card.red {
    border-color: #e53e3e;
}

.feature-card.yellow {
    border-color: #d69e2e;
}

.feature-card.green {
    border-color: #38a169;
}

.feature-card.orange {
    border-color: #dd6b20;
}

.feature-card.teal {
    border-color: #3182ce;
}

.feature-icon {
    font-size: clamp(28px, 6vw, 40px);
    margin-bottom: clamp(8px, 1.5vw, 12px);
}

.feature-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: clamp(6px, 1vw, 8px);
    color: #1a202c;
    line-height: 1.2;
}

.feature-card p {
    font-size: var(--font-size-xs);
    color: #64748b;
    margin-bottom: clamp(12px, 2vw, 16px);
    line-height: 1.5;
    flex-grow: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feature-card ul {
    list-style: none;
    margin-bottom: clamp(12px, 2vw, 16px);
    flex-grow: 0;
    padding: 0;
}

.feature-card ul li {
    font-size: var(--font-size-xs);
    color: #64748b;
    margin-bottom: clamp(4px, 0.8vw, 6px);
    padding-left: clamp(14px, 2vw, 16px);
    position: relative;
    line-height: 1.4;
}

.feature-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2c52ed;
    font-weight: bold;
    font-size: var(--font-size-xs);
}

.feature-link {
    display: inline-block;
    color: #2c52ed;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-top: clamp(8px, 1.5vw, 12px);
    align-self: flex-start;
}

.feature-link:hover {
    color: #1a365d;
}

/* 平台优势 */
.advantages {
    background-color: #f7fafc;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 4vw, 30px);
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.advantage-card {
    background-color: #fff;
    border-radius: 12px;
    padding: clamp(20px, 3vw, 30px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: auto;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: clamp(50px, 10vw, 60px);
    height: clamp(50px, 10vw, 60px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(18px, 4vw, 24px);
    margin-bottom: clamp(16px, 3vw, 20px);
}

.advantage-icon.blue {
    background-color: #e6f0ff;
    color: #2c52ed;
}

.advantage-icon.green {
    background-color: #f0fff4;
    color: #38a169;
}

.advantage-icon.purple {
    background-color: #faf5ff;
    color: #6b46c1;
}

.advantage-icon.yellow {
    background-color: #fffaf0;
    color: #d69e2e;
}

.advantage-icon.red {
    background-color: #fff5f5;
    color: #e53e3e;
}

.advantage-icon.teal {
    background-color: #e6fffa;
    color: #3182ce;
}

.advantage-card h3 {
    font-size: clamp(18px, 4vw, var(--font-size-xl));
    font-weight: 600;
    margin-bottom: clamp(10px, 2vw, 12px);
    color: #1a202c;
    line-height: 1.3;
}

.advantage-card p {
    font-size: clamp(14px, 3vw, var(--font-size-sm));
    color: #64748b;
    line-height: 1.6;
    flex-grow: 1;
}

/* 使用场景 */
.role-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.role-tab {
    padding: 12px 24px;
    background-color: #f7fafc;
    color: #64748b;
    border: none;
    border-radius: 25px;
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.role-tab:hover {
    background-color: #edf2f7;
}

.role-tab.active {
    background-color: #2c52ed;
    color: #fff;
}

.use-case-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.use-case-text h3 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a202c;
}

.use-case-text p {
    font-size: var(--font-size-base);
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.6;
}

.use-case-text ul {
    list-style: none;
    margin-bottom: 30px;
}

.use-case-text li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.use-case-icon {
    font-size: 24px;
    margin-top: 4px;
}

.use-case-text h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a202c;
}

.use-case-text li p {
    font-size: var(--font-size-sm);
    margin-bottom: 0;
}

.phone-mockup {
    background-color: #2c52ed;
    border-radius: 40px;
    padding: 20px;
    width: 300px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.phone-header {
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: var(--font-size-base);
}

.phone-content {
    background-color: #fff;
    border-radius: 20px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.phone-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.phone-section {
    margin-bottom: 24px;
}

.phone-section h5 {
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a202c;
}

.announcement {
    background-color: #f7fafc;
    padding: 12px;
    border-radius: 8px;
    font-size: var(--font-size-xs);
    color: #64748b;
}

.todo-item {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
    font-size: var(--font-size-xs);
    color: #64748b;
}

.phone-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 40px;
}

.nav-item {
    text-align: center;
    padding: 12px;
    background-color: #f7fafc;
    border-radius: 8px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: #64748b;
}

/* 用户反馈 */
.testimonials {
    background-color: #f7fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stars {
    font-size: var(--font-size-lg);
    margin-bottom: 16px;
    color: #d69e2e;
}

.testimonial-card p {
    font-size: var(--font-size-sm);
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: #1a202c;
}

.author-title {
    font-size: var(--font-size-sm);
    color: #64748b;
}

.testimonials-stats {
    display: flex;
    gap: clamp(20px, 5vw, 40px);
    text-align: center;
    margin-top: clamp(30px, 6vw, 40px);
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-stats::-webkit-scrollbar {
    display: none;
}

.testimonials-stats .stat-item {
    flex: 1;
    min-width: 120px;
    white-space: nowrap;
}

.testimonials-stats .stat-number {
    font-size: clamp(24px, 6vw, var(--font-size-4xl));
    font-weight: 700;
    margin-bottom: clamp(4px, 1vw, 8px);
    line-height: 1.2;
}

.testimonials-stats .stat-label {
    font-size: clamp(12px, 2vw, var(--font-size-sm));
    color: #64748b;
    line-height: 1.4;
}

.testimonials-stats .stat-number.green {
    color: #38a169;
}

.testimonials-stats .stat-number.purple {
    color: #6b46c1;
}

.testimonials-stats .stat-label {
    font-size: var(--font-size-sm);
    color: #64748b;
}

/* 常见问题 */
.faq {
    padding: 80px 0;
    background-color: #f7fafc;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: #1a202c;
    margin: 0;
    line-height: 1.4;
}

.faq-toggle {
    background-color: transparent;
    border: none;
    font-size: 18px;
    color: #2c52ed;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-toggle.active {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 24px;
    margin: 0;
    font-size: var(--font-size-base);
    color: #64748b;
    line-height: 1.6;
}

/* 行动召唤 */
.cta {
    background: linear-gradient(135deg, #2c52ed 0%, #6b46c1 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.cta p {
    font-size: var(--font-size-lg);
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary-outline {
    display: inline-block;
    padding: 12px 24px;
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 4px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-secondary-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* 关于我们 */
.about {
    padding: 80px 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    justify-content: center;
}

.about-text {
    max-width: 800px;
    width: 100%;
    text-align: center;
}



.about-text h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a202c;
}

.about-text p {
    font-size: var(--font-size-base);
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.6;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-feature .checkmark {
    color: #38a169;
    font-weight: bold;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background-color: #f7fafc;
}

.contact h2 {
    text-align: center;
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a202c;
}

.contact > p {
    text-align: center;
    font-size: var(--font-size-base);
    color: #64748b;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 24px;
    color: #2c52ed;
    margin-top: 4px;
}

.contact-details h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a202c;
}

.contact-details p {
    font-size: var(--font-size-base);
    color: #64748b;
    margin: 0;
}

.contact-photos {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.person-photo {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    border: 3px solid #e6f0ff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.person-photo:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-color: #2c52ed;
}

.person-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
}

/* 小屏设备适配 */
@media (max-width: 768px) {
    .contact-photos {
        gap: 16px;
        margin-top: 30px;
    }
    
    .person-photo {
        width: 80px;
        height: 80px;
    }
    
    .person-name {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .contact-photos {
        gap: 12px;
        margin-top: 24px;
    }
    
    .person-photo {
        width: 70px;
        height: 70px;
    }
    
    .person-name {
        font-size: 13px;
    }
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: 32px;
    color: #1a202c;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: none;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: var(--font-size-base);
    color: #1a202c;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c52ed;
    box-shadow: 0 0 0 3px rgba(44, 82, 237, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    width: 100%;
}

/* 错误消息样式 */
.error-message {
    color: #e53e3e;
    font-size: 12px;
    margin-top: 4px;
    min-height: 16px;
    line-height: 1.3;
}

/* 表单组样式增强 */
.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2c52ed;
    box-shadow: 0 0 0 3px rgba(44, 82, 237, 0.1);
}

/* 输入框错误状态 */
.form-group.error input,
.form-group.error textarea {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero .subtitle {
        font-size: 18px;
    }
    
    .hero .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    /* 保持features-grid和advantages-grid为2列，其他网格为1列 */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .use-case-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .use-case-image {
        order: -1;
    }
    
    .phone-mockup {
        width: 100%;
        max-width: 300px;
    }
    
    /* 联系我们部分响应式 */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    /* 所有section元素在小屏设备下都使用相同的内边距 */
    .features, .advantages, .use-cases, .testimonials, .faq, .cta, .about, .contact {
        padding: 60px 0;
    }
    
    .role-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .role-tab {
        width: 100%;
        max-width: 200px;
    }
    
    /* 返回顶端按钮在小屏设备上的调整 */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* 返回顶端按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #2c52ed;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(44, 82, 237, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #1a365d;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(44, 82, 237, 0.4);
}

.back-to-top:active {
    transform: translateY(0);
}

/* 模态框样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.modal.visible .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    background-color: #f7fafc;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: #e2e8f0;
    color: #1a202c;
}

.modal-body {
    padding: 24px;
    text-align: center;
}

.modal-body p {
    margin: 0;
    font-size: 16px;
    color: #4a5568;
    line-height: 1.5;
}

.modal-footer {
    padding: 0 24px 24px;
    display: flex;
    justify-content: center;
}

.modal-footer .btn-primary {
    width: auto;
    min-width: 100px;
}

/* 悬浮二维码样式 */
.qrcode-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 998;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.qrcode-float.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.qrcode-close {
    align-self: center;
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-top: 15px;
    min-width: 60px;
    text-align: center;
    order: 2;
}

.qrcode-close:hover {
    background-color: #edf2f7;
    color: #1a202c;
    border-color: #cbd5e0;
}

.qrcode-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    order: 1;
}

.qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qrcode-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px;
    background-color: #fff;
}

.qrcode-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
    text-align: center;
}

/* 小屏设备适配 */
@media (max-width: 768px) {
    .qrcode-float {
        bottom: 90px;
        right: 20px;
        padding: 15px;
        max-width: 280px;
    }
    
    .qrcode-content {
        gap: 15px;
    }
    
    .qrcode-img {
        width: 120px;
        height: 120px;
    }
    
    .qrcode-title {
        font-size: 13px;
    }
    
    .qrcode-close {
        font-size: 13px;
        padding: 5px 10px;
        min-width: 50px;
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .qrcode-float {
        bottom: 80px;
        right: 15px;
        padding: 12px;
        max-width: 240px;
    }
    
    .qrcode-content {
        gap: 12px;
    }
    
    .qrcode-img {
        width: 100px;
        height: 100px;
    }
    
    .qrcode-title {
        font-size: 12px;
    }
    
    .qrcode-close {
        font-size: 12px;
        padding: 4px 8px;
        min-width: 45px;
        margin-top: 10px;
    }
}

/* 版权信息样式 */
.footer {
    background-color: #1a202c;
    color: #a0aec0;
    padding: 20px 0;
    margin-top: 80px;
    border-top: 1px solid #2d3748;
}

.footer-content {
    text-align: center;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-content a {
    color: #a0aec0;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-content a:hover {
    color: #fff;
}

/* 小屏设备下的版权信息样式 */
@media (max-width: 768px) {
    .footer {
        padding: 16px 0;
        margin-top: 60px;
    }
    
    .footer-content {
        font-size: 14px;
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-content a {
        white-space: normal;
    }
}

/* 超小屏设备下的版权信息样式 */
@media (max-width: 480px) {
    .footer-content {
        font-size: 13px;
    }
}