/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav {
    display: flex;
    gap: 50px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 17px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #ff4757;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ff4757;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    cursor: pointer;
    padding: 5px 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    min-width: 140px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    overflow: hidden;
    z-index: 1000;
    margin-top: 0;
    padding-top: 5px;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    height: 5px;
    background: transparent;
}

.dropdown-content a {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 400;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #fff5f5;
    color: #ff4757;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section */
.hero {
    background: url('images/image.png') center center/cover no-repeat;
    color: #fff;
    padding: 150px 0;
    text-align: center;
    position: relative;
    height:700px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Hero for Products Page */
.hero-products {
    background: url('images/image.png') center center/cover no-repeat;
    padding: 120px 0;
}

.hero-products::before {
    display: none;
}

/* Hero for About Page */
.hero-about {
    background: url('images/image copy 2.png') center center/cover no-repeat;
    padding: 120px 0;
}

.hero-about::before {
    display: none;
}

/* Hero for Certificate Page */
.hero-certificate {
    background: url('images/image.png') center center/cover no-repeat;
    padding: 120px 0;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 35px;
}

.hero-text {
    font-size: 20px;
    line-height: 1.8;
    opacity: 0.95;
}

/* Section Common Styles */
.section {
    padding: 80px 0;
}

.section-bg-gray {
    background-color: #fff;
}

.section-bg-white {
    background-color: #fff;
}

.section-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ff4757;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    width:200px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 60px;
    color: #666;
}

.section-divider {
    width: 60px;
    height: 4px;
    background-color: #ff4757;
    margin: 0 auto 40px;
}

/* Company Introduction */
.company-intro {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 2;
    color: #555;
}

.company-intro p {
    margin-bottom: 20px;
    text-align: justify;
    text-indent: 2em;
}

.company-intro .highlight {
    color: #0066ff;
    font-weight: 600;
    font-size: 17px;
    text-align: center;
    margin: 30px 0;
    text-indent: 0;
}

/* Service Cards Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: #fff;
    padding: 50px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 60px;
    color: #ff4757;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.service-card .divider {
    width: 40px;
    height: 3px;
    background-color: #ff4757;
    margin: 15px auto;
}

.service-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.advantage-number {
    font-size: 50px;
    font-weight: 700;
    color: #ff4757;
    background-color: #fff0f1;
    padding: 15px 25px;
    border-radius: 8px;
    min-width: 90px;
    text-align: center;
}

.advantage-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

/* Product Display */
.product-display {
    text-align: center;
    margin: 60px 0;
    position: relative;
}

.product-image-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.product-image {
    width: 100%;
    height: auto;
}

.platform-label {
    position: absolute;
    font-size: 16px;
    font-weight: 600;
    color: #666;
}

.platform-label::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #ff4757;
    border-radius: 50%;
}

.platform-label.desktop {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.platform-label.desktop::before {
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
}

.platform-label.desktop::after {
    content: '';
    position: absolute;
    left: -70px;
    top: 50%;
    width: 60px;
    height: 2px;
    background: repeating-linear-gradient(to right, #ff4757 0, #ff4757 5px, transparent 5px, transparent 10px);
}

.platform-label.mobile {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.platform-label.mobile::before {
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
}

.platform-label.mobile::after {
    content: '';
    position: absolute;
    right: -70px;
    top: 50%;
    width: 60px;
    height: 2px;
    background: repeating-linear-gradient(to left, #ff4757 0, #ff4757 5px, transparent 5px, transparent 10px);
}

.download-btn {
    display: inline-block;
    background-color: #ff4757;
    color: #fff;
    border: none;
    padding: 18px 60px;
    border-radius: 4px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.download-btn:hover {
    background-color: #ff3838;
    transform: translateY(-2px);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 8px;
}

.feature-icon {
    font-size: 48px;
    color: #ff4757;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* Product Services Grid (for 产品服务 page) */
.product-services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.product-service-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 0 0 auto;
    width: calc(11.11% - 27px);
    min-width: 200px;
    max-width: 250px;
    text-align: center;
}

.product-service-icon {
    font-size: 48px;
    color: #ff4757;
}

.product-service-icon img {
    width: 48px;
    height: 48px;
}

.product-service-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.product-service-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* Company Introduction for About Page */
.company-intro-about {
    max-width: 1100px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.company-intro-about p {
    margin-bottom: 25px;
    text-align: justify;
}

.highlight-text {
    text-align: center !important;
    font-weight: 600;
    margin-top: 40px !important;
}

/* Corporate Culture Section for About Page */
.section-bg-culture-about {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/image copy.png') center center/cover no-repeat;
    padding: 80px 0 100px;
}

.culture-title {
    color: #fff !important;
    margin-bottom: 20px;
}

.culture-divider {
    background-color: #fff !important;
}

/* Culture Icons Row */
.culture-icons-row {
    display: flex;
    justify-content: center;
    gap: 150px;
    margin-top: 60px;
    margin-bottom: 80px;
}

.culture-icon-item {
    text-align: center;
    color: #fff;
}

.culture-icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.culture-icon-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.culture-icon-item p {
    font-size: 16px;
    line-height: 1.8;
    color: #e0e0e0;
}

/* Values Cards Row */
.values-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.value-card-about {
    background: #fff;
    padding: 45px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.value-icon-red {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card-about h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ff4757;
    margin-bottom: 25px;
}

.value-text {
    font-size: 15px;
    color: #333;
    line-height: 2;
}

.value-text p {
    margin: 5px 0;
}

/* Footer for About Page */
.footer-about {
    background-color: #f5f5f5 !important;
    border-top: none !important;
}

.footer-about-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px 0 40px;
    gap: 80px;
}

.footer-logo-section {
    flex: 0 0 auto;
}

.footer-logo-section img {
    height: 80px;
    width: auto;
}

.footer-contact-section,
.footer-address-section {
    flex: 0 0 auto;
}

.footer-contact-section h4,
.footer-address-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.footer-contact-section p,
.footer-address-section p {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-contact-section a {
    color: #333;
    text-decoration: none;
}

.footer-about-bottom {
    border-top: 1px solid #ddd;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-about-bottom p {
    font-size: 14px;
    color: #333;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 14px;
    color: #0066cc;
    text-decoration: underline;
}

.footer-links a:hover {
    color: #ff4757;
}

/* Certificates Grid */
.certificates-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.certificate-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.certificate-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product Packages */
.product-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.package-item {
    flex: 0 0 auto;
    min-width: 450px;
    min-height: 100%;
}

.package-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-item img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: #fff;
    border-radius: 12px;
    padding: 50px 40px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.pricing-card-gold::before {
    background: linear-gradient(90deg, #d4a574 0%, #b8883d 100%);
}

.pricing-card-red::before {
    background: linear-gradient(90deg, #ff4757 0%, #ff3838 100%);
}

.pricing-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.pricing-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
    min-height: 50px;
}

.pricing-amount {
    margin-bottom: 30px;
}

.pricing-amount-group {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.pricing-amount .price {
    font-size: 36px;
    font-weight: 700;
    color: #ff4757;
    margin-right: 5px;
}

.pricing-card-gold .price {
    color: #d4a574;
}

.pricing-amount .period {
    font-size: 16px;
    color: #666;
}

.pricing-note {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Risk Warning Section */
.risk-warning {
    background-color: #3c3c3c;
    padding: 40px 0;
    color: #fff;
}

.risk-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.risk-left {
    flex: 1;
}

.risk-left h3 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 8px;
}

.risk-left p {
    font-size: 15px;
    line-height: 2;
    color: #e0e0e0;
}

.risk-right {
    flex: 0 0 auto;
    text-align: right;
}

.risk-right p {
    font-size: 16px;
    line-height: 2;
    color: #e0e0e0;
    margin-bottom: 5px;
}

.company-name {
    font-weight: 600;
    font-size: 18px !important;
}

.company-code {
    font-weight: 600;
}

.company-phone {
    font-size: 17px !important;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 60px 0 30px;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 60px;
}

.footer-logo {
    flex: 0 0 auto;
}

.footer-logo img {
    height: 70px;
    width: auto;
}

.footer-info {
    display: flex;
    gap: 100px;
    flex: 1;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.footer-section p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

.footer-section a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff4757;
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #666;
}

.footer-bottom a {
    color: #0066ff;
    text-decoration: none;
    margin-left: 15px;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-service-item {
        width: calc(25% - 23px);
        min-width: 180px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .package-item {
        max-width: 100%;
    }

    .values-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .culture-icons-row {
        gap: 80px;
    }

    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        gap: 25px;
    }

    .nav-link {
        font-size: 15px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .section-title {
        font-size: 32px;
    }

    .services-grid,
    .advantages-grid,
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .product-service-item {
        width: calc(50% - 15px);
        min-width: 150px;
    }

    .product-packages {
        flex-direction: column;
        gap: 20px;
    }

    .package-item {
        max-width: 100%;
    }

    .values-cards-row {
        grid-template-columns: 1fr;
    }

    .culture-icons-row {
        flex-direction: column;
        gap: 40px;
    }

    .footer-about-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-about-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-info {
        flex-direction: column;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .platform-label {
        display: none;
    }

    .risk-content {
        flex-direction: column;
        gap: 30px;
    }

    .risk-right {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 26px;
    }

    .section {
        padding: 50px 0;
    }
}