/* 基本样式设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-y: auto;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* 隐藏滚动条但保持滚动功能 */
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

main {
    min-height: calc(100vh - 200px);
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo img {
    height: 40px;
}

.logo-text {
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    line-height: 40px;
}

.logo-link {
    text-decoration: none;
    display: inline-block;
}

.beian-link, .copyright-text {
    color: #fff !important;
    text-decoration: none;
}

.copyright-text {
    font-size: 12px !important;
    color: #fff !important;
}

.beian-link {
    font-size: 12px;
}

.beian-link:hover {
    text-decoration: underline;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00a0e9;
}

/* 主要内容区域样式 */
.hero {
    height: 100vh;
    background: url('images/3.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
}

.hero-content p {
    font-size: 24px;
    color: #fff;
}

/* 功能区块样式 */
.features {
    padding: 80px 50px;
    background-color: #111;
}

.feature-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.feature-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-column.center {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-ui {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 160, 233, 0.3));
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, background-color 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon img {
    width: 64px;
    height: 64px;
}

.feature-item h3 {
    font-size: 24px;
    color: #00a0e9;
    margin-bottom: 10px;
}

.feature-item p {
    color: #999;
    line-height: 1.5;
}

/* 响应式布局 */
@media (max-width: 1024px) {
    .feature-container {
        flex-direction: column;
    }

    .feature-column {
        width: 100%;
    }

    .feature-column.left, .feature-column.right {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .feature-item {
        flex: 1;
        max-width: 300px;
    }
}

.feature-cards {
    padding: 60px 0;
    background: url('images/2.jpg') center/cover no-repeat;
    position: relative;
}

.feature-cards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.card-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 0 20px;
}

.card {
    flex: 1;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 160, 233, 0.2);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 300px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.3s ease;
}

.card-front {
    opacity: 1;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.card:hover .card-front {
    opacity: 0;
}

.card-front img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.card-front h3 {
    font-size: 20px;
    color: #fff;
    margin: 0;
}

.card-back {
    opacity: 0;
    background: linear-gradient(145deg, rgba(0, 160, 233, 0.2), rgba(0, 160, 233, 0.1));
    color: white;
}

.card:hover .card-back {
    opacity: 1;
}

.card-back p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .features {
        padding: 40px 20px;
    }

    .feature-container {
        gap: 40px;
    }

    .feature-column.left, .feature-column.right {
        flex-direction: column;
    }

    .feature-item {
        padding: 15px;
        max-width: none;
    }

    .feature-item h3 {
        font-size: 20px;
    }
}

.join-us {
    background-image: url('images/2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.join-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.join-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.join-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.join-content p {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, #2196F3, #00BCD4);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
}

/* 页尾样式 */
.footer {
    background-color: #111;
    padding: 60px 0 0;
    color: #fff;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-left {
    flex: 1;
}

.contact-info, .company-address {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 32px;
    height: 32px;
    margin-right: 15px;
}

.contact-text h4 {
    font-size: 16px;
    color: #999;
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 18px;
    color: #fff;
}

.footer-center {
    flex: 2;
}

.footer-nav {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.nav-column h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
}

.nav-column ul {
    list-style: none;
}

.nav-column ul li {
    margin-bottom: 12px;
}

.nav-column ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-column ul li a:hover {
    color: #00a0e9;
}

.footer-right {
    flex: 1;
}

.qr-codes {
    display: flex;
    gap: 30px;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.qr-code p {
    color: #999;
    font-size: 14px;
}

.footer-bottom {
    margin-top: 60px;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.beian-icon {
    height: 16px;
    vertical-align: middle;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .join-content h2 {
        font-size: 32px;
    }

    .join-content p {
        font-size: 18px;
    }

    .footer-content {
        flex-direction: column;
        padding: 0 20px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 30px;
    }

    .qr-codes {
        justify-content: center;
    }
}

.smart-control {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.control-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.control-item {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.control-item:hover {
    transform: translateY(-5px);
}

.control-image {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
}

.control-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.control-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #333;
}

.control-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}