/* 现代化响应式样式 - 赤峰飞盟网络科技有限公司 */

/* 基础样式 */
:root {
    --primary-color: #008aff;
    --primary-gradient: linear-gradient(135deg, #008aff 0%, #00d4ff 100%);
    --secondary-color: #1a1a2e;
    --accent-color: #00eaff;
    --text-color: #333;
    --text-light: #666;
    --text-white: #fff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --card-shadow: 0 10px 40px rgba(0, 138, 255, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(0, 138, 255, 0.1) 100%);
    backdrop-filter: blur(20px);
    padding: 0.8rem 2rem;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 2px 30px rgba(0, 234, 255, 0.2);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    border-radius: 12px;
    filter: drop-shadow(0 0 20px rgba(0, 234, 255, 0.5));
    transition: var(--transition);
}

.logo img:hover {
    filter: drop-shadow(0 0 30px rgba(0, 234, 255, 0.8));
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.nav a:hover,
.nav a.active {
    background: var(--primary-gradient);
    box-shadow: 0 4px 20px rgba(0, 138, 255, 0.4);
}

.nav .dropdown {
    position: relative;
}

.nav .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(0, 138, 255, 0.1) 100%);
    border-radius: 15px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 138, 255, 0.3);
    border: 1px solid rgba(0, 234, 255, 0.2);
}

.nav .dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    border-radius: 10px;
    margin: 0.2rem 0;
}

.dropdown-content a:hover {
    background: rgba(0, 234, 255, 0.2);
    color: var(--accent-color);
}

.header-phone {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: var(--transition);
}

/* Banner区域 */
.banner {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%2300eaff" opacity="0.3"/></svg>');
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50px); }
}

.banner-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
}

.banner-text {
    color: var(--text-white);
}

.banner-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.banner-text h1 span {
    color: var(--accent-color);
}

.banner-text p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.banner-btn {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-gradient);
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 5px 30px rgba(0, 138, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 138, 255, 0.6);
}

.btn-secondary {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.banner-image {
    position: relative;
    animation: fadeInRight 1s ease 0.3s backwards;
}

.banner-image img {
    max-width: 100%;
    filter: drop-shadow(0 20px 60px rgba(0, 234, 255, 0.3));
}

/* 数字统计 */
.stats {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(0, 138, 255, 0.1) 100%);
    padding: 3rem 2rem;
    position: relative;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    color: var(--text-white);
    padding: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-number span {
    font-size: 1.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* 产品服务 */
.products {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.products-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--text-white);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 138, 255, 0.1) 0%, rgba(0, 234, 255, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.product-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.product-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.product-link:hover {
    color: var(--accent-color);
    gap: 0.8rem;
}

/* 用户案例 */
.cases {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8f4f8 100%);
}

.cases-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.case-card {
    background: var(--text-white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow);
}

.case-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 1.5rem;
}

.case-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.case-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* 关于我们 */
.about {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    justify-items: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.2rem;
}

.feature-text {
    font-weight: 500;
    color: var(--text-color);
}

/* 公司风采画廊 */
.about-gallery {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 138, 255, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 2rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 500;
}

/* 底部 */
.footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #16213e 100%);
    padding: 3rem 2rem 2rem;
    color: var(--text-white);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.footer-left {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-left a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-left a:hover {
    color: var(--accent-color);
}

.footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
}

.footer-phone {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
}

.footer-qr {
    position: relative;
}

.footer-qr img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
}

/* 内页Banner */
.inner-banner {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    padding-top: 80px;
}

.inner-banner-content {
    text-align: center;
    color: var(--text-white);
    z-index: 1;
}

.inner-banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.inner-banner-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* 产品详情页 */
.product-detail {
    padding: 4rem 2rem;
    background: var(--bg-light);
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

.product-section {
    background: var(--text-white);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.product-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 138, 255, 0.1);
}

.product-section p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(0, 138, 255, 0.05) 0%, rgba(0, 234, 255, 0.05) 100%);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    background: linear-gradient(135deg, rgba(0, 138, 255, 0.1) 0%, rgba(0, 234, 255, 0.1) 100%);
    transform: translateY(-5px);
}

.feature-card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--text-white);
    font-size: 1.5rem;
}

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .banner-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .banner-text h1 {
        font-size: 2.8rem;
    }
    
    .banner-btn {
        justify-content: center;
    }
    
    .banner-image {
        display: none;
    }
    
    .stats-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stat-item:nth-child(4),
    .stat-item:nth-child(5) {
        border-right: none;
    }
}

@media (max-width: 900px) {
    .header {
        padding: 0.5rem 1rem;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.98);
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
    
    .nav .dropdown-content {
        position: static;
        display: none;
        background: rgba(0, 0, 0, 0.2);
        margin-top: 0.5rem;
    }
    
    .nav .dropdown.active .dropdown-content {
        display: block;
    }
    
    .hamburger {
        display: flex;
    }
    
    .header-phone {
        font-size: 0.9rem;
    }
    
    .banner-text h1 {
        font-size: 2.2rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-container {
        max-width: 600px;
    }
    
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-right {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .inner-banner-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .banner-text h1 {
        font-size: 1.8rem;
    }
    
    .banner-btn {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .products-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .product-section {
        padding: 2rem;
    }
    
    .carousel-wrapper {
        overflow: hidden;
    }
    
    .carousel-track {
        flex-wrap: wrap;
    }
    
    .carousel-slide {
        width: 100%;
    }
    
    .carousel-btn {
        display: none;
    }
}

/* 轮播图样式 */
.carousel-container {
    position: relative;
    padding: 0 60px;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 16px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: calc(33.333% - 1rem);
    margin: 0 0.5rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 900px) {
    .carousel-slide {
        min-width: calc(50% - 1rem);
    }
    
    .carousel-container {
        padding: 0 40px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 600px) {
    .carousel-slide {
        min-width: 100%;
    }
    
    .carousel-container {
        padding: 0 20px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
}

/* 移动端底部 */
.footer-mobile {
    display: none;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

@media (max-width: 600px) {
    .footer-left,
    .footer-right {
        display: none;
    }
    
    .footer-mobile {
        display: block;
    }
}