:root {
    --primary-color: #0066cc;
    --secondary-color: #00aaff;
    --accent-color: #ff6600;
    --text-color: #333333;
    --light-text: #ffffff;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-smooth: always;
    text-rendering: optimizeLegibility;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--light-text);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    color: var(--light-text);
}

.btn-outline {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn-outline:hover {
    background: var(--light-text);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* 导航栏 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.sticky {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--box-shadow);
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    margin-right: 12px;
    transition: var(--transition);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--light-text);
    transition: var(--transition);
    line-height: 1.1;
}

.logo-tagline {
    font-size: 1rem;
    color: var(--light-text);
    opacity: 0.8;
    transition: var(--transition);
}

header.sticky .logo-img {
    height: 35px;
}

header.sticky .logo-text,
header.sticky .logo-tagline {
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--light-text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--light-text);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--light-text);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

header.sticky nav ul li a {
    color: var(--primary-color);
}

header.sticky nav ul li a::after {
    background: var(--primary-color);
}

header.sticky nav ul li a:hover,
header.sticky nav ul li a.active {
    color: var(--primary-color);
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0 !important;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color) !important;
    font-weight: 400;
    border-radius: 0;
    position: relative;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--light-bg);
    color: var(--primary-color) !important;
    padding-left: 25px;
}

.dropdown-menu li a::after {
    display: none;
}

header.sticky .dropdown-menu {
    background: white;
}

header.sticky .dropdown-menu li a {
    color: var(--text-color) !important;
}

header.sticky .dropdown-menu li a:hover {
    color: var(--primary-color) !important;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--light-text);
}

header.sticky .menu-toggle {
    color: var(--text-color);
}

/* 英雄区域 */
.hero {
    height: 100vh;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    color: var(--light-text);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.tech-background {
    width: 500px;
    height: 500px;
    background: url('image/ihbj.jpg') no-repeat center center/cover;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 170, 255, 0.5);
}

.tech-background::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid rgba(0, 170, 255, 0.3);
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* 关于我们 */
.about {
    background: var(--light-bg);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    margin-top: 30px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.about-stats {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1rem;
    color: var(--text-color);
}

/* 产品服务 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-primary);
    z-index: -1;
    transition: var(--transition);
    opacity: 0.9;
}

.product-card:hover::before {
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card:hover h3,
.product-card:hover p,
.product-card:hover .learn-more,
.product-card:hover .product-icon i {
    color: var(--light-text);
}

.product-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.product-card p {
    margin-bottom: 20px;
    transition: var(--transition);
}

.learn-more {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    transition: var(--transition);
}

.learn-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* 技术展示 */
.tech-showcase {
    background: var(--dark-bg);
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.tech-showcase .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.tech-content {
    flex: 1;
    padding-right: 50px;
}

.tech-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.tech-content p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 合作伙伴 */
.partners {
    background: var(--light-bg);
}

.partners-content {
    text-align: center;
}

.partners-content p {
    max-width: 800px;
    margin: 0 auto 40px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.partner-logo {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.partner-logo:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    max-width: 100%;
    height: auto;
}

/* 联系我们 */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-details {
    margin: 30px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-5px);
    color: var(--light-text);
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

/* 页脚 */
footer {
    background: var(--dark-bg);
    color: var(--light-text);
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo .logo-text {
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: block;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--light-text);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    color: var(--light-text);
}

/* 动画类 */
.animate-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* 产品页面样式 */
.product-hero {
    background: var(--dark-bg);
    color: var(--light-text);
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.product-hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.product-info {
    flex: 1;
}

.product-info h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--light-text);
}

.product-tagline {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: 500;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.feature-item span {
    font-size: 1rem;
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 20px;
}

.product-image {
    flex: 1.2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-left: 50px;
}

.product-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-main-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.product-main-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 170, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.4;
    }
}

.product-overview {
    background: var(--light-bg);
}

.overview-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.overview-text {
    flex: 2;
}

.overview-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.key-points {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.point {
    display: flex;
    align-items: center;
    gap: 10px;
}

.point i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.overview-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-color);
}

.product-features-section {
    background: white;
}

.features-image-container {
    text-align: center;
    margin: 40px 0;
}

.features-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.features-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-specs {
    background: var(--light-bg);
}

.specs-image-container {
    text-align: center;
    margin: 40px 0;
}

.specs-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.specs-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-applications {
    background: white;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.application-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.application-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.application-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.application-icon i {
    font-size: 1.8rem;
    color: var(--light-text);
}

.application-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-contact {
    background: var(--light-bg);
}

.contact-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* 产品页面响应式设计 */
@media (max-width: 992px) {
    .product-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .product-info h1 {
        font-size: 2.5rem;
    }

    .overview-content {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specs-table {
        grid-template-columns: 1fr;
    }

    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-features {
        grid-template-columns: 1fr;
    }

    .key-points {
        grid-template-columns: 1fr;
    }

    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .applications-grid {
        grid-template-columns: 1fr;
    }

    .contact-actions {
        flex-direction: column;
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .tech-background {
        width: 400px;
        height: 400px;
    }

    .tech-showcase .container {
        flex-direction: column;
        text-align: center;
    }

    .tech-content {
        padding-right: 0;
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .tech-background {
        width: 300px;
        height: 300px;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--dark-bg);
        z-index: 1001;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 80px 20px 20px;
    }

    nav ul li {
        margin: 0 0 20px;
    }

    .menu-toggle {
        display: block;
        z-index: 1002;
    }

    .menu-toggle.active i::before {
        content: '\f00d';
    }

    nav ul li a,
    header.sticky nav ul li a {
        color: var(--light-text);
    }

    nav ul li a:hover,
    nav ul li a.active,
    header.sticky nav ul li a:hover,
    header.sticky nav ul li a.active {
        color: var(--secondary-color);
    }

    nav ul li a::after,
    header.sticky nav ul li a::after {
        background: var(--secondary-color);
    }

    /* 移动端下拉菜单样式 */
    .dropdown-menu {
        position: static;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        background: transparent;
        padding: 0;
        margin: 10px 0 0 0;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 8px 0 8px 20px;
        color: var(--light-text) !important;
        opacity: 0.8;
    }

    .dropdown-menu li a:hover {
        background: transparent;
        opacity: 1;
        padding-left: 25px;
    }

    header.sticky .dropdown-menu li a {
        color: var(--light-text) !important;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .tech-background {
        width: 250px;
        height: 250px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 10px 20px;
    }
}
