/* General Styles */
:root { --color-text:#333; --color-dark:#0d141c; --color-accent:#007bff; --header-footer-bg:#44423f; --space-xxl:80px; --space-xl:60px; --space-lg:40px; --space-md:20px; --topbar-h:50px; --navbar-h:64px; --font-family:'Noto Sans SC', Arial, sans-serif; --font-weight:300; }
body {
    font-family: var(--font-family);
    font-weight: var(--font-weight);
    margin: 0;
    padding: 0;
    padding-top: calc(var(--topbar-h) + var(--navbar-h));
    color: var(--color-text);
    min-height: 100vh;
    position: relative;
    overflow-y: auto; /* 确保纵向滚动 */
    -webkit-overflow-scrolling: touch; /* 优化 Safari 滚动 */
}

html {
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Safari 滚动平滑 */
}

/* Font Loading handled via Google Fonts CDN in index.html */

h1, h2, h3, h4, h5, h6,
p, a, li,
button, input, textarea,
.btn, .nav-link, .dropdown-item {
    font-weight: var(--font-weight);
}

.fw-bold, .font-weight-bold, b, strong {
    font-weight: var(--font-weight) !important;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Bar */
.top-bar {
    background-color: var(--header-footer-bg);
    color: #fff;
    padding: 0; /* Remove padding to center vertically with height */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1100;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.top-bar .right {
    display: flex;
    align-items: center;
    gap: 10px; /* Reduced gap */
}

.top-bar a {
    text-decoration: none;
    display: flex;
    align-items: center;
    line-height: 0;
    position: relative;
    padding: 5px; /* Space for the border box */
}

/* Clockwise Border Animation for Top Bar */
.top-bar a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 1px solid white;
    border-right: 1px solid white;
    box-sizing: border-box;
    transition: width 0.1s linear, height 0.1s linear 0.1s;
    opacity: 0;
}

.top-bar a::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: 1px solid white;
    border-left: 1px solid white;
    box-sizing: border-box;
    transition: width 0.1s linear 0.2s, height 0.1s linear 0.3s;
    opacity: 0;
}

.top-bar a:hover::before {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.top-bar a:hover::after {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.top-social-icon {
    height: 20px; /* Reduced size */
    width: auto;
    vertical-align: middle;
    transition: opacity 0.3s ease;
    display: block;
}

.top-social-icon:hover {
    /* Removed scaling and filter */
    opacity: 1;
}

/* Navbar */
.navbar {
    background-color: #fff;
    padding: 10px 0;
    position: fixed;
    top: 50px;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-height: var(--navbar-h);
}

.navbar .container { display: flex; align-items: center; }
.navbar-brand .logo { height: 48px; width: auto; object-fit: contain; }

.navbar-nav .nav-link { color: #333; margin-left: 15px; padding: 5px 15px; text-decoration: none; display: inline-flex; align-items: center; white-space: nowrap; font-weight: 400; position: relative; }
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #000;
    transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}
.navbar-nav .nav-link.active { text-decoration: none; color: #333; }

/* Mobile toggler styled as circular button and transforms to X when open */
.navbar-toggler {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #000;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.navbar-light .navbar-toggler {
    border-color: transparent;
}
.navbar-toggler-icon {
    filter: invert(1);
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
}
.navbar-toggler.is-open .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 4 L26 26 M26 4 L4 26'/%3E%3C/svg%3E") !important;
    filter: none !important;
}

.navbar-nav .nav-link:hover {
    color: #333;
}

.btn-language-toggle {
    background-color: transparent;
    border: 1px solid #ddd;
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.btn-language-toggle:hover, .btn-language-toggle[aria-expanded="true"] {
    background-color: transparent;
    color: #000;
    border-color: #000;
}

/* Language Dropdown Styles */
.language-dropdown {
    position: relative;
}

.dropdown-menu {
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    padding: 0;
    margin-top: 5px;
}

.dropdown-item {
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s ease;
}

.navbar .dropdown-item { font-weight: 400; }

.dropdown-item:hover {
    background-color: #f5f5f5;
    color: #000;
}

.dropdown-item.active {
    background-color: #f0f0f0;
    color: #000;
    font-weight: 500;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .navbar-brand .logo {
        width: 160px;
    }
    .navbar-nav { text-align: center; padding-top: 10px; }
    .navbar-nav .nav-link { margin: 10px 0px; }
    .dropdown-menu { text-align: center; margin: 0 auto; max-width: 200px; }
    .banner-content h2 { font-size: clamp(1.6rem, 4.5vw, 2.6rem); }
    .banner-content p { font-size: clamp(0.9rem, 2.8vw, 1.1rem); }
}

/* Mobile Offcanvas Menu */
.offcanvas { background-color: #1f1f1f; color: #fff; z-index: 1200; }
/* remove logo area in drawer; header removed from markup */
.offcanvas-header { display: none; }
.offcanvas-body { padding-top: 0; }
@media (max-width: 991.98px) { .offcanvas { top: calc(var(--topbar-h) + var(--navbar-h)) !important; height: calc(100dvh - var(--topbar-h) - var(--navbar-h)) !important; overflow-y: auto; } }
.mobile-search { margin-top: 20px; }
.mobile-search .form-control { background-color: #2a2a2a; border-color: #3a3a3a; color: #fff; }
.mobile-search .form-control::placeholder { color: rgba(255,255,255,0.6); }

/* Drawer accordion */
.drawer-group { margin: 10px 0 20px; }
.section-toggle { width: 100%; background: transparent; border: 0; color: #fff; text-align: left; padding: 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 1rem; position: relative; min-height: 48px; display: flex; align-items: center; }
.section-toggle::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.8); }
.section-toggle:not(.collapsed)::after { content: "−"; }
.section-body { padding: 6px 0; }
.drawer-link { display: flex; align-items: center; min-height: 48px; color: rgba(255,255,255,0.92); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.08); font-weight: 400; }
.drawer-text { position: relative; display: inline-block; }
.drawer-link.active .drawer-text::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background-color: currentColor; }
.drawer-link:hover { color: #e0b785; }
.lang-group { margin-top: 10px; }

/* Banner */
.banner {
    height: 100dvh;
    min-height: 100svh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 0;
    min-height: 400px;
}

/* Safari-specific fixes */
@supports (-webkit-appearance: none) {
    .banner {
        background-attachment: scroll !important;
        height: 100svh;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Safari 图片加载失败时的备用方案 */
    .banner-image-fallback {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Banner fallback image */
.banner-image-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #2c3e50; /* Fallback background color */
    display: none; /* Hidden by default */
}

.banner-image-fallback img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent; z-index: 1; }

.banner-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.carousel, .carousel-inner, .carousel-item { height: 100%; }
.carousel-item img, .carousel-item video { height: 100%; object-fit: cover; }

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    padding: 10px 20px;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Warp Banner */
.banner-warp { background: #fff; }
.banner-warp::before { background: transparent; pointer-events: none; }
.warp-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }

/* Slogan in Banner */
.banner-slogan-container {
    position: absolute;
    bottom: 10%;
    left: 8%;
    z-index: 10;
    text-align: left;
    max-width: 600px;
    pointer-events: none; /* Allows interaction with canvas below if needed */
}

.slogan-title {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400; /* Regular */
    font-size: 3.5rem;
    color: #2c2c2c;
    margin-bottom: 24px;
    line-height: 1.1;
    /* Blur effect for readability */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6);
}

.slogan-desc {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 300; /* Light */
    font-size: 1.15rem;
    line-height: 1.6;
    color: #444;
    /* Blur effect for readability */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6);
}

.slogan-desc p {
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    .slogan-title { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .banner-slogan-container {
        bottom: 60px;
        left: 20px;
        right: 20px;
        max-width: none;
    }
    .slogan-title {
        font-size: 2.2rem;
    }
    .slogan-desc {
        font-size: 1rem;
    }
}

/* Company Vision */
.company-vision {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.vision-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.vision-item p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid #333;
    color: #333;
    padding: 5px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.btn-secondary:hover {
    background-color: #333;
    color: #fff;
}

/* Contact Us */
.contact-us {
    padding: 60px 0;
}

.contact-item {
    margin: 20px 0;
}

.contact-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* About Page */
.page-hero { padding: 80px 0 20px; }
.page-hero h1 { font-size: 2rem; }
.image-placeholder { background: #e5e5e5; height: 240px; }
.video-placeholder { background: #cfcfcf; height: 240px; position: relative; }
.video-placeholder .play { width: 48px; height: 48px; border-radius: 50%; background: #fff; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.service-icon { width: 24px; height: 24px; background: #000; opacity: .2; border-radius: 6px; margin-top: 4px; }
.about-contact { padding: 40px 0 80px; }

/* Product Page */
.product-highlight { padding: 40px 0 80px; }
.feature-list li { margin-bottom: 8px; }

/* Concept */
.concept { 
    padding: 100px 0; 
    background-color: #fff; 
}

.concept h2 { 
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 2.5rem); 
    color: #0d141c;
    letter-spacing: -0.02em;
    margin-bottom: 24px; 
}

.concept-mark { 
    width: 12px; 
    height: 12px; 
    border-radius: 50%; 
    background-color: #0d141c; 
    margin: 0 auto; 
}

.concept-card {
    padding: 20px 10px;
    text-align: center;
    transition: transform 0.4s ease;
}

.concept-card:hover {
    transform: translateY(-5px);
}

.concept-number {
    font-family: 'Times New Roman', serif;
    font-style: italic;
    font-size: 2.5rem;
    color: #e0e0e0;
    margin-bottom: 20px;
    line-height: 1;
}

.concept-title {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    color: #0d141c;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.concept-desc {
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    max-width: 320px;
    margin: 0 auto;
}

/* Our Project - Tech & Art Gallery Stream */
.our-project { 
    padding: 60px 0; 
    background-color: #fcfcfc; 
    overflow: hidden; /* Prevent horizontal scroll affecting page */
    position: relative;
}

/* Container for the scrolling track */
.project-grid { 
    display: flex;
    gap: 40px; /* Airy spacing */
    overflow-x: auto;
    padding: 20px 5vw; /* Horizontal padding for start/end */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox: Hide scrollbar */
    cursor: grab;
    align-items: center;
}

/* Hide scrollbar for Chrome/Safari/Opera */
.project-grid::-webkit-scrollbar {
    display: none;
}

.project-item { 
    flex: 0 0 auto; /* Don't shrink */
    width: 130px; /* Container slightly larger than 100px image */
    height: 130px;
    background: #fff; 
    padding: 15px; /* Art frame whitespace */
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    display: block;
    filter: grayscale(100%); /* Full tech monochrome */
    opacity: 0.8;
    transition: all 0.5s ease;
}

/* Active/Hover State */
.project-item:hover { 
    transform: translateY(-10px) scale(1.1); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 10;
    border-color: rgba(0,0,0,0.1);
}

.project-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.project-item:active {
    cursor: grabbing;
    transform: scale(0.95);
}

/* Lightbox - Immersive Tech Feel */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    border: 8px solid #fff; /* Classic photo border */
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: 100;
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 1;
}

.lightbox-close:hover {
    color: #F59096;
    transform: rotate(90deg);
}

@media (max-width: 992px) { 
    .project-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } 
}

@media (max-width: 576px) { 
    .project-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; } 
    .lightbox-close { top: 20px; right: 20px; font-size: 30px; }
}

/* Features */
.features { padding: var(--space-xl) 0; background: linear-gradient(180deg, #1a1a1a 0%, var(--color-dark) 100%); }
.feature-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 24px; color: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.4); }
.feature-card .icon { width: 36px; height: 36px; background: rgba(255,255,255,0.18); border-radius: 8px; margin-bottom: 12px; }

/* Feature Icons with overlapping letters */
.feature-icon-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.icon-back {
    position: absolute;
    left: 8px;
    top: 0;
    font-size: 56px;
    font-weight: 100;
    line-height: 1;
    color: rgba(255, 255, 255, 0.1);
    font-family: 'Source Sans 3', sans-serif;
    user-select: none;
}

.icon-front {
    position: absolute;
    left: 0;
    top: 24px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: #F59096;
    font-family: 'Source Sans 3', sans-serif;
    user-select: none;
}

/* Reveal effects */
.vision-item, .feature-card, .project-item, .news-card { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.vision-item.in, .feature-card.in, .project-item.in, .news-card.in { opacity: 1; transform: translateY(0); }
.project-item:hover { filter: brightness(1.05); }

/* Latest News */
.latest-news { padding: 100px 0; background: #fff; }
.latest-news h3 { font-family: 'Source Sans 3', sans-serif; font-weight: 300; font-size: 2rem; color: #0d141c; }
.latest-news .see-all { color: #007bff; text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; }
.latest-news .see-all:hover { color: #0056b3; }

.news-card { 
    background: #fcfcfc; 
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 8px; 
    padding: 30px; 
    height: 100%; 
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    border-color: transparent;
    background: #fff;
}

.news-date { 
    color: #999; 
    font-size: 0.85rem; 
    margin-bottom: 12px; 
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 300;
}

.news-title {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    color: #0d141c;
    margin-bottom: 12px;
}

.news-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 24px;
}

.news-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid #e0e0e0;
    color: #0d141c;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-btn:hover {
    background-color: #0d141c;
    color: #fff;
    border-color: #0d141c;
    transform: rotate(-45deg);
}

.icon-arrow {
    font-size: 1.2rem;
    line-height: 1;
    margin-top: -2px; /* Visual correction */
}

/* Footer */
.footer { background-color: #0d141c; color: rgba(255,255,255,0.88); padding: 60px 0; }

.footer .logo {
    width: 130px;
    margin-bottom: 20px;
}

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

.footer-info p { margin: 6px 0; }

.footer-info .img {
    max-width: 300px; /* 根据需要调整最大宽度 */
    max-height: 200px; /* 根据需要调整最大高度 */
    height: auto;
    width: auto;
    display: inline-block; /* 确保图像不会影响文字换行 */
    vertical-align: middle; /* 垂直对齐文字 */
}

.subscribe { padding-top: 20px; text-align: left; }

.subscribe input { width: 100%; max-width: 320px; padding: 12px 16px; margin: 14px 0; background: transparent; border: 1px solid rgba(255,255,255,0.35); border-radius: 26px; color: #fff; }

.subscribe input[type="submit"] {
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    align-items: center;
}


.bottom-nav {
    border-top: 1px solid #fff;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 0.8rem;
}


.footer-bottom { background-color: #0d141c; padding: 14px 0 }

.copyright p {
	font-size: 13px;
	text-align: center;
	color: rgba(255, 255, 255, .7294117647058823)
}

/* Footer top contact blocks */
.footer-contact { margin-bottom: 32px; }

.footer-title { color: #fff; font-weight: var(--font-weight); margin-bottom: 8px; }
.section-label { color: #fff; font-weight: var(--font-weight); margin: 16px 0 8px; display: inline-block; }
.hint { color: rgba(255,255,255,0.62); font-size: 0.85rem; }

@media (max-width: 768px) {
  .footer { padding: 40px 0; }
  .footer-contact-item { margin-bottom: 18px; }
}

.copyright a {
	color: rgba(255, 255, 255, .7294117647058823)
}

.home-footer-info {
    background-color: var(--header-footer-bg);
    color: rgba(255,255,255,0.88);
    padding: 80px 0;
}

.home-footer-info .container { padding: 0 15px; } /* Standard container padding */

/* Top Contact Section */
.footer-contact { 
    margin-bottom: 60px; 
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-contact-item { 
    position: relative; 
    padding-left: 24px; 
    margin-bottom: 20px;
}

.footer-contact-item::before { 
    content: ""; 
    position: absolute; 
    left: 0; 
    top: 4px; 
    bottom: 4px; 
    width: 3px; 
    background: #F59096; 
    border-radius: 2px;
}

.footer-title { 
    color: #fff; 
    font-size: 1.2rem;
    font-weight: 500; 
    margin-bottom: 12px; 
    letter-spacing: 0.5px;
}

.footer-contact-item p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Bottom Content Section */
.home-footer-info .logo { 
    width: 160px; 
    height: auto; 
    margin: 0 0 24px 0; 
    display: block; 
}

.home-footer-info .footer-content { 
    text-align: left; 
    padding-right: 60px; /* Space between columns */
}

.home-footer-info .footer-content p { 
    max-width: 100%; 
    margin: 0 0 32px 0; 
    line-height: 1.8; 
    white-space: normal; /* Allow wrapping naturally */
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}

.home-footer-info .footer-content .btn { 
    font-size: 0.9rem; 
    padding: 8px 20px; 
    letter-spacing: 1px;
}

/* Right Info Section */
.home-footer-info .footer-info {
    padding-left: 20px;
}

.home-footer-info .section-label { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
}

.home-footer-info .section-label::before { 
    content: ""; 
    display: inline-block; 
    width: 30px; 
    height: 2px; 
    background: #F59096; /* Match accent */
}

.home-footer-info .footer-info p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

/* Subscribe Form */
.subscribe { margin-top: 40px; }

.subscribe input[type="email"] {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 14px 20px;
    border-radius: 4px;
    height: 50px;
    color: #fff;
    font-size: 0.95rem;
    width: 100%;
    max-width: 100%;
}

.subscribe input[type="email"]:focus {
    background: rgba(255,255,255,0.1);
    border-color: #F59096;
    outline: none;
}

.subscribe .hint {
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
  .home-footer-info { padding: 50px 0; }
  .footer-contact { margin-bottom: 40px; padding-bottom: 20px; }
  .home-footer-info .container { padding: 0 20px; }
  .home-footer-info .footer-content { padding-right: 0; margin-bottom: 40px; }
  .home-footer-info .footer-info { padding-left: 0; }
  .home-footer-info .logo { width: 140px; }
  .home-footer-info .footer-content .btn { font-size: 0.85rem; }
}

/* SEE MORE / MORE 按钮统一样式 */
.btn[data-i18n="see_more"] { background: transparent; border: none; color: #F59096; padding: 0; }
.btn[data-i18n="see_more"]::after { content: "→"; margin-left: 8px; color: #F59096; }
.btn[data-i18n="see_more"]:hover { color: #f9aab0; text-decoration: underline; }

.footer-bar { background: var(--header-footer-bg); color: rgba(255,255,255,0.8); padding: 20px 0; }

.footer-bar .row { align-items: center; }
.footer-bar .footer-links, .footer-bar .footer-social { display: flex; align-items: center; }
.footer-bar .footer-social { 
    justify-content: flex-end; 
    gap: 8px; /* Reduced spacing */
}
.footer-bar .footer-logo { height: 56px; width: auto; transition: transform .3s ease, filter .3s ease; }
.footer-bar .footer-logo:hover { transform: scale(1.06); filter: drop-shadow(0 0 6px rgba(255,255,255,0.15)); }
.footer-bar .footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.85rem; }
.footer-bar .footer-links a:hover { color: #fff; }
.footer-bar .footer-social .label { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-right: 8px; }

.footer-bar .social-icon { 
    height: 20px; /* Reduced size */
    width: auto; 
    opacity: 1; 
    transition: opacity 0.3s ease; 
    display: block;
}
.footer-bar .social-icon:hover { 
    /* Removed scaling and filter */
    opacity: 1;
}

.footer-bar a {
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    padding: 5px; /* Space for border box */
}

/* Clockwise Border Animation for Footer */
.footer-bar .footer-social a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 1px solid white;
    border-right: 1px solid white;
    box-sizing: border-box;
    transition: width 0.1s linear, height 0.1s linear 0.1s;
    opacity: 0;
}

.footer-bar .footer-social a::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: 1px solid white;
    border-left: 1px solid white;
    box-sizing: border-box;
    transition: width 0.1s linear 0.2s, height 0.1s linear 0.3s;
    opacity: 0;
}

.footer-bar .footer-social a:hover::before {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.footer-bar .footer-social a:hover::after {
    width: 100%;
    height: 100%;
    opacity: 1;
}
.footer-bar .footer-sep { border-color: rgba(255,255,255,0.12); margin: 12px 0; }
.footer-bar .copyright-small { text-align: center; color: rgba(255,255,255,0.6); font-size: 0.82rem; margin: 0; }
@media (max-width: 768px) { 
    .footer-bar .footer-logo { height: 80px; } 
    
    /* Mobile Footer Alignment & Spacing */
    .footer-bar .text-center {
        margin-bottom: 30px; /* Space below logo */
    }
    
    .footer-bar .footer-social {
        justify-content: flex-start; /* Align left */
        margin-bottom: 10px; /* Space between Social and Links */
    }
    
    .footer-bar .footer-links {
        justify-content: flex-start;
        margin-bottom: 30px; /* Space before copyright/separator */
    }
}
.section-toggle span { position: relative; display: inline-block; }

/* Refined About Page */
.about-hero {
    padding: 120px 0 80px;
    background-color: #fff;
}

.about-section {
    padding: 100px 0;
}

.about-section h2 {
    font-weight: 300;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

.about-section p {
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.bg-dark {
    background-color: #0d141c !important;
}

.bg-dark p {
    color: rgba(255, 255, 255, 0.7);
}

.bg-dark h2, .bg-dark h4 {
    color: #fff;
}

.border-opacity-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.about-hero h1 {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
}

.image-placeholder {
    background-color: #f0f0f0;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* About Image & Markers */
.about-image-container {
    position: relative;
    /* border-radius removed */
    overflow: hidden;
    background-color: #fff; /* Ensure background is white for fade effect if needed */
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.6s ease, opacity 0.6s ease;
}

.about-image-container:hover .about-img {
    filter: brightness(1.12); /* Make it slightly brighter/whiter */
    /* opacity: 0.9; Optional: mix with white background */
}

.direction-marker {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    z-index: 10;
}

/* PC Layout (Large screens) */
@media (min-width: 992px) {
    /* Marker pointing RIGHT (Text Left, Image Right -> Arrow points into Image from Left) */
    .marker-left .direction-marker {
        top: 20%; /* 视觉错落，偏上 */
        left: 0;
        transform: none;
        /* 增大尺寸: 24px半高，32px深 */
        border-width: 24px 0 24px 32px;
        border-color: transparent transparent transparent #fff;
    }

    /* Marker pointing LEFT (Text Right, Image Left -> Arrow points into Image from Right) */
    .marker-right .direction-marker {
        top: 65%; /* 视觉错落，偏下 */
        right: 0;
        transform: none;
        /* 增大尺寸 */
        border-width: 24px 32px 24px 0;
        border-color: transparent #fff transparent transparent;
    }
}

/* Mobile Layout (Small screens) */
@media (max-width: 991.98px) {
    .direction-marker {
        transform: none; /* 移除居中 */
        right: auto !important;
    }
    
    /* Marker Left - 第一张图 */
    .marker-left .direction-marker {
        top: 0;
        bottom: auto;
        left: 15%; /* 错落位置，靠左 */
        /* 增大尺寸，向下刺入的缺口 */
        border-width: 32px 24px 0 24px;
        border-color: #fff transparent transparent transparent;
    }
    
    /* Marker Right - 第二张图 */
    .marker-right .direction-marker {
        top: 0; /* 改为顶部 */
        bottom: auto;
        left: 15%; /* 错落位置，靠左 */
        /* 增大尺寸，向下刺入的缺口 */
        border-width: 32px 24px 0 24px;
        border-color: #fff transparent transparent transparent;
    }
}

/* Form Styling */
.form-control {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: #fff;
    border-color: #333;
    box-shadow: none;
}

.btn-dark {
    background-color: #0d141c;
    border-color: #0d141c;
    border-radius: 30px;
    padding: 12px 40px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: #333;
    border-color: #333;
    transform: translateY(-2px);
}

.section-toggle.active span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background-color: currentColor; }

/* News Page Styles */
.news-hero {
    background-color: #fcfcfc;
    padding: 100px 0 60px;
    border-bottom: 1px solid #eee;
}

.news-list-section {
    padding: 80px 0;
    background-color: #fff;
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: #eee;
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 60px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 24px;
    width: 12px;
    height: 12px;
    background: #0d141c;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 6px #fff;
}

.timeline-date {
    position: absolute;
    left: -100px;
    top: 20px;
    width: 100px;
    text-align: right;
    padding-right: 20px;
    font-family: 'Noto Sans SC', sans-serif;
    color: #999;
    font-size: 0.9rem;
    display: none; /* Hidden on mobile by default, shown on desktop */
}

.timeline-content {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
}

.timeline-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
}

.timeline-content:hover .timeline-card {
    border-color: #ccc;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.timeline-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.tag-concept { background: #e3f2fd; color: #1976d2; }
.tag-engineering { background: #e8f5e9; color: #388e3c; }
.tag-design { background: #f3e5f5; color: #7b1fa2; }
.tag-production { background: #fff3e0; color: #f57c00; }
.tag-software { background: #e0f7fa; color: #0097a7; }
.tag-launch { background: #ffebee; color: #d32f2f; }
.tag-milestone { background: #eceff1; color: #546e7a; }

.timeline-card h3 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #0d141c;
}

.timeline-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    font-size: 0.9rem;
    color: #007bff;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.read-more .arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.timeline-content:hover .read-more .arrow {
    transform: translateX(5px);
}

@media (min-width: 768px) {
    .timeline::before {
        left: 50%;
        margin-left: -1px;
    }
    
    .timeline-item {
        width: 50%;
        padding-left: 0;
        padding-right: 40px;
        margin-left: 0;
        text-align: right;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 50%;
        padding-right: 0;
        padding-left: 40px;
        text-align: left;
    }
    
    .timeline-item::before {
        left: 50%;
        margin-left: -6px;
    }
    
    .timeline-date {
        display: block;
        left: 50%;
        margin-left: 20px;
        text-align: left;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        left: auto;
        right: 50%;
        margin-right: 20px;
        text-align: right;
    }
    
    .timeline-content:hover {
        transform: translateY(-5px); /* Upward on desktop */
    }
    
    .timeline-item:nth-child(even) .timeline-content:hover {
        transform: translateY(-5px);
    }
    
    .read-more {
        justify-content: flex-end;
    }
    
    .timeline-item:nth-child(even) .read-more {
        justify-content: flex-start;
    }
}

.section-toggle.home-link::after {
    content: none !important;
}

/* Tech Page Styles */
.tech-intro-section {
    min-height: auto; /* Allow content to dictate height */
}

.fs-7 { font-size: 0.85rem; }
.letter-spacing-2 { letter-spacing: 2px; }

.tech-section {
    padding: 100px 0;
}

.tech-tag {
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: #0d141c;
    border: 1px solid #0d141c;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
}

.bg-dark .tech-tag {
    color: #fff;
    border-color: #fff;
}

.tech-img-wrapper {
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.5s ease;
}

.tech-img-wrapper img {
    transition: transform 0.6s ease;
}

.tech-item:hover .tech-img-wrapper img {
    transform: scale(1.05);
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
