/* 全局样式和变量 */
:root {
    --primary-color: #7B2CBF; /* 紫色主色调 */
    --secondary-color: #C77DFF; /* 浅紫色辅助色 */
    --accent-color: #FFD700; /* 金色强调色 */
    --text-color: #333333;
    --light-text: #666666;
    --bg-color: #F9F7FF; /* 浅紫色背景色 */
    --card-bg: #FFFFFF;
    --border-radius: 12px;
    --box-shadow: 0 6px 18px rgba(123, 44, 191, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 15px 0;
    background-color: rgba(123, 44, 191, 0.95);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.logo i {
    color: var(--accent-color);
    font-size: 32px;
}

.nav-links ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
}

/* 英雄区域样式 */
.hero-section {
    background: linear-gradient(rgba(123, 44, 191, 0.9), rgba(88, 28, 135, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 900px;
}

.hero-content h2 {
    font-size: 56px;
    margin-bottom: 25px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition);
    margin: 0 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #333;
    border: none;
}

.btn-primary:hover {
    background-color: #FFC107;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 奢华系列样式 */
.products-section {
    padding: 120px 0;
    background-color: white;
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, var(--bg-color), white);
    z-index: 0;
}

.section-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    font-weight: 800;
    letter-spacing: 1px;
    z-index: 1;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 20px;
    text-align: center;
    color: var(--light-text);
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(123, 44, 191, 0.1);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(123, 44, 191, 0.25);
}

.product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(123, 44, 191, 0.2), transparent);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.product-info {
    padding: 30px;
    text-align: center;
    background: linear-gradient(to bottom, white, var(--bg-color));
}

.product-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.product-info p {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.product-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-product {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(123, 44, 191, 0.3);
}

.btn-product:hover {
    background-color: #5A189A;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(123, 44, 191, 0.4);
}

/* 尊享服务样式 */
.advantages-section {
    padding: 120px 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(123, 44, 191, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.advantage-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.advantage-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.05), transparent);
    transform: translate(30%, -30%);
    border-radius: 50%;
}

.advantage-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(123, 44, 191, 0.2);
}

.advantage-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 30px;
    transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-color);
}

.advantage-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.advantage-card p {
    color: var(--light-text);
    font-size: 16px;
    line-height: 1.6;
}

/* 行业动态样式 */
.news-section {
    padding: 120px 0;
    background-color: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.news-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(123, 44, 191, 0.2);
}

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.08);
}

.news-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.news-date {
    font-size: 14px;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
    font-weight: 600;
    letter-spacing: 1px;
}

.news-content p {
    color: var(--light-text);
    margin-bottom: 25px;
    line-height: 1.6;
    flex: 1;
}

.news-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    align-self: flex-start;
    padding-right: 20px;
}

.news-link::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 0;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--accent-color);
}

.news-link:hover::after {
    right: -8px;
}

/* 客户见证样式 */
.testimonials-section {
    padding: 120px 0;
    background-color: var(--primary-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle {
    color: white;
}

.testimonials-section .section-title::after {
    background: linear-gradient(to right, var(--accent-color), white);
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    display: none;
    animation: fadeIn 0.8s ease-in;
}

.testimonial-item.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-content {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-text {
    font-size: 22px;
    font-style: italic;
    margin-bottom: 40px;
    color: white;
    line-height: 1.8;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 100px;
    position: absolute;
    top: -50px;
    left: 20px;
    color: rgba(255, 255, 255, 0.1);
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-author h4 {
    font-size: 20px;
    margin: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.testimonial-author p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.prev-btn, .next-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    color: #333;
}

/* 联系我们样式 */
.contact-section {
    padding: 120px 0;
    background-color: white;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to top, var(--bg-color), white);
    z-index: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), #5A189A);
    color: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: translate(50%, -50%);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.contact-item i {
    font-size: 32px;
    color: var(--accent-color);
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
    font-size: 18px;
}

.contact-form {
    background-color: var(--card-bg);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(123, 44, 191, 0.1);
}

.contact-form::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(123, 44, 191, 0.05) 0%, transparent 70%);
    transform: translate(-50%, 50%);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(123, 44, 191, 0.1);
    border-radius: 10px;
    font-size: 16px;
    transition: var(--transition);
    background-color: white;
    font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(123, 44, 191, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), #5A189A);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(123, 44, 191, 0.3);
    position: relative;
    z-index: 1;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(123, 44, 191, 0.4);
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, var(--primary-color), #5A189A);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-logo h3 {
    font-size: 30px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-logo i {
    color: var(--accent-color);
    font-size: 36px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 16px;
}

.footer-links h4, .footer-contact h4, .footer-social h4 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--accent-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after, .footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: var(--transition);
    color: var(--accent-color);
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -10px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.footer-contact i {
    color: var(--accent-color);
    font-size: 18px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px) scale(1.1);
    border-color: var(--accent-color);
    color: #333;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #5A189A);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(123, 44, 191, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(123, 44, 191, 0.4);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 48px;
    }
    
    .hero-content p {
        font-size: 20px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .testimonial-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 30px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .nav-links a {
        font-size: 18px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 38px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .btn-primary, .btn-secondary {
        display: block;
        margin: 15px auto;
        text-align: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
    
    .product-grid, .advantages-grid, .news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .testimonial-text {
        font-size: 20px;
    }
    
    .contact-info, .contact-form {
        padding: 40px;
    }
}

@media (max-width: 576px) {
    .logo h1 {
        font-size: 24px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .product-info, .advantage-card, .news-content, .testimonial-content, .contact-info, .contact-form {
        padding: 30px 20px;
    }
    
    .testimonial-text {
        font-size: 18px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .prev-btn, .next-btn, .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .btn-primary, .btn-secondary, .btn-product, .btn-submit {
        font-size: 16px;
        padding: 12px 25px;
    }
}