* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ffffff;
    --secondary-color: #f8f9fa;
    --accent-color: #e9ecef;
    --highlight-color: #007bff;
    --text-primary: #333333;
    --text-secondary: #6c757d;
    --border-color: rgba(0, 0, 0, 0.1);
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.wrapper {
    max-width: 1340px;
    margin: 0 auto;
    position: relative;
}

.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo p {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-top: -5px;
}

.logo a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.logo-image {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-slider {
    display: flex;
    width: 200%;
    height: 100%;
    animation: slide 10s infinite;
}

.carousel-slide {
    width: 50%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    45% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-50%);
    }
    95% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}



.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

.hero-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000000;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
    font-size: 20px;
    color: #333333;
    margin-bottom: 40px;
    max-width: 500px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn {
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #007bff;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.5);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.6);
    background: #0069d9;
}

.btn-secondary {
    background: #007bff;
    color: #ffffff;
    border: 2px solid #007bff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: #0069d9;
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}



.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-section {
    padding: 60px 0 120px;
    background: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
}

.icon-shape {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
}

.icon-1 {
    background: var(--gradient-1);
}

.icon-1::before {
    content: '🌐';
}

.icon-2 {
    background: var(--gradient-2);
}

.icon-2::before {
    content: '💬';
}

.icon-3 {
    background: var(--gradient-3);
}

.icon-3::before {
    content: '📱';
}

.icon-4 {
    background: var(--gradient-4);
}

.icon-4::before {
    content: '🎨';
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 15px;
}

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

.service-features li {
    color: var(--text-secondary);
    font-size: 14px;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--highlight-color);
}

.cases-section {
    padding: 60px 0 120px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.case-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.case-image {
    height: 300px;
    background: var(--gradient-1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-number {
    font-size: 72px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
}

.case-info {
    padding: 30px;
}

.case-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.case-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.case-tags {
    display: flex;
    gap: 10px;
}

.tag {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-secondary);
}

.process-section {
    padding: 60px 0 120px;
    background: var(--secondary-color);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.process-item {
    position: relative;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.process-item:hover {
    transform: translateY(-5px);
    border-color: var(--highlight-color);
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--highlight-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.process-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.process-desc {
    color: var(--text-secondary);
    font-size: 15px;
}

.solutions-section {
    padding: 60px 0 120px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.solution-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.solution-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.solution-title {
    font-size: 24px;
    font-weight: 600;
}

.solution-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.solution-card:nth-child(1) .solution-icon::before {
    content: '🛒';
}

.solution-card:nth-child(2) .solution-icon::before {
    content: '📚';
}

.solution-card:nth-child(3) .solution-icon::before {
    content: '🏥';
}

.solution-desc {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 15px;
}

.solution-features {
    list-style: none;
}

.solution-features li {
    color: var(--text-secondary);
    font-size: 14px;
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
}

.solution-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--highlight-color);
}

.contact-section {
    padding: 60px 0 120px;
    background: var(--secondary-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-text p {
    color: var(--text-secondary);
    font-size: 15px;
}

.contact-qr-codes {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.qr-item {
    text-align: center;
    flex: 1;
}

.qr-item img {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qr-item p {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.qr-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.qr-item:hover {
    transform: scale(1.05);
}

/* 二维码弹出模态框 */
.qr-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.qr-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: scaleIn 0.3s ease;
}

.qr-modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.qr-modal-close:hover {
    color: #000;
}

.qr-modal-content img {
    max-width: 300px;
    max-height: 300px;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.qr-modal-content p {
    margin-top: 15px;
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--highlight-color);
    background: rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.footer {
    background: var(--secondary-color);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo p {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-top: -5px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 20px;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--highlight-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-beian {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-beian a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-beian a:hover {
    color: var(--highlight-color);
}

.beian-divider {
    color: var(--border-color);
}

.beian-icon {
    width: 16px;
    height: 16px;
}