/* Variables */
:root {
    --bg-color: #0a0f1c;
    --bg-secondary: #111827;
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --primary-color: #3b82f6;
    --accent-color: #06b6d4;
    --gradient-main: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --card-bg: rgba(30, 41, 59, 0.4); /* More transparent for glass effect */
    --border-color: rgba(148, 163, 184, 0.1);
    --font-cn: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-en: "Poppins", "Roboto", sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.08) 0%, transparent 25%);
    color: var(--text-color);
    font-family: var(--font-cn);
    line-height: 1.6;
    overflow-x: hidden;
}

body[data-lang="en"] {
    font-family: var(--font-en);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-en);
    color: #ffffff;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

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

/* Typography Enhancements */
.section-header {
    margin-bottom: 4rem;
    position: relative;
}

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

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--accent-color);
    font-family: var(--font-en);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: var(--gradient-main);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.6);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    border-radius: 50px;
    font-weight: 600;
    margin-left: 15px;
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: white;
    background: rgba(59, 130, 246, 0.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 15, 28, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(10, 15, 28, 0.9);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-en);
    color: white;
    letter-spacing: -0.5px;
}

.logo-cn {
    font-size: 1.1rem;
    margin-left: 8px;
    color: var(--primary-color);
    font-weight: 500;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 1.5rem;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.04);
}

.lang-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    color: #ffffff;
}

.lang-btn.active {
    background: var(--gradient-main);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

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

.nav-links a:hover {
    color: white;
}

/* Active Link Indicator */
.nav-links a.active {
    color: white;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links .btn-primary {
    padding: 10px 24px;
    color: #ffffff;
}

.nav-links .btn-primary::after {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: white;
    margin: 6px 0;
    transition: 0.4s;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Background Glow */
.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 520px;
    line-height: 1.8;
}

.hero-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-btns {
    display: flex;
    justify-content: start;
    align-items: center;
}

/* Floating Animation */
.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    border-radius: 24px;
    background: rgba(30, 41, 59, 0.3);
}

.carousel-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 2rem;
    line-height: 1;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    padding: 0;
}

.carousel-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.carousel-btn:hover {
    background: rgba(59, 130, 246, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.8);
}

.carousel-indicator.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

/* Highlights Section */
.highlights-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.highlights-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.highlights-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.highlight-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
}

.highlight-card:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.icon-box {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}

.highlight-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: white;
}

.highlight-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.highlights-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    height: 100%;
    min-height: 500px;
    border: 1px solid var(--border-color);
}

.highlights-image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    display: block;
}

/* Architecture Section */
.architecture-section {
    padding: 120px 0;
    position: relative;
}

.arch-wrapper {
    position: relative;
    padding: 2rem 0;
}

.arch-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.arch-layer {
    width: 100%;
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(10px);
}

.layer-label {
    position: absolute;
    top: -14px;
    left: 30px;
    background: var(--bg-color);
    padding: 0 15px;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.layer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.arch-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #e2e8f0;
    border: 1px solid transparent;
    transition: var(--transition);
}

.arch-item:hover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.arch-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 50px;
    color: var(--text-muted);
}

.arch-connector .line {
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    opacity: 0.5;
}

.arch-connector .arrow {
    margin-top: -5px;
    font-size: 12px;
    color: var(--accent-color);
}

/* Product Matrix */
.products-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    font-weight: 500;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: white;
}

.tab-btn.active {
    background: var(--gradient-main);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.product-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    animation: fadeIn 0.6s ease;
}

.product-grid.active {
    display: grid;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    border: none;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-img {
    height: 240px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-info {
    padding: 2rem;
    background: #ffffff;
    color: #0f172a;
}

.product-info h3 {
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.product-desc {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
}

.contact-wrapper {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
    padding: 5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-text {
    flex: 1;
    z-index: 1;
}

.contact-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 4rem;
    z-index: 1;
}

/* Footer */
.footer {
    background: #050914;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

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

/* Page Header */
.page-header {
    padding: 200px 0 100px;
    background-size: cover;
    background-position: center;
    text-align: center;
    margin-bottom: 0; /* Sections have padding */
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(10, 15, 28, 0.8) 0%, var(--bg-color) 100%);
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

/* --- About Page: Timeline (Enhanced) --- */
.timeline-section {
    padding: 4rem 0;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* The Central Line */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px; /* Thicker line */
    background: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px; /* Center the 4px line */
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6); /* Neon Glow */
    border-radius: 2px;
    z-index: 0;
}

.timeline-item {
    padding: 10px 50px;
    position: relative;
    background-color: inherit;
    width: 50%;
    z-index: 1;
}

/* The Node/Dot */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -12px; /* Center over line */
    background-color: var(--bg-color);
    border: 4px solid var(--accent-color);
    top: 20px;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.8); /* Neon Glow for Dot */
    transition: transform 0.3s ease;
}

.timeline-item:hover::after {
    transform: scale(1.2);
    background-color: var(--accent-color);
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

/* Fix dot position for right side items */
.right::after {
    left: -12px; /* Center over line */
}

.timeline-content {
    padding: 25px 35px;
    background: rgba(30, 41, 59, 0.6);
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.timeline-content h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* --- Solutions Page: Scenarios --- */
.scenario-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: center;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.scenario-card:nth-child(even) .scenario-img {
    order: 2;
}

.scenario-img {
    height: 100%;
    min-height: 300px;
}

.scenario-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scenario-text {
    padding: 2rem;
}

.scenario-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* --- Product Page: Modal --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-secondary);
    margin: 10% auto; 
    padding: 0;
    border: 1px solid var(--primary-color);
    width: 80%; 
    max-width: 900px;
    border-radius: 15px;
    position: relative;
    animation: slideDown 0.4s;
}

@keyframes slideDown {
    from {top: -100px; opacity: 0;}
    to {top: 0; opacity: 1;}
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 10px;
    cursor: pointer;
    z-index: 10;
}

.close-modal:hover,
.close-modal:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-img {
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-img img {
    max-height: 400px;
    width: auto;
}

.modal-details {
    padding: 2rem;
    color: var(--text-color);
}

.modal-details h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.modal-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.modal-specs-table td {
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
}

.modal-specs-table td:first-child {
    color: var(--text-muted);
    font-weight: 600;
    width: 40%;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-image {
        order: -1;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }

    /* 移动端轮播图:固定高度避免跳动 */
    .hero-carousel {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 75%; /* 保持4:3比例 */
        overflow: hidden;
        border-radius: 16px; /* 小屏幕圆角更小 */
    }

    .carousel-track {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .carousel-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 0.8s ease-in-out;
        z-index: 1;
    }

    .carousel-slide.active {
        opacity: 1;
        z-index: 2;
    }

    .carousel-slide img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover; /* 填满容器,保持中心裁剪 */
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .carousel-btn img {
        width: 16px;
        height: 16px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 15px; /* 稍微上移 */
        gap: 8px;
    }

    .carousel-indicator {
        width: 10px;
        height: 10px;
        border-width: 2px; /* 更细的边框 */
    }

    .highlights-content {
        grid-template-columns: 1fr;
    }
    
    .highlights-image {
        min-height: 300px;
        order: -1;
    }

    .highlights-image img {
        min-height: 300px;
    }

    .contact-wrapper {
        flex-direction: column;
        padding: 3rem;
        text-align: center;
        gap: 3rem;
    }

    .contact-info {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 2rem;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: rgba(10, 15, 28, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .lang-toggle {
        margin-left: 0.5rem;
        padding: 3px;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }

    .hamburger {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        max-width: 100%;
        width: 100%;
    }

    .hero-carousel {
        padding-bottom: 70%; /* 稍微降低高度 */
    }

    .scenario-card {
        grid-template-columns: 1fr;
    }
    .scenario-card:nth-child(even) .scenario-img {
        order: 0;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }

    /* Responsive Timeline (Updated) */
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 20px;
    }
    
    .timeline-item::after {
        left: 19px; /* Align with line at left: 31px (center is 31px) -> 31 - 12 = 19 */
    }
    
    .left::after, .right::after {
        left: 19px;
    }
    
    .right {
        left: 0%;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 16px;
    }

    .hero-section {
        padding: 140px 0 80px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

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

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .lang-toggle {
        padding: 3px;
        gap: 0.3rem;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .btn-outline {
        margin-left: 0;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-header p {
        letter-spacing: 2px;
        font-size: 0.8rem;
    }

    .tabs {
        gap: 0.75rem;
    }

    .tab-btn {
        flex: 1 0 100%;
    }

    .product-img {
        height: 200px;
    }

    .highlights-image {
        min-height: 250px;
    }

    .highlights-image img {
        min-height: 250px;
    }

    .product-info {
        padding: 1.5rem;
    }

    .contact-wrapper {
        padding: 2.5rem;
        gap: 2.5rem;
    }

    .contact-text h2 {
        font-size: 2.3rem;
    }

    .contact-info {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1.5rem;
    }

    .footer-content {
        text-align: center;
    }

    .page-header {
        padding: 150px 0 80px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.9rem 0;
    }

    .nav-links {
        width: 100%;
        max-width: none;
        padding: 5rem 1.5rem;
    }

    .lang-toggle {
        width: auto;
        justify-content: flex-start;
        padding: 2px 4px;
        gap: 0.25rem;
        border-radius: 20px;
    }

    .lang-btn {
        flex: 0 0 auto;
        min-width: 44px;
        padding: 4px 6px;
        font-size: 0.75rem;
    }

    .hero-section {
        padding: 120px 0 70px;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-image {
        max-width: 100%;
        width: 100%;
    }

    .hero-carousel {
        padding-bottom: 65%; /* 小屏幕更低的高度 */
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .carousel-btn img {
        width: 14px;
        height: 14px;
    }

    .carousel-prev {
        left: 8px; /* 更靠边 */
    }

    .carousel-next {
        right: 8px; /* 更靠边 */
    }

    .carousel-indicators {
        bottom: 12px; /* 调整位置 */
        gap: 6px;
    }

    .carousel-indicator {
        width: 8px;
        height: 8px;
        border-width: 1.5px; /* 更细的边框 */
    }

    .tabs {
        flex-direction: column;
    }

    .highlights-image {
        min-height: 200px;
    }

    .highlights-image img {
        min-height: 200px;
    }

    .contact-wrapper {
        padding: 2rem;
    }

    .contact-text h2 {
        font-size: 2rem;
    }

    .contact-info {
        gap: 1.5rem;
    }

    .footer-col h4 {
        text-align: center;
    }

    .timeline::after {
        left: 24px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-item::after,
    .left::after,
    .right::after {
        left: 12px;
    }
}
