:root {
    --primary-color: #0066cc;
    --text-color: #333333;
    --header-height: 80px;
    --transition: all 0.3s ease;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

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

.nav__logo-img {
    height: 40px;
    width: auto;
}

.nav__logo-text {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav__link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav__link:hover,
.nav__link--active {
    color: var(--primary-color);
}

.nav__lang {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav__lang-flag {
    width: 20px;
    height: auto;
}

.nav__inquiry {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.nav__inquiry:hover {
    background-color: #0052a3;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav__menu {
        gap: 1rem;
    }
    
    .nav__link {
        font-size: 0.9rem;
    }
    
    .nav__inquiry {
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        display: none; /* 在移动端需要添加汉堡菜单 */
    }
}

/* Hero Section Styles */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.9);
    z-index: -1;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero__text {
    max-width: 650px;
    color: white;
}

.hero__title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero__highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero__highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: rgba(0, 102, 204, 0.2);
    z-index: -1;
}

.hero__subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero__buttons {
    display: flex;
    gap: 1rem;
}

.button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.button--primary {
    background-color: var(--primary-color);
    color: white;
}

.button--primary:hover {
    background-color: #0052a3;
}

.button--secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.button--secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero__title {
        font-size: 3rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .button {
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
        text-align: center;
    }
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.modal.active {
    display: block;
}

.modal__content {
    background-color: white;
    max-width: 800px;
    margin: 2rem auto;
    padding: 3rem;
    border-radius: 8px;
    position: relative;
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

.modal__title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.modal__subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form__row {
    display: flex;
    gap: 1.5rem;
}

.form__group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form__group label {
    font-size: 0.9rem;
    color: #333;
}

.form__group input,
.form__group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form__group textarea {
    resize: vertical;
    min-height: 120px;
}

.required {
    color: #ff4444;
}

.form__submit {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
    position: relative;
    min-height: 44px;
}

.form__submit:hover {
    background-color: #0052a3;
}

.button__loader {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.form__message {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.form__message--success {
    color: #28a745;
}

.form__message--error {
    color: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal__content {
        padding: 2rem 1.5rem;
    }

    .form__row {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: #fff;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature__item {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.feature__item:hover {
    transform: translateY(-10px);
}

.feature__icon {
    margin-bottom: 1.5rem;
}

.feature__icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.feature__title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.feature__divider {
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 1rem auto;
}

.feature__description {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .features__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature__item {
        padding: 1.5rem;
    }
}
/* About Section */
.about {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about__text {
    padding-right: 2rem;
}

.about__subtitle {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about__description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.about__features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.about__features li {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.about__features li::before {
    content: '✓';
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-weight: bold;
}

.about__image {
    position: relative;
}

.about__img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 968px) {
    .about__content {
        gap: 3rem;
    }

    .about__subtitle {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .about__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about__text {
        padding-right: 0;
        order: 2;
    }

    .about__image {
        order: 1;
    }

    .about__features li {
        font-size: 1rem;
    }
}

/* Blog Section */
.blog {
    padding: 5rem 0;
    background-color: #fff;
}

.section__subtitle {
    text-align: center;
    color: #666;
    max-width: 800px;
    margin: 1rem auto 3rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.blog__card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.blog__image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

.blog__card:hover .blog__image img {
    transform: scale(1.05);
}

.blog__content {
    padding: 1.5rem;
}

.blog__title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.blog__description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.blog__link {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.blog__link:hover {
    background-color: #0052a3;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .blog__image {
        height: 200px;
    }
}
/* Advantages Section */
.advantages {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.advantage__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
    padding: 2rem 0;
}

.advantage__item--reverse {
    direction: rtl;
}

.advantage__item--reverse .advantage__content {
    direction: ltr;
}

.advantage__content {
    padding: 2rem;
}

.advantage__title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.advantage__description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.advantage__list {
    list-style: none;
}

.advantage__list li {
    color: #333;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
}

.advantage__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('check-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.advantage__image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.advantage__image:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 968px) {
    .advantage__item {
        gap: 2rem;
    }

    .advantage__title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .advantage__item,
    .advantage__item--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 2rem;
    }

    .advantage__content {
        padding: 1rem 0;
    }

    .advantage__image {
        order: -1;
    }
}
/* 语言切换导航样式 */
.nav__lang {
    position: relative;
    margin-left: 1rem;
}

.nav__lang-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav__lang-button:hover {
    background: #f5f5f5;
}

.nav__lang-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
}

.nav__lang-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.nav__lang-arrow {
    border: solid #333;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
    transform: rotate(45deg);
    margin-top: -2px;
}

/* 下拉菜单样式 */
.nav__lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 180px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    list-style: none;
}

/* 显示下拉菜单 */
.nav__lang:hover .nav__lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 下拉菜单项样式 */
.nav__lang-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav__lang-item:hover {
    background: #f5f5f5;
}

.nav__lang-item span {
    font-size: 0.9rem;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .nav__lang {
        margin-left: 0;
    }
    
    .nav__lang-button {
        padding: 0.4rem 0.8rem;
    }
    
    .nav__lang-dropdown {
        width: 160px;
    }
}