/* 
 * 疆修科技官网样式表
 * 设计理念：科技感、现代、简洁
 */

/* ========== CSS变量定义 ========== */
:root {
    /* 主色调 - 科技蓝 */
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --primary-light: #4d94ff;
    
    /* 辅助色 */
    --accent-color: #00d4aa;
    --accent-dark: #00a383;
    
    /* 背景色 */
    --bg-dark: #0a1628;
    --bg-darker: #061220;
    --bg-light: #f5f8fc;
    
    /* 文字颜色 */
    --text-primary: #1a2a3a;
    --text-secondary: #5a6a7a;
    --text-light: #ffffff;
    --text-muted: #8a9aaa;
    
    /* 边框颜色 */
    --border-color: rgba(0, 102, 204, 0.2);
    --border-light: rgba(255, 255, 255, 0.1);
    
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 102, 204, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 102, 204, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 102, 204, 0.2);
    
    /* 过渡效果 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== 容器样式 ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 按钮样式 ========== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-block {
    width: 100%;
}

/* ========== 头部导航样式 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

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

.logo-icon {
    font-size: 28px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width var(--transition-normal);
}

.nav-links a:hover {
    color: var(--text-light);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-contact {
    color: var(--text-muted);
    font-size: 14px;
}

.hotline {
    padding: 8px 16px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 20px;
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: all var(--transition-fast);
}

/* ========== Hero区域样式 ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 102, 204, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 212, 170, 0.1) 0%, transparent 40%);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 102, 204, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 204, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: particle-float 15s infinite;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 30%;
    top: 60%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    left: 50%;
    top: 30%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    left: 70%;
    top: 70%;
    animation-delay: 6s;
}

.particle:nth-child(5) {
    left: 90%;
    top: 40%;
    animation-delay: 8s;
}

@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-30px) translateX(10px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-60px) translateX(-10px);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) translateX(5px);
        opacity: 0.7;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 100px 20px 60px;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 30px;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 12px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

/* ========== 通用区块标题样式 ========== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light {
    color: var(--text-light);
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-header.light .section-tag {
    background: rgba(0, 212, 170, 0.1);
    color: var(--accent-color);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-header.light .section-title {
    color: var(--text-light);
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
}

.section-header.light .section-desc {
    color: var(--text-muted);
}

/* ========== 关于我们区域样式 ========== */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    background: var(--bg-dark);
    border-radius: 8px;
}

.drone-icon {
    font-size: 80px;
    animation: float 3s ease-in-out infinite;
}

.frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: var(--text-light);
    border-style: solid;
}

.frame-corner.top-left {
    top: 0;
    left: 0;
    border-width: 3px 0 0 3px;
    border-top-left-radius: 16px;
}

.frame-corner.top-right {
    top: 0;
    right: 0;
    border-width: 3px 3px 0 0;
    border-top-right-radius: 16px;
}

.frame-corner.bottom-left {
    bottom: 0;
    left: 0;
    border-width: 0 0 3px 3px;
    border-bottom-left-radius: 16px;
}

.frame-corner.bottom-right {
    bottom: 0;
    right: 0;
    border-width: 0 3px 3px 0;
    border-bottom-right-radius: 16px;
}

.about-text h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* ========== 服务项目区域样式 ========== */
.services {
    padding: 100px 0;
    background: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all var(--transition-normal);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.service-card > p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* ========== 服务流程区域样式 ========== */
.process {
    padding: 100px 0;
    background: var(--bg-light);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 40px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 65px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 10px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.step-content h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

.step-arrow {
    position: absolute;
    top: 52px;
    right: -15px;
    font-size: 24px;
    color: var(--primary-color);
}

/* ========== 为什么选择我们区域样式 ========== */
.why-us {
    padding: 100px 0;
    background: var(--bg-darker);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-us-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all var(--transition-normal);
}

.why-us-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.why-us-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.why-us-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.why-us-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ========== 成功案例区域样式 ========== */
.cases {
    padding: 100px 0;
    background: var(--bg-light);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.case-image {
    height: 200px;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-placeholder {
    font-size: 60px;
}

.case-info {
    padding: 24px;
}

.case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.case-info h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.case-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ========== 联系我们区域样式 ========== */
.contact {
    padding: 100px 0;
    background: var(--bg-dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 14px;
    color: var(--text-muted);
}

.contact-form-wrapper {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.contact-form-wrapper h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 16px;
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a9aaa' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-light);
}

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

/* ========== 页脚样式 ========== */
.footer {
    background: var(--bg-darker);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    font-size: 20px;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-contact {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .step-arrow {
        display: none;
    }
    
    .services-grid,
    .why-us-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .service-card,
    .why-us-item,
    .case-card {
        padding: 30px 20px;
    }
}