/* Base Styles */
:root {
    --primary-color: #1d2976;
    --primary-light: #3a56c8;
    --secondary-color: #00a0e9;
    --dark-color: #0a1026;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.main-content {
    padding: 60px 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Title */
.section-title {
    font-size: 3rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #333;
    text-align: center;
}

/* Utility Classes */
.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0088c7;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    font-size: 2rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-color);
    color: white;
    padding: 8px 0;
    font-size: 0.8rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
}

.global-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 5px;
}

.global-links a:hover {
    color: white;
}

.language-selector select {
    background: transparent;
    color: white;
    border: none;
    padding: 2px;
}

.language-selector select option {
    color: black;
    /* Add this line to make dropdown options visible */
}

/* Main Header */
.main-header {
    background-color: var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* 在 .main-nav a:hover::after 后面添加 */
.main-nav a.active {
    color: white;
    position: relative;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-actions a {
    color: white;
    margin-left: 20px;
}

.btn-login {
    border: 1px solid white;
    padding: 5px 15px;
    border-radius: 4px;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Value Propositions */
.value-props {
    padding: 80px 0;
    background-color: var(--light-color);
}

.value-props .container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.prop-card {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

/* 添加卡片链接样式 */
.prop-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.prop-card-link:hover .prop-card {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.prop-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.prop-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Industry Solutions */
.industry-solutions {
    padding: 80px 0;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    color: var(--gray-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
}

.case-study {
    display: flex;
    align-items: center;
    gap: 40px;
}

.case-study img {
    width: 50%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.case-details {
    flex: 1;
}

.case-details h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.case-details a.btn-primary {
    margin-top: 20px;
    /* 添加此行以增加与上方 p 元素的距离 */
}

/* Technology Showcase */
.tech-showcase {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
}

.tech-showcase .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.tech-model {
    flex: 1;
}

.model-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.model-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.tech-features {
    flex: 1;
}

.tech-features h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.tech-features ul {
    list-style: none;
}

.tech-features li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.tech-features i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--secondary-color);
}

/* Clients Section */
.clients {
    padding: 60px 0;
    background-color: var(--light-color);
}

.client-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.client-logos img {
    height: 40px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Footer */
.main-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 0;
}

.main-footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
}

address {
    font-style: normal;
    color: #ccc;
    line-height: 1.8;
}

.footer-bottom {
    background-color: #050a1a;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-links a {
    color: #ccc;
    text-decoration: none;
    margin-left: 20px;
}

/* Cookie Consent Modal */
.cookie-consent-modal {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--dark-color);
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
}

.cookie-consent-content {
    max-width: 300px;
}

.cookie-consent-content h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.cookie-consent-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.cookie-consent-content a {
    color: var(--secondary-color);
    text-decoration: none;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
}

.cookie-consent-buttons button {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.cookie-consent-buttons .btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.cookie-consent-buttons .btn-secondary {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .value-props .container {
        flex-direction: column;
    }

    .case-study {
        flex-direction: column;
    }

    .case-study img {
        width: 100%;
    }

    .tech-showcase .container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
    }

    .logo {
        margin-bottom: 15px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav li {
        margin: 5px 10px;
    }

    .header-actions {
        margin-top: 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }
}

/* Carousel Styles */
.carousel {
    position: relative;
    width: 100%;
    max-width: - 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.9);
}

.carousel-control.prev {
    left: 15px;
}

.carousel-control.next {
    right: 15px;
}

/* Partner Performance Banner */
.partner-performance {
    display: block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.partner-performance:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.partner-performance-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.partner-performance h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.partner-performance p {
    font-size: 1.1rem;
    opacity: 0.9;
}
