/* ========================================
   LedWeb - 自定义样式表 - LED 科技风格
   ======================================== */

/* CSS 变量定义 */
:root {
    /* 主题颜色 - LED 科技蓝色系 */
    --color-primary: #0088ff;
    --color-primary-dark: #0066cc;
    --color-secondary: #00d4ff;
    --color-accent: #ff6b35;
    --color-success: #00c853;
    --color-danger: #ff3d00;
    --color-warning: #ffc107;
    /* 中性色 */
    --color-dark: #1a1a2e;
    --color-dark-light: #16213e;
    --color-gray: #6c757d;
    --color-gray-light: #e9ecef;
    --color-light: #f8f9fa;
    --color-white: #ffffff;
    /* LED 特效色 */
    --led-glow: 0 0 10px rgba(0, 136, 255, 0.8);
    --led-glow-strong: 0 0 20px rgba(0, 136, 255, 1), 0 0 30px rgba(0, 136, 255, 0.8);
    --neon-text-shadow: 0 0 10px rgba(0, 212, 255, 0.8), 0 0 20px rgba(0, 212, 255, 0.5);
    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 136, 255, 0.2);
    --shadow-xl: 0 16px 48px rgba(0, 136, 255, 0.3);
    /* 圆角 */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    /* 过渡 */
    --transition-fast: 0.2s;
    --transition-base: 0.3s;
    --transition-slow: 0.5s;
    /* 渐变背景 */
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #0088ff 50%, #00d4ff 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-led: linear-gradient(135deg, #0088ff 0%, #00d4ff 100%);
}

/* 全局样式重置 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--color-dark);
    overflow-x: hidden;
}

/* 链接样式 */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-base) ease;
}

    a:hover {
        color: var(--color-secondary);
    }

/* ==================== 基础工具类（替代 Tailwind） ==================== */

/* 容器 */
.container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Flexbox 工具类 */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

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

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

/* Flex 辅助类 */
.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.flex-1 {
    flex: 1 1 0%;
}

.flex-grow {
    flex-grow: 1;
}

.flex-grow-0 {
    flex-grow: 0;
}

.flex-shrink {
    flex-shrink: 1;
}

/* 重复的 flex-shrink-0 定义已被删除 */

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

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.items-stretch {
    align-items: stretch;
}

/* ==================== 富文本内容样式 ==================== */
.text-gray-700,
.text-gray-700 p,
.text-gray-700 div {
    color: #374151;
    line-height: 1.75;
}

    .text-gray-700 img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 1rem 0;
    }

    .text-gray-700 h1,
    .text-gray-700 h2,
    .text-gray-700 h3,
    .text-gray-700 h4,
    .text-gray-700 h5,
    .text-gray-700 h6 {
        color: var(--color-dark);
        font-weight: 600;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .text-gray-700 h1 {
        font-size: 2rem;
    }

    .text-gray-700 h2 {
        font-size: 1.75rem;
    }

    .text-gray-700 h3 {
        font-size: 1.5rem;
    }

    .text-gray-700 h4 {
        font-size: 1.25rem;
    }

    .text-gray-700 h5 {
        font-size: 1.1rem;
    }

    .text-gray-700 h6 {
        font-size: 1rem;
    }

    .text-gray-700 p {
        margin-bottom: 1rem;
    }

    .text-gray-700 ul,
    .text-gray-700 ol {
        margin-bottom: 1rem;
        padding-left: 1.5rem;
    }

    .text-gray-700 ul {
        list-style-type: disc;
    }

    .text-gray-700 ol {
        list-style-type: decimal;
    }

    .text-gray-700 li {
        margin-bottom: 0.5rem;
    }

    .text-gray-700 a {
        color: var(--color-primary);
        text-decoration: underline;
    }

        .text-gray-700 a:hover {
            color: var(--color-secondary);
        }

    .text-gray-700 blockquote {
        border-left: 4px solid var(--color-primary);
        padding-left: 1rem;
        margin: 1rem 0;
        color: #6b7280;
        font-style: italic;
    }

    .text-gray-700 table {
        width: 100%;
        border-collapse: collapse;
        margin: 1rem 0;
    }

    .text-gray-700 th,
    .text-gray-700 td {
        border: 1px solid #e5e7eb;
        padding: 0.5rem;
    }

    .text-gray-700 th {
        background-color: #f3f4f6;
        font-weight: 600;
    }

    .text-gray-700 pre {
        background-color: #1a1a2e;
        color: #f8f9fa;
        padding: 1rem;
        border-radius: 8px;
        overflow-x: auto;
        margin: 1rem 0;
    }

    .text-gray-700 code {
        background-color: #f3f4f6;
        color: #dc2626;
        padding: 0.125rem 0.25rem;
        border-radius: 4px;
        font-size: 0.875rem;
    }

    .text-gray-700 pre code {
        background-color: transparent;
        color: inherit;
        padding: 0;
    }

    /* 响应式图片 */
    .text-gray-700 img {
        max-width: 100%;
        height: auto;
    }

.items-start {
    align-items: flex-start;
}

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

.items-end {
    align-items: flex-end;
}

.items-stretch {
    align-items: stretch;
}

.space-x-1 > * + * {
    margin-left: 0.25rem;
}

.space-x-2 > * + * {
    margin-left: 0.5rem;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-x-6 > * + * {
    margin-left: 1.5rem;
}

.space-x-8 > * + * {
    margin-left: 2rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

/* Grid 工具类 */
.grid {
    display: grid;
}

.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));
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* 间距工具类 */
.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

/* 定位工具类 */
.top-1\/2 {
    top: 50%;
}

.absolute {
    position: absolute;
}

.left-3 {
    left: 0.75rem;
}

.transform {
    transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1));
}

.-translate-y-1\/2 {
    transform: translateY(-50%);
}

.-translate-x-1\/2 {
    transform: translateX(-50%);
}

.translate-y-1\/2 {
    transform: translateY(50%);
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.pl-10 {
    padding-left: 2.5rem;
}

.pr-4 {
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.pt-6 {
    padding-top: 1.5rem;
}

.pt-16 {
    padding-top: 4rem;
}

.pb-8 {
    padding-bottom: 2rem;
}

.pb-20 {
    padding-bottom: 5rem;
}

.pt-8 {
    padding-top: 2rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.mr-4 {
    margin-right: 1rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mt-12 {
    margin-top: 3rem;
}

/* 尺寸工具类 */
.w-full {
    width: 100%;
}

.w-10 {
    width: 2.5rem;
}

.w-12 {
    width: 3rem;
}

.w-16 {
    width: 4rem;
}

.w-20 {
    width: 5rem;
}

.h-1 {
    height: 0.25rem;
}

.h-10 {
    height: 2.5rem;
}

.h-12 {
    height: 3rem;
}

.h-16 {
    height: 4rem;
}

.h-20 {
    height: 5rem;
}

.h-48 {
    height: 12rem;
}

.h-64 {
    height: 16rem;
}

/* 颜色背景 */
.bg-primary {
    background-color: var(--color-primary);
}

.bg-secondary {
    background-color: var(--color-secondary);
}

.bg-dark {
    background-color: var(--color-dark);
}

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

.bg-white {
    background-color: var(--color-white);
}

/* 文字颜色 */
.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

.text-dark {
    color: var(--color-dark);
}

.text-gray {
    color: var(--color-gray);
}

.text-white {
    color: var(--color-white);
}

.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: 700;
}

/* 圆角 */
.rounded {
    border-radius: 0.25rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-lg {
    border-radius: 0.75rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* 阴影 */
.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;
}

.fixed {
    position: fixed;
}

.sticky {
    position: sticky;
}

.z-50 {
    z-index: 50;
}

.bottom-8 {
    bottom: 2rem;
}

.right-8 {
    right: 2rem;
}

.top-0 {
    top: 0;
}

/* 显示 */
.hidden {
    display: none;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

/* 文本对齐 */
.text-left {
    text-align: left;
}

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

/* 过渡 */
.transition-all-300 {
    transition: all var(--transition-base) ease;
}

/* 渐变文字 */
.bg-gradient-to-r {
    background: linear-gradient(to right, var(--color-primary-dark), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-clip-text {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-transparent {
    color: transparent;
}

/* 鼠标指针 */
.cursor-pointer {
    cursor: pointer;
}

/* 可见性 */
.invisible {
    visibility: hidden;
}

.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.visible {
    visibility: visible;
}

/* 响应式 */
@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:hidden {
        display: none;
    }

    .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\:flex-row {
        flex-direction: row;
    }

    .md\:flex-col {
        flex-direction: column;
    }

    .md\:mb-0 {
        margin-bottom: 0;
    }

    .md\:space-y-0 > * + * {
        margin-top: 0;
    }

    .md\:space-x-6 > * + * {
        margin-left: 1.5rem;
    }

    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}

@media (min-width: 1024px) {
    .lg\:flex-row {
        flex-direction: row;
    }

    .lg\:flex-col {
        flex-direction: column;
    }

    .lg\:w-1\/3 {
        width: 33.333333%;
    }

    .lg\:w-2\/3 {
        width: 66.666667%;
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* 自定义阴影 */
.shadow-custom {
    box-shadow: var(--shadow-md);
}

.shadow-led {
    box-shadow: var(--led-glow);
}

/* ==================== 导航样式 ==================== */
.nav-link {
    position: relative;
    transition: color var(--transition-base) ease;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gradient-led);
        transition: width var(--transition-base) ease;
        box-shadow: var(--led-glow);
    }

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

/* ==================== 页面标题栏 ==================== */
.page-banner {
    height: 280px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #0ea5e9 100%);
    position: relative;
    overflow: hidden;
}

    .page-banner::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 500px;
        height: 500px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
    }

    .page-banner::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 400px;
        height: 400px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 50%;
    }

.page-banner-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-banner .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-banner .breadcrumb {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    flex-wrap: wrap;
}

    .page-banner .breadcrumb a {
        color: rgba(255, 255, 255, 0.85);
        transition: color var(--transition-base) ease;
    }

        .page-banner .breadcrumb a:hover {
            color: #ffc107;
        }

    .page-banner .breadcrumb .separator {
        margin: 0 0.5rem;
        color: rgba(255, 255, 255, 0.5);
    }

    .page-banner .breadcrumb .current {
        color: #ffc107;
        font-weight: 500;
    }

@media (max-width: 768px) {
    .page-banner {
        height: 220px;
    }

        .page-banner .page-title {
            font-size: 1.75rem;
        }

        .page-banner .breadcrumb {
            font-size: 0.85rem;
        }
}

@media (max-width: 480px) {
    .page-banner {
        height: 180px;
    }

        .page-banner .page-title {
            font-size: 1.5rem;
        }
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

    .breadcrumb a {
        color: rgba(255,255,255,0.85);
        transition: all var(--transition-base) ease;
    }

        .breadcrumb a:hover {
            color: var(--color-secondary);
            text-shadow: var(--neon-text-shadow);
        }

    .breadcrumb .separator {
        margin: 0 0.5rem;
        color: rgba(255,255,255,0.5);
    }

    .breadcrumb .current {
        color: var(--color-secondary);
        font-weight: 500;
        text-shadow: var(--neon-text-shadow);
    }

/* ==================== 卡片样式 ==================== */
.card-base {
    transition: all var(--transition-base) ease;
    border-radius: var(--border-radius-lg);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}


/* 新闻卡片 */
.news-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-base) ease;
    border: 1px solid var(--color-gray-light);
    position: relative;
}

    .news-card:hover {
        /*transform: translateY(-12px);*/
        box-shadow: var(--shadow-lg);
    }

    /* 新闻图片容器 */
    .news-card .h-48 {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--color-light);
    }

    .news-card img {
        transition: transform var(--transition-slow) ease;
        max-height: 100%;
        max-width: 100%;
    }

    .news-card:hover img {
        transform: scale(1.1);
    }

    /* 新闻卡片内容区域 - 悬停时显示在图片上方 */
    .news-card .p-6 {
        transition: all var(--transition-base) ease;
        position: relative;
        z-index: 10;
        background: #ffffff;
    }

    .news-card:hover .p-6 {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(10px);
        padding: 1.5rem;
        z-index: 20;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    }

        .news-card:hover .p-6 h3 a {
            color: var(--color-primary);
            text-decoration: underline;
            background: rgba(255, 255, 255, 0.45);
        }

.news-date {
    transition: all var(--transition-base) ease;
}

.news-card:hover .news-date {
    background: var(--gradient-primary);
    color: var(--color-white);
}

/* 案例卡片 */
.case-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-base) ease;
    border: 1px solid var(--color-gray-light);
    position: relative;
}

    .case-card:hover {
        /*transform: translateY(-12px);*/
        box-shadow: var(--shadow-lg);
        border-color: var(--color-primary);
    }

    /* 案例图片容器 */
    .case-card .h-48 {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--color-light);
    }

    .case-card img {
        transition: transform var(--transition-slow) ease;
        max-height: 100%;
        max-width: 100%;
    }

    .case-card:hover img {
        transform: scale(1.1);
    }

    /* 案例卡片内容区域 - 悬停时显示在图片上方 */
    .case-card .p-6 {
        transition: all var(--transition-base) ease;
        position: relative;
        z-index: 10;
        background: #ffffff;
    }

    .case-card:hover .p-6 {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(10px);
        padding: 1.5rem;
        z-index: 20;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    }

        .case-card:hover .p-6 h3 a {
            color: var(--color-primary);
            /*text-decoration: underline;*/
        }

        .case-card:hover .p-6 a:last-child {
            display: inline-flex;
        }

/* 相关案例卡片 - 简洁样式 */
.related-case-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-base) ease;
    border: 1px solid var(--color-gray-light);
}

    .related-case-card:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-4px);
    }

    .related-case-card img {
        transition: transform var(--transition-slow) ease;
    }

    .related-case-card:hover img {
        transform: scale(1.05);
    }

/* 热门文章卡片 */
.related-news-card {
    transition: all var(--transition-base) ease;
}

    .related-news-card:hover {
        transform: translateY(-3px);
    }

        .related-news-card:hover h4 a {
            color: var(--color-primary);
        }

/* 案例内容样式 */
.case-content {
    line-height: 1.8;
}

    .case-content img {
        max-width: 100%;
        height: auto;
        border-radius: var(--border-radius-md);
        margin: 1rem 0;
    }

    .case-content p {
        margin-bottom: 1rem;
    }

    .case-content h2,
    .case-content h3,
    .case-content h4 {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
        color: var(--color-dark);
    }

/* ==================== 技术卡片 ==================== */
.tech-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base) ease;
    border: 1px solid var(--color-gray-light);
    position: relative;
    overflow: hidden;
}

    .tech-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--gradient-led);
        opacity: 0;
        transition: opacity var(--transition-base) ease;
    }

    .tech-card:hover::before {
        opacity: 1;
    }

    .tech-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        border-color: var(--color-primary);
    }

.tech-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,136,255,0.1) 0%, rgba(0,212,255,0.1) 100%);
    transition: all var(--transition-base) ease;
}

.tech-card:hover .tech-icon-wrapper {
    background: var(--gradient-led);
    transform: rotate(360deg);
}

.tech-card:hover .tech-icon {
    color: var(--color-white);
}

.tech-icon {
    font-size: 2rem;
    color: var(--color-primary);
    transition: all var(--transition-base) ease;
}

/* ==================== 咨询表单区域 ==================== */
.consultation-section {
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.consultation-info {
    background: var(--gradient-primary);
    padding: 3rem;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

    .consultation-info::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    }

.consultation-form {
    background: var(--color-white);
    padding: 3rem;
}

/* ==================== 联系信息卡片 ==================== */
.contact-info-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base) ease;
    border: 1px solid var(--color-gray-light);
}

    .contact-info-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        border-color: var(--color-primary);
    }

.contact-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,136,255,0.1) 0%, rgba(0,212,255,0.1) 100%);
    transition: all var(--transition-base) ease;
}

.contact-info-card:hover .contact-icon-wrapper {
    background: var(--gradient-led);
}

.contact-icon-wrapper:hover .contact-icon {
    color: var(--color-white);
    transform: scale(1.2);
}

.contact-icon {
    font-size: 1.75rem;
    color: var(--color-primary);
    transition: all var(--transition-base) ease;
}

/* ==================== 分类/标签样式 ==================== */
.category-item,
.filter-tag,
.tag-item {
    padding: 0.5rem 1rem;
    margin: 0 5px;
    border-radius: 9999px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base) ease;
    cursor: pointer;
    display: inline-block;
}

    .category-item:hover,
    .filter-tag:hover,
    .tag-item:hover {
        background: var(--color-primary);
        color: var(--color-white);
        border-color: var(--color-primary);
        box-shadow: var(--led-glow);
    }

    .category-item.active,
    .filter-tag.active {
        background: var(--gradient-led);
        color: var(--color-white);
        border-color: transparent;
        box-shadow: var(--led-glow);
    }

/* ==================== FAQ 样式 ==================== */
.faq-item {
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid var(--color-gray-light);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-base) ease;
}

    .faq-question:hover {
        background-color: var(--color-light);
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base) ease;
    border-top: 1px solid var(--color-gray-light);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 10px 15px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer ul, .faq-answer ol, .tech-card ul, .tech-card ol {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

/* ==================== 下载项样式 ==================== */
.download-item {
    transition: background-color var(--transition-base) ease;
}

    .download-item:hover {
        background-color: rgba(0, 136, 255, 0.05);
    }

/* ==================== 按钮样式 ==================== */
.btn-primary {
    background: var(--gradient-led);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    border: none;
    font-weight: 600;
    transition: all var(--transition-base) ease;
    box-shadow: var(--led-glow);
    cursor: pointer;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--led-glow-strong);
        background: var(--gradient-primary);
    }

/* ==================== 表单样式 ==================== */
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-light);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-base) ease;
    font-size: 1rem;
}

    .form-control:focus {
        outline: none;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.1);
    }

/* ==================== 分页样式 ==================== */
.pagination {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

    .pagination .page-link {
        display: block;
        padding: 0.5rem 1rem;
        color: var(--color-primary);
        border: 1px solid var(--color-gray-light);
        border-radius: var(--border-radius-sm);
        transition: all var(--transition-base) ease;
        text-decoration: none;
    }

        .pagination .page-link:hover {
            background-color: var(--color-light);
            border-color: var(--color-primary);
        }

    .pagination .active .page-link {
        background: var(--gradient-led);
        border-color: transparent;
        color: var(--color-white);
    }

/* ==================== 时间线样式 ==================== */
.timeline-item {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 2rem;
    border-left: 2px solid var(--color-gray-light);
}

    .timeline-item::before {
        content: '';
        position: absolute;
        left: -6px;
        top: 0;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--gradient-led);
        box-shadow: var(--led-glow);
    }

/* ==================== 动画 ==================== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: var(--led-glow);
    }

    50% {
        box-shadow: var(--led-glow-strong);
    }
}

/* ==================== 响应式调整 ==================== */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.75rem;
    }

    .consultation-info,
    .consultation-form {
        padding: 1.5rem;
    }

    .tech-card,
    .contact-info-card {
        padding: 1.5rem;
    }

    .tech-icon-wrapper,
    .contact-icon-wrapper {
        width: 60px;
        height: 60px;
    }
}

/* Footer 移动端适配 */
footer {
    padding-left: 0;
    padding-right: 0;
}

footer .container {
    padding-left: 1rem;
    padding-right: 1rem;
}

footer .container > div {
    padding-left: 0;
}

footer h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

footer ul {
    padding-left: 0;
    margin-left: 0;
    list-style-position: inside;
}

footer ul li {
    padding-left: 0.6rem;
}

footer ul li a,
footer ul li span {
    font-size: 0.875rem;
    line-height: 1.5;
}

footer p,
footer .text-gray-300 {
    font-size: 0.875rem;
}

footer .space-y-3 > * + * {
    margin-top: 0.75rem;
}

footer .space-y-4 > * + * {
    margin-top: 1rem;
}

footer .border-t {
    padding-top: 1.5rem;
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
    }

    .consultation-info,
    .consultation-form {
        padding: 1rem;
    }

    .category-item,
    .filter-tag,
    .tag-item {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* ==================== 其他辅助样式 ==================== */
.border-t {
    border-top: 1px solid var(--color-gray-light);
}

.border-white {
    --tw-border-opacity: 1;
    border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}

.border-gray-800 {
    border-top-color: #2d2d2d;
}

.focus\:outline-none:focus {
    outline: none;
}

.min-h-screen {
    min-height: 100vh;
}

.rounded-lg {
    border-radius: var(--border-radius-lg);
}

.shadow {
    box-shadow: var(--shadow-sm);
}

.object-cover {
    object-fit: cover;
}

/* ==================== 补充的工具类 ==================== */
.backdrop-filter {
    backdrop-filter: blur(10px);
}

.backdrop-blur-lg {
    backdrop-filter: blur(16px);
}

.bg-opacity-10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-opacity-20 {
    background-color: rgba(255, 255, 255, 0.2);
}

.opacity-90 {
    opacity: 0.9;
}

.hover\:bg-opacity-20:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hover-scale:hover {
    transform: scale(1.05);
    transition: transform var(--transition-base) ease;
}

.md\:pl-12 {
    padding-left: 3rem;
}

@media (min-width: 768px) {
    .md\:w-1\/2 {
        width: 50%;
    }

    .md\:w-2\/3 {
        width: 66.666667%;
    }

    .md\:w-3\/5 {
        width: 60%;
    }

    .md\:w-1\/3 {
        width: 33.333333%;
    }

    .md\:w-2\/5 {
        width: 40%;
    }

    .md\:pr-8 {
        padding-right: 2rem;
    }
}

.h-48 {
    height: 12rem;
}

.h-full {
    height: 100%;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-2xl {
    max-width: 42rem;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-500 {
    color: #6b7280;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

/* 重复的 flex-shrink-0 定义已被删除 */

.border-white {
    border-color: white;
}

.border-opacity-20 {
    border-color: rgba(255, 255, 255, 0.2);
}

.rounded-lg {
    border-radius: var(--border-radius-lg);
}

.text-red-500 {
    color: #ef4444;
}

.block {
    display: block;
}

/* 特殊组件样式 */
.contact-card {
    padding: 2rem;
    border-radius: var(--border-radius-lg);
}

/* Swiper 分页器样式覆盖 */
.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
}

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

.swiper-button-next,
.swiper-button-prev {
    color: white;
}

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        color: var(--color-secondary);
    }

/* 解决方案图标容器 - 确保图标垂直居中 */
.bg-white.bg-opacity-20.rounded-full.flex.items-center.justify-center i {
    display: inline-block;
    line-height: 1;
}

/* 解决方案卡片内的图标容器居中 */
.text-center .w-16.h-16 {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ==================== 更多辅助类 ==================== */
.bg-gray-100 {
    background-color: #f3f4f6;
}

.rounded-full {
    border-radius: 9999px;
}

.text-gray-600 {
    color: #4b5563;
}

.rounded-pill {
    border-radius: 50rem;
}

.justify-between {
    justify-content: space-between;
}

/* Flex 辅助类 */
.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.flex-1 {
    flex: 1 1 0%;
}

.flex-grow {
    flex-grow: 1;
}

.flex-grow-0 {
    flex-grow: 0;
}

.flex-shrink {
    flex-shrink: 1;
}

/* 重复的 flex-shrink-0 定义已被删除 */

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

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.items-stretch {
    align-items: stretch;
}

/* ==================== 富文本内容样式 ==================== */
.text-gray-700,
.text-gray-700 p,
.text-gray-700 div {
    color: #374151;
    line-height: 1.75;
}

    .text-gray-700 img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 1rem 0;
    }

    .text-gray-700 h1,
    .text-gray-700 h2,
    .text-gray-700 h3,
    .text-gray-700 h4,
    .text-gray-700 h5,
    .text-gray-700 h6 {
        color: var(--color-dark);
        font-weight: 600;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .text-gray-700 h1 {
        font-size: 2rem;
    }

    .text-gray-700 h2 {
        font-size: 1.75rem;
    }

    .text-gray-700 h3 {
        font-size: 1.5rem;
    }

    .text-gray-700 h4 {
        font-size: 1.25rem;
    }

    .text-gray-700 h5 {
        font-size: 1.1rem;
    }

    .text-gray-700 h6 {
        font-size: 1rem;
    }

    .text-gray-700 p {
        margin-bottom: 1rem;
    }

    .text-gray-700 ul,
    .text-gray-700 ol {
        margin-bottom: 1rem;
        padding-left: 1.5rem;
    }

    .text-gray-700 ul {
        list-style-type: disc;
    }

    .text-gray-700 ol {
        list-style-type: decimal;
    }

    .text-gray-700 li {
        margin-bottom: 0.5rem;
    }

    .text-gray-700 a {
        color: var(--color-primary);
        text-decoration: underline;
    }

        .text-gray-700 a:hover {
            color: var(--color-secondary);
        }

    .text-gray-700 blockquote {
        border-left: 4px solid var(--color-primary);
        padding-left: 1rem;
        margin: 1rem 0;
        color: #6b7280;
        font-style: italic;
    }

    .text-gray-700 table {
        width: 100%;
        border-collapse: collapse;
        margin: 1rem 0;
    }

    .text-gray-700 th,
    .text-gray-700 td {
        border: 1px solid #e5e7eb;
        padding: 0.5rem;
    }

    .text-gray-700 th {
        background-color: #f3f4f6;
        font-weight: 600;
    }

    .text-gray-700 pre {
        background-color: #1a1a2e;
        color: #f8f9fa;
        padding: 1rem;
        border-radius: 8px;
        overflow-x: auto;
        margin: 1rem 0;
    }

    .text-gray-700 code {
        background-color: #f3f4f6;
        color: #dc2626;
        padding: 0.125rem 0.25rem;
        border-radius: 4px;
        font-size: 0.875rem;
    }

    .text-gray-700 pre code {
        background-color: transparent;
        color: inherit;
        padding: 0;
    }

    /* 响应式图片 */
    .text-gray-700 img {
        max-width: 100%;
        height: auto;
    }

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

.mb-3 {
    margin-bottom: 0.75rem;
}

/* .flex-col 已在前面定义
.md\:flex-row 在媒体查询中定义
.w-full 已在前面定义
这些是重复定义，已被删除 */

.p-6 {
    padding: 1.5rem;
}

.border {
    border: 1px solid var(--color-gray-light);
}

.hover\:border-primary:hover {
    border-color: var(--color-primary);
}

/* 下载项样式 */
.download-category-item {
    cursor: pointer;
    transition: all var(--transition-base) ease;
}

    .download-category-item.active {
        color: var(--color-primary);
        font-weight: 600;
    }
