/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00f0ff;
    --secondary-color: #000000;
    --accent-color: #ff3e78;
    --light-color: #ffffff;
    --dark-color: #111111;
    --gray-color: #f2f2f2;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    border: 1px solid var(--secondary-color);
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: var(--secondary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.section-title h2 span {
    color: var(--primary-color);
}

.section-title p {
    font-size: 18px;
    color: #777;
    max-width: 700px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* 警告提示 */
.warning {
    background-color: var(--secondary-color);
    padding: 10px 0;
    text-align: center;
    font-weight: 500;
    color: var(--light-color);
    position: relative;
    z-index: 100;
}

/* 导航栏 */
.header {
    background-color: var(--light-color);
    padding: 30px 0;
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    top: 0;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 32px;
    font-weight: 900;
    color: var(--secondary-color);
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 40px;
}

.nav-menu li a {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* 英雄区域样式 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0f172a;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15,23,42,0.9) 0%, rgba(30,41,59,0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 40px 0;
}

.hero-text {
    max-width: 500px;
    color: #fff;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.text-accent {
    color: #f97316;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #e2e8f0;
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #f97316;
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-product-card {
    position: relative;
    width: 100%;
    max-width: 350px;
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
}

.hero-product-card:hover {
    transform: rotate(0deg) translateY(-10px);
}

.product-card-shadow {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    z-index: -1;
}

.product-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #f97316;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.4);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

/* 动画效果 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.animate-slide-in {
    transform: translateX(50px);
    opacity: 0;
    animation: slideIn 1s forwards 0.3s;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-product-card {
        max-width: 280px;
    }
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    border: 1px solid var(--secondary-color);
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: var(--secondary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.section-title h2 span {
    color: var(--primary-color);
}

.section-title p {
    font-size: 18px;
    color: #777;
    max-width: 700px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* 警告提示 */
.warning {
    background-color: var(--secondary-color);
    padding: 10px 0;
    text-align: center;
    font-weight: 500;
    color: var(--light-color);
    position: relative;
    z-index: 100;
}

/* 导航栏 */
.header {
    background-color: var(--light-color);
    padding: 30px 0;
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    top: 0;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 32px;
    font-weight: 900;
    color: var(--secondary-color);
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 40px;
}

.nav-menu li a {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* 英雄区域 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-text {
    flex: 1;
    max-width: 500px;
}

.hero-text h2 {
    font-size: 80px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--secondary-color);
    letter-spacing: -2px;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #777;
    max-width: 350px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 400px;
    z-index: 2;
    position: relative;
}

.geometric-shape {
    position: absolute;
    z-index: 1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: var(--primary-color);
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.shape-2 {
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent-color);
    top: 30%;
    right: 10%;
    opacity: 0.3;
}

/* 产品系列 */
.products {
    padding: 150px 0;
    background-color: var(--gray-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--light-color);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.product-image {
    margin-bottom: 20px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-height: 100%;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.product-info p {
    color: #777;
    font-size: 16px;
}

/* 产品特色 */
.features {
    padding: 150px 0;
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 30px;
    background-color: var(--gray-color);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
    transform: translateY(-10px);
}

.feature-card:hover p {
    color: var(--light-color);
    opacity: 0.8;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    color: #777;
    font-size: 16px;
}

/* 创新科技 */
.innovation {
    padding: 150px 0;
    background-color: var(--secondary-color);
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.innovation::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0.05;
    transform: skewX(-15deg) translateX(50%);
}

.innovation-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.innovation-text {
    flex: 1;
    max-width: 500px;
}

.innovation-text h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--light-color);
}

.innovation-text h2 span {
    color: var(--primary-color);
}

.innovation-text p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.8;
}

.innovation-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--primary-color) 1px, transparent 1px),
                      linear-gradient(90deg, var(--primary-color) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: 1;
}

.innovation-image img {
    max-width: 450px;
    position: relative;
    z-index: 2;
}

/* 新闻资讯 */
.news {
    padding: 150px 0;
    background-color: var(--light-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.news-card {
    background-color: var(--gray-color);
    display: flex;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-date {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 20px;
    text-align: center;
    min-width: 80px;
}

.day {
    font-size: 32px;
    font-weight: 900;
    display: block;
}

.month {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.news-content p {
    color: #777;
    font-size: 14px;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    padding-right: 20px;
}

.read-more::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 0;
    transition: var(--transition);
}

.read-more:hover::after {
    right: -5px;
}

/* 友情链接 */
.links {
    padding: 50px 0;
    background-color: var(--gray-color);
}

.links-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.links-content a {
    padding: 10px 20px;
    font-weight: 600;
    color: var(--secondary-color);
    transition: var(--transition);
    position: relative;
}

.links-content a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.links-content a:hover {
    color: var(--primary-color);
}

.links-content a:hover::after {
    width: 100%;
}

/* 页脚 */
.footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo,
.footer-links,
.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-logo h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 15px;
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: 10px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero-text h2 {
        font-size: 60px;
    }

    .product-grid,
    .features-grid,
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }

    .hero-text {
        max-width: 100%;
        margin-bottom: 50px;
    }

    .hero-text p {
        max-width: 100%;
    }

    .hero-image {
        justify-content: center;
    }

    .innovation-content {
        flex-direction: column;
        text-align: center;
    }

    .innovation-text {
        max-width: 100%;
        margin-bottom: 50px;
    }

    .innovation-image {
        justify-content: center;
    }

    .product-grid,
    .features-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 120px;
        left: -100%;
        flex-direction: column;
        background-color: var(--light-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-text h2 {
        font-size: 48px;
    }

    .section-title h2 {
        font-size: 36px;
    }

    .product-grid,
    .features-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-text h2 {
        font-size: 40px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .section-title p {
        font-size: 16px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}