/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Rajdhani:wght@500;600;700&display=swap');

:root {
    --primary-color: #0466c8;
    --secondary-color: #0353a4;
    --accent-color: #00b4d8;
    --dark-color: #001845;
    --light-color: #f8f9fa;
    --text-color: #333;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #f8f9fa;
}

/* Header */
header {
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 150px;
}

.logo img {
    max-height: 60px;
    object-fit: contain;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 15px;
    margin: -15px;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-menu-toggle i {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle .hamburger {
    width: 30px;
    height: 24px;
    position: relative;
    margin: 0 auto;
}

.mobile-menu-toggle .hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--dark-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-toggle .hamburger span:nth-child(1) {
    top: 0px;
}

.mobile-menu-toggle .hamburger span:nth-child(2) {
    top: 10px;
}

.mobile-menu-toggle .hamburger span:nth-child(3) {
    top: 20px;
}

body.menu-open .mobile-menu-toggle .hamburger span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

body.menu-open .mobile-menu-toggle .hamburger span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

body.menu-open .mobile-menu-toggle .hamburger span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background: url(4.jpg) center center/cover no-repeat;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 91, 234, 0.8), rgba(0, 24, 88, 0.9));
    z-index: 0;
    animation: gradient-shift 10s infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/circuit-board.png');
    opacity: 0.1;
    z-index: 0;
    animation: move-background 30s linear infinite;
}

@keyframes gradient-shift {
    0% {
        background: linear-gradient(135deg, rgba(0, 91, 234, 0.8), rgba(0, 24, 88, 0.9));
    }
    50% {
        background: linear-gradient(135deg, rgba(0, 24, 88, 0.9), rgba(0, 153, 255, 0.8));
    }
    100% {
        background: linear-gradient(135deg, rgba(0, 91, 234, 0.8), rgba(0, 24, 88, 0.9));
    }
}

@keyframes move-background {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 400px 400px;
    }
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        opacity: 0.7;
    }
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.hero h2.company-name {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
    letter-spacing: 2px;
    line-height: 1.2;
    white-space: nowrap;
}

.hero p.company-slogan {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 1s ease-out 0.3s both;
    line-height: 1.6;
}

.hero .btn {
    animation: fadeInUp 1s ease-out 0.6s both;
    background: white;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 0.9rem 2rem;
}

.hero .btn:hover {
    background: var(--accent-color);
    color: white;
}

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

/* About Section */
.about {
    padding: 6rem 0;
    background-color: white;
    position: relative;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 3D Cube */
.tech-cube {
    width: 200px;
    height: 200px;
    perspective: 1000px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 15s infinite linear;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.front {
    transform: translateZ(100px);
}

.back {
    transform: rotateY(180deg) translateZ(100px);
}

.right {
    transform: rotateY(90deg) translateZ(100px);
}

.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.top {
    transform: rotateX(90deg) translateZ(100px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotate {
    0% {
        transform: rotateX(0) rotateY(0) rotateZ(0);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

/* Products Section */
.products {
    padding: 8rem 0;
    background-color: #f8f9fa;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9f2ff 100%);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: white;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-icon {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    height: 100px;
    width: 100px;
    line-height: 100px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(4, 102, 200, 0.1), rgba(0, 180, 216, 0.1));
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.5s ease;
}

.product-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transform: scale(0);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.product-card:hover .product-icon {
    color: white;
}

.product-card:hover .product-icon::before {
    opacity: 1;
    transform: scale(1);
}

.product-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.product-card p {
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.learn-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.learn-more:hover {
    color: var(--accent-color);
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* Solutions Section */
.solutions {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.solution-items {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.solution-item {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.solution-item.reverse {
    flex-direction: row-reverse;
}

.solution-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.solution-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-image:hover img {
    transform: scale(1.05);
}

.solution-content {
    flex: 1;
}

.solution-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.solution-content ul {
    list-style-type: none;
    margin-top: 1rem;
}

.solution-content ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.solution-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Clients Section */
.clients {
    padding: 5rem 0;
    background-color: #fff;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.client-card {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.client-card:hover::before {
    opacity: 0.9;
}

.client-logo {
    width: 180px;
    height: 120px;
    margin: 0 auto 1.5rem;
    padding: 1rem;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-radius: 10px;
}

.client-card:hover .client-logo {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.client-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    color: var(--dark-color);
}

.client-card:hover h3 {
    color: white;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-info {
    flex: 0 0 calc(40% - 1rem);
    margin-right: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.contact-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 42px;
    height: 42px;
    background-color: rgba(4, 102, 200, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.contact-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(4, 102, 200, 0.1);
}

/* Footer */
footer {
    background-color: #f8f9fa;
    color: var(--text-color);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid #e9ecef;
}

footer .section-title {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-links {
    flex: 0 0 25%;
    padding: 0 1rem;
}

.contact-qrcode {
    flex: 0 0 calc(35% - 1rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-qrcode h3 {
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.contact-qrcode img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border: 3px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
}

.contact-qrcode p {
    color: var(--gray-color);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer-links h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--gray-color);
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    color: var(--gray-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    max-height: 60px;
    object-fit: contain;
}

.footer-logo p {
    color: var(--gray-color);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.copyright p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .about-content,
    .solution-item,
    .solution-item.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero h2.company-name {
        font-size: 2.5rem;
    }
    
    .hero p.company-slogan {
        font-size: 1.3rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .contact-info {
        flex: 0 0 100%;
        margin-right: 0;
        margin-bottom: 2rem;
    }
    
    .footer-links, 
    .contact-qrcode {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .copyright {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
    }

    .client-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 0.8rem 0;
    }
    
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 250px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding: 80px 20px 20px;
        z-index: 999;
        overflow-y: auto;
    }
    
    nav.active {
        right: 0;
    }
    
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
    
    nav ul {
        flex-direction: column;
        margin-top: 0;
        align-items: flex-start;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f1f1f1;
    }
    
    nav ul li a {
        display: block;
        padding: 12px 0;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 3rem;
    }
    
    .hero h2.company-name {
        font-size: 2rem;
        white-space: normal;
    }
    
    .hero p.company-slogan {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        padding: 2rem 1.5rem;
    }
    
    .client-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .client-card {
        padding: 1.5rem 1rem;
    }
    
    .client-logo {
        width: 150px;
        height: 100px;
        margin-bottom: 1rem;
    }
    
    .client-card h3 {
        font-size: 1rem;
    }
    
    .footer-links, 
    .contact-qrcode {
        flex: 0 0 100%;
        margin-bottom: 2rem;
    }
    
    .about,
    .products,
    .solutions,
    .clients,
    footer {
        padding: 4rem 0;
    }
    
    .solution-item {
        gap: 1.5rem;
    }
    
    .solution-image img {
        height: 250px;
    }
    
    .solution-content h3 {
        font-size: 1.5rem;
    }
}

/* 添加手机超小屏幕的响应式设计 */
@media screen and (max-width: 480px) {
    .hero h2.company-name {
        font-size: 1.8rem;
    }
    
    .hero p.company-slogan {
        font-size: 1rem;
    }
    
    .hero .btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .about-content,
    .solution-item {
        gap: 1.5rem;
    }
    
    .client-grid {
        grid-template-columns: 1fr;
    }
    
    .client-logo {
        width: 180px;
        height: 110px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    nav ul li {
        margin: 0 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-qrcode img {
        width: 120px;
        height: 120px;
    }
} 