/* ============================================
   币安区块链 - 完整样式表（按钮对齐修复版）
   更新内容：
   1. 修复 .adrt-top 添加 flex: 1 自动伸展
   2. 修复 .adrt-text p 添加 min-height 固定3行高度
   3. 确保按钮始终在卡片底部对齐
   ============================================ */

:root {
    --primary-blue: #1652F0;
    --primary-light: #2563eb;
    --primary-dark: #1e3a8a;
    --secondary-blue: #00C6FB;
    --bg-blue-50: #eff6ff;
    --bg-blue-100: #dbeafe;
    --border-blue-200: #bfdbfe;
    --text-white: #ffffff;
    --text-gray-900: #111827;
    --text-gray-800: #1f2937;
    --text-gray-700: #374151;
    --text-gray-600: #4b5563;
    --text-gray-500: #6b7280;
    --border-gray-200: #e5e7eb;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    --font-family-base: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ========== 动画关键帧 ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

/* ========== 动画类 ========== */
.animate-fadeInUp { animation: fadeInUp 0.6s ease-out forwards; opacity: 0; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-bounce { animation: bounce 2s infinite; }
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }

/* 网格动画延迟 */
.grid > .animate-fadeInUp:nth-child(1) { animation-delay: 0s; }
.grid > .animate-fadeInUp:nth-child(2) { animation-delay: 0.1s; }
.grid > .animate-fadeInUp:nth-child(3) { animation-delay: 0.2s; }
.grid > .animate-fadeInUp:nth-child(4) { animation-delay: 0.3s; }
.grid > .animate-fadeInUp:nth-child(5) { animation-delay: 0.4s; }
.grid > .animate-fadeInUp:nth-child(6) { animation-delay: 0.5s; }
.grid > .animate-fadeInUp:nth-child(7) { animation-delay: 0.6s; }
.grid > .animate-fadeInUp:nth-child(8) { animation-delay: 0.7s; }

/* ========== 布局容器类 ========== */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(0.75rem, 2vw, 1.5rem);
    padding-right: clamp(0.75rem, 2vw, 1.5rem);
}

.grid {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
    width: 100%;
}

/* 标准网格列数 */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }

/* ========== Flex 布局类 ========== */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: clamp(0.5rem, 1vw, 1rem); }
.gap-6 { gap: clamp(0.75rem, 1.5vw, 1.5rem); }
.gap-8 { gap: clamp(0.75rem, 1.5vw, 2rem); }
.inline-flex { display: inline-flex; }

/* ========== 间距类 ========== */
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: clamp(1rem, 1.5vw, 1.25rem); }
.p-8 { padding: clamp(1.25rem, 2vw, 2rem); }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: clamp(0.75rem, 2vw, 1.5rem); padding-right: clamp(0.75rem, 2vw, 1.5rem); }
.px-8 { padding-left: clamp(1rem, 2vw, 2rem); padding-right: clamp(1rem, 2vw, 2rem); }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: clamp(1.5rem, 3vw, 3rem); padding-bottom: clamp(1.5rem, 3vw, 3rem); }
.py-16 { padding-top: clamp(2rem, 4vw, 4rem); padding-bottom: clamp(2rem, 4vw, 4rem); }
.mt-6 { margin-top: clamp(1rem, 2vw, 1.5rem); }
.mt-auto { margin-top: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: clamp(0.5rem, 1vw, 1rem); }
.mb-6 { margin-bottom: clamp(0.75rem, 1.5vw, 1.5rem); }
.mb-8 { margin-bottom: clamp(1rem, 2vw, 2rem); }
.mb-10 { margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem); }
.mb-12 { margin-bottom: clamp(1.5rem, 3vw, 3rem); }
.mb-16 { margin-bottom: clamp(1.5rem, 4vw, 4rem); }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ========== 字体排版类 ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-xs { font-size: clamp(0.65rem, 1vw, 0.75rem); }
.text-sm { font-size: clamp(0.75rem, 1.2vw, 0.875rem); }
.text-base { font-size: clamp(0.875rem, 1.4vw, 1rem); }
.text-lg { font-size: clamp(0.9rem, 1.6vw, 1.125rem); }
.text-xl { font-size: clamp(0.95rem, 1.8vw, 1.25rem); }
.text-2xl { font-size: clamp(1rem, 2.2vw, 1.5rem); }
.text-3xl { font-size: clamp(1.25rem, 3vw, 1.875rem); }
.text-4xl { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
.text-5xl { font-size: clamp(1.75rem, 4.5vw, 3rem); }
.text-6xl { font-size: clamp(2rem, 5.5vw, 3.75rem); }
.text-7xl { font-size: clamp(2.25rem, 6.5vw, 4.5rem); }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-none { line-height: 1.2; }

/* ========== 颜色类 - 文字 ========== */
.text-white { color: var(--text-white); }
.text-blue-600 { color: var(--primary-light); }
.text-blue-700 { color: #1d4ed8; }
.text-blue-800 { color: var(--primary-dark); }
.text-gray-500 { color: var(--text-gray-500); }
.text-gray-600 { color: var(--text-gray-600); }
.text-gray-700 { color: var(--text-gray-700); }
.text-gray-800 { color: var(--text-gray-800); }
.text-gray-900 { color: var(--text-gray-900); }
.text-yellow-600 { color: #92400e; }
.text-yellow-700 { color: #a16207; }
.text-orange-600 { color: #9a3412; }
.text-orange-700 { color: #c2410c; }
.text-green-600 { color: #065f46; }
.text-green-700 { color: #047857; }
.text-purple-600 { color: #7c3aed; }

/* ========== 颜色类 - 背景 ========== */
.bg-white { background-color: #fff; }
.bg-blue-50 { background-color: var(--bg-blue-50); }
.bg-blue-100 { background-color: var(--bg-blue-100); }
.bg-blue-600 { background-color: var(--primary-light); }
.bg-green-100 { background-color: #d1fae5; }
.bg-yellow-100 { background-color: #fef3c7; }
.bg-orange-100 { background-color: #ffedd5; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-purple-100 { background-color: #f3e8ff; }

/* ========== 渐变背景类 ========== */
.bg-gradient-to-b { background: linear-gradient(to bottom, var(--bg-blue-50), #fff, var(--bg-blue-50)); }
.bg-gradient-to-br { background: linear-gradient(to bottom right, #fff, var(--bg-blue-50), #fff); }
.bg-gradient-to-r { background: linear-gradient(to right, transparent, #60a5fa, transparent); }
.bg-gradient-to-t { background: linear-gradient(to top, transparent, rgba(255,255,255,0.4)); }

/* ========== 边框类 ========== */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }

.border-gray-200 { border-color: var(--border-gray-200); }
.border-blue-200 { border-color: var(--border-blue-200); }
.border-blue-300 { border-color: #93c5fd; }
.border-blue-600 { border-color: var(--primary-light); }
.border-yellow-200 { border-color: #fde68a; }
.border-green-100 { border-color: #d1fae5; }

.rounded-lg { border-radius: var(--radius-md); }
.rounded-xl { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }
.rounded { border-radius: 0.25rem; }
.rounded-bl-2xl { border-bottom-left-radius: 1rem; }

/* ========== 阴影类 ========== */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* ========== 定位类 ========== */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.top-2 { top: 0.5rem; }
.right-2 { right: 0.5rem; }
.top-20 { top: 5rem; }
.left-10 { left: 2.5rem; }
.bottom-20 { bottom: 5rem; }
.right-10 { right: 2.5rem; }
.top-1\/2 { top: 50%; }
.left-1\/4 { left: 25%; }
.z-10 { z-index: 10; }

/* ========== 尺寸类 ========== */
.w-full { width: 100%; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-40 { width: 10rem; }

.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-1\.5 { height: 0.375rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }

.min-h-\[350px\] { min-height: 350px; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-full { max-width: 100%; }

/* ========== 溢出与显示类 ========== */
.overflow-hidden { overflow: hidden; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }

/* ========== 透明度类 ========== */
.opacity-10 { opacity: 0.1; }
.opacity-40 { opacity: 0.4; }
.opacity-50 { opacity: 0.5; }

/* ========== Backdrop blur ========== */
.backdrop-blur-sm { backdrop-filter: blur(4px); background-color: rgba(255, 255, 255, 0.8); }

/* ========== 交互与过渡类 ========== */
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color, background-color 0.3s ease; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* ========== Hover 状态类 ========== */
.hover\:shadow-lg:hover { box-shadow: var(--shadow-lg); }
.hover\:shadow-xl:hover { box-shadow: var(--shadow-xl); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.hover\:-translate-y-1:hover { transform: translateY(-4px); }
.hover\:-translate-y-3:hover { transform: translateY(-12px); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:bg-blue-50:hover { background-color: var(--bg-blue-50); }
.hover\:bg-blue-100:hover { background-color: #dbeafe; }
.hover\:bg-blue-200:hover { background-color: #bfdbfe; }
.hover\:bg-blue-700:hover { background-color: #1d4ed8; }
.hover\:border-blue-300:hover { border-color: #93c5fd; }
.hover\:border-blue-400:hover { border-color: #60a5fa; }
.hover\:border-blue-500:hover { border-color: #3b82f6; }

/* ========== Group Hover 类 ========== */
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:bg-blue-200 { background-color: #bfdbfe; }
.group:hover .group-hover\:border-blue-300 { border-color: #93c5fd; }
.group:hover .group-hover\:text-blue-600 { color: var(--primary-light); }
.group:hover .group-hover\:text-blue-700 { color: #1d4ed8; }
.group:hover .group-hover\:text-gray-700 { color: #374151; }

/* ========== ADRT 卡片容器 - 关键修改：仅4个或2个，避免3个 ========== */
.adrt-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2vw, 24px);
    padding: clamp(12px, 2vw, 20px);
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* 当无法容纳4个时（约1200px以下），强制变为2列（不会出现3列） */
@media (max-width: 1200px) {
    .adrt-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

/* 平板端保持2列 */
@media (max-width: 768px) {
    .adrt-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* 移动端：小于600px时改为单列（如需保持2列可删除此段） */
@media (max-width: 600px) {
    .adrt-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 12px;
    }
}

/* 超小屏（如iPhone SE）改为单列以防卡片过窄 */
@media (max-width: 400px) {
    .adrt-container {
        grid-template-columns: 1fr;
    }
}

/* ========== ADRT 卡片组件 - 修复按钮对齐问题 ========== */
.adrt-card {
    width: 100%;
    min-height: unset;
    height: 100%;  /* 修改为100%确保等高 */
    background: #fff;
    border: 1px solid var(--border-gray-200);
    border-radius: clamp(8px, 1vw, 12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-family: var(--font-family-base);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.adrt-top {
    display: flex;
    align-items: flex-start;
    padding: clamp(12px, 1.5vw, 16px);
    gap: clamp(10px, 1.2vw, 12px);
    flex: 1 0 auto;  /* 关键修改：允许伸展占据剩余空间，将按钮推到底部 */
    min-height: unset;
}

/* Logobox - 修改背景为黑色，保留渐变边框 */
.adrt-imgbox {
    width: clamp(48px, 5vw, 56px);
    height: clamp(48px, 5vw, 56px);
    min-width: clamp(48px, 5vw, 56px);
    min-height: clamp(48px, 5vw, 56px);
    border-radius: clamp(6px, 0.8vw, 8px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid transparent;
    background: linear-gradient(#000, #000) padding-box,
    linear-gradient(135deg, #1652F0, #00C6FB) border-box;
    padding: clamp(4px, 0.5vw, 6px);
}

.adrt-imgbox svg,
.adrt-imgbox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.adrt-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(4px, 0.6vw, 6px);
}

.adrt-text h3 {
    margin: 0;
    font-size: clamp(16px, 1.4vw, 18px);
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.3;
    height: 1.3em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 描述文字 - 限制3行，固定高度确保对齐 */
.adrt-text p {
    margin: 0;
    font-size: clamp(12px, 1vw, 13px);
    color: var(--text-gray-600);
    line-height: 1.5;
    max-height: calc(1.5em * 3);
    min-height: calc(1.5em * 3);  /* 关键修改：确保最少占据3行高度，统一所有卡片描述区域 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

/* 底部按钮区域 */
.adrt-bottom {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    margin-top: auto;  /* 修改为auto确保始终在底部 */
    border-top: 1px solid #e5e7eb;
    background: #fff;
    min-height: unset;
    flex-shrink: 0;  /* 防止按钮区域被压缩 */
}

/* ========== 按钮组件类 - 修复挤压问题 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    height: 40px;
    min-height: 40px;
    padding: 0 clamp(8px, 1vw, 12px);
    font-size: clamp(13px, 1.1vw, 14px);
    border-radius: 6px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    user-select: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    border: 1px solid transparent;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.btn-download:hover {
    background-color: #1d4ed8;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-register {
    background-color: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.btn-register:hover {
    background-color: #dbeafe;
    border-color: #93c5fd;
}

/* ==================== Footer样式 - Logo间距优化版 ==================== */

/* Footer主容器 */
.q6WoYQoO {
    background: linear-gradient(to bottom, #1e3a8a, #0f172a);
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
}

/* 装饰性顶部光效 */
.q6WoYQoO::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #60a5fa, transparent);
    opacity: 0.6;
}

/* 背景遮罩层 */
.zeP4jmsB {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.2));
    pointer-events: none;
}

/* Footer内容容器 */
.dtVQmdXU {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
    position: relative;
    z-index: 10;
}

/* 网格布局 - 默认单列（移动端优先） */
.vkx8PomM {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Logo区域容器 - 新增：增加与菜单的底部间距 */
.logo-block {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    text-align: center;
}

/* Logo区域样式 - 响应式版本 */
.cbXp8CHU {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.cbXp8CHU .logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

/* 响应式Logo关键样式 */
.cbXp8CHU img {
    width: clamp(36px, 4.5vw, 52px);
    height: clamp(36px, 4.5vw, 52px);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain;
}

/* Logo悬停效果（桌面端） */
@media (hover: hover) {
    .cbXp8CHU img:hover {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    }
}

.cbXp8CHU span {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.fOXWPuIM {
    color: #93c5fd;
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    line-height: 1.6;
    max-width: 260px;
    margin: 0 auto;
    display: block;
}

/* ==========================================
   核心修改：Footer网格布局策略
   策略：空间足够时4列，不够时整体换行
   ========================================== */

/* 桌面端大屏幕（>=1200px）：4列布局，Logo+3菜单并排 */
@media (min-width: 1200px) {
    .vkx8PomM {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 0;
        align-items: start;
    }

    /* Logo区块：重置底部间距（并排时不需要），保留右侧间距 */
    .logo-block {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        text-align: left;
        padding-right: 2.5rem;
    }

    .cbXp8CHU {
        justify-content: flex-start;
    }

    .fOXWPuIM {
        margin: 0;
        text-align: left;
    }

    /* 三个菜单区块左侧边框分隔 */
    .vkx8PomM > div:nth-child(2),
    .vkx8PomM > div:nth-child(3),
    .vkx8PomM > div:nth-child(4) {
        border-left: 1px solid rgba(59, 130, 246, 0.25);
        padding-left: 2rem;
        padding-right: 1rem;
    }

    .vkx8PomM > div:nth-child(4) {
        padding-right: 0;
    }
}

/* 中等屏幕（768px - 1199px）：3菜单整体换行到Logo下方，横向排列 */
@media (min-width: 768px) and (max-width: 1199px) {
    .vkx8PomM {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem 2rem;
    }

    /* Logo区块：占据整行，增加底部间距（与基础样式一致，显式声明防止覆盖） */
    .logo-block {
        grid-column: 1 / -1;
        margin-bottom: 3rem;
        padding-bottom: 3rem;
        text-align: center;
    }

    .cbXp8CHU {
        justify-content: center;
    }

    .fOXWPuIM {
        margin: 0 auto;
        max-width: 400px;
        text-align: center;
    }

    /* 三个菜单区块 */
    .vkx8PomM > div:nth-child(2),
    .vkx8PomM > div:nth-child(3),
    .vkx8PomM > div:nth-child(4) {
        border-left: none;
        padding: 0;
    }

    /* 标题居中 */
    .x06lI9HO,
    .vNoU8w2T,
    .fD5ackXl {
        text-align: center;
        padding-bottom: 0.75rem;
    }

    .x06lI9HO::after,
    .vNoU8w2T::after,
    .fD5ackXl::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* 列表居中 */
    .rmXcw5QM,
    .zXI6BInu,
    .j8WmLBcg {
        align-items: center;
    }

    .rmXcw5QM li,
    .zXI6BInu li,
    .j8WmLBcg li {
        justify-content: center;
        text-align: center;
    }
}

/* 标题样式 - 基础定义 */
.x06lI9HO,
.vNoU8w2T,
.fD5ackXl {
    font-size: clamp(1rem, 1.6vw, 1.125rem);
    font-weight: 600;
    color: #fff;
    margin: 0 0 1.25rem 0;
    position: relative;
    padding-bottom: 0.75rem;
    text-align: left;
}

/* 标题下划线装饰 */
.x06lI9HO::after,
.vNoU8w2T::after,
.fD5ackXl::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2.5rem;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
}

/* 列表样式 - 统一重置 */
.rmXcw5QM,
.zXI6BInu,
.j8WmLBcg {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

/* 列表项统一样式 */
.rmXcw5QM li,
.zXI6BInu li,
.j8WmLBcg li {
    color: #bfdbfe;
    font-size: clamp(0.875rem, 1.2vw, 0.9375rem);
    line-height: 1.6;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

/* 列表项悬停效果 */
.rmXcw5QM li:hover,
.zXI6BInu li:hover,
.j8WmLBcg li:hover {
    color: #fff;
    transform: translateX(4px);
}

/* 箭头图标（悬停显示） */
.rmXcw5QM li::before,
.zXI6BInu li::before,
.j8WmLBcg li::before {
    content: '›';
    color: #60a5fa;
    font-size: 1.25em;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    width: 0.75rem;
}

.rmXcw5QM li:hover::before,
.zXI6BInu li:hover::before,
.j8WmLBcg li:hover::before {
    opacity: 1;
}

/* ==========================================
   联系我们链接样式 - 与其他菜单项完全一致
   ========================================== */

/* 重置联系我们链接的所有按钮样式 */
.j8WmLBcg li a.qrt9bg2g,
.j8WmLBcg li a.qrt9bg2g:hover,
.j8WmLBcg li a.qrt9bg2g:focus {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-decoration: none;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: inline;
    transform: none;
    cursor: pointer;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: none;
    outline: none;
}

/* 确保悬停时与其他菜单项完全一致 */
.j8WmLBcg li:hover a.qrt9bg2g {
    color: #fff;
    background: none !important;
    text-decoration: none;
    transform: translateX(0);
}

/* 移除可能残留的Tailwind类影响 */
.j8WmLBcg li a.qrt9bg2g.border-2,
.j8WmLBcg li a.qrt9bg2g.border-green-500,
.j8WmLBcg li a.qrt9bg2g.text-green-400,
.j8WmLBcg li a.qrt9bg2g.hover\:bg-green-500\/10,
.j8WmLBcg li a.qrt9bg2g.px-8,
.j8WmLBcg li a.qrt9bg2g.py-4,
.j8WmLBcg li a.qrt9bg2g.rounded-lg,
.j8WmLBcg li a.qrt9bg2g.text-xl {
    all: unset;
    color: inherit;
    font-size: inherit;
    display: inline;
    cursor: pointer;
}

/* 底部版权区域 */
.pc318OEq {
    margin-top: clamp(3rem, 6vw, 4rem);
    padding-top: 0;
    text-align: center;
}

.eyaMSuvy {
    color: #64748b;
    font-size: clamp(0.8rem, 1.1vw, 0.875rem);
    margin: 0;
    opacity: 0.8;
}

/* ==================== Footer响应式断点优化 ==================== */

/* 平板端（640px - 767px）：2列布局 */
@media (min-width: 640px) and (max-width: 767px) {
    .vkx8PomM {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 2rem;
    }

    /* Logo区占据整行，保持基础样式中的间距 */
    .logo-block {
        grid-column: 1 / -1;
        margin-bottom: 2.5rem;
        padding-bottom: 2.5rem;
        text-align: center;
    }

    .cbXp8CHU {
        justify-content: center;
    }

    .fOXWPuIM {
        margin: 0 auto;
        text-align: center;
    }

    /* 服务项目+合作平台第一行，联系我们单独一行居中 */
    .vkx8PomM > div:nth-child(2),
    .vkx8PomM > div:nth-child(3) {
        border-left: none;
        padding: 0;
    }

    .vkx8PomM > div:nth-child(4) {
        grid-column: 1 / -1;
        text-align: center;
        border-left: none;
        padding: 0;
    }

    /* 标题居中 */
    .x06lI9HO,
    .vNoU8w2T,
    .fD5ackXl {
        text-align: center;
    }

    .x06lI9HO::after,
    .vNoU8w2T::after,
    .fD5ackXl::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* 列表居中 */
    .rmXcw5QM,
    .zXI6BInu,
    .j8WmLBcg {
        align-items: center;
    }

    .rmXcw5QM li,
    .zXI6BInu li,
    .j8WmLBcg li {
        justify-content: center;
        text-align: center;
    }
}

/* 移动端（<640px）：单列，严格左对齐 */
@media (max-width: 639px) {
    .vkx8PomM {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Logo居中，保持基础样式中的间距 */
    .logo-block {
        text-align: center;
        margin-bottom: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .cbXp8CHU {
        justify-content: center;
    }

    .fOXWPuIM {
        margin: 0 auto;
        text-align: center;
    }

    /* 所有菜单区块严格左对齐 */
    .vkx8PomM > div:nth-child(2),
    .vkx8PomM > div:nth-child(3),
    .vkx8PomM > div:nth-child(4) {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        width: 100%;
    }

    /* 标题严格左对齐 */
    .x06lI9HO,
    .vNoU8w2T,
    .fD5ackXl {
        text-align: left;
        margin-bottom: 1rem;
        font-size: 1.05rem;
    }

    .x06lI9HO::after,
    .vNoU8w2T::after,
    .fD5ackXl::after {
        left: 0;
        transform: none;
        width: 2rem;
    }

    /* 列表严格左对齐 */
    .rmXcw5QM,
    .zXI6BInu,
    .j8WmLBcg {
        align-items: flex-start;
        gap: 0.5rem;
    }

    .rmXcw5QM li,
    .zXI6BInu li,
    .j8WmLBcg li {
        justify-content: flex-start;
        width: 100%;
        text-align: left;
    }

    /* 移动端始终显示半透明箭头 */
    .rmXcw5QM li::before,
    .zXI6BInu li::before,
    .j8WmLBcg li::before {
        opacity: 0.5;
    }
}

/* 小屏幕Logo微调 */
@media (max-width: 480px) {
    .cbXp8CHU img {
        width: 36px;
        height: 36px;
    }
    .cbXp8CHU span {
        font-size: 1.05rem;
    }
}

/* ==================== ADRT按钮响应式修复 ==================== */

/* 小屏幕按钮垂直排列，防止挤压 */
@media (max-width: 480px) {
    .adrt-bottom {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }

    .btn {
        width: 100%;
        height: 44px;
        min-height: 44px;
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .adrt-card {
        margin-bottom: 8px;
    }

    .adrt-bottom {
        margin-top: 8px;
    }
}

/* sm断点 */
@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
}

/* md断点 */
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .md\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .md\:flex-row { flex-direction: row; }
    .md\:text-6xl { font-size: clamp(2.5rem, 4vw, 3.75rem); }
    .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
}

/* lg断点 */
@media (min-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .lg\:grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
    .lg\:text-7xl { font-size: clamp(3rem, 5vw, 4.5rem); }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* xl断点 */
@media (min-width: 1200px) {
    .container { max-width: 1400px; }
    .xl\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .xl\:grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .hover\:shadow-lg:hover,
    .hover\:shadow-xl:hover,
    .hover\:shadow-2xl:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }

    .hover\:-translate-y-1:hover,
    .hover\:-translate-y-3:hover,
    .hover\:scale-105:hover { transform: none; }

    .adrt-card:active,
    .group:active { transform: scale(0.98); }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    .animate-fadeInUp,
    .animate-pulse,
    .animate-bounce,
    .animate-ping { animation: none; }

    .animate-fadeInUp { opacity: 1; }
    .transition-all,
    .transition-colors { transition: none; }
}

/* 打印样式 */
@media print {
    .adrt-container,
    .grid { display: block; }

    .adrt-card,
    .group { page-break-inside: avoid; margin-bottom: 1rem; }

    .shadow-md,
    .shadow-lg,
    .shadow-xl,
    .shadow-sm,
    .hover\:shadow-lg,
    .hover\:shadow-xl { box-shadow: none; border: 1px solid #ddd; }

    .bg-gradient-to-b,
    .bg-gradient-to-br,
    .bg-gradient-to-r { background: #fff; }

    .animate-fadeInUp { opacity: 1; }
}

/* SVG 样式 */
.st0 { fill-rule: evenodd; clip-rule: evenodd; fill: #FFF; }
.st1 { fill: #1652F0; }