/* 全局重置与基础 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f4f7fc;
    color: #1a1a2e;
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

.dark {
    background: #0f0f1a;
    color: #e0e0e0;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 辅助类 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ========== Header ========== */
header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    transition: background 0.3s;
}

.dark header {
    background: linear-gradient(135deg, #0f0f1a, #1a1a2e);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s, transform 0.3s;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s;
}

.nav a:hover {
    color: #ffd700;
    transform: translateY(-1px);
}

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

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.menu-toggle:hover {
    transform: rotate(90deg);
}

/* ========== Hero ========== */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    animation: heroGlow 10s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease;
}

.hero .btn {
    display: inline-block;
    background: #ffd700;
    color: #1a1a2e;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1.2s ease;
}

.hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

/* ========== Sections ========== */
section {
    padding: 80px 0;
    transition: background 0.3s;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    animation: fadeInUp 0.6s ease;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #ffd700;
    margin: 10px auto 0;
    border-radius: 2px;
    transition: width 0.3s;
}

.section-title:hover::after {
    width: 80px;
}

/* ========== About ========== */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 280px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-image {
    flex: 1;
    min-width: 280px;
    background: linear-gradient(135deg, #e0e0e0, #c0c0c0);
    height: 300px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dark .about-image {
    background: linear-gradient(135deg, #2a2a40, #1a1a2e);
    color: #aaa;
}

/* ========== Company ========== */
.company-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.company-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.dark .company-card {
    background: rgba(30, 30, 48, 0.85);
    border-color: rgba(255, 255, 255, 0.05);
}

.company-card h3 {
    color: #1a1a2e;
    margin-bottom: 10px;
}

.dark .company-card h3 {
    color: #ffd700;
}

/* ========== Story Timeline ========== */
.story-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 30px;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #ffd700, #ffaa00);
    border-radius: 2px;
}

.story-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
    transition: transform 0.3s;
}

.story-item:hover {
    transform: translateX(5px);
}

.story-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: #ffd700;
    border-radius: 50%;
    border: 3px solid #1a1a2e;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s;
}

.story-item:hover::before {
    transform: scale(1.3);
}

.dark .story-item::before {
    border-color: #0f0f1a;
}

.story-item h3 {
    font-size: 1.2rem;
    color: #1a1a2e;
}

.dark .story-item h3 {
    color: #ffd700;
}

/* ========== Grids ========== */
.products-grid,
.services-grid,
.solutions-grid,
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card,
.service-card,
.solution-card,
.industry-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card:hover,
.service-card:hover,
.solution-card:hover,
.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.dark .product-card,
.dark .service-card,
.dark .solution-card,
.dark .industry-card {
    background: rgba(30, 30, 48, 0.85);
    border-color: rgba(255, 255, 255, 0.05);
}

.product-card h3,
.service-card h3,
.solution-card h3,
.industry-card h3 {
    margin-bottom: 10px;
    color: #1a1a2e;
}

.dark .product-card h3,
.dark .service-card h3,
.dark .solution-card h3,
.dark .industry-card h3 {
    color: #ffd700;
}

/* ========== Advantages ========== */
.advantages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.advantage-item {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.dark .advantage-item {
    background: rgba(30, 30, 48, 0.85);
    border-color: rgba(255, 255, 255, 0.05);
}

.advantage-item .num {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    display: block;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* ========== Testimonials ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-style: italic;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.dark .testimonial-card {
    background: rgba(30, 30, 48, 0.85);
    border-color: rgba(255, 255, 255, 0.05);
}

.testimonial-card .author {
    margin-top: 15px;
    font-weight: 600;
    color: #1a1a2e;
}

.dark .testimonial-card .author {
    color: #ffd700;
}

/* ========== Cases ========== */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.case-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.dark .case-card {
    background: rgba(30, 30, 48, 0.85);
    border-color: rgba(255, 255, 255, 0.05);
}

.case-card h3 {
    margin-bottom: 10px;
    color: #1a1a2e;
}

.dark .case-card h3 {
    color: #ffd700;
}

/* ========== Insights ========== */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.insight-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.dark .insight-card {
    background: rgba(30, 30, 48, 0.85);
    border-color: rgba(255, 255, 255, 0.05);
}

.insight-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.dark .insight-card h3 {
    color: #ffd700;
}

.insight-card .date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
}

.insight-card a {
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.insight-card a:hover {
    color: #ffd700;
}

.dark .insight-card a {
    color: #ffd700;
}

.dark .insight-card a:hover {
    color: #fff;
}

/* ========== FAQ ========== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(221, 221, 221, 0.5);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: #ffd700;
}

.dark .faq-item {
    border-color: rgba(51, 51, 51, 0.5);
}

.dark .faq-item:hover {
    border-color: #ffd700;
}

.faq-question {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    border: 0;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    color: #1a1a2e;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255, 215, 0, 0.05);
}

.dark .faq-question {
    background: rgba(30, 30, 48, 0.85);
    color: #e0e0e0;
}

.dark .faq-question:hover {
    background: rgba(255, 215, 0, 0.1);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(249, 249, 249, 0.8);
    backdrop-filter: blur(4px);
}

.dark .faq-answer {
    background: rgba(21, 21, 42, 0.8);
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 15px 20px;
}

/* ========== HowTo ========== */
.howto-step {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.howto-step:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dark .howto-step {
    background: rgba(30, 30, 48, 0.85);
    border-color: rgba(255, 255, 255, 0.05);
}

.howto-step .step-num {
    background: #ffd700;
    color: #1a1a2e;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s;
}

.howto-step:hover .step-num {
    transform: scale(1.1);
}

/* ========== Contact ========== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.dark .contact-form {
    background: rgba(30, 30, 48, 0.85);
    border-color: rgba(255, 255, 255, 0.05);
}

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

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(221, 221, 221, 0.5);
    border-radius: 6px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a2e;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus,
textarea:focus {
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
    outline: none;
}

.dark input,
.dark textarea {
    background: rgba(42, 42, 64, 0.9);
    border-color: rgba(68, 68, 68, 0.5);
    color: #e0e0e0;
}

.dark input:focus,
.dark textarea:focus {
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

button[type="submit"] {
    background: #ffd700;
    color: #1a1a2e;
    padding: 14px 40px;
    border: 0;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

/* ========== Footer ========== */
.footer {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #ccc;
    padding: 40px 0;
    text-align: center;
}

.dark .footer {
    background: linear-gradient(135deg, #0f0f1a, #1a1a2e);
}

.footer a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #fff;
}

.footer .legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.footer .sitemap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    text-align: left;
    max-width: 800px;
    margin: 20px auto;
}

.footer .sitemap a {
    color: #ccc;
    font-size: 0.9rem;
    transition: color 0.3s, transform 0.3s;
}

.footer .sitemap a:hover {
    color: #ffd700;
    transform: translateX(3px);
}

/* ========== Back to Top ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ffd700;
    color: #1a1a2e;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

/* ========== Dark Toggle ========== */
.dark-toggle {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background: #1a1a2e;
    color: #ffd700;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 0;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
}

.dark-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.dark .dark-toggle {
    background: #ffd700;
    color: #1a1a2e;
}

/* ========== Search Box ========== */
.search-box {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    animation: fadeInUp 1.4s ease;
}

.search-box input {
    width: 300px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
    outline: 0;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: border-color 0.3s, background 0.3s;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-box input:focus {
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.15);
}

.search-box button {
    padding: 12px 25px;
    background: #ffd700;
    color: #1a1a2e;
    border: 0;
    border-radius: 0 30px 30px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.search-box button:hover {
    background: #e6c200;
    transform: translateX(2px);
}

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

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        background: rgba(22, 33, 62, 0.95);
        backdrop-filter: blur(10px);
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        padding: 20px;
        gap: 15px;
        border-bottom: 2px solid #ffd700;
    }

    .nav.open {
        display: flex;
        animation: fadeInUp 0.3s ease;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section {
        padding: 50px 0;
    }

    .search-box input {
        width: 200px;
    }

    .back-to-top,
    .dark-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .dark-toggle {
        bottom: 80px;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .search-box input {
        width: 150px;
    }

    .footer .sitemap {
        grid-template-columns: 1fr;
    }
}