﻿/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #000000;
    --bg-secondary: #050505;
    --bg-card: #111111;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --accent: #ff4d00;
    --accent-dark: #e04400;
    --border-color: #2a2a2a;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(255, 0, 100, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(0, 200, 255, 0.08) 0%, transparent 50%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Navigation
   ============================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 4px;
}

.logo-img {
    height: 52px;
    width: auto;
    opacity: 1;
    filter: brightness(1.02) invert(1);
}

@media (min-width: 768px) {
    .logo-img {
        height: 70px;
    }
}

.logo span {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 500;
    padding-top: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-consultation {
    background-color: var(--accent);
    color: white;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-consultation:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* ============================================
   Banner Section
   ============================================ */
.banner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(255, 0, 100, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(0, 200, 255, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(100, 255, 0, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 160, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 5% 80%, rgba(180, 0, 255, 0.1) 0%, transparent 50%);
}

.banner-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.02) 0px,
        transparent 2px,
        transparent 4px
    );
}

.banner-content {
    position: relative;
    text-align: center;
    z-index: 1;
    padding: 60px 0;
}

.banner-title {
    font-size: clamp(36px, 8vw, 72px);
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 16px;
    animation: fadeInUp 1s ease;
}

.banner-subtitle {
    font-size: clamp(18px, 3vw, 28px);
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 12px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.banner-desc {
    font-size: clamp(14px, 2vw, 20px);
    color: var(--text-muted);
    margin-bottom: 50px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    padding: 16px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 77, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    padding: 16px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    animation: fadeInUp 1s ease 0.8s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 300;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down span {
    display: block;
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

/* ============================================
   Section Common
   ============================================ */
section {
    padding: 100px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: center;
    margin-bottom: 60px;
}

.section-brand-icon {
    flex-shrink: 0;
}

.brand-icon-img {
    height: 80px;
    width: auto;
}

.section-text {
    text-align: center;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.section-subtitle-inline {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 300;
    margin-left: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 300;
}

.products {
    background-color: var(--bg-secondary);
    background-image: 
        radial-gradient(circle at 0% 100%, rgba(255, 160, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(100, 255, 0, 0.06) 0%, transparent 50%);
}

/* ============================================
   Products Grid
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(255, 77, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #0a0a0a;
    transition: var(--transition);
}

/* 对于宽高比差异大的图片，使用 contain 保持完整显示 */
.product-image-img.keep-aspect-contain {
    object-fit: contain;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: var(--transition);
}

.product-card:hover .product-image::before {
    left: 100%;
}

.product-card:hover .product-image-img {
    transform: scale(1.05);
}

.product-placeholder {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-info p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.product-info ul {
    list-style: none;
    margin-bottom: 20px;
}

.product-info li {
    color: var(--text-muted);
    font-size: 13px;
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.product-info li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.product-price .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.product-price .price-note {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   Advantages Section
   ============================================ */
.advantages {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 100% 100%, rgba(180, 0, 255, 0.06) 0%, transparent 50%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    padding: 30px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.advantage-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.advantage-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.advantage-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
    background-color: var(--bg-secondary);
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(0, 200, 255, 0.06) 0%, transparent 50%);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.faq-toggle {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-muted);
    transition: var(--transition);
    width: 24px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 100% 0%, rgba(255, 0, 100, 0.06) 0%, transparent 50%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: start;
    gap: 16px;
}

.contact-method .icon {
    font-size: 28px;
    text-align: center;
    margin-top: 2px;
}

.contact-method h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.2;
}

.contact-method p {
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

.contact-form {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group::placeholder {
    color: var(--text-muted);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--bg-secondary);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(255, 77, 0, 0.08) 0%, transparent 50%);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 4px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    opacity: 0.9;
    filter: brightness(1.02) invert(1);
}

.footer-logo span {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 500;
    padding-top: 6px;
}

.footer-contact {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-contact .contact-item {
    text-align: right;
}

.footer-contact .contact-item span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-contact .contact-item p {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--text-primary);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .nav-menu {
        gap: 24px;
    }

    .stats {
        gap: 40px;
    }

    .stat-number {
        font-size: 28px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-contact {
        width: 100%;
        gap: 20px;
    }

    .footer-contact .contact-item {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .btn-consultation {
        display: none;
    }

    .banner-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .stats {
        flex-direction: column;
        gap: 30px;
    }

    section {
        padding: 60px 0;
    }

    .section-header {
        flex-direction: column;
        gap: 16px;
    }

    .section-text {
        text-align: center;
    }

    .section-title {
        font-size: 32px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    .footer-contact {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 22px;
    }

    .logo span {
        display: none;
    }

    .banner-title {
        letter-spacing: 1px;
    }

    .product-card {
        margin: 0 10px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}
