@charset "utf-8";

/* ==========================================================================
   Tencent Cloud Style Theme for Magic Cube
   Based on Tencent Cloud Design System
   ========================================================================== */

/* 腾讯云风格重构：全局变量（品牌色/中性色/阴影/栅格）- 2025.12.26 */
:root {
    /* Tencent Cloud Brand Colors */
    --primary-color: #0066ff;
    --primary-hover: #0057d2;
    --primary-active: #0047b3;
    --primary-light: #f2f7ff; /* Light background for hovers */
    
    /* Neutrals */
    --bg-white: #FFFFFF;
    --bg-module: #F2F4F8; /* Page background */
    --bg-mask: rgba(0, 0, 0, 0.6);
    
    --border-color: #e6e9f0;
    --border-hover: #0066ff;
    
    --text-main: #171717;
    --text-secondary: #4E5969;
    --text-placeholder: #86909C;
    --text-disabled: #C9CDD4;

    /* Functional Colors */
    --color-accent: #FF7D00;
    --color-success: #00B42A;
    --color-warning: #FF7D00;
    --color-error: #F53F3F;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);

    /* Layout */
    --container-width: 1200px;
    --grid-gutter: 24px;
    --header-height: 60px;
}

/* Base Reset & Typography */
/* 腾讯云风格重构：基础排版（字体/字号/背景）- 2025.12.26 */
html, body {
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    color: var(--text-main);
    background-color: var(--bg-module);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

body.tc-nav-open {
    overflow: hidden;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Utilities */
.text-center { text-align: center; }
.mb-5 { margin-bottom: 3rem !important; }
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-light { background-color: #fff !important; }
.space { padding: 80px 0; }

.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 8px 24px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 2px;
    transition: all 0.2s;
    cursor: pointer;
}

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

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

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
}

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

.btn-outline-light {
    color: #fff;
    border-color: #fff;
    background-color: transparent;
}

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

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

.btn-light:hover {
    background-color: var(--bg-module);
}

.btn-lg {
    padding: 12px 36px;
    font-size: 16px;
}

.btn-sm {
    padding: 4px 12px;
    font-size: 12px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header Styles */
.header-container-wrap {
    /* 腾讯云风格重构：导航栏基础样式 - 2025.12.26 */
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.header-container-wrap.tc-header--compact {
    --header-height: 45px;
}

/* 腾讯云风格重构：导航栏透明态与滚动态 - 2025.12.26 */
.header-container-wrap.tc-header--transparent {
    background: transparent;
    box-shadow: none;
}

.header-container-wrap.sticky-shadow {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.header-container {
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: height 0.2s ease;
}

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

.header-container-left {
    display: flex;
    align-items: center;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    height: 50px;
    margin-right: 40px;
    text-decoration: none;
}

.tc-logo__tagline {
    margin-left: 8px;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-secondary);
}

.tc-logo__img {
    height: 40px;
    max-height: 40px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
}

.navbar-brand .tc-logo__img {
    height: 45px !important;
    max-height: 45px !important;
    width: auto !important;
    transition: height 0.2s ease, max-height 0.2s ease;
}

.header-container-wrap.tc-header--compact .navbar-brand .tc-logo__img {
    height: 36px !important;
    max-height: 36px !important;
}

/* 腾讯云风格重构：左侧文字 LOGO - 2025.12.26 */
.tc-logo__text {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.et-diff-intro {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

.nav-item {
    position: relative;
    line-height: var(--header-height);
    flex: 0 0 auto;
}

.nav-item > a, .nav-item > span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 4px;
    white-space: nowrap;
    position: relative;
}

/* 腾讯云风格重构：菜单 hover 下划线 - 2025.12.26 */
.nav-item > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    height: 2px;
    background: var(--primary-color);
    opacity: 0;
}

.nav-item:hover > a::after,
.nav-item.is-active > a::after {
    opacity: 1;
}

/* 腾讯云风格重构：当前菜单高亮（仅高亮，不做 hover 变色）- 2025.12.27 */
.nav-item.is-active > a {
    color: var(--primary-color);
    font-weight: 700;
}

/* 腾讯云风格重构：透明态下也保持当前菜单高亮 - 2025.12.27 */
.header-container-wrap.tc-header--transparent .nav-item.is-active > a {
    color: var(--primary-color);
}

.header-container-wrap.tc-header--transparent .nav-item > a,
.header-container-wrap.tc-header--transparent .et-trial {
    color: #FFFFFF;
}

.header-container-wrap.tc-header--transparent .menu-icon__bars,
.header-container-wrap.tc-header--transparent .menu-icon__bars::before,
.header-container-wrap.tc-header--transparent .menu-icon__bars::after {
    background: #FFFFFF;
}

.menu-icon__bars {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--text-main);
}

.menu-icon__bars::before,
.menu-icon__bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--text-main);
}

.menu-icon__bars::before {
    top: -6px;
}

.menu-icon__bars::after {
    top: 6px;
}

.menu-arrow {
    width: 10px;
    margin-left: 4px;
}

/* Dropdown Menu */
.nav-topbar-dropdown-wrap {
    position: absolute;
    top: var(--header-height);
    left: -20px;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.2s;
    z-index: 1001;
    border: none;
}

.nav-item--mega .nav-topbar-dropdown-wrap {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-height);
    /* 腾讯云风格重构：Mega 下拉面板（浅灰底 + 居中白色内容区）- 2025.12.28 */
    padding: 0;
    border-radius: 0;
    min-width: 0;
    background: transparent;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border-color);
}

/* 腾讯云风格重构：Mega 内容容器（白色卡片承载）- 2025.12.28 */
/* 腾讯云风格重构：Mega 内容容器（清爽浅色精致版）- 2026.01.07 V2 */
.nav-item--mega .nav-topbar-dropdown-wrap .tc-mega {
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.08), 0 4px 12px -4px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    max-width: 1280px; /* 稍微收窄一点，更精致 */
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.06);
    border-top: none;
}

/* 强制显示下拉菜单（覆盖 menu.css） */
.nav-item--mega:hover .nav-topbar-dropdown-wrap {
    height: auto !important;
    min-height: 520px;
    opacity: 1 !important;
    overflow: visible !important;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.tc-mega {
    display: grid;
    grid-template-columns: 240px 1fr 280px; /* 调整列宽比例 */
    gap: 0;
    min-height: 520px;
    background: #fff;
}

/* 侧边栏：清爽浅灰风格 */
.tc-mega__left {
    background: #F9FAFB; /* 极淡的灰 */
    padding: 24px 16px;
    border-right: 1px solid #EFF0F2;
    color: #4B5563;
}

.tc-mega__all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    margin-bottom: 24px;
    border-radius: 6px;
    background: #fff;
    color: #374151;
    font-weight: 600;
    font-size: 13px; /* 缩小字体 */
    transition: all 0.2s ease;
    border: 1px solid #E5E7EB;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.tc-mega__all:hover {
    background: #fff;
    color: #0066FF;
    border-color: #0066FF;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.1);
    transform: translateY(-1px);
}

.tc-mega__all::after {
    content: "\f061";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    color: #9CA3AF;
    transition: color 0.3s;
}

.tc-mega__all:hover::after {
    color: #0066FF;
}

.tc-mega__group {
    margin-top: 20px;
    padding: 0 4px;
}

.tc-mega__group-title {
    font-size: 12px;
    color: #9CA3AF;
    margin: 0 12px 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tc-mega__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #4B5563;
    font-size: 13px; /* 缩小字体 */
    transition: all 0.2s ease;
    border-radius: 6px;
    position: relative;
    font-weight: 500;
    margin-bottom: 2px;
    border-left: 3px solid transparent;
}

.tc-mega__link i {
    color: #9CA3AF;
    width: 20px;
    text-align: center;
    transition: all 0.2s;
    font-size: 14px; /* 缩小图标 */
}

.tc-mega__link:hover {
    background: #fff;
    color: #0066FF;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.tc-mega__link:hover i {
    color: #0066FF;
    transform: scale(1.1);
}

/* 主内容区：紧凑网格 */
.tc-mega__main {
    padding: 32px;
    background: #fff;
}

.tc-mega__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F3F4F6;
}

.tc-mega__search {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    overflow: hidden;
    background: #F9FAFB;
    flex: 1;
    max-width: 420px;
    transition: all 0.3s ease;
}

.tc-mega__search:hover {
    background: #fff;
    border-color: #D1D5DB;
}

.tc-mega__search:focus-within {
    background: #fff;
    border-color: #0066FF;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.tc-mega__search-input {
    width: 100%;
    border: none;
    outline: none;
    padding: 8px 12px;
    font-size: 13px;
    color: #1F2937;
    height: 40px; /* 减小高度 */
    background: transparent;
}

.tc-mega__search-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #9CA3AF;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.tc-mega__search-btn:hover {
    color: #0066FF;
}

.tc-mega__quick {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.tc-mega__quick a {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    background: #F3F4F6;
    color: #6B7280;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
}

.tc-mega__quick a:hover {
    background: #E0F2FE;
    color: #0284C7;
    transform: translateY(-1px);
}

.tc-mega__block {
    margin-top: 0;
}

.tc-mega__title {
    font-size: 15px; /* 缩小标题 */
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tc-mega__title::before {
    content: "";
    display: block;
    width: 3px;
    height: 14px;
    background: #0066FF;
    border-radius: 2px;
}

.tc-mega__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tc-mega-card {
    display: block;
    border-radius: 8px;
    padding: 20px; /* 减小内边距 */
    background: #fff;
    border: 1px solid #E5E7EB;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
    position: relative;
    z-index: 1;
}

.tc-mega-card:hover {
    border-color: #0066FF;
    box-shadow: 0 8px 24px -6px rgba(0, 102, 255, 0.15);
    transform: translateY(-6px);
    z-index: 2;
}

.tc-mega-card__top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.tc-mega-card__icon {
    width: 44px; /* 缩小图标区域 */
    height: 44px;
    border-radius: 10px;
    background: #F9FAFB;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.4s ease;
    border: 1px solid #F3F4F6;
}

.tc-mega-card:hover .tc-mega-card__icon {
    background: linear-gradient(135deg, #0066FF, #0047CC);
    color: #fff;
    border-color: transparent;
    transform: rotate(-10deg) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 102, 255, 0.2);
}

.tc-mega-card__name {
    font-size: 14px; /* 缩小标题 */
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 6px;
    transition: color 0.2s;
}

.tc-mega-card:hover .tc-mega-card__name {
    color: #0066FF;
}

.tc-mega-card__desc {
    font-size: 12px; /* 缩小描述 */
    color: #6B7280;
    line-height: 1.5;
}

.tc-mega__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 20px;
}

.tc-mega__list a {
    display: flex;
    align-items: center;
    color: #4B5563;
    font-size: 13px; /* 缩小字体 */
    transition: all 0.2s;
    padding: 6px 10px;
    font-weight: 500;
    border-radius: 4px;
    background: #F9FAFB;
}

.tc-mega__list a:hover {
    color: #0066FF;
    background: #EFF6FF;
    transform: translateX(4px);
}

/* 右侧推广区：精致清爽 */
.tc-mega__right {
    background: #F9FAFB;
    border-left: 1px solid #E5E7EB;
    padding: 24px;
}

.tc-mega__promo {
    display: block;
    background: linear-gradient(135deg, #165DFF 0%, #0047CC 100%); /* 调亮一点 */
    border-radius: 8px;
    padding: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px -4px rgba(22, 93, 255, 0.25);
    transition: all 0.4s ease;
}

.tc-mega__promo:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 32px -8px rgba(22, 93, 255, 0.35);
}

.tc-mega__promo-title {
    font-size: 18px; /* 缩小标题 */
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    color: #fff;
    -webkit-text-fill-color: initial;
    background: none;
}

.tc-mega__promo-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
    line-height: 1.5;
    margin-bottom: 12px;
}

.tc-mega__promo-img {
    position: absolute;
    right: -24px;
    bottom: -24px;
    width: 100px; /* 缩小图片 */
    opacity: 0.2;
    z-index: 1;
    transition: transform 0.5s ease;
    filter: none;
}

.tc-mega__promo:hover .tc-mega__promo-img {
    transform: scale(1.15) rotate(-15deg) translateX(-8px);
    opacity: 0.3;
}

.tc-mega__news {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tc-mega__news a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: 6px;
    background: #fff;
    font-size: 13px; /* 缩小字体 */
    color: #374151;
    line-height: 1.5;
    transition: all 0.2s ease;
    border: 1px solid #E5E7EB;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.tc-mega__news a:hover {
    border-color: #0066FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.1);
}

.tc-mega__news a:hover .tc-mega__news-text {
    color: #0066FF;
}

.tc-mega__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    background: #EFF6FF;
    color: #0066FF;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    height: 20px;
}

.tc-mega__tag--new {
    background: #FEF2F2;
    color: #DC2626;
}

.tc-mega__news-text {
    flex: 1;
    font-weight: 500;
    transition: color 0.2s;
}


/* 腾讯云风格重构：下拉面板显示（无位移/缩放）- 2025.12.27 */
.nav-item:hover .nav-topbar-dropdown-wrap,
.nav-item:focus-within .nav-topbar-dropdown-wrap {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.tc-dd-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tc-dd-ico {
    width: 16px;
    text-align: center;
    color: var(--primary-color);
    flex: 0 0 auto;
}

.nav-topbar-dropdown-wrap .tc-dd-item {
    display: flex;
    padding: 10px 20px;
    color: var(--text-main);
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.2s;
}

.nav-topbar-dropdown-wrap .tc-dd-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

/* Right Side Header */
.header-container-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 改动：移动端头部三段式布局容器（桌面保持原有排列） */
.tc-mhdr-center {
    display: flex;
    align-items: center;
}

.tc-mhdr-center:empty {
    display: none;
}

.tc-mhdr-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tc-mhdr-auth {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bor-link {
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 2px;
    transition: all 0.3s;
    text-decoration: none !important;
}

.et-trial {
    color: var(--text-main);
}
.et-trial:hover {
    color: var(--primary-color);
}

.et-demonstract {
    background: var(--primary-color);
    color: #fff !important;
}
.et-demonstract:hover {
    background: var(--primary-hover);
}

/* Mobile Menu Trigger & Sidebar (Desktop Hidden) */
.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 20px;
}

.nav-side-menu {
    display: none; /* Hidden by default on desktop */
}

/* =========================================
   Home Page Sections
   ========================================= */

/* Swiper Banner */
.home-swiper {
    margin-top: var(--header-height); /* Offset fixed header */
    height: 500px;
    background: #000;
}

.home-swiper--light {
    background: var(--bg-module);
}

.swiper-container, .swiper-wrapper, .swiper-slide {
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

.home-swiper--light .banner-content {
    color: var(--text-main);
}

.slogan {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.home-swiper--light .slogan {
    color: var(--text-main);
    text-shadow: none;
}

.banner-content .desc {
    font-size: 20px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.home-swiper--light .banner-content .desc {
    color: var(--text-secondary);
    opacity: 1;
}

.banner-content .features {
    font-size: 14px;
    margin-bottom: 40px;
    opacity: 0.8;
    letter-spacing: 1px;
}

.home-swiper--light .banner-content .features {
    color: var(--text-placeholder);
    opacity: 1;
}

.home-swiper .swiper-button-prev,
.home-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: var(--shadow-sm);
}

.home-swiper .swiper-button-prev:after,
.home-swiper .swiper-button-next:after {
    font-size: 18px;
    color: var(--primary-color);
}

.home-swiper .swiper-pagination-bullet {
    background: rgba(0, 0, 0, 0.22);
    opacity: 1;
}

.home-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

.banner-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Features Section */
.home-features {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.home-features .row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-box {
    text-align: center;
    padding: 20px;
}

.feature-box .icon {
    font-size: 32px;
    color: var(--text-main);
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-main);
}

.feature-box p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

/* Home CTA Section */
.home-cta {
    position: relative;
    overflow: hidden;
    padding: 64px 0;
    background: linear-gradient(135deg, #165DFF 0%, #0F4EEB 45%, #003A99 100%);
    color: #fff;
}

.home-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(520px 260px at 18% 28%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 62%),
        radial-gradient(420px 220px at 86% 64%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 58%);
    pointer-events: none;
}

.home-cta .container {
    position: relative;
    z-index: 1;
}

.home-cta .cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
    padding: 22px 24px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
}

.home-cta .cta-text h2 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 600;
    color: #fff;
}

.home-cta .cta-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.home-cta .cta-btn {
    flex: 0 0 auto;
}

.home-cta .cta-btn .btn-light {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: #165DFF;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.home-cta .cta-btn .btn-light:hover {
    background: #F5F7FF;
    border-color: #F5F7FF;
    color: #0F4EEB;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .home-cta { padding: 48px 0; }
    .home-cta .cta-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }
    .home-cta .cta-btn .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Section Common */
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Product Section */
.product-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* Left Featured Product */
.product-featured {
    flex: 0 0 380px; /* Fixed width */
}

.featured-card {
    background: linear-gradient(135deg, #0052D9 0%, #003A99 100%);
    border-radius: 8px;
    padding: 40px 30px;
    color: #fff;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 480px;
    box-shadow: var(--shadow-md);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 0;
    background: #FF9C19;
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 0 4px 4px 0;
}

.featured-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.featured-desc {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.featured-specs {
    margin-bottom: 40px;
}

.featured-specs li {
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.featured-specs li i {
    margin-right: 10px;
    opacity: 0.8;
}

.price-area {
    margin-bottom: 30px;
}

.price-label { font-size: 14px; opacity: 0.8; }
.price-val { font-size: 36px; font-weight: 700; }
.price-unit { font-size: 14px; opacity: 0.8; }

/* Right Product Grid */
.product-list-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.product-item-card {
    background: var(--bg-white);
    border: none;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    padding: 24px;
    position: relative;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.product-item-card:hover {
    box-shadow: var(--shadow-md);
}

.card-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 2px;
}
.card-tag.new { background: #E8F3FF; color: var(--primary-color); }
.card-tag.hot { background: #FFF7E8; color: #FF9C19; }

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.product-item-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
}

.product-item-card .card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    flex-grow: 1;
}

.card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.card-tags span {
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--bg-module);
    padding: 2px 6px;
    border-radius: 2px;
}

.footer-quote-section {
    padding: 24px 0 8px;
}

.footer-get-quote-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.footer-get-quote {
    min-width: 0;
}

.footer-start-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
}

.footer-start-subtitle {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-phone-container {
    display: flex;
    align-items: center;
    gap: 0;
    height: 42px;
    width: min(520px, 100%);
    background: var(--bg-module);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.footer-phone-input {
    flex: 1;
    height: 100%;
    border: 0;
    outline: none;
    padding: 0 12px;
    background: transparent;
    color: var(--text-main);
    font-size: 14px;
    min-width: 0;
}

.footer-phone-input::placeholder {
    color: var(--text-placeholder);
}

.footer-phone-container:focus-within {
    border-color: rgba(22, 93, 255, 0.35);
    box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.12);
    background: var(--bg-white);
}

.btn-footer-phone {
    height: 100%;
    padding: 0 18px;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn.btn-primary.btn-footer-phone {
    background: #165DFF;
    border-color: #165DFF;
}

.btn.btn-primary.btn-footer-phone:hover {
    background: #0F4EEB;
    border-color: #0F4EEB;
}


.footer-top .row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* 腾讯云风格重构：页脚网站地图（同款大内容导航）- 2025.12.27 */
.tc-footer-sitemap {
    background: var(--bg-white);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 40px;
}

.tc-footer-sitemap__head {
    padding: 24px 24px 0;
}

.tc-footer-sitemap__title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-main);
}

.tc-footer-sitemap__sub {
    font-size: 14px;
    color: var(--text-placeholder);
    margin-top: 8px;
}

.tc-footer-sitemap__divider {
    margin-top: 16px;
    height: 1px;
    background: var(--border-color);
}

.tc-footer-sitemap__body {
    padding: 16px 0 24px;
}

.tc-footer-sitemap .tc-mega {
    grid-template-columns: 260px 1fr 320px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.tc-footer-sitemap .tc-mega__left {
    padding: 16px;
}

.tc-footer-sitemap .tc-mega__main {
    padding: 16px 18px;
}

.tc-footer-sitemap .tc-mega__right {
    padding: 16px;
}

.tc-footer-sitemap .tc-mega__title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #165DFF;
}

.tc-footer-sitemap .tc-mega__title::before {
    content: "";
    width: 3px;
    height: 14px;
    border-radius: 999px;
    background: #165DFF;
    flex: 0 0 auto;
}

.tc-footer-sitemap .tc-mega__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.tc-footer-sitemap .tc-mega-card {
    border-color: var(--border-color);
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.tc-footer-sitemap .tc-mega-card:hover {
    border-color: rgba(22, 93, 255, 0.28);
    transform: translateY(-2px);
}

.tc-footer-sitemap .tc-mega__link,
.tc-footer-sitemap .tc-mega__list a,
.tc-footer-sitemap .tc-mega__news a {
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
    will-change: transform;
}

.tc-footer-sitemap .tc-mega__link:hover,
.tc-footer-sitemap .tc-mega__list a:hover,
.tc-footer-sitemap .tc-mega__news a:hover {
    transform: translateX(4px);
}

.tc-footer-sitemap .tc-mega__group-title {
    color: rgba(22, 93, 255, 0.9);
    font-weight: 600;
}

.tc-footer-sitemap .tc-mega__list {
    gap: 8px 12px;
}

.tc-footer-sitemap .tc-mega__list a {
    border-color: var(--border-color);
}

.tc-footer-sitemap .tc-mega__list a:hover {
    border-color: rgba(22, 93, 255, 0.25);
}

.tc-footer-sitemap .tc-mega__news a {
    border-color: var(--border-color);
}

.tc-footer-sitemap .tc-mega__news a:hover {
    border-color: rgba(22, 93, 255, 0.25);
}

.footer-col ul li a:hover {
    color: #fff !important;
    text-decoration: underline;
}

/* Contact Info in Footer */
.footer-col .fa-fw {
    width: 20px;
    text-align: center;
    margin-right: 8px;
    color: rgba(255,255,255,0.6);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.copyright {
    color: rgba(255,255,255,0.6) !important;
    font-size: 12px;
    line-height: 1.8;
}

.copyright a {
    color: rgba(255,255,255,0.6) !important;
}

.copyright a:hover {
    color: #fff !important;
}

.footer-bottom .nav {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.footer-bottom .nav-item {
    line-height: 1;
}

.footer-bottom .nav-link {
    padding: 0 10px;
    color: rgba(255,255,255,0.6) !important;
    font-size: 12px;
}

.footer-bottom .nav-link:hover {
    color: #fff !important;
}

.stick {
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.2);
    margin: 0 5px;
}


/* Responsive Styles */
@media (max-width: 1200px) {
    .tc-mega {
        grid-template-columns: 220px 1fr 320px;
    }

    .tc-mega__search {
        flex: 0 0 300px;
    }

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

@media (max-width: 991px) {
    .header-container-wrap { height: 60px; }
    .header-container { height: 60px; }
    
    .et-diff-intro { display: none; } /* Hide desktop menu */
    
    .menu-icon { display: block; margin-left: auto; }
    
    .nav-side-menu {
        position: fixed;
        top: 60px;
        right: 0;
        bottom: 0;
        width: 100%;
        background: var(--bg-white);
        z-index: 999;
        overflow-y: auto;
        padding-bottom: 40px;
        box-shadow: var(--shadow-md);
        /* Display is controlled by JS toggling .active class, but we need base state */
        display: none; 
    }
    
    .nav-side-menu.active {
        display: block;
    }
    
    .mobile-menu-item {
        padding: 0;
        border-bottom: 1px solid var(--border-color);
    }
    .mobile-menu-item a {
        display: block;
        color: var(--text-main);
        font-size: 16px;
        padding: 16px 20px;
    }

    /* 腾讯云风格重构：移动端折叠菜单 - 2025.12.26 */
    .mobile-menu-toggle {
        width: 100%;
        text-align: left;
        border: none;
        background: transparent;
        color: var(--text-main);
        font-size: 16px;
        font-weight: 600;
        padding: 16px 20px;
        cursor: pointer;
    }

    .mobile-menu-toggle:hover {
        background: var(--primary-light);
        color: var(--primary-color);
    }

    .mobile-menu-panel {
        background: var(--bg-white);
    }

    .mobile-menu-panel a {
        font-size: 14px;
        color: var(--text-secondary);
        padding: 12px 20px;
        border-top: 1px solid var(--border-color);
    }

    .mobile-menu-panel a:hover {
        background: var(--primary-light);
        color: var(--primary-color);
    }

    .home-features .row {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-layout {
        flex-direction: column;
    }
    .product-featured {
        flex: auto;
        width: 100%;
    }
    .product-list-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

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

    .tc-footer-sitemap__head {
        padding: 20px 20px 0;
    }

    .tc-footer-sitemap__body {
        padding: 12px 0 20px;
    }

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

    .tc-footer-sitemap .tc-mega__left {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .tc-footer-sitemap .tc-mega__right {
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
    .footer-get-quote-section {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 14px;
    }

    .footer-phone-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* 改动：移动端头部（≤768px）三段式布局与安全区适配 */
    .header-container-wrap {
        --header-height: 50px;
        padding-top: env(safe-area-inset-top);
        height: calc(var(--header-height) + env(safe-area-inset-top));
    }

    .header-container-wrap.tc-header--compact {
        --header-height: 50px;
    }

    .header-container {
        height: var(--header-height);
        padding-left: calc(10px + env(safe-area-inset-left));
        padding-right: calc(10px + env(safe-area-inset-right));
        box-sizing: border-box;
    }

    .bor-header-container-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        column-gap: 8px;
        position: relative;
        height: 100%;
    }

    .header-container-left {
        min-width: 0;
    }

    .header-container-right {
        flex: 1 1 auto;
        min-width: 0;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .navbar-brand {
        height: 36px;
        margin-right: 0;
        min-width: 0;
        max-width: min(54vw, 240px);
    }

    .navbar-brand .tc-logo__img {
        height: clamp(28px, 6vw, 34px) !important;
        max-height: clamp(28px, 6vw, 34px) !important;
        width: auto !important;
        max-width: min(54vw, 240px) !important;
    }

    .tc-logo__tagline {
        display: none;
    }

    .tc-mhdr-center {
        position: static;
        transform: none;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        padding: 4px;
        box-sizing: border-box;
        z-index: 1;
        pointer-events: none;
        justify-self: center;
    }

    .tc-mhdr-right {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        min-width: 0;
        justify-self: end;
    }

    .tc-mhdr-auth {
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
        min-width: 0;
    }

    .tc-mhdr-auth .bor-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 32px;
        padding: 0 2px !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        text-decoration: none !important;
        font-size: clamp(11px, 3.1vw, 12px) !important;
        font-weight: 400 !important;
        color: #666 !important;
        line-height: 1.1;
    }

    .tc-mhdr-auth .bor-link + .bor-link {
        position: relative;
        padding-left: 8px !important;
    }

    .tc-mhdr-auth .bor-link + .bor-link::before {
        content: "/";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
    }

    .tc-mhdr-auth .bor-link:hover,
    .tc-mhdr-auth .bor-link:active {
        color: var(--primary-color) !important;
        text-decoration: none !important;
    }

    .tc-mhdr-center .et-demonstract {
        width: clamp(76px, 22vw, 104px);
        height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px !important;
        font-size: clamp(12px, 3.4vw, 13px) !important;
        font-weight: 500;
        padding: 0 !important;
        box-sizing: border-box;
        background-image: linear-gradient(90deg, #165DFF, #0F4EEB) !important;
        color: #fff !important;
        box-shadow: 0 2px 8px rgba(22, 93, 255, 0.18) !important;
        text-decoration: none !important;
        position: relative;
        pointer-events: auto;
    }

    .tc-mhdr-center .et-demonstract::before {
        content: "";
        position: absolute;
        inset: -2px -6px;
        pointer-events: none;
    }

    .tc-mhdr-center .et-demonstract:hover,
    .tc-mhdr-center .et-demonstract:active {
        transform: none !important;
        box-shadow: 0 3px 10px rgba(22, 93, 255, 0.28) !important;
    }

    .menu-icon {
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 0;
    }

    .menu-icon__bars,
    .menu-icon__bars::before,
    .menu-icon__bars::after {
        width: 22px;
    }

    .nav-side-menu {
        top: 0;
        padding-top: calc(var(--header-height) + env(safe-area-inset-top));
        display: block;
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.2s ease;
        will-change: transform;
    }

    .nav-side-menu.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .slogan { font-size: 32px; }
    .banner-content .desc { font-size: 16px; }
    .banner-btns { flex-wrap: wrap; gap: 12px; }
    .solution-grid { grid-template-columns: 1fr; }
    .feature-box { margin-bottom: 20px; }
    
    .footer-top .row {
        grid-template-columns: 1fr;
    }

    .tc-footer-sitemap__head {
        padding: 16px 16px 0;
    }

    .tc-footer-sitemap__body {
        padding: 10px 0 16px;
    }

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

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

@media (max-width: 360px) {
    .navbar-brand {
        max-width: min(48vw, 210px);
    }

    .navbar-brand .tc-logo__img {
        height: 32px !important;
        max-height: 32px !important;
        max-width: min(48vw, 210px) !important;
    }

    .tc-mhdr-center .et-demonstract {
        width: clamp(70px, 20vw, 92px);
    }

    .tc-mhdr-auth {
        gap: 5px;
    }

    .tc-mhdr-auth .bor-link {
        font-size: 11px !important;
    }
}

/* 新增：首页节点测速弹窗 - 2025.12.28 */
.tc-speedtest {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100;
}

.tc-speedtest.is-open {
    display: flex;
}

.tc-speedtest__mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.tc-speedtest__panel {
    position: relative;
    width: min(720px, calc(100vw - 32px));
    background: var(--bg-white);
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.tc-speedtest__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.tc-speedtest__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
}

.tc-speedtest__close {
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    font-size: 20px;
    line-height: 1;
    padding: 6px 8px;
    cursor: pointer;
}

.tc-speedtest__close:hover {
    color: var(--primary-hover);
}

.tc-speedtest__body {
    padding: 20px;
}

.tc-speedtest__form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 16px;
}

.tc-speedtest__field label {
    display: block;
    font-size: 12px;
    color: var(--text-placeholder);
    margin-bottom: 6px;
}

.tc-speedtest__select {
    width: 100%;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0 12px;
    background: var(--bg-white);
    color: var(--text-main);
}

.tc-speedtest__select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 82, 217, 0.12);
}

.tc-speedtest__run {
    height: 40px;
    padding: 0 16px;
    border-radius: 4px;
}

.tc-speedtest__note {
    font-size: 12px;
    color: var(--text-placeholder);
    margin: 0 0 16px;
}

.tc-speedtest__grid {
    display: grid;
    gap: 12px;
}

.tc-speedtest__row {
    display: grid;
    grid-template-columns: 120px 1fr 96px;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 4px;
    background: var(--bg-module);
}

.tc-speedtest__label {
    font-size: 14px;
    color: var(--text-main);
    font-weight: 600;
}

.tc-speedtest__bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 999px;
    overflow: hidden;
}

.tc-speedtest__bar > span {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--primary-color);
    transition: width 0.2s ease;
}

.tc-speedtest__value {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 576px) {
    .tc-speedtest__form {
        grid-template-columns: 1fr;
    }
    .tc-speedtest__run {
        width: 100%;
    }
    .tc-speedtest__row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .tc-speedtest__value {
        text-align: left;
    }
}

/* ==========================================================================
   Tencent Cloud Style Footer - 2026 Refactor
   ========================================================================== */

.tc-footer {
    background-color: #24292e;
    color: #a0a0a0;
    font-size: 14px;
    margin-top: 0;
}

/* Override CTA margin for better flow */
.tc-footer .footer-quote-section {
    margin-bottom: 0;
    border-bottom: 1px solid #eee;
}

.tc-footer-main {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tc-footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.tc-footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 24px;
}

.tc-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tc-footer-list li {
    margin-bottom: 12px;
}

.tc-footer-list a {
    color: #a0a0a0;
    transition: color 0.2s;
    text-decoration: none;
}

.tc-footer-list a:hover {
    color: #fff;
}

.tc-footer-bottom {
    padding: 24px 0;
    background-color: #24292e;
}

.tc-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.tc-copyright p {
    margin: 0;
    color: #787b80;
    font-size: 12px;
}

.tc-copyright a {
    color: #787b80;
    text-decoration: none;
}

.tc-copyright a:hover {
    color: #fff;
}

.tc-footer-links a {
    color: #787b80;
    margin-left: 20px;
    font-size: 12px;
    text-decoration: none;
}

.tc-footer-links a:hover {
    color: #fff;
}

.sep {
    margin: 0 8px;
    color: #444;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .tc-footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .tc-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tc-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .tc-footer-links a {
        margin-left: 0;
        margin-right: 20px;
    }
    .tc-footer-main {
        padding: 40px 0 20px;
    }
}

@media (max-width: 480px) {
    .tc-footer-grid {
        grid-template-columns: 1fr;
    }
    .tc-footer-title {
        margin-bottom: 16px;
    }
}
