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

:root {
    --primary: linear-gradient(93.39deg, #0095FF 2.8%, #005BFF 97.2%);
    --primary-dark: linear-gradient(93.39deg, #007bff 2.8%, #005BFF 97.2%);;
    --primary-light: #DBEAFE;
    --bg: #FFFFFF;
    --bg-gray: #F8FAFC;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --border: #E2E8F0;
    --radius-sm: 6px;
    --radius-md: 12px;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -4px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;

    /* ===== 字号设计 Token（基于 1rem = 16px） ===== */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-md: 1.125rem;   /* 18px */
    --text-lg: 1.25rem;    /* 20px */
    --text-xl: 1.5rem;     /* 24px */
    --text-2xl: 1.75rem;   /* 28px */
    --text-3xl: 2rem;      /* 32px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 2.5rem;    /* 40px */
    --text-6xl: 3rem;      /* 48px */
    --text-7xl: 5rem;      /* 80px */
    --text-8xl: 7.5rem;    /* 120px */
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 1920px) {
    html {
        font-size: 18px;
    }
}

body {
    font-family: "HarmonyOS Sans SC", "HarmonyOS Sans", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-hero {
    background: var(--primary);
    color: #fff;
    padding: 14px 32px;
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-hero:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    padding: 8px 16px;
    font-weight: 500;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    height: 64px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
     width: 192px;
    height: 26px;
}

.logo-img {
    display: block;
    width: auto;
    width: 192px;
    height: 26px;
    background: url('../images/mainlogo.png') no-repeat center center;
}

.logo-text {
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link .nav-active-line {
    display: none;
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.nav-link.active .nav-active-line {
    display: block;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.nav-dropdown > .nav-link::after {
    content: '\25BE';
    margin-left: 4px;
    font-size: var(--text-sm);
    display: inline-block;
    flex-shrink: 0;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border);
    padding: 8px 0;
    min-width: 200px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
    -webkit-transition: opacity 0.25s ease, visibility 0.25s ease, -webkit-transform 0.25s ease;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 1001;
    will-change: transform, opacity;
}

.nav-dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: var(--text-sm);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: var(--bg-gray);
    color: var(--primary);
}

/* ===== Mega Menu 大菜单样式 - 通栏布局 ===== */
.mega-dropdown {
    position: static;
}

.mega-dropdown .nav-link::after {
    content: '\25BE';
    margin-left: 4px;
    font-size: var(--text-sm);
    display: inline-block;
    flex-shrink: 0;
}

/* 通栏大菜单 - 固定在导航栏下方 */
.mega-menu-fullwidth {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 1001;
}

/* 悬停时显示下拉菜单 */
.mega-dropdown:hover .mega-menu-fullwidth,
.mega-dropdown.is-open .mega-menu-fullwidth {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 内容容器 - 1200px居中 */
.mega-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}

/* 产品网格 - 一行3个 */
.mega-menu-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mega-product-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    background: #F8FAFC;
    transition: all 0.2s ease;
    position: relative;
}

.mega-product-card:hover {
    background: #F1F5F9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 生态圈产品卡片特殊样式 */
.mega-product-eco {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border: 1px solid #BAE6FD;
}

.mega-product-eco:hover {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
}

.mega-product-eco .mega-product-name {
    color: #0369A1;
}

.mega-eco-icon {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
}

.mega-product-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary) 0%, #3B82F6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mega-product-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.mega-product-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
    flex-shrink: 0;
}

.mega-product-info {
    flex: 1;
    min-width: 0;
}

.mega-product-name {
    font-size: var(--text-base);
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 4px;
}

.mega-product-card:hover .mega-product-name {
    color: var(--primary);
}

.mega-product-desc {
    font-size: var(--text-sm);
    color: #64748B;
    line-height: 1.5;
}

/* 产品标签 */
.mega-product-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: var(--text-xs);
    font-weight: 600;
}

.mega-product-tag.hot {
    background: #FEE2E2;
    color: #DC2626;
}

.mega-product-tag.new {
    background: #DBEAFE;
    color: #2563EB;
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .mega-menu-container {
        padding: 24px 20px;
    }

    .mega-menu-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .mega-dropdown {
        position: relative;
    }

    .mega-menu-fullwidth {
        position: static;
        width: 100%;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        opacity: 1;
        visibility: visible;
    }

    .mega-dropdown:hover .mega-menu-fullwidth,
    .mega-dropdown.is-open .mega-menu-fullwidth {
        max-height: 800px;
        transform: none;
    }

    .mega-menu-container {
        padding: 20px 16px;
    }

    .mega-menu-products {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mega-product-card {
        padding: 16px;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hotline {
    font-size: var(--text-md);
    color: var(--text-secondary);
    font-weight: 700;
    color: #1E40AF;
}

/* ===== Footer ===== */
.footer {
    background: #0F172A;
    color: #94A3B8;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 60px;
    padding: 64px 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-img {
    height: 32px;
    width: auto;
}

.footer-logo-text {
    font-size: var(--text-md);
    font-weight: 700;
    color: #F1F5F9;
}

.footer-hotline {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hotline-label {
    font-size: var(--text-sm);
    color: #64748B;
}

.hotline-num {
    font-size: var(--text-xl);
    font-weight: 700;
    color: #F1F5F9;
}

.footer-qr {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    background: #1E293B;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.qr-text {
    font-size: var(--text-sm);
    color: #64748B;
}

.footer-col-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: #F1F5F9;
    margin-bottom: 20px;
}

.footer-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-list a {
    font-size: var(--text-sm);
    color: #94A3B8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-link-list a:hover {
    color: #60A5FA;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-list li {
    font-size: var(--text-sm);
    color: #94A3B8;
    line-height: 1.6;
}

.contact-label {
    color: #64748B;
}

.footer-bottom {
    background: #020617;
    border-top: 1px solid #1E293B;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: var(--text-sm);
    color: #64748B;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-links a {
    color: #64748B;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: #94A3B8;
}

.footer-bottom-links a + a::before {
    content: '|';
    margin-right: 12px;
    color: #334155;
}

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

@keyframes growUp {
    from {
        transform: scaleY(0);
        transform-origin: bottom;
    }
    to {
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ===== Sidebar Float ===== */
.sidebar-float {
    position: fixed;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.sidebar-inner {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    border-right: none;
}

.sidebar-item {
    position: relative;
    border-bottom: 1px solid var(--border);
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-item:first-child .sidebar-trigger {
    border-radius: var(--radius-md) 0 0 0;
}

.sidebar-item:last-child .sidebar-trigger {
    border-radius: 0 0 0 var(--radius-md);
}

.sidebar-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    background: #fff;
}

.sidebar-trigger:hover {
    background: var(--primary);
    color: #fff;
}

.sidebar-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.sidebar-icon svg {
    width: 100%;
    height: 100%;
}

.sidebar-label {
    font-size: var(--text-sm);
    font-weight: 500;
    white-space: nowrap;
}

/* Sidebar Popup */
.sidebar-popup {
    position: absolute;
    right: 100%;
    top: 50%;
    -webkit-transform: translateY(-50%) scale(0.95);
    transform: translateY(-50%) scale(0.95);
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border);
    width: 180px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.25s ease, visibility 0.25s ease, -webkit-transform 0.25s ease;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    will-change: transform, opacity;
    margin-right: 8px;
    z-index: 1000;
}

.sidebar-popup.is-visible {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(-50%) scale(1);
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
}

.popup-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-gray);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.popup-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.popup-body {
    padding: 16px;
    text-align: center;
}

.popup-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.popup-phone {
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.popup-time {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.popup-btn {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary);
    color: #fff;
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}

.popup-btn:hover {
    background: var(--primary-dark);
}

/* QR Code Popup */
.popup-qr .popup-body {
    padding: 12px;
}

.popup-qr-code {
    width: 120px;
    height: 120px;
    margin: 0 auto 8px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-gray);
}

.popup-qr-code img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-qr-text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

/* Back to top - hidden by default */
.sidebar-top {
    display: none;
}

.sidebar-top.is-visible {
    display: block;
}

/* ===== Comm Filter Bar (公共控件) ===== */
.comm-filter-container {
    width: 100%;
    padding: 8px 0px;
    background: #fff;
    border-bottom: 1px solid #E2E8F0;
    transition: box-shadow 0.3s ease;
}

.comm-filter-container.is-sticky {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.comm-filter-bar {
    width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.comm-filter-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.comm-filter-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: #64748B;
    text-decoration: none;
    background: #fff;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.comm-filter-tab:hover {
    color: #2563EB;
    border-color: #2563EB;
}

.comm-filter-tab.active {
    background: #2563EB;
    color: #fff;
    border-color: #2563EB;
}

.comm-filter-right {
    display: flex;
    align-items: center;
}

.comm-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    padding: 8px 16px;
    width: 220px;
    transition: all 0.3s ease;
}

.comm-search-box:focus-within {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.comm-search-icon {
    width: 16px;
    height: 16px;
    color: #94A3B8;
    flex-shrink: 0;
}

.comm-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: var(--text-sm);
    color: #1E293B;
    width: 100%;
}

.comm-search-input::placeholder {
    color: #94A3B8;
}

/* Popup arrow */
.sidebar-popup::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #fff;
}

/* ===== Pagination (公用分页控件) ===== */
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.news-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: #64748B;
    text-decoration: none;
    background: #fff;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.news-page-btn:hover:not(.disabled) {
    color: #2563EB;
    border-color: #2563EB;
}

.news-page-btn.disabled {
    color: #CBD5E1;
    cursor: not-allowed;
    pointer-events: none;
}

.news-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: #64748B;
    text-decoration: none;
    background: #fff;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.news-page-num:hover {
    color: #2563EB;
    border-color: #2563EB;
}

.news-page-num.active {
    background: #2563EB;
    color: #fff;
    border-color: #2563EB;
}

.news-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: #94A3B8;
    user-select: none;
}

/* ===== Pagination Container ===== */
.pagination-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.pagination-info {
    font-size: var(--text-sm);
    color: #64748B;
}

/* ===== Empty State ===== */
.case-empty {
    text-align: center;
    padding: 60px 0;
    color: #64748B;
    font-size: var(--text-base);
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar-float {
        display: none;
    }
}

@media (max-width: 640px) {
    .footer-main {
        grid-template-columns: 1fr;
    }
}

/* ===== Top Banner Bar ===== */
.top-banner-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: 64px;
    background: #f5f5f5;
    overflow: hidden;
}

.top-banner-bar.is-closed {
    display: none;
}

body.has-top-banner .header {
    top: 64px;
}

.top-banner-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.top-banner-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    margin: 0;
}

.top-banner-link {
    display: block;
    width: 100%;
    height: 100%;
}

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

.top-banner-dots {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.top-banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.2s ease;
}

.top-banner-dot.active {
    background: #fff;
}

.top-banner-close {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: var(--text-lg);
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 3;
}

.top-banner-close:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* ===== Language Switcher ===== */
.lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
    font-size: var(--text-sm);
    color: #64748B;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border: none;
    background: transparent;
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.lang-toggle:hover {
    background: rgba(100, 116, 139, 0.08);
}

.lang-toggle[aria-expanded="true"] {
    background: rgba(100, 116, 139, 0.08);
}

.lang-arrow {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: currentColor;
}

.lang-switcher.open .lang-arrow,
.lang-toggle[aria-expanded="true"] .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 120px;
    padding: 8px 0;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
}

.lang-switcher.open .lang-dropdown,
.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-link {
    display: block;
    padding: 10px 20px;
    color: #1E293B;
    text-decoration: none;
    font-size: var(--text-sm);
    line-height: 1.5;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.lang-link:hover {
    background: #F1F5F9;
}

.lang-link.active {
    color: #2563EB;
    font-weight: 500;
    background: rgba(37, 99, 235, 0.08);
}
