:root {
    --primary-color: #E53935;
    --primary-dark: #C62828;
    --secondary-color: #1E88E5;
    --secondary-dark: #1565C0;
    --accent-color: #FF9800;
    --dark-color: #263238;
    --dark-gray: #455A64;
    --medium-gray: #90A4AE;
    --light-gray: #CFD8DC;
    --light-color: #ECEFF1;
    --success-color: #43A047;
    --warning-color: #FB8C00;
    --info-color: #039BE5;
    --font-main: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    --font-secondary: 'Roboto', Arial, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.1), 0 6px 6px rgba(0,0,0,0.1);
    --shadow-xl: 0 15px 30px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.7;
    color: var(--dark-color);
    background-color: #fafafa;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    margin-right: 12px;
}

.logo-text h1 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.2;
}

.logo-text p {
    color: var(--dark-gray);
    font-size: 13px;
    margin-bottom: 0;
    font-weight: 500;
}

nav.desktop-nav ul {
    display: flex;
    align-items: center;
}

nav.desktop-nav ul li {
    margin-left: 25px;
    position: relative;
}

nav.desktop-nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
    padding: 8px 0;
}

nav.desktop-nav ul li a i {
    margin-right: 6px;
    font-size: 16px;
}

nav.desktop-nav ul li a:hover {
    color: var(--primary-color);
}

nav.desktop-nav ul li.active a {
    color: var(--primary-color);
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
    padding: 5px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background-color: white;
    box-shadow: var(--shadow-xl);
    z-index: 1001;
    transition: var(--transition);
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--dark-gray);
    cursor: pointer;
}

.mobile-nav ul li {
    margin-bottom: 15px;
}

.mobile-nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.mobile-nav ul li a i {
    margin-right: 10px;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.mobile-nav ul li.active a {
    color: var(--primary-color);
    font-weight: 600;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}



.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 500px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-15deg);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(-5deg);
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn i {
    margin-right: 8px;
    font-size: 18px;
}

.btn-primary {
    background-color: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: #f1f1f1;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: white;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

/* Stats Section */
.stats {
    padding: 70px 0;
    background-color: white;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    background-color: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--dark-gray);
    font-weight: 500;
}

/* About Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--medium-gray);
    font-size: 18px;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.about-image .image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    font-weight: 600;
}

.about-content {
    flex: 1;
}

.about-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-content p {
    margin-bottom: 20px;
    color: var(--dark-gray);
    font-size: 16px;
}

.about-features {
    margin-top: 30px;
}

.about-feature {
    display: flex;
    margin-bottom: 20px;
}

.about-feature i {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: rgba(30, 136, 229, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
}

.about-feature h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.about-feature p {
    margin-bottom: 0;
    font-size: 15px;
}

/* Features Section */
.features {
    background-color: var(--light-color);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover:after {
    height: 10px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.1), rgba(30, 136, 229, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--dark-gray);
    font-size: 15px;
}

/* Categories Section */
.categories {
    background-color: white;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.category-tab {
    padding: 12px 24px;
    background-color: white;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.category-tab i {
    margin-right: 8px;
    font-size: 18px;
}

.category-tab.active, .category-tab:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.category-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.category-content.active {
    display: block;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.category-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.category-item-img {
    height: 160px;
    overflow: hidden;
}

.category-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-item:hover .category-item-img img {
    transform: scale(1.05);
}

.category-item-content {
    padding: 20px;
}

.category-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.category-item p {
    color: var(--medium-gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.category-item .btn {
    padding: 8px 20px;
    font-size: 14px;
    background-color: var(--light-color);
    color: var(--dark-color);
}

.category-item .btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-color);
}

.testimonials-container {
    position: relative;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.testimonial-slider::-webkit-scrollbar {
    height: 6px;
}

.testimonial-slider::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 3px;
}

.testimonial-slider::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.testimonial-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    margin-right: 30px;
    position: relative;
    min-height: 300px;
}

.testimonial-card:last-child {
    margin-right: 0;
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 80px;
    color: rgba(0,0,0,0.05);
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
    font-size: 18px;
    font-style: italic;
    color: var(--dark-gray);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--light-gray);
}

.testimonial-author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.testimonial-author-info p {
    color: var(--medium-gray);
    font-size: 14px;
    margin-bottom: 0;
}

.testimonial-rating {
    color: var(--accent-color);
    margin-top: 5px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Guide Section */
.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.guide-steps:before {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    width: 2px;
    height: 100%;
    background-color: var(--light-gray);
    z-index: 0;
}

.step {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: var(--shadow-md);
}

.step-content {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    flex: 1;
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.step-content p {
    color: var(--dark-gray);
    font-size: 15px;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
}

.cta:after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
}

.cta-container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
}

.cta p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255,255,255,0.9);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.footer-wave .shape-fill {
    fill: #FFFFFF;
}

.footer-container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    color: white;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.footer-column p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    font-size: 15px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.footer-links li a i {
    margin-right: 10px;
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.footer-links li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    margin-right: 12px;
    font-size: 18px;
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-contact li span {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    flex: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .about-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-image, .about-content {
        flex: none;
        width: 100%;
    }
    
    .about-image {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px 0;
    }
    
    nav.desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .testimonial-card {
        padding: 30px;
        min-height: auto;
    }
    
    .cta h2 {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 30px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .category-tab {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
