/* 基础样式 */
body {
    /* font-family: 'Poppins', sans-serif; */
    font-family: 'Noto Sans SC', sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
    background: #0A1A2F;
}

/* 加载动画 */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0A1A2F;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.drone-loader {
    width: 50px;
    height: 50px;
    border: 5px solid #00F3FF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 导航栏 */
.sticky-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #081222;
    z-index: 100;
}

.sticky-nav .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 50px;
}

.sticky-nav .logo-img {
    width: 64px;
    height: 64px;
    background-image: url('logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
}

.sticky-nav .logo span {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

.sticky-nav .nav-items {
    margin-right: 100px;
    list-style: none;
    display: flex;
    gap: 20px;
}

.sticky-nav .nav-items a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
}

/* 主视觉区 */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: 64px;
    margin: 0;
    animation: reveal 2s ease-in-out;
}

.hero-content .subtitle {
    font-size: 24px;
    margin: 10px 0 20px;
}

.cta-button {
    padding: 15px 30px;
    font-size: 18px;
    color: #0A1A2F;
    background: #00F3FF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: bold;
}

.cta-button:hover {
    background: #FF6B00;
    color: #ffffff;
    font-weight: bold;
}

.general-section {
    padding: 80px 0px;
    background: #0A1A2F;
    text-align: center;
    width: 60%;
    margin: 0 auto;
}

.general-text {
    text-align: left;
}

/* 产品亮点 */
.feature-section {
    padding: 80px 0px;
    background: #0A1A2F;
    text-align: center;
    width: 90%;
    margin: 0 auto;
}

.feature-card {
    display: inline-block;
    width: 30%;
    margin: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

/* 产品亮点图标统一样式 */
.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: transform 0.3s ease;
}

.feature-icon i {
    font-size: 56px;
    color: #00F3FF;
}

/* 各个图标的特定样式 */
.icon-infrared::before {
    content: '⦿';
}

.icon-stabilizer::before {
    content: '↻';
}

.icon-drone::before {
    content: '✈';
}

.icon-weight::before {
    content: '⚖';
}

/* 当hover到feature-card时，图标放大 */
.feature-card:hover .feature-icon {
    transform: scale(1.3);
}

.radar-scan {
    width: 100%;
    height: 100%;
    border: 2px solid #00F3FF;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.radar-scan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, #00F3FF);
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.stabilizer-icon {
    width: 40px;
    height: 40px;
    border: 2px solid #3498db;
    border-radius: 50%;
    position: relative;
    animation: rotate 3s infinite linear;
}

.stabilizer-icon::before,
.stabilizer-icon::after {
    content: '';
    position: absolute;
    background: #3498db;
}

.stabilizer-icon::before {
    width: 8px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.stabilizer-icon::after {
    height: 8px;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.drone-connect-icon {
    width: 40px;
    height: 40px;
    position: relative;
}

.drone-connect-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #3498db;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.weight-icon {
    width: 40px;
    height: 40px;
    position: relative;
    border: 2px solid #3498db;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weight-icon::before {
    content: 'kg';
    color: #3498db;
    font-size: 16px;
    font-weight: bold;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(0.8); opacity: 1; }
}

/* 技术参数 */
.specs-section {
    padding: 80px 0px;
    background: #0A1A2F;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.specs-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.spec-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.spec-item:hover {
    transform: scale(1.1);
}

.spec-value-container {
    display: flex;
    align-items: baseline;  /* 垂直对齐到基线 */
    gap: 5px;  /* 调整 spec-value 和 spec-unit 之间的间距 */
}

.spec-value {
    font-size: 36px;
    font-weight: bold;
    color: #00F3FF;
}

.spec-unit {
    font-size: 36px;
    color: #00F3FF;
}

.spec-label {
    font-size: 18px;
    color: #fff;
}

.specs-section a, .specs-section a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.specs-section a:hover, .specs-section a:hover {
    color: #00F3FF;
}

/* 联系方式 */
.contact-section {
    padding: 80px 20px;
    background: #0A1A2F;
    text-align: center;
    
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.input-field {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #00F3FF;
    border-radius: 5px;
    background: transparent;
    color: #fff;
}

.submit-btn {
    padding: 15px 30px;
    font-size: 18px;
    color: #0A1A2F;
    background: #00F3FF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #FF6B00;
}

/* 页脚 */
.footer {
    background: #081222;
    color: #aaa;
    padding: 30px 10%;
    font-size: 14px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo .logo-img {
    width: 48px;
    height: 48px;
    background-image: url('logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
}

.footer-logo span {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.footer-links {
    flex: 2;
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    justify-content: flex-start;
}

.footer-social {
    flex: 1;
    text-align: right;
}

.footer-nav, .footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-nav a, .footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover, .footer-links a:hover {
    color: #00F3FF;
}

.footer-line {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2); /* 轻微透明，适配暗色背景 */
    margin: 20px 0;
}

.footer-social a {
    margin: 0 8px;
    display: inline-block;
}

.footer-social img {
    width: 24px;
    height: 24px;
    filter: brightness(0.8);
    transition: filter 0.3s;
}

.footer-social a:hover img {
    filter: brightness(1);
}

.specs-table {
    width: 60%;
    margin: 40px auto;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.specs-table th, .specs-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.specs-table th {
    background: #00F3FF;
    color: #0A1A2F;
    font-weight: bold;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table tr:hover {
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
}

.specs-notes {
    width: 60%;
    margin: 40px auto;
    font-size: 12px;
    text-align: left;
}

/* 新增部分：媒体展示区 */
.media-section {
    padding: 80px 0px;
    background: #0A1A2F;
    text-align: center;
    width: 80%;
    margin: 0 auto
}

.media-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.image-container {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.video-container {
    flex: 1.5;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    
}

.media-video {
    width: 95%;
    /* height: 80%; */
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 243, 255, 0.2);
}

.application-section {
    padding: 80px 20px;
    background: #0A1A2F;
    text-align: center;
    width: 70%;
    margin: 0 auto
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}

.application-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.application-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.application-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.application-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 87%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    transition: all 0.3s ease;
}

.application-item:hover {
    transform: scale(1.05);
    z-index: 1;
}

.application-item:hover .application-overlay {
    bottom: 0;
}

.application-overlay h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.application-overlay p {
    margin: 0;
    font-size: 0.9em;
}

/* 产品简介详细模块 */
.overview-detail {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.overview-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
}

#image1 {
    padding-bottom: 50px;
}

#image2 {
    padding-right: 250px;
}
.overview-image img {
    width: auto;
    height: 100%;
    display: block;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.overview-image:hover img {
    transform: scale(1.05);
}

.overview-text {
    flex: 1;
    text-align: left;
}

#text2 {
    flex: 1;
    text-align: left;
    margin-left: 50px;
}

.overview-text h3 {
    color: #00F3FF;
    margin-bottom: 20px;
    font-size: 24px;
}

.overview-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overview-text li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.overview-text li::before {
    content: "•";
    color: #00F3FF;
    position: absolute;
    left: 0;
    top: 0;
}

/* 产品展示区域 */
.product-showcase {
    margin: 40px 0;
    position: relative;
    height: 400px;
    /* background: rgba(255, 255, 255, 0.05); */
    background: rgb(204, 204, 204);
    border-radius: 20px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 指示线样式 */
.indicator-line {
    position: absolute;
    border: 1px solid #00F3FF;
    transform-origin: left center;
}

.indicator-text {
    position: absolute;
    color: #00F3FF;
    font-size: 14px;
    background: rgba(0, 243, 255, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
}

/* 具体位置设置 */
.line1 {
    width: 150px;
    top: 70%;
    left: 55%;
    transform: rotate(10deg);
}

.text1 {
    top: 73%;
    left: 68.2%;
}

.line2 {
    width: 120px;
    top: 50%;
    left: 30%;
    transform: rotate(45deg);
}

.text2 {
    top: 55%;
    left: 35%;
}

.line3 {
    width: 80px;
    top: 70%;
    right: 30%;
    transform: rotate(-30deg);
}

.text3 {
    top: 65%;
    right: 35%;
}

/* 悬浮说明框样式 */
.hover-description {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    transform: translateY(0);
    transition: transform 0.3s ease;
    box-sizing: border-box;
    border-radius: 20px;
    margin-top: 0;
}

/* 添加一个伪元素作为背景 */
.hover-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        #800080,  /* 紫色 */
        #4B0082,  /* 靛色 */
        #0000FF,  /* 蓝色 */
        #00FF00,  /* 绿色 */
        #FFFF00,  /* 黄色 */
        #FFA500,  /* 橙色 */
        #FF0000   /* 红色 */
    );
    opacity: 0.5;
    border-radius: 20px;
    z-index: -1;
}

.hover-description h3 {
    margin: 0;
    /* color: #00F3FF; */
    color: #FFF;
    font-size: 42px;
    margin-bottom: 20px;
    margin-top: 135px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hover-description p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);  /* 文字透明度为0.9 */
    font-size: 20px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.product-showcase:hover .hover-description {
    transform: translateY(-100%);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #0A1A2F;
    width: 80%;
    height: 50%;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    border: 1px solid #00F3FF;
    color: white;
    overflow-y: auto;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    color: #00F3FF;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #FF6B00;
}

/* 当模态框显示时的样式 */
.modal.show {
    display: flex;
}

.footer-bottom a {
    text-decoration: none;  /* 去掉下划线 */
    color: #aaa;  /* 正常颜色为白色 */
    transition: color 0.3s ease;  /* 添加颜色过渡效果 */
}

.footer-bottom a:hover {
    color: #00F3FF;  /* hover时显示主题色 */
}

/* 产品展示部分 */
.product-showcase-section {
    padding: 0px 0px;
    background: #0A1A2F;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.product-showcase-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0rem 0rem;
}

.product-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    /* padding: 0 20px; */
}

.product-description h1 {
    margin-bottom: 1.5rem;
    font-size: 4rem;
    color: #dfdfdf;
}

.product-description h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #dfdfdf;
}

.product-description h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #00F3FF;
}

.product-description ul {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
    list-style-position: inside;
}

.product-description li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    position: relative;
    /* padding-left: 10px; */
}

.image-show {
    width: 100%;
    height: 100%;
    position: relative;
}

.image-show img {
    width: 100%;
    height: auto;
    display: block;
}

.controller-video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.controller-video-container img {
    width: 100%;
    height: auto;
    display: block;
}

.controller-video {
    position: absolute;
    /* 视频在图片上的相对位置，根据需要调整这些值 */
    left: 36.5%;  /* 从左侧开始的位置 */
    top: 13.5%;   /* 从顶部开始的位置 */
    width: 27%; /* 视频的宽度占整个图片的百分比 */
    height: auto;
    border-radius: 5px;
    object-fit: cover;
    z-index: 2;
    pointer-events: none; /* 防止用户与视频交互 */
}


/* 响应式调整 */
@media screen and (max-width: 768px) {
    .product-description h3 {
        font-size: 1.5rem;
    }
    
    .product-description li {
        font-size: 1rem;
    }
    
    .product-showcase-content {
        padding: 1rem 0.5rem;
    }
}

/* 图片对比区域 */
.comparison-section {
    padding: 50px 0;
    background: #0A1A2F;
    width: 100%;
    overflow: hidden;
}

.comparison-section + .comparison-section {
    padding-top: 0;
}

.comparison-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: space-between;
}

/* 反向布局样式 */
.comparison-container.reverse {
    flex-direction: row-reverse;
}

.comparison-container.reverse .comparison-text {
    padding-right: 0;
    padding-left: 20px;
}

.comparison-wrapper {
    flex: 1;
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    max-width: 600px; /* 添加最大宽度限制 */
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comparison-image.before {
    z-index: 1;
}

.comparison-image.after {
    z-index: 2;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.comparison-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.comparison-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #00F3FF;
    cursor: ew-resize;
    transform: translateX(-50%);
    z-index: 10;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: #00F3FF;
    border-radius: 50%;
    border: 3px solid #fff;
    transform: translate(-50%, -50%);
    z-index: 11;
    cursor: ew-resize;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* 添加左右箭头 */
.slider-handle::before,
.slider-handle::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

/* 左箭头 */
.slider-handle::before {
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 8px 6px 0;
    border-color: transparent #fff transparent transparent;
}

/* 右箭头 */
.slider-handle::after {
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #fff;
}

.comparison-text {
    flex: 1;
    color: #fff;
    padding-right: 20px;
    max-width: 500px; /* 添加最大宽度限制 */
}

.comparison-text h2 {
    color: #00F3FF;
    margin-bottom: 20px;
    font-size: 32px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .comparison-container,
    .comparison-container.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .comparison-wrapper {
        height: 300px;
        margin-bottom: 30px;
        max-width: 100%;
    }

    .comparison-text {
        text-align: center;
        padding: 0;
        max-width: 100%;
    }
}

/* 微信二维码悬浮效果 */
.wechat-container {
    position: relative;
    display: inline-block;
}

.qrcode-popup {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 100;
}

.qrcode-popup img {
    width: 120px;
    height: 120px;
    display: block;
}

.wechat-container:hover .qrcode-popup {
    display: block;
}
