/* 页面通用样式 */
.page-hero {
    padding-top: 180px;
    padding-bottom: 60px;
}

.hero-header {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 价格切换 */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
    gap: 0;
    background: #ffffff;
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    border: 1px solid #e1e8ed;
}

.toggle-label {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.75rem 1.75rem;
    z-index: 2;
    position: relative;
    border-radius: 46px;
    user-select: none;
}

.toggle-label.active {
    color: #ffffff;
}

.toggle-switch {
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: #4A90E2;
    border-radius: 46px;
    position: absolute;
    top: 4px;
    left: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(74, 144, 226, 0.2);
}

.toggle-switch.annual {
    transform: translateX(calc(100% + 4px));
    background: #4A90E2;
}

.save-badge {
    background: #FF8C42;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* 价格方案主内容区 */
.pricing-section {
    padding: 5rem 0;
    background: white;
}

/* 信用点数说明 */
.credit-section {
    background: #f8fbff;
    padding: 5rem 0;
}

.credit-header {
    text-align: center;
    margin-bottom: 3rem;
}

.credit-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.credit-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.credit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.credit-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    padding: 2.5rem 1.5rem 3rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #e8f4fd;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.credit-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4A90E2, #7BB3F0);
    border-radius: 0 0 20px 20px;
}

.credit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(74, 144, 226, 0.15);
    border-color: #4A90E2;
}

.credit-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4A90E2, #7BB3F0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.credit-label {
    font-size: 1.1rem;
    color: #475569;
    font-weight: 600;
    line-height: 1.4;
}

.credit-amount {
    color: #4A90E2;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    display: block;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .credit-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .credit-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .credit-card {
        padding: 2rem 1.25rem;
    }
    
    .credit-number {
        font-size: 2.5rem;
    }
}

.credit-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF8C42;
}

/* 企业解决方案 */
.enterprise-section {
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    padding: 5rem 0;
    position: relative;
}

.enterprise-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #4A90E2, transparent);
}

.enterprise-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.1);
    border: 1px solid #e8f4fd;
}

.enterprise-features {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}

.enterprise-features li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    border-radius: 15px;
    border-left: 4px solid #4A90E2;
    transition: all 0.3s ease;
    color: #475569;
    line-height: 1.6;
    font-size: 1.1rem;
}

.enterprise-features li:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.15);
    border-left-color: #FF8C42;
}

.enterprise-features li i {
    font-size: 1.8rem;
    color: #4A90E2;
    flex-shrink: 0;
    margin-top: 0.1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.enterprise-features li:hover i {
    background: rgba(255, 140, 66, 0.1);
    color: #FF8C42;
    transform: scale(1.1);
}

/* 常见问题 */
.faq-section {
    background: #f8fbff;
    padding: 5rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e8f4fd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.1);
}

.faq-item h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* 行动号召 */
.cta-section {
    background: linear-gradient(135deg, #f8fbff, #e8f4fd); /* 浅色背景 */
    color: #333; /* 调整文本颜色以确保可读性 */
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Data Security 页面样式 */
.security-main {
    padding: 3rem 0;
}

.security-content-main {
    max-width: 1200px;
    margin: 0 auto;
}

.security-section {
    margin-bottom: 0.2rem;
}

.security-section h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
}

.security-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Privacy Measures Grid - 4x2格式带边框 */
.measures-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.measure-card {
    background: white;
    padding: 2rem;
    border: 2px solid #e8f4fd;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.measure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.15);
    border-color: #4A90E2;
}

.measure-content {
    width: 100%;
}

.measure-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.measure-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Security Pillars */
.security-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pillar {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    border-radius: 20px;
    border: 2px solid #e8f4fd;
    transition: all 0.3s ease;
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.1);
    border-color: #4A90E2;
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4A90E2, #7BB3F0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.pillar h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.pillar p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Security CTA */
.security-cta {
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4fd 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #e8f4fd;
    margin-top: 3rem;
}

.security-cta h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.security-cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Security Comprehensive Section */
.security-comprehensive {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: -5rem;
    margin-bottom: -5rem;
}

.security-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 20px;
    border: 2px solid #e8f4fd;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.security-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(135deg, #4A90E2, #7BB3F0);
    transition: all 0.3s ease;
}

.security-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(74, 144, 226, 0.15);
    border-color: #4A90E2;
}

.security-feature:hover::before {
    width: 8px;
    background: linear-gradient(135deg, #FF8C42, #FFB366);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4A90E2, #7BB3F0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
}

.security-feature:hover .feature-icon {
    background: linear-gradient(135deg, #FF8C42, #FFB366);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(255, 140, 66, 0.4);
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.feature-content p {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .credit-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 1024px以下恢复自适应 */
    }
    
    .measures-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .measure-card {
        padding: 1.5rem;
    }
    
    .security-pillars {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .security-feature {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .feature-icon {
        margin: 0 auto;
    }
}

/* User Agreement 页面样式 */
.agreement-main {
    padding: 3rem 0 5rem;
    background: #ffffff;
}

.agreement-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.agreement-content {
    padding: 3rem;
}

.agreement-intro {
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4fd 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #e8f4fd;
    margin-bottom: 3rem;
    border-left: 4px solid #4A90E2;
}

.agreement-intro p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.agreement-intro p:last-child {
    margin-bottom: 0;
    font-weight: 600;
}

.agreement-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.agreement-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}

.agreement-meta i {
    color: #4A90E2;
}

.agreement-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.agreement-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.agreement-section h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
    padding-left: 1rem;
    border-left: 4px solid #4A90E2;
}

.agreement-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}

.agreement-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.agreement-list li {
    position: relative;
    padding: 0.75rem 0 0.75rem 2rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    border-left: 2px solid #e8f4fd;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.agreement-list li:before {
    content: '•';
    position: absolute;
    left: -0.5rem;
    top: 0.75rem;
    width: 1rem;
    height: 1rem;
    background: #4A90E2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.agreement-list li:hover {
    border-left-color: #4A90E2;
    background: rgba(74, 144, 226, 0.02);
}

.contact-info-box {
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4fd 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #e8f4fd;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: #4A90E2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.agreement-actions {
    padding: 2rem 3rem;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    border-top: 1px solid #e8f4fd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .pricing-toggle {
        flex-direction: column;
        gap: 0.5rem;
    }
    .credit-grid, .enterprise-features, .faq-grid {
        grid-template-columns: 1fr;
    }
    .cta-buttons {
        flex-direction: column;
    }
    
    .measures-grid, .security-pillars {
        grid-template-columns: 1fr;
    }
    
    .security-section h2 {
        font-size: 1.8rem;
    }
    
    .security-cta {
        padding: 2rem;
    }
    
    .security-comprehensive {
        gap: 1rem;
    }
    
    .security-feature {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-content h3 {
        font-size: 1.3rem;
    }
    
    .feature-content p {
        font-size: 1rem;
    }
    
    /* User Agreement 响应式 */
    .agreement-content {
        padding: 2rem 1.5rem;
    }
    
    .agreement-actions {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .agreement-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .agreement-meta {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .agreement-list li {
        margin-left: 0;
        padding-left: 1.5rem;
    }
    
    .contact-info-box {
        padding: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}
