/* 页面头部 */
.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(14, 165, 233, 0.05) 100%);
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-gray);
}

/* 联系页面 */
.contact-section {
    padding: 4rem 0 6rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--dark-700);
    border-radius: 1rem;
    transition: all 0.3s;
}

.contact-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-item p,
.contact-item a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--dark-700);
    border-radius: 1.5rem;
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    background: var(--dark-800);
    border: 1px solid var(--dark-700);
    border-radius: 0.75rem;
    padding: 1rem;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* 服务页面 */
.services-detail-section {
    padding: 4rem 0 6rem;
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-detail-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--dark-700);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.3s;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.1);
}

.service-detail-card .service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-detail-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: white;
}

.service-detail-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.75rem 0;
    color: var(--text-gray);
    border-bottom: 1px solid var(--dark-700);
}

.service-features li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.service-features li:last-child {
    border-bottom: none;
}

/* 案例页面 */
.portfolio-section {
    padding: 4rem 0 6rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--dark-700);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
}

.portfolio-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(56, 189, 248, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-category {
    display: inline-block;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.portfolio-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: white;
}

.portfolio-item p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* 关于页面 */
.about-section {
    padding: 4rem 0 6rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--dark-700);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.value-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.value-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* 法律页面 */
.legal-section {
    padding: 4rem 0 6rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-intro {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--dark-700);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 3rem;
}

.legal-intro p {
    color: var(--text-gray);
    line-height: 1.8;
}

.legal-date {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.legal-block {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--dark-700);
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.legal-block h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: white;
}

.legal-block p {
    color: var(--text-gray);
    line-height: 1.9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .services-detail-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}
