:root {
    --primary-color: #c0a080; /* 金属主色 */
    --secondary-color: #1e1e1e; /* 深灰 */
    --accent-color: #3d3d3d; /* 中灰 */
    --text-color: #e0e0e0; /* 浅灰 */
    --light-text: #b0b0b0;
    --section-bg: #2a2a2a; /* 区块背景 */
    --metal-gradient: linear-gradient(135deg, #c0a080, #d4b692, #c0a080); /* 金属渐变 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.7;
}
a{
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 金属质感按钮 */
.metal-btn {
    background: var(--metal-gradient);
    border: none;
    color: #1e1e1e;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin: 10px 5px;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.metal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.metal-btn:active {
    transform: translateY(1px);
}

/* 金属边框 */
.metal-border {
    border: 2px solid transparent;
    border-image: var(--metal-gradient);
    border-image-slice: 1;
    padding: 20px;
}

/* Header Styles */
header {
    background-color: var(--secondary-color);
    padding: 20px 0;
    border-bottom: 3px solid var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo .logo-icon {
    margin-right: 10px;
    font-size: 32px;
}

.logo span {
    color: var(--text-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
    position: relative;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    padding: 5px 0;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--metal-gradient);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(30, 30, 30, 0.85), rgba(30, 30, 30, 0.85)), url('./bg.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    display: inline-block;
    padding-bottom: 15px;
    position: relative;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: var(--metal-gradient);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
    color: var(--light-text);
}

/* About Section */
.about {
    background-color: var(--section-bg);
    position: relative;
    overflow: hidden;
}

.about:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--metal-gradient);
    border-radius: 50%;
    opacity: 0.1;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-features {
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.about-feature-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* Stats Section */
.stats {
    background: linear-gradient(rgba(30, 30, 30, 0.9), rgba(30, 30, 30, 0.9)), url('./bg.jpg') no-repeat center center/cover;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.stat-item {
    padding: 30px;
    background-color: rgba(62, 62, 62, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    border: 1px solid rgba(192, 160, 128, 0.3);
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-10px);
    background-color: rgba(62, 62, 62, 0.5);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--light-text);
}

/* Features Section */
.features {
    background-color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: var(--section-bg);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.feature-card h3 {
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: var(--primary-color);
}

/* Services Section */
.services {
    background-color: var(--section-bg);
}

.services-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 25px;
    background-color: var(--accent-color);
    border: none;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.tab-btn:first-child {
    border-radius: 5px 0 0 5px;
}

.tab-btn:last-child {
    border-radius: 0 5px 5px 0;
}

.tab-btn.active {
    background: var(--metal-gradient);
    color: var(--secondary-color);
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-image {
    height: 220px;
    background-color: #444;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
}

.service-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--metal-gradient);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-content p {
    margin-bottom: 20px;
    color: var(--light-text);
}

.service-meta {
    display: flex;
    justify-content: space-between;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-top: 15px;
}

/* Process Section */
.process {
    background-color: var(--secondary-color);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
    position: relative;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--metal-gradient);
    z-index: 1;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--metal-gradient);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.step-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--section-bg);
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 10px;
    margin: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.testimonial:before {
    content: '"';
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
    font-style: italic;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
    margin-right: 15px;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing {
    background-color: var(--secondary-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background-color: var(--section-bg);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.popular:before {
    content: '最受欢迎';
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--metal-gradient);
    color: var(--secondary-color);
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    transform: translateY(-10px);
}

.pricing-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    color: var(--light-text);
}

.pricing-features {
    margin: 30px 0;
}

.pricing-features li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    list-style: none;
}

.pricing-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(30, 30, 30, 0.85), rgba(30, 30, 30, 0.85)), url('./bg.jpg') no-repeat center center/cover;
    text-align: center;
    padding: 120px 20px;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.cta p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.3rem;
}

/* FAQ Section */
.faq {
    background-color: var(--section-bg);
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.accordion-header {
    background-color: var(--secondary-color);
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    border-left: 4px solid var(--primary-color);
}

.accordion-header:hover {
    background-color: #2a2a2a;
}

.accordion-content {
    padding: 0 20px;
    background-color: var(--secondary-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content-inner {
    padding: 20px 0;
}

.accordion-item.active .accordion-header {
    background-color: #2a2a2a;
}

/* Contact Section */
.contact {
    background-color: var(--secondary-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-text h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: var(--section-bg);
    border: 1px solid var(--accent-color);
    color: var(--text-color);
    border-radius: 5px;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 80px 0 30px;
    border-top: 1px solid var(--accent-color);
    position: relative;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.footer-column h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--metal-gradient);
    bottom: 0;
    left: 0;
}

.footer-column p {
    margin-bottom: 20px;
    color: var(--light-text);
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--section-bg);
    color: var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--metal-gradient);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--accent-color);
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--metal-gradient);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .section-title h2 {
        font-size: 2.3rem;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-steps:before {
        display: none;
    }
    
    .process-step {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .logo .logo-icon {
        font-size: 28px;
    }
    
    nav ul {
        margin-top: 15px;
        width: 100%;
        justify-content: space-around;
    }
    
    nav ul li {
        margin: 0;
    }
    
    .hero {
        padding-top: 70px;
        height: auto;
        padding-bottom: 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    section {
        padding: 70px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .pricing-card.popular {
        transform: none;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .metal-btn {
        width: 100%;
        max-width: 280px;
        margin: 5px 0;
    }
    
    .services-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        border-radius: 0;
    }
    
    .tab-btn:first-child {
        border-radius: 5px 5px 0 0;
    }
    
    .tab-btn:last-child {
        border-radius: 0 0 5px 5px;
    }
}
