/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Header Section */
header {
    background-color: #333;
    color: #fff;
    padding: 20px;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Logo样式 */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
}

/* 导航菜单 */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.nav-links li {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
}

/* 汉堡菜单按钮 */
.menu-toggle {
    display: none;
    background-color: transparent;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Hero Section */
#hero {
    background: #007BFF;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

#hero h2 {
    font-size: 3rem;
}

#hero .cta-button {
    background-color: #fff;
    color: #007BFF;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

/* Features Section */
.features {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.feature-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 25px;
    border-radius: 8px;
    background-color: #fff;
}

.feature-title {
    font-size: 2rem;
    font-weight: bold;
    width: 40%;
    padding-right: 20px;
    color: #333;
}

.feature-content {
    font-size: 1.2rem;
    width: 55%;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding-left: 20px;
    line-height: 1.8;
}

/* 设置基础样式 */
.video-container {
    display: flex;
    flex-direction: column; /* 让元素垂直排列 */
    align-items: center; /* 居中对齐 */
    padding: 20px;
    gap: 20px; /* 元素之间的间距 */
}

.location-title {
    font-size: 2em;
    margin-bottom: 20px;
}

/* Video Examples Section */
.video-examples {
    padding: 30px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.video-examples h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.video-example {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.video-item {
    width: 48%;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.video-item h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    background-color: #000;
}

.video-player {
    width: 100%;
    max-width: 800px;
    height: auto;
}

/* 定价部分 */
.pricing {
    background-color: #f4f4f4;
    text-align: center;
    padding: 50px 20px;
}

.pricing h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.pricing-plan-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.pricing-plan {
    padding: 30px;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    width: 28%;
    height: 250px;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

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

.pricing-plan h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.pricing-plan p {
    font-size: 1.0rem;
    margin-bottom: 10px;
}

.normal-price, .discounted-price {
    font-size: 0.8rem;
}

.normal-price-strike {
    text-decoration: line-through;
    color: red;
    margin-right: 10px;
}

.discounted-price {
    font-size: 1.0rem;
    font-weight: bold;
    color: green;
    margin-top: 10px;
}
.discount{

    color: green;
    font-size: 1.2rem;
    margin-bottom: 10px;
    margin-top: 10px;
}
.cta-button {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: #0056b3;
}

.download {
    background-color: #f4f4f4;
    text-align: center;
    padding: 50px 20px;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
/* 默认情况下，所有下载按钮并排显示 */
.download a {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
}

.download .cta-button {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

/* Contact Section */
.contact {
    text-align: center;
    padding: 50px 20px;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact .cta-button {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

/* Footer Section */
footer {
    text-align: center;
    background-color: #333;
    color: white; /* 强制设置为白色 */
    padding: 10px;
    margin-top: 20px;
}
footer a {
    color: white; /* 强制设置为白色 */
    text-decoration: none;
}
footer a:hover {
    color: white; /* 强制设置为白色 */
    text-decoration: underline;
}
/* 下拉菜单的样式 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.dropbtn:hover {
    background-color: #3e8e41;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
    left: 0;
    top: 100%;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #a19c9c;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.language-toggle {
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
}

/* Popup 样式 */
.popup {
    display: none; /* 默认隐藏 */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    border-radius: 8px;
    z-index: 1000;
}

.popup-content {
    text-align: center;
    font-size: 18px;
}

/* 关闭按钮样式 */
.popup span {
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
}

/* Responsive Styles */

/* For devices with width less than 1200px (Tablets, small desktops) */
@media (max-width: 1200px) {
    .pricing-plan-container {
        justify-content: space-around;
    }

    .pricing-plan {
        width: 28%; /*220px; Adjust the card size */
    }

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

    .hero h2 {
        font-size: 2.5rem;
    }

    .cta-button {
        font-size: 0.9rem;
    }

    .video-item {
        width: 48%;
    }
}

/* For devices with width less than 768px (Phones and smaller tablets) */
@media (max-width: 600px) {

    /* 默认菜单隐藏 */
    .nav-links {
        display: none; /* 默认隐藏 */
        position: fixed; /* 固定在屏幕上 */
        top: 0;
        right: 0;
        width: 50%;
        height: 100vh; /* 满屏高度 */
        background-color: rgba(168, 164, 164, 0.9); /* 背景颜色 */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px; /* 设置菜单项之间的间距 */
        transition: transform 0.3s ease; /* 动画效果 */
        transform: translateX(-100%); /* 初始状态隐藏在屏幕外 */
    }

    /* 菜单显示时的样式 */
    .nav-links.active {
        display: flex; /* 显示菜单 */
        transform: translateX(0); /* 从左侧滑入 */
    }

    /* 菜单项样式 */
    .nav-links li {
        margin: 20px 0;
    }

    .menu-toggle {
        display: block;
    }

    header nav .logo h1 {
        font-size: 1.5rem; /* 调整logo标题字体 */
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .pricing-plan-container {
        flex-direction: column;
        align-items: center;
    }

    .pricing-plan {
        width: 100%;
        margin: 10px 0;
    }

    .logo img {
        width: 35px;
        height: 35px;
    }

    .video-item {
        width: 100%;
        margin-bottom: 20px;
    }
    .download a {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    /* 设置paypal 支付按钮样式 */
    .pp-QJDZ2CQYGHP9C{
        text-align:center;
        border:none;
        border-radius:0.25rem;
        min-width:11.625rem;
        padding:0 2rem;
        height:2.625rem;
        font-weight:bold;
        background-color:#FFD140;
        color:#000000;
        font-family:"Helvetica Neue",Arial,sans-serif;
        font-size:1rem;
        line-height:1.25rem;
        cursor:pointer;
    }
}
