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

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f6fa;
}

header {
    background-color: #2c3e50;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
    width: auto;
}

.logo-text {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
}

.home-page .menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    background: transparent;
    border: 2px solid #ffffff30;
    border-radius: 4px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.home-page .menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s;
}

.sub-page nav {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
}

.sub-page .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: #3498db;
}

.navbar {
    background-color: #2c3e50;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row; /* 明确设置为水平方向 */
    width: 100%;
}

.navbar .logo {
    display: flex;
    flex-direction: row; /* 确保logo内部水平排列 */
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.navbar .logo img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.navbar .logo-text {
    font-size: 1.2em;
    font-weight: bold;
    white-space: nowrap; /* 防止换行 */
}

.navbar .nav-link {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.navbar .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.logo-container a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.logo-container a:hover {
    opacity: 0.9;
}

.logo-container a:hover .logo-text {
    color: #f39c12;
}

.logo {
    width: 40px;
    height: 40px;
}

.logo-text {
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-menu a:hover {
    background-color: rgba(255,255,255,0.1);
}

.hero {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin: 0;
}

.hero h1 {
    font-size: 2.5em;
    margin: 0 0 20px 0;
    font-weight: bold;
}

.hero p {
    font-size: 1.2em;
    margin: 0 0 30px 0;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    background-color: #e74c3c;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.cta-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.features, .pricing {
    padding: 3rem 2rem;
    text-align: center;
}

.pricing {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.pricing h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.8rem;
    color: #2c3e50;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    flex: 1;
    max-width: 400px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 2px solid #3498db;
    position: relative;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.price {
    margin: 1.5rem 0;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
}

.price .period {
    color: #666;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-features li {
    padding: 0.8rem 0;
    color: #555;
    display: flex;
    align-items: center;
}

.pricing-features .check {
    color: #27ae60;
    margin-right: 10px;
    font-weight: bold;
}

.pricing-features .cross {
    color: #e74c3c;
    margin-right: 10px;
    font-weight: bold;
}

.price-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.price-options span {
    color: #666;
    padding: 0.8rem;
    border-radius: 5px;
    background: #f8f9fa;
    position: relative;
    transition: all 0.3s ease;
}

.price-options span:hover {
    background: #e8f4ff;
}

.pricing-card.featured .price-options span {
    font-weight: 500;
}

.price-options span strong {
    color: #f39c12;
    font-size: 1.1em;
}

.pricing-card.featured .price-options span strong {
    color: #d4ac0d;
}

.pricing-card .btn-primary {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pricing-card .btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

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

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

.pricing-card .btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact {
    padding: 2rem;
    text-align: center;
    background-color: #f8f9fa;
}

.contact h2 {
    margin-bottom: 1.5rem;
}

.contact-image {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-item p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
    line-height: 1.4;
}

.feature-list li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.carousel-section {
    padding: 2rem 0;
    background-color: #f8f9fa;
}

.carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    user-select: none;
    cursor: grab;
}

.carousel:active {
    cursor: grabbing;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    touch-action: pan-y pinch-zoom;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    transition: all 0.3s ease;
    z-index: 2;
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.9);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background: white;
}

/* 子页面样式 */
.sub-page nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.sub-page .page-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
}

.sub-page .back-home {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-size: 1rem;
}

.sub-page .back-home:hover {
    background-color: rgba(255,255,255,0.1);
}

/* 法律页面样式 */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.legal-content h1 {
    color: #2c3e50;
    text-align: center;
    margin: 30px 0;
    font-size: 2.2em;
    font-weight: bold;
    padding: 20px 0;
    border-bottom: 2px solid #f39c12;
}

.legal-content section {
    background: #fff;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.legal-content h2 {
    color: #2c3e50;
    margin: 25px 0 15px;
    font-size: 1.6em;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.legal-content p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.legal-content ul {
    padding-left: 25px;
    margin: 15px 0;
}

.legal-content li {
    margin: 10px 0;
    line-height: 1.8;
    color: #444;
}

/* 页脚样式 */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 30px 0;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin: 20px 0;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.1em;
}

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

.beian {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9em;
    display: block;
    margin-top: 15px;
}

.beian:hover {
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #2c3e50;
        flex-direction: column;
        width: 200px;
        padding: 20px;
        border-radius: 0 0 5px 5px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 10px 0;
        text-align: right;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    header {
        flex-direction: column;
        padding: 1rem;
    }

    nav {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .logo-container {
        margin-right: auto;
        width: auto;
        align-items: center;
        gap: 0;
    }

    .logo {
        height: 40px;
        margin-right: 0;
    }

    .logo-text {
        font-size: 0.9rem;
        margin-left: 2px;
    }

    nav ul {
        margin-left: 0;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    nav ul li {
        margin: 10px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .feature-item {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }

    .feature-item h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .feature-item p {
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }

    .feature-list li {
        padding: 0.3rem 0;
        line-height: 1.3;
    }

    .features {
        padding: 1rem 0.5rem;
    }

    .features h2 {
        margin-bottom: 1rem;
    }

    .pricing {
        padding: 2rem 1rem;
    }

    .pricing h2 {
        margin-bottom: 1.5rem;
    }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .pricing-card {
        width: 100%;
        margin-bottom: 1rem;
        padding: 1.5rem;
    }

    .pricing-header {
        margin-bottom: 1rem;
    }

    .pricing-features {
        margin-bottom: 1rem;
    }

    .pricing-features li {
        padding: 0.5rem 0;
    }

    .price-options {
        gap: 0.3rem;
        margin-bottom: 1rem;
    }

    .price-options span {
        padding: 0.3rem;
    }

    .carousel {
        margin: 0 15px;
        border-radius: 8px;
    }

    .carousel img {
        width: calc(100% - 30px);
        margin: 0 15px;
    }
    
    .carousel-button {
        padding: 0.5rem;
        font-size: 1rem;
    }

    .legal-content {
        padding: 15px;
    }

    .legal-content h1 {
        font-size: 1.8em;
        margin: 20px 0;
    }

    .legal-content h2 {
        font-size: 1.4em;
    }

    .legal-content section {
        padding: 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem;
}

/* 首页移动端样式 */
@media (max-width: 768px) {
    .home-page .menu-toggle {
        display: flex;
    }

    .home-page .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #2c3e50;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        text-align: center;
    }

    .home-page .nav-menu.active {
        display: flex;
        align-items: center;
    }

    .home-page .nav-menu li {
        margin: 0;
        width: 100%;
        border-top: 1px solid #ffffff20;
    }

    .home-page .nav-menu li:first-child {
        border-top: none;
    }

    .home-page .nav-menu li a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        text-align: center;
    }

    .home-page .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .home-page .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .home-page .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* 子页面移动端样式 */
    .sub-page nav {
        flex-wrap: wrap;
    }

    .sub-page .nav-menu {
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
        text-align: center;
    }

    .sub-page .nav-menu li {
        margin: 5px 0;
    }

    .sub-page .nav-menu li a {
        display: block;
        padding: 8px 0;
    }

    .sub-page nav {
        padding: 10px 20px;
    }

    .sub-page .page-title {
        font-size: 1.1rem;
    }

    .sub-page .back-home {
        font-size: 0.9rem;
    }
}

.solutions {
    background-color: #f4f6f9;
    padding: 80px 0;
    text-align: center;
}

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

.solutions h2 {
    color: #2c3e50;
    margin-bottom: 50px;
    font-size: 2.2rem;  /* 从2.8rem调整为2.2rem */
    font-weight: 700;
}

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

.solution-card {
    background-color: white;
    border-radius: 15px;
    padding: 35px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

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

.solution-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #3498db;
}

.solution-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.solution-card p {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .solutions-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}
