/*
Theme Name: 洛数科技
Theme URI: https://www.luoshu.com
Author: 陕西洛数信息科技有限公司
Author URI: https://www.luoshu.com
Description: 陕西洛数信息科技有限公司官方WordPress主题 - 极简科技风格
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luoshu
Tags: one-column, two-columns, custom-header, custom-menu, featured-images, responsive
*/

:root {
    --primary-color: #0052d4;
    --secondary-color: #4364f7;
    --accent-color: #6fb1fc;
    --dark-bg: #0a192f;
    --light-bg: #f8fafc;
    --text-dark: #1a365d;
    --text-light: #64748b;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0052d4 0%, #4364f7 50%, #6fb1fc 100%);
    --gradient-dark: linear-gradient(135deg, #0a192f 0%, #112240 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 2200px;
    margin: 0px 180px 0px;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

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

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

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

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #020c1b 0%, #0a192f 15%, #0d2137 30%, #0e3a4d 45%, #112240 60%, #0d4d5c 75%, #020c1b 100%);
    background-size: 400% 400%;
    animation: gradientShiftBg 25s ease infinite;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(0, 82, 212, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

@keyframes gradientShiftBg {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 25%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 0% 75%; }
    100% { background-position: 0% 50%; }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(67, 100, 247, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(111, 177, 252, 0.3) 0%, transparent 40%);
    animation: particleFloat 15s ease-in-out infinite;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(67, 100, 247, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(67, 100, 247, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 82, 212, 0.6) 0%, rgba(67, 100, 247, 0.3) 50%, transparent 70%);
    top: -250px;
    left: -250px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(67, 100, 247, 0.6) 0%, rgba(111, 177, 252, 0.3) 50%, transparent 70%);
    bottom: -200px;
    right: -200px;
    animation-delay: 4s;
}

.hero-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(111, 177, 252, 0.5) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 8s;
}

.hero-orb-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 82, 212, 0.4) 0%, transparent 70%);
    top: 20%;
    right: 10%;
    animation-delay: 2s;
}

.hero-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(111, 177, 252, 0.3), transparent);
    height: 1px;
    animation: lineMove 8s linear infinite;
}

.hero-line-1 {
    width: 60%;
    top: 30%;
    left: 20%;
    animation-delay: 0s;
}

.hero-line-2 {
    width: 40%;
    top: 70%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translate(-50px, -30px) scale(1.05);
        opacity: 0.6;
    }
}

@keyframes lineMove {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 30px) scale(1.02);
    }
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateY(60px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    color: var(--white);
    width: 100%;
    margin: 0 auto;
    padding: 80px 0 80px 80px;
    animation: fadeInUp 1s ease forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, rgba(0, 82, 212, 0.3) 0%, rgba(67, 100, 247, 0.2) 50%, rgba(0, 82, 212, 0.3) 100%);
    background-size: 200% 200%;
    border: 1px solid rgba(111, 177, 252, 0.5);
    border-radius: 50px;
    font-size: 0.9rem;
    color: #6fb1fc;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    letter-spacing: 1px;
    animation: badgePulse 3s ease-in-out infinite, badgeShimmer 4s ease infinite;
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s ease infinite;
}

@keyframes badgeShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 50%;
    animation: dotBlink 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px #00d4ff;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(111, 177, 252, 0.3), 0 0 20px rgba(0, 82, 212, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(111, 177, 252, 0), 0 0 30px rgba(0, 82, 212, 0.3); }
}

@keyframes dotBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: 3px;
    position: relative;
}

.title-line {
    display: block;
    background: linear-gradient(90deg, #ffffff 0%, #e0f2fe 50%, #ffffff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleFadeIn 1s ease forwards, titleShine 4s ease infinite;
}

.title-highlight {
    display: block;
    background: linear-gradient(90deg, #ffffff 0%, #6fb1fc 50%, #ffffff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleFadeIn 1s ease 0.3s forwards;
}

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

@keyframes titleShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero .slogan {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    font-size: 1.4rem;
    margin-bottom: 25px;
    letter-spacing: 5px;
    background: linear-gradient(90deg, #ffffff 0%, #6fb1fc 50%, #ffffff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: sloganGradient 3s ease infinite, sloganFadeIn 1s ease 0.5s forwards;
    opacity: 0;
}

@keyframes sloganGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes sloganFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slogan-icon {
    font-size: 0.8rem;
    background: none;
    -webkit-text-fill-color: rgba(111, 177, 252, 0.95);
    animation: starRotate 4s linear infinite;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
    margin-bottom: 40px;
    max-width: 920px;
    animation: descFadeIn 1s ease 0.7s forwards;
    opacity: 0;
}

.hero-desc strong {
    color: #6fb1fc;
    font-weight: 600;
}

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

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero .slogan {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--accent-color);
    font-weight: 300;
    letter-spacing: 8px;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-bottom: 60px;
    animation: btnFadeIn 1s ease 0.9s forwards;
    opacity: 0;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #0052d4 0%, #4364f7 50%, #6fb1fc 100%);
    background-size: 200% 200%;
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 82, 212, 0.4);
    animation: btnGradient 3s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 82, 212, 0.5);
    background-position: 100% 0%;
}

.btn-primary .btn-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

@keyframes btnGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.hero-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.hero-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(111, 177, 252, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(111, 177, 252, 0.3);
    box-shadow: 0 20px 40px rgba(0, 82, 212, 0.2);
}

.hero-stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 2rem;
    line-height: 1;
}

.stat-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #6fb1fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-left: 2px;
}

.hero-stat-card .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.about {
    background: var(--white);
}

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

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--text-dark);
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

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

.stat-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item .label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 8px;
}

.about-image {
    position: relative;
}

.about-image-box {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-image-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.about-image-box h4 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.about-image-box p {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.services {
    background: var(--light-bg);
}

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

.services-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(67, 100, 247, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.service-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 40px 32px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4364f7, #6c83f2, #4364f7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(67, 100, 247, 0.15);
    border-color: rgba(67, 100, 247, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: auto;
    height: 90px;
    margin: 0 auto 28px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(67, 100, 247, 0.08) 0%, rgba(108, 131, 242, 0.05) 100%);
    border-radius: 50%;
    z-index: 0;
}

.service-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

.service-placeholder {
    font-size: 3.5rem;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 14px;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.75;
}

.features {
    background: var(--white);
}

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

.feature-item {
    text-align: center;
    padding: 35px 25px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 82, 212, 0.1);
    border-color: #4364f7;
}

.feature-item .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(67, 100, 247, 0.08) 0%, rgba(108, 131, 242, 0.08) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.feature-item:hover .icon {
    background: var(--gradient-primary);
    transform: scale(1.1);
}

.feature-item h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.partners {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

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

.partner-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 82, 212, 0.1);
    border-color: #4364f7;
}

.partner-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

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

.partner-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 12px;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

.partner-item:hover .partner-placeholder {
    background: linear-gradient(135deg, #4364f7 0%, #6c83f2 100%);
    color: #fff;
}

.partner-item h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.partner-item p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.contact {
    background: var(--white);
    color: var(--text-dark);
}

.contact .section-title h2 {
    color: var(--text-dark);
    background: none;
    -webkit-text-fill-color: var(--text-dark);
}

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

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #fff;
    border-color: #4364f7;
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(67, 100, 247, 0.15);
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-form {
    background: #f8fafc;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: var(--text-dark);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #4364f7;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4364f7;
    box-shadow: 0 0 0 3px rgba(67, 100, 247, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

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

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

.contact-form .btn {
    width: 100%;
}

.footer {
    background: #060d18;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

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

.footer-brand .logo {
    font-size: 1.5rem;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

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

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

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content {
        padding: 40px 20px 60px 20px;
    }

    .hero-badge {
        padding: 8px 16px;
        font-size: 0.75rem;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 2.4rem;
        letter-spacing: 2px;
        text-align: left;
    }

    .title-line,
    .title-highlight {
        display: block;
    }

    .hero .slogan {
        font-size: 1rem;
        letter-spacing: 2px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .slogan-icon {
        display: none;
    }

    .hero-desc {
        text-align: left;
    }

    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px 0;
    }

    .hero-stat-card {
        width: 100%;
        padding: 20px 24px;
        justify-content: center;
    }

    .stat-num {
        font-size: 1.8rem;
    }

    .stat-icon {
        font-size: 1.6rem;
    }

    .section {
        padding: 60px 0;
    }

    .container {
        margin: 0 20px;
        padding: 0 15px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .wechat-floating-btn {
        right: 20px;
        bottom: 80px;
        width: 50px;
        height: 50px;
    }

    .wechat-popup-content {
        padding: 30px 20px;
    }

    .wechat-qrcode img {
        width: 180px;
        height: 180px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .partner-item {
        padding: 20px 15px;
    }

    .partner-icon {
        font-size: 2rem;
    }

    .partner-logo {
        height: 50px;
    }

    .partner-logo img {
        max-width: 100px;
        max-height: 50px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-item {
        padding: 25px 15px;
    }

    .feature-item .icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .feature-item h4 {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

.wechat-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 82, 212, 0.5);
}

.wechat-floating-btn img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.wechat-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.wechat-popup.active {
    display: flex;
}

.wechat-popup-content {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 360px;
    position: relative;
    animation: fadeInUp 0.3s ease;
}

.wechat-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.wechat-popup-close:hover {
    color: #333;
}

.wechat-popup-content h3 {
    font-size: 1.5rem;
    color: #0052d4;
    margin-bottom: 10px;
    font-weight: 600;
}

.wechat-popup-content p {
    color: #4364f7;
    margin-bottom: 24px;
    font-size: 1rem;
}

.wechat-qrcode {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    display: inline-block;
}

.wechat-qrcode img {
    width: 200px;
    height: 200px;
    display: block;
}

@media (max-width: 768px) {
    .wechat-floating-btn {
        right: 20px;
        bottom: 80px;
        width: 50px;
        height: 50px;
    }

    .wechat-popup-content {
        margin: 20px;
        padding: 30px 20px;
    }

    .wechat-qrcode img {
        width: 160px;
        height: 160px;
    }
}
