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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.animate-slide-up {
    animation: slideInUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.scroll-animate .animate-slide-up,
.scroll-animate .animate-fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.scroll-animate .animate-slide-up.animated,
.scroll-animate .animate-fade-in.animated {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

body {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #faf8f5;
    background-attachment: fixed;
    min-height: 100vh;
    color: #2c2c2c;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(61, 41, 20, 0.06);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    color: #3d2914;
}

.logo-icon {
    font-size: 28px;
    margin-right: 8px;
    color: #d4af37;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
}

.nav {
    display: none;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #3d2914;
    color: #fff;
    padding: 8px 16px;
    border-radius: 2px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-btn:hover {
    background: #2d1f0f;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .float-actions {
        right: 15px;
        bottom: 20px;
        gap: 12px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
    }
    
    .float-icon {
        font-size: 18px;
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(7, 193, 96, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(7, 193, 96, 0); }
    100% { box-shadow: 0 0 0 0 rgba(7, 193, 96, 0); }
}

.float-actions {
    position: fixed;
    right: 20px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    animation: bounce 2s ease-in-out infinite;
}

.float-btn.wechat-btn {
    background: linear-gradient(135deg, #07c160 0%, #00b050 100%);
    animation: bounce 2s ease-in-out infinite, pulse-ring 2s ease-out infinite;
}

.float-btn.phone-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    animation: bounce 2s ease-in-out infinite 0.5s;
}

.float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    animation: none;
}

.float-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.float-text {
    font-size: 10px;
}

.wechat-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.wechat-popup.active {
    display: flex;
}

.wechat-popup-content {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    max-width: 300px;
    width: 90%;
    position: relative;
}

.wechat-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
}

.wechat-popup-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
}

.wechat-popup-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.wechat-qrcode {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

.wechat-qrcode img {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto;
}

.wechat-id {
    font-size: 16px;
    color: #07c160;
    font-weight: 600;
}

.hero-section {
    background: #faf8f5;
    padding: 40px 15px 60px;
    color: #3d2914;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 16px;
    color: #666666;
    margin-bottom: 25px;
}

.hero-carousel {
    margin-bottom: 25px;
    background: #ffffff;
    border-radius: 6px;
    padding: 10px;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 2px 12px rgba(61, 41, 20, 0.08);
    border: 1px solid #e8e4dc;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    touch-action: pan-y;
}

.carousel-btn {
    position: absolute;
    top: 80%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(30, 60, 114, 0.3);
    border-radius: 50%;
    color: #475569;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 100;
    backdrop-filter: blur(4px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(30, 60, 114, 0.6);
    color: #1e3c72;
    transform: translateY(-50%) scale(1.05);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 100%;
    max-width: 100%;
}

.slide-content {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.slide-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

.slide-info {
    padding: 12px 15px;
    background: #fff;
}

.slide-tag {
    display: inline-block;
    background: #d4af37;
    color: #fff;
    padding: 3px 10px;
    border-radius: 2px;
    font-size: 11px;
    margin-bottom: 8px;
}

.slide-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c2c2c;
}

.slide-info p {
    font-size: 13px;
    color: #666666;
    margin: 0;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #3d2914;
}

.stat-label {
    font-size: 14px;
    color: #666666;
}

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

.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #3d2914;
    color: #fff;
    box-shadow: 0 2px 8px rgba(61, 41, 20, 0.2);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: #2d1f0f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 41, 20, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #3d2914;
    border: 2px solid #3d2914;
    box-shadow: none;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(61, 41, 20, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: #3d2914;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 41, 20, 0.3);
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.action-buttons .btn-primary,
.action-buttons .btn-secondary {
    flex: 1;
    max-width: 200px;
    text-align: center;
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn-primary,
    .action-buttons .btn-secondary {
        max-width: 100%;
    }
}

.hero-image {
    display: none;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

.section-desc {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.quote-section {
    padding: 40px 0;
    background: #ffffff;
}

.quote-form {
    background: #ffffff;
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(61, 41, 20, 0.08);
    border: 1px solid #e8e4dc;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #2c2c2c;
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #e8e4dc;
    border-radius: 2px;
    font-size: 15px;
    transition: border-color 0.3s;
    background: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: #3d2914;
}

.phone-verify {
    font-size: 12px;
    margin-top: 5px;
    min-height: 18px;
    display: block;
}

.phone-verify.valid {
    color: #d4af37;
}

.phone-verify.invalid {
    color: #c84a4a;
}

.char-count {
    font-size: 12px;
    margin-top: 5px;
    color: #999;
    text-align: right;
}

.form-control::placeholder {
    color: #999;
}

.upload-section {
    margin: 20px 0;
}

.upload-label {
    cursor: pointer;
}

.upload-area {
    border: 2px dashed #e8e4dc;
    border-radius: 2px;
    padding: 30px 15px;
    text-align: center;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: #3d2914;
    background: #faf8f5;
}

.upload-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
    color: #d4af37;
}

.upload-text {
    display: block;
    font-size: 15px;
    color: #2c2c2c;
    margin-bottom: 5px;
}

.upload-hint {
    font-size: 13px;
    color: #666666;
}

.btn-full {
    width: 100%;
    padding: 15px;
    border-radius: 2px;
    font-size: 16px;
}

.result-card {
    margin-top: 30px;
    background: #ffffff;
    border-radius: 6px;
    padding: 35px;
    color: #2c2c2c;
    text-align: center;
    box-shadow: 0 2px 12px rgba(61, 41, 20, 0.08);
    border: 1px solid #e8e4dc;
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e4dc;
}

.result-icon {
    font-size: 32px;
    margin-right: 12px;
    color: #d4af37;
}

.result-title {
    font-size: 20px;
    font-weight: 600;
    color: #3d2914;
}

.result-price {
    margin-bottom: 30px;
}

.price-symbol {
    font-size: 28px;
    font-weight: 600;
    color: #3d2914;
}

.price-value {
    font-size: 52px;
    font-weight: 700;
    margin: 0 8px;
    color: #3d2914;
}

.price-unit {
    font-size: 20px;
    color: #666666;
}

.result-details {
    background: #faf8f5;
    border-radius: 2px;
    padding: 25px;
    margin-bottom: 25px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e8e4dc;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #666666;
    font-weight: 500;
}

.detail-value {
    color: #3d2914;
    font-weight: 600;
}

.result-tips {
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid #d4af37;
    border-radius: 0;
    padding: 15px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #2c2c2c;
}

.service-section {
    padding: 50px 15px;
    background: #ffffff;
}

.service-form {
    background: #ffffff;
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(61, 41, 20, 0.08);
    border: 1px solid #e8e4dc;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    background: #ffffff;
    border-radius: 2px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(61, 41, 20, 0.06);
    border: 1px solid #e8e4dc;
}

.feature-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
    color: #d4af37;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: #3d2914;
}

.feature-desc {
    font-size: 14px;
    color: #666666;
}

.advantages-section {
    padding: 50px 15px;
    background: #faf8f5;
    color: #2c2c2c;
}

.advantages-section .section-title {
    color: #3d2914;
}

.advantages-section .section-desc {
    color: #666666;
}

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

.advantage-item {
    background: #ffffff;
    border-radius: 2px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(61, 41, 20, 0.06);
    border: 1px solid #e8e4dc;
}

.advantage-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
    color: #d4af37;
}

.advantage-item h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #3d2914;
}

.advantage-item p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

.contact-section {
    padding: 50px 15px;
    background: #ffffff;
}

.contact-card {
    background: #3d2914;
    border-radius: 2px;
    padding: 35px;
    text-align: center;
    color: #fff;
}

.contact-info h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

.contact-phone {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-time, .contact-wechat {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.contact-action {
    margin-top: 25px;
}

.footer {
    background: #3d2914;
    color: #fff;
    padding: 40px 15px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #d4af37;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
    .header-content {
        padding: 15px 30px;
    }
    
    .nav {
        display: flex;
        gap: 30px;
    }
    
    .nav-link {
        color: #2c2c2c;
        text-decoration: none;
        font-size: 15px;
        position: relative;
    }
    
    .nav-link.active {
        font-weight: 600;
        color: #3d2914;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: #3d2914;
        transition: width 0.3s;
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }
    
    .phone-btn {
        padding: 8px 16px;
        font-size: 15px;
    }
    
    .hero-section {
        padding: 120px 30px 80px;
    }
    
    .hero-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 42px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 35px;
    }
    
    .hero-carousel {
        max-width: 550px;
    }
    
    .slide-content {
        flex-direction: row;
    }
    
    .slide-image {
        width: 220px;
        height: 140px;
    }
    
    .slide-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: flex-start;
        gap: 50px;
        margin-bottom: 40px;
    }
    
    .stat-value {
        font-size: 36px;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-image {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 400px;
        height: 400px;
    }
    
    .transformer-icon {
        font-size: 150px;
        animation: float 3s ease-in-out infinite;
    }
    
    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-20px); }
    }
    
    .quote-section, .service-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .form-row {
        flex-direction: row;
    }
    
    .form-group {
        flex: 1;
    }
    
    .service-features {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contact-card {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 40px 60px;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .quote-form, .service-form {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .result-card {
        max-width: 600px;
        margin: 30px auto;
    }
}

/* Services Carousel Styles */
.services-carousel {
    padding: 50px 15px;
    background: #ffffff;
}

.services-carousel .section-title {
    text-align: center;
    font-size: 28px;
    color: #3d2914;
    margin-bottom: 12px;
}

.services-carousel .section-subtitle {
    text-align: center;
    color: #666666;
    margin-bottom: 35px;
}

.services-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
}

.services-track::-webkit-scrollbar {
    display: none;
}

.service-card {
    flex: 0 0 300px;
    background: #ffffff;
    border: 1px solid #e8e4dc;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(61, 41, 20, 0.06);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(61, 41, 20, 0.12);
}

.service-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    color: #3d2914;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.service-content p {
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: #d4af37;
    font-size: 14px;
    font-weight: 500;
}

.read-more:hover {
    color: #b8942f;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.carousel-btn-prev,
.carousel-btn-next {
    width: 40px;
    height: 40px;
    border: 1px solid #e8e4dc;
    border-radius: 2px;
    background: #ffffff;
    color: #3d2914;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn-prev:hover,
.carousel-btn-next:hover {
    background: #3d2914;
    border-color: #3d2914;
    color: #fff;
}
