/* ==========================================================
   tailwind-mac-safari.css - 完整兼容版
   包含：所有 Tailwind 工具类 + Mac Safari 兼容修复
   版本：5.0 - 完全自包含，不依赖 CDN
   ========================================================== */

/* ==========================================================
   第一部分：Tailwind 基础重置（Preflight）
   ========================================================== */

*,
::before,
::after {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
    --tw-contain-size: ;
    --tw-contain-layout: ;
    --tw-contain-paint: ;
    --tw-contain-style: ;
}

::backdrop {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
    --tw-contain-size: ;
    --tw-contain-layout: ;
    --tw-contain-paint: ;
    --tw-contain-style: ;
}

*,
::after,
::before {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

::after,
::before {
    --tw-content: '';
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    line-height: inherit;
}

hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
}

abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

a {
    color: inherit;
    text-decoration: inherit;
}

b, strong {
    font-weight: bolder;
}

code, kbd, pre, samp {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-feature-settings: normal;
    font-variation-settings: normal;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}
sup {
    top: -0.5em;
}

table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

button, select {
    text-transform: none;
}

button, input:where([type=button]), input:where([type=reset]), input:where([type=submit]) {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none;
}

:-moz-focusring {
    outline: auto;
}

:-moz-ui-invalid {
    box-shadow: none;
}

progress {
    vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

summary {
    display: list-item;
}

blockquote, dd, dl, figure, h1, h2, h3, h4, h5, h6, hr, p, pre {
    margin: 0;
}

fieldset {
    margin: 0;
    padding: 0;
}

legend {
    padding: 0;
}

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

dialog {
    padding: 0;
}

textarea {
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    opacity: 1;
    color: #9ca3af;
}

[role=button],
button {
    cursor: pointer;
}

:disabled {
    cursor: default;
}

audio, canvas, embed, iframe, img, object, svg, video {
    display: block;
    vertical-align: middle;
}

img, video {
    max-width: 100%;
    height: auto;
}

[hidden]:where(:not([hidden=until-found])) {
    display: none;
}

/* ==========================================================
   第二部分：工具类（从编译后的 CSS 提取）
   ========================================================== */

/* ---------- 指针事件 ---------- */
.pointer-events-none { pointer-events: none; }

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

/* ---------- 定位 ---------- */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { inset: 0px; }
.bottom-10 { bottom: 2.5rem; }
.bottom-8 { bottom: 2rem; }
.left-0 { left: 0px; }
.left-1\/2 { left: 50%; }
.right-0 { right: 0px; }
.right-8 { right: 2rem; }
.top-0 { top: 0px; }
.top-1\/2 { top: 50%; }

/* ---------- z-index ---------- */
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* ---------- 边距 ---------- */
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.ml-1 { margin-left: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }

/* ---------- 文本溢出 ---------- */
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* ---------- 显示 ---------- */
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

/* ---------- 宽高比 ---------- */
.aspect-\[16\/9\] {
    aspect-ratio: 16 / 9;
}
.aspect-\[3\/4\] {
    aspect-ratio: 3 / 4;
}

/* ---------- 高度 ---------- */
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-\[800px\] { height: 800px; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }

/* ---------- 宽度 ---------- */
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-48 { width: 12rem; }
.w-80 { width: 20rem; }
.w-\[350px\] { width: 350px; }
.w-\[800px\] { width: 800px; }
.w-full { width: 100%; }
.w-max { width: max-content; }

/* ---------- 最大宽度 ---------- */
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-\[95\%\] { max-width: 95%; }

/* ---------- Flex ---------- */
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }

/* ---------- Transform ---------- */
.-translate-x-1\/2 {
    --tw-translate-x: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.-translate-y-1\/2 {
    --tw-translate-y: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-x-full {
    --tw-translate-x: 100%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-y-0 {
    --tw-translate-y: 0px;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-y-10 {
    --tw-translate-y: 2.5rem;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* ---------- 动画 ---------- */
@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}
.animate-bounce { animation: bounce 1s infinite; }

/* ---------- Grid ---------- */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Flex 方向 ---------- */
.flex-col { flex-direction: column; }

/* ---------- Flex 对齐 ---------- */
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* ---------- Gap ---------- */
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

/* ---------- Space ---------- */
.space-x-3 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(0.75rem * var(--tw-space-x-reverse));
    margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-4 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(1rem * var(--tw-space-x-reverse));
    margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-8 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(2rem * var(--tw-space-x-reverse));
    margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

/* ---------- 溢出 ---------- */
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }

/* ---------- 空白 ---------- */
.whitespace-nowrap { white-space: nowrap; }

/* ---------- 圆角 ---------- */
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }

/* ---------- 边框 ---------- */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-white { border-color: #ffffff; }
.border-white\/30 { border-color: rgba(255, 255, 255, 0.3); }

/* ---------- 背景色 ---------- */
.bg-brand-dark { background-color: #1A1A1A; }
.bg-brand-gold { background-color: #C5A065; }
.bg-brand-gray { background-color: #F5F5F7; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-300 { background-color: #d1d5db; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-white { background-color: #ffffff; }

/* ---------- 背景渐变 ---------- */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.from-amber-900\/80 {
    --tw-gradient-from: rgba(120, 53, 15, 0.8);
    --tw-gradient-to: rgba(120, 53, 15, 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-black\/80 {
    --tw-gradient-from: rgba(0, 0, 0, 0.8);
    --tw-gradient-to: rgba(0, 0, 0, 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-100 {
    --tw-gradient-from: #dbeafe;
    --tw-gradient-to: rgba(219, 234, 254, 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-emerald-900\/80 {
    --tw-gradient-from: rgba(6, 78, 59, 0.8);
    --tw-gradient-to: rgba(6, 78, 59, 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-indigo-900\/80 {
    --tw-gradient-from: rgba(49, 46, 129, 0.8);
    --tw-gradient-to: rgba(49, 46, 129, 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-rose-900\/80 {
    --tw-gradient-from: rgba(136, 19, 55, 0.8);
    --tw-gradient-to: rgba(136, 19, 55, 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-amber-900\/40 {
    --tw-gradient-to: rgba(120, 53, 15, 0);
    --tw-gradient-stops: var(--tw-gradient-from), rgba(120, 53, 15, 0.4), var(--tw-gradient-to);
}
.via-black\/30 {
    --tw-gradient-to: rgba(0, 0, 0, 0);
    --tw-gradient-stops: var(--tw-gradient-from), rgba(0, 0, 0, 0.3), var(--tw-gradient-to);
}
.via-emerald-900\/30 {
    --tw-gradient-to: rgba(6, 78, 59, 0);
    --tw-gradient-stops: var(--tw-gradient-from), rgba(6, 78, 59, 0.3), var(--tw-gradient-to);
}
.via-indigo-900\/30 {
    --tw-gradient-to: rgba(49, 46, 129, 0);
    --tw-gradient-stops: var(--tw-gradient-from), rgba(49, 46, 129, 0.3), var(--tw-gradient-to);
}
.via-purple-50 {
    --tw-gradient-to: rgba(250, 245, 255, 0);
    --tw-gradient-stops: var(--tw-gradient-from), #faf5ff, var(--tw-gradient-to);
}
.via-rose-900\/30 {
    --tw-gradient-to: rgba(136, 19, 55, 0);
    --tw-gradient-stops: var(--tw-gradient-from), rgba(136, 19, 55, 0.3), var(--tw-gradient-to);
}

.to-amber-50 { --tw-gradient-to: #fffbeb; }
.to-transparent { --tw-gradient-to: transparent; }

/* ---------- 背景大小 ---------- */
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }

/* ---------- 内边距 ---------- */
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.pb-8 { padding-bottom: 2rem; }
.pl-4 { padding-left: 1rem; }
.pt-16 { padding-top: 4rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }

/* ---------- 文本 ---------- */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }

/* ---------- 字体粗细 ---------- */
.font-bold { font-weight: 700; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }

/* ---------- 字体样式 ---------- */
.italic { font-style: italic; }

/* ---------- 行高 ---------- */
.leading-relaxed { line-height: 1.625; }
.leading-snug { line-height: 1.375; }
.leading-tight { line-height: 1.25; }

/* ---------- 字间距 ---------- */
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-tight { letter-spacing: -0.025em; }

/* ---------- 文本颜色 ---------- */
.text-amber-100 { color: #fef3c7; }
.text-amber-700 { color: #b45309; }
.text-brand-dark { color: #1A1A1A; }
.text-brand-gold { color: #C5A065; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-white { color: #ffffff; }

/* ---------- 文本装饰 ---------- */
.underline { text-decoration-line: underline; }

/* ---------- 透明度 ---------- */
.opacity-0 { opacity: 0; }
.opacity-10 { opacity: 0.1; }
.opacity-100 { opacity: 1; }
.opacity-60 { opacity: 0.6; }

/* ---------- 阴影 ---------- */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* ---------- 模糊 ---------- */
.blur-\[100px\] {
    filter: blur(100px);
    -webkit-filter: blur(100px);
}

/* ---------- 过渡 ---------- */
.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* ---------- 延迟 ---------- */
.delay-100 { transition-delay: 100ms; }
.delay-150 { transition-delay: 150ms; }

/* ---------- 持续时间 ---------- */
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

/* ==========================================================
   第三部分：Hover 状态
   ========================================================== */

.hover\:-translate-y-0\.5:hover {
    --tw-translate-y: -0.125rem;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:-translate-y-1:hover {
    --tw-translate-y: -0.25rem;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:-translate-y-2:hover {
    --tw-translate-y: -0.5rem;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:scale-\[1\.02\]:hover {
    --tw-scale-x: 1.02;
    --tw-scale-y: 1.02;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:border-brand-dark:hover { border-color: #1A1A1A; }
.hover\:bg-amber-50:hover { background-color: #fffbeb; }
.hover\:bg-brand-gold:hover { background-color: #C5A065; }
.hover\:bg-white:hover { background-color: #ffffff; }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }
.hover\:text-amber-700:hover { color: #b45309; }
.hover\:text-brand-dark:hover { color: #1A1A1A; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:shadow-2xl:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.hover\:shadow-md:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* ==========================================================
   第四部分：Group Hover
   ========================================================== */

.group:hover .group-hover\:visible { visibility: visible; }
.group:hover .group-hover\:mb-3 { margin-bottom: 0.75rem; }
.group:hover .group-hover\:scale-110 {
    --tw-scale-x: 1.1;
    --tw-scale-y: 1.1;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.group:hover .group-hover\:opacity-100 { opacity: 1; }

/* ==========================================================
   第五部分：响应式 (sm)
   ========================================================== */

@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:px-4 { padding-left: 1rem; padding-right: 1rem; }
}

/* ==========================================================
   第六部分：响应式 (md)
   ========================================================== */

@media (min-width: 768px) {
    .md\:mb-2 { margin-bottom: 0.5rem; }
    .md\:aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
    .md\:w-\[400px\] { width: 400px; }
    .md\:translate-y-4 {
        --tw-translate-y: 1rem;
        transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
    }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:gap-6 { gap: 1.5rem; }
    .md\:rounded-2xl { border-radius: 1rem; }
    .md\:p-6 { padding: 1.5rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
    .md\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:opacity-0 { opacity: 0; }
    .group:hover .md\:group-hover\:translate-y-0 {
        --tw-translate-y: 0px;
        transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
    }
    .group:hover .md\:group-hover\:opacity-100 { opacity: 1; }
}

/* ==========================================================
   第七部分：响应式 (lg)
   ========================================================== */

@media (min-width: 1024px) {
    .lg\:mb-2 { margin-bottom: 0.5rem; }
    .lg\:mb-3 { margin-bottom: 0.75rem; }
    .lg\:mb-6 { margin-bottom: 1.5rem; }
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:aspect-\[3\/4\] { aspect-ratio: 3 / 4; }
    .lg\:h-12 { height: 3rem; }
    .lg\:w-12 { width: 3rem; }
    .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\:items-center { align-items: center; }
    .lg\:justify-end { justify-content: flex-end; }
    .lg\:gap-6 { gap: 1.5rem; }
    .lg\:gap-8 { gap: 2rem; }
    .lg\:rounded-3xl { border-radius: 1.5rem; }
    .lg\:bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
    .lg\:from-amber-900\/20 {
        --tw-gradient-from: rgba(120, 53, 15, 0.2);
        --tw-gradient-to: rgba(120, 53, 15, 0);
        --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
    }
    .lg\:from-blue-900\/20 {
        --tw-gradient-from: rgba(30, 58, 138, 0.2);
        --tw-gradient-to: rgba(30, 58, 138, 0);
        --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
    }
    .lg\:from-emerald-900\/20 {
        --tw-gradient-from: rgba(6, 78, 59, 0.2);
        --tw-gradient-to: rgba(6, 78, 59, 0);
        --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
    }
    .lg\:from-gray-900\/20 {
        --tw-gradient-from: rgba(17, 24, 39, 0.2);
        --tw-gradient-to: rgba(17, 24, 39, 0);
        --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
    }
    .lg\:from-rose-900\/20 {
        --tw-gradient-from: rgba(136, 19, 55, 0.2);
        --tw-gradient-to: rgba(136, 19, 55, 0);
        --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
    }
    .lg\:to-amber-900\/70 { --tw-gradient-to: rgba(120, 53, 15, 0.7); }
    .lg\:to-blue-900\/70 { --tw-gradient-to: rgba(30, 58, 138, 0.7); }
    .lg\:to-emerald-900\/70 { --tw-gradient-to: rgba(6, 78, 59, 0.7); }
    .lg\:to-gray-900\/70 { --tw-gradient-to: rgba(17, 24, 39, 0.7); }
    .lg\:to-rose-900\/70 { --tw-gradient-to: rgba(136, 19, 55, 0.7); }
    .lg\:p-8 { padding: 2rem; }
    .lg\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .lg\:text-center { text-align: center; }
    .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
    .lg\:text-8xl { font-size: 6rem; line-height: 1; }
    .lg\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
    .lg\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .lg\:opacity-0 { opacity: 0; }
    .group:hover .lg\:group-hover\:opacity-100 { opacity: 1; }
}

/* ==========================================================
   第八部分：Mac Safari 兼容修复
   ========================================================== */

/* ---------- 1. 全局移除所有链接下划线 ---------- */
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
}

/* ---------- 3:4 比例（产品分类卡片） ---------- */
.aspect-\[3\/4\] {
    aspect-ratio: 3 / 4;
}

/* ---------- 16:9 比例（应用行业卡片） ---------- */
.aspect-\[16\/9\] {
    aspect-ratio: 16 / 9;
}

/* ---------- Mac Safari 降级方案 ---------- */
@supports not (aspect-ratio: 3/4) {
    /* 3:4 比例降级 */
    .aspect-\[3\/4\] {
        padding-top: 133.33% !important;
        position: relative !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    .aspect-\[3\/4\] > * {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    /* 16:9 比例降级 */
    .aspect-\[16\/9\] {
        padding-top: 56.25% !important;
        position: relative !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    .aspect-\[16\/9\] > * {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

/* ---------- 响应式 ---------- */
@media (min-width: 768px) {
    .md\:aspect-\[16\/9\] {
        aspect-ratio: 16 / 9;
    }
    @supports not (aspect-ratio: 16/9) {
        .md\:aspect-\[16\/9\] {
            padding-top: 56.25% !important;
            position: relative !important;
            height: 0 !important;
            overflow: hidden !important;
        }
        .md\:aspect-\[16\/9\] > * {
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            height: 100% !important;
        }
    }
}

@media (min-width: 1024px) {
    .lg\:aspect-\[3\/4\] {
        aspect-ratio: 3 / 4;
    }
    @supports not (aspect-ratio: 3/4) {
        .lg\:aspect-\[3\/4\] {
            padding-top: 133.33% !important;
            position: relative !important;
            height: 0 !important;
            overflow: hidden !important;
        }
        .lg\:aspect-\[3\/4\] > * {
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            height: 100% !important;
        }
    }
}

/* ---------- 3. 修复 gap 在 Safari 中的兼容性 ---------- */
@supports not (gap: 1rem) {
    .gap-1 > * + * { margin-top: 0.25rem; }
    .gap-2 > * + * { margin-top: 0.5rem; }
    .gap-3 > * + * { margin-top: 0.75rem; }
    .gap-4 > * + * { margin-top: 1rem; }
    .gap-6 > * + * { margin-top: 1.5rem; }
    .gap-8 > * + * { margin-top: 2rem; }
    .flex-row.gap-1 > * + * { margin-left: 0.25rem; margin-top: 0; }
    .flex-row.gap-2 > * + * { margin-left: 0.5rem; margin-top: 0; }
    .flex-row.gap-3 > * + * { margin-left: 0.75rem; margin-top: 0; }
    .flex-row.gap-4 > * + * { margin-left: 1rem; margin-top: 0; }
    .flex-row.gap-6 > * + * { margin-left: 1.5rem; margin-top: 0; }
    .flex-row.gap-8 > * + * { margin-left: 2rem; margin-top: 0; }
}

/* ---------- 4. 修复 backdrop-filter 在 Safari 中的渲染 ---------- */
.glass-nav,
.mobile-menu__panel,
.glass {
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
    will-change: transform !important;
}

/* ---------- 5. 修复 overflow + border-radius 组合问题 ---------- */
.overflow-hidden {
    -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
    mask-image: radial-gradient(white, black) !important;
}

/* ---------- 6. 修复 transform 居中精度 ---------- */
.-translate-x-1\/2,
.-translate-y-1\/2 {
    -webkit-transform: translate(-50%, -50%) !important;
    transform: translate(-50%, -50%) !important;
}

/* ---------- 7. 修复 w-max 在 Safari 中的兼容性 ---------- */
.w-max {
    width: -webkit-max-content !important;
    width: -moz-max-content !important;
    width: max-content !important;
}

/* ---------- 8. 修复 flex/grid 在 Safari 中的渲染问题 ---------- */
.flex {
    display: -webkit-flex !important;
    display: flex !important;
}
.grid {
    display: -ms-grid !important;
    display: grid !important;
}

/* ---------- 9. 修复 line-clamp 在 Safari 中的兼容性 ---------- */
.line-clamp-2 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* ---------- 10. 修复 hover 效果 ---------- */
.group:hover .group-hover\:scale-110 {
    -webkit-transform: scale(1.1) !important;
    transform: scale(1.1) !important;
}
.group:hover .group-hover\:opacity-100 {
    opacity: 1 !important;
}
.group:hover .group-hover\:translate-y-0 {
    -webkit-transform: translateY(0) !important;
    transform: translateY(0) !important;
}

/* ---------- 11. 修复动画兼容性 ---------- */
.animate-bounce {
    -webkit-animation: bounce 1s infinite !important;
    animation: bounce 1s infinite !important;
}

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

/* ---------- 12. 修复图片在 Safari 中的显示 ---------- */
img {
    max-width: 100% !important;
    height: auto !important;
}
.bg-cover {
    -webkit-background-size: cover !important;
    background-size: cover !important;
}
.bg-center {
    background-position: center !important;
    -webkit-background-position: center !important;
}
.object-cover {
    -o-object-fit: cover !important;
    object-fit: cover !important;
}

/* ---------- 13. 修复滚动条 ---------- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #C5A065;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b08d55;
}

/* ---------- 14. 修复文字渲染 ---------- */
body {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* ==========================================================
   第九部分：自定义品牌颜色（确保生效）
   ========================================================== */

.bg-brand-dark { background-color: #1A1A1A !important; }
.bg-brand-gold { background-color: #C5A065 !important; }
.bg-brand-gray { background-color: #F5F5F7 !important; }
.bg-brand-light { background-color: #FFFFFF !important; }
.text-brand-gold { color: #C5A065 !important; }
.text-brand-dark { color: #1A1A1A !important; }
.border-brand-dark { border-color: #1A1A1A !important; }
.border-brand-gold { border-color: #C5A065 !important; }

/* ==========================================================
   结束
   ========================================================== */
   
   /* ==========================================================
   产品列表页专用样式（Mac Safari 兼容）
   新增于 2026-07-22
   ========================================================== */

/* ---------- 1. 新增间距工具类 ---------- */
.mb-3 { margin-bottom: 0.75rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-3 { margin-top: 0.75rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.gap-2 { gap: 0.5rem !important; }

/* ---------- 2. 新增内边距 ---------- */
.py-20 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.pb-16 { padding-bottom: 4rem !important; }
.pt-24 { padding-top: 6rem !important; }

/* ---------- 3. 新增 Flex ---------- */
.flex-wrap { flex-wrap: wrap !important; }
.inline-block { display: inline-block !important; }

/* ---------- 4. 新增透明度 ---------- */
.opacity-5 { opacity: 0.05 !important; }

/* ---------- 5. 新增 Group Hover ---------- */
.group:hover .group-hover\:text-brand-gold {
    color: #C5A065 !important;
}

/* ---------- 6. Mac Safari 兼容：确保 group-hover 生效 ---------- */
.group:hover .group-hover\:text-brand-gold {
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

/* ==========================================================
   响应式新增 (md)
   ========================================================== */

@media (min-width: 768px) {
    /* ---------- 新增网格列数 ---------- */
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
    
    /* ---------- 新增间距 ---------- */
    .md\:gap-3 {
        gap: 0.75rem !important;
    }
    
    /* ---------- 新增内边距 ---------- */
    .md\:p-5 {
        padding: 1.25rem !important;
    }
    
    /* ---------- 新增字体大小 ---------- */
    .md\:text-4xl {
        font-size: 2.25rem !important;
        line-height: 2.5rem !important;
    }
    
    .md\:text-base {
        font-size: 1rem !important;
        line-height: 1.5rem !important;
    }
}

/* ==========================================================
   Mac Safari 兼容：Grid 降级方案
   ========================================================== */

/* 如果 Safari 不支持 grid，使用 flex 替代 */
@supports not (display: grid) {
    .grid {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    .grid > * {
        flex: 0 0 auto !important;
    }
    .grid-cols-2 > * {
        width: 50% !important;
    }
    .md\:grid-cols-4 > * {
        width: 25% !important;
    }
}

/* ==========================================================
   Mac Safari 兼容：确保下拉菜单显示
   ========================================================== */

/* 导航下拉菜单 - 产品列表页也需要 */
/* ==========================================================
   Mac Safari 兼容：确保下拉菜单显示
   ========================================================== */

/* 导航下拉菜单 - 使用 > 选择器只针对直接子级（二级菜单） */
.glass-nav .relative.group > .absolute {
    min-width: 180px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: visible !important;  /* ← 改为 visible，允许三级菜单溢出 */
    padding: 4px 0;
    z-index: 100;
    border: 1px solid #f3f4f6;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.glass-nav .relative.group:hover > .absolute,
.glass-nav .relative.group > .absolute:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* ====== 三级菜单样式（独立控制） ====== */
.glass-nav .relative.group .absolute .relative.group/sub {
    position: relative !important;
}

.glass-nav .relative.group .absolute .relative.group/sub .absolute {
    overflow: visible !important;
    left: 100% !important;
    top: 0 !important;
    margin-left: 2px !important;
    min-width: 180px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #f3f4f6 !important;
    padding: 4px 0 !important;
    z-index: 9999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(8px) !important;
    -webkit-transform: translateX(8px) !important;
    transition: all 0.2s ease !important;
}

.glass-nav .relative.group .absolute .relative.group/sub:hover .absolute {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0px) !important;
    -webkit-transform: translateX(0px) !important;
}

/* 三级菜单链接样式 */
.glass-nav .relative.group .absolute .relative.group/sub .absolute a {
    display: block !important;
    padding: 8px 18px !important;
    font-size: 14px !important;
    color: #374151 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #f9fafb !important;
    transition: all 0.2s ease !important;
}

.glass-nav .relative.group .absolute .relative.group/sub .absolute a:last-child {
    border-bottom: none !important;
}

.glass-nav .relative.group .absolute .relative.group/sub .absolute a:hover {
    background: #fef3c7 !important;
    color: #b45309 !important;
    padding-left: 24px !important;
}

/* 二级菜单项的右箭头 */
.glass-nav .relative.group .absolute .relative.group/sub > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.glass-nav .relative.group .absolute .relative.group/sub > a .fa-chevron-right {
    font-size: 10px !important;
    color: #9ca3af !important;
    transition: all 0.3s ease !important;
}

.glass-nav .relative.group .absolute .relative.group/sub:hover > a .fa-chevron-right {
    color: #b45309 !important;
    transform: translateX(2px) !important;
    -webkit-transform: translateX(2px) !important;
}

.glass-nav .relative.group .absolute a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: #374151;
    text-decoration: none !important;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}
.glass-nav .relative.group .absolute a:last-child {
    border-bottom: none;
}
.glass-nav .relative.group .absolute a:hover {
    background: #fef3c7;
    color: #b45309;
    padding-left: 22px;
}

.product-display-list {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}

/* 替代 gap，使用 margin 实现间距 */
.product-display-list .product-grid-item {
    -webkit-flex: 0 0 calc(33.333% - 14px);
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    margin: 0 7px 14px 7px; /* 左右 7px，底部 14px，相当于 gap: 14px */
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    list-style: none;
}

/* 清除首尾多余间距 */
.product-display-list .product-grid-item:nth-child(3n+1) {
    margin-left: 0;
}
.product-display-list .product-grid-item:nth-child(3n) {
    margin-right: 0;
}

/* ==========================================================
   结束 - 产品列表页兼容样式
   ========================================================== */
   
   /* ==========================================================
   应用行业页面专用样式（Mac Safari 兼容）
   新增于 2026-07-22
   ========================================================== */

/* ---------- 1. 新增间距工具类 ---------- */
.mt-16 { margin-top: 4rem !important; }

/* ---------- 2. 新增内边距 ---------- */
.p-10 { padding: 2.5rem !important; }
.pt-28 { padding-top: 7rem !important; }

/* ---------- 3. 新增字体大小 ---------- */
.md\:text-3xl {
    font-size: 1.875rem !important;
    line-height: 2.25rem !important;
}
.md\:text-5xl {
    font-size: 3rem !important;
    line-height: 1 !important;
}

/* ---------- 4. 新增网格列数（响应式） ---------- */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

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

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

/* ---------- 5. 新增内边距（响应式） ---------- */
@media (min-width: 768px) {
    .md\:p-12 {
        padding: 3rem !important;
    }
}

/* ==========================================================
   应用行业卡片样式（Mac Safari 兼容）
   ========================================================== */

/* 卡片基础样式 */
.industry-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.industry-card:hover {
    -webkit-transform: translateY(-0.25rem);
    transform: translateY(-0.25rem);
    -webkit-box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* 卡片图片容器 */
.industry-card .card-image {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 比例 */
    overflow: hidden;
    background: #f3f4f6;
}

.industry-card .card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: -webkit-transform 0.7s ease;
    transition: transform 0.7s ease;
}

.industry-card:hover .card-image img {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

/* 卡片内容 */
.industry-card .card-content {
    padding: 1.5rem;
}

.industry-card .card-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.industry-card .card-content p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.625;
}

/* ---------- 渐变覆盖层（Mac Safari 兼容） ---------- */
.industry-card .gradient-overlay {
    position: absolute;
    inset: 0;
    background: -webkit-linear-gradient(right, rgba(120, 53, 15, 0.8), rgba(120, 53, 15, 0.4), transparent);
    background: linear-gradient(to right, rgba(120, 53, 15, 0.8), rgba(120, 53, 15, 0.4), transparent);
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    opacity: 1;
}

@media (min-width: 1024px) {
    .industry-card .gradient-overlay {
        background: -webkit-linear-gradient(bottom, rgba(120, 53, 15, 0.2), rgba(120, 53, 15, 0.7));
        background: linear-gradient(to bottom, rgba(120, 53, 15, 0.2), rgba(120, 53, 15, 0.7));
        opacity: 0;
    }
    .industry-card:hover .gradient-overlay {
        opacity: 1;
    }
}

/* ---------- 不同颜色的渐变覆盖层 ---------- */
.industry-card .gradient-amber {
    background: -webkit-linear-gradient(right, rgba(120, 53, 15, 0.8), rgba(120, 53, 15, 0.4), transparent);
    background: linear-gradient(to right, rgba(120, 53, 15, 0.8), rgba(120, 53, 15, 0.4), transparent);
}
.industry-card .gradient-blue {
    background: -webkit-linear-gradient(right, rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.4), transparent);
    background: linear-gradient(to right, rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.4), transparent);
}
.industry-card .gradient-gray {
    background: -webkit-linear-gradient(right, rgba(17, 24, 39, 0.8), rgba(17, 24, 39, 0.4), transparent);
    background: linear-gradient(to right, rgba(17, 24, 39, 0.8), rgba(17, 24, 39, 0.4), transparent);
}
.industry-card .gradient-rose {
    background: -webkit-linear-gradient(right, rgba(136, 19, 55, 0.8), rgba(136, 19, 55, 0.4), transparent);
    background: linear-gradient(to right, rgba(136, 19, 55, 0.8), rgba(136, 19, 55, 0.4), transparent);
}
.industry-card .gradient-emerald {
    background: -webkit-linear-gradient(right, rgba(6, 78, 59, 0.8), rgba(6, 78, 59, 0.4), transparent);
    background: linear-gradient(to right, rgba(6, 78, 59, 0.8), rgba(6, 78, 59, 0.4), transparent);
}

@media (min-width: 1024px) {
    .industry-card .gradient-amber {
        background: -webkit-linear-gradient(bottom, rgba(120, 53, 15, 0.2), rgba(120, 53, 15, 0.7));
        background: linear-gradient(to bottom, rgba(120, 53, 15, 0.2), rgba(120, 53, 15, 0.7));
    }
    .industry-card .gradient-blue {
        background: -webkit-linear-gradient(bottom, rgba(30, 58, 138, 0.2), rgba(30, 58, 138, 0.7));
        background: linear-gradient(to bottom, rgba(30, 58, 138, 0.2), rgba(30, 58, 138, 0.7));
    }
    .industry-card .gradient-gray {
        background: -webkit-linear-gradient(bottom, rgba(17, 24, 39, 0.2), rgba(17, 24, 39, 0.7));
        background: linear-gradient(to bottom, rgba(17, 24, 39, 0.2), rgba(17, 24, 39, 0.7));
    }
    .industry-card .gradient-rose {
        background: -webkit-linear-gradient(bottom, rgba(136, 19, 55, 0.2), rgba(136, 19, 55, 0.7));
        background: linear-gradient(to bottom, rgba(136, 19, 55, 0.2), rgba(136, 19, 55, 0.7));
    }
    .industry-card .gradient-emerald {
        background: -webkit-linear-gradient(bottom, rgba(6, 78, 59, 0.2), rgba(6, 78, 59, 0.7));
        background: linear-gradient(to bottom, rgba(6, 78, 59, 0.2), rgba(6, 78, 59, 0.7));
    }
}

/* ==========================================================
   Mac Safari 兼容：Grid 降级方案
   ========================================================== */

/* 如果 Safari 不支持 grid，使用 flex 替代 */
@supports not (display: grid) {
    .grid {
        display: -webkit-flex !important;
        display: flex !important;
        -webkit-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
    }
    .grid > * {
        -webkit-flex: 0 0 auto !important;
        flex: 0 0 auto !important;
    }
    .grid-cols-1 > * {
        width: 100% !important;
    }
    .md\:grid-cols-2 > * {
        width: 50% !important;
    }
    .lg\:grid-cols-3 > * {
        width: 33.333% !important;
    }
    .xl\:grid-cols-5 > * {
        width: 20% !important;
    }
}

/* ---------- 响应式：移动端内边距调整 ---------- */
@media (max-width: 768px) {
    .industry-card .card-content {
        padding: 1rem !important;
    }
    .industry-card .card-content h3 {
        font-size: 1rem !important;
    }
    .industry-card .card-content p {
        font-size: 0.75rem !important;
    }
}

/* ==========================================================
   应用行业页面 - 结束
   ========================================================== */
   
   /* ==========================================================
   应用行业分类页面 - Mac Safari 兼容样式
   新增于 2026-07-22
   ========================================================== */

/* ---------- 1. 新增间距工具类 ---------- */
.mt-8 { margin-top: 2rem !important; }
.mt-10 { margin-top: 2.5rem !important; }
.mt-12 { margin-top: 3rem !important; }

/* ---------- 2. 新增 Flex ---------- */
.flex-wrap { flex-wrap: wrap !important; }

/* ---------- 3. 新增阴影 ---------- */
.shadow-sm {
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

/* ---------- 4. 新增内边距 ---------- */
.p-8 { padding: 2rem !important; }
.pb-16 { padding-bottom: 4rem !important; }
.pt-28 { padding-top: 7rem !important; }

/* ---------- 5. 新增悬停效果 ---------- */
.hover\:text-brand-gold:hover {
    color: #C5A065 !important;
}

.hover\:bg-brand-gold:hover {
    background-color: #C5A065 !important;
}

.hover\:text-white:hover {
    color: #ffffff !important;
}

/* ---------- 6. 响应式网格 ---------- */
@media (min-width: 768px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* ---------- 7. Mac Safari 兼容：Grid 降级方案 ---------- */
@supports not (display: grid) {
    .grid {
        display: -webkit-flex !important;
        display: flex !important;
        -webkit-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
    }
    .grid > * {
        -webkit-flex: 0 0 auto !important;
        flex: 0 0 auto !important;
    }
    .grid-cols-1 > * {
        width: 100% !important;
    }
    .md\:grid-cols-3 > * {
        width: 33.333% !important;
    }
    .lg\:grid-cols-2 > * {
        width: 50% !important;
    }
}

/* ---------- 8. 分类卡片样式（Mac Safari 兼容） ---------- */
.category-card {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 0.75rem;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    text-decoration: none !important;
    color: #374151 !important;
}

.category-card:hover {
    background-color: #C5A065 !important;
    color: #ffffff !important;
    -webkit-transform: translateY(-0.25rem);
    transform: translateY(-0.25rem);
    -webkit-box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.category-card:hover .category-icon {
    background: rgba(255, 255, 255, 0.2) !important;
}

.category-card:hover .category-icon i {
    color: #ffffff !important;
}

.category-card:hover h3 {
    color: #ffffff !important;
}

.category-card:hover p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* 分类图标 */
.category-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: -webkit-linear-gradient(135deg, #f5f5f7 0%, #e8e8ea 100%);
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ea 100%);
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.category-icon i {
    font-size: 1.5rem;
    color: #1A1A1A;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.category-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 0.25rem;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
    text-align: center;
}

.category-card p {
    font-size: 0.75rem;
    color: #6b7280;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
    text-align: center;
}

/* ---------- 9. Mac Safari 兼容：Flex 降级 ---------- */
@supports not (display: flex) {
    .flex {
        display: block !important;
    }
    .flex > * {
        display: block !important;
    }
    .items-center {
        text-align: center !important;
    }
    .justify-center {
        text-align: center !important;
    }
}

/* ---------- 10. 响应式：分类卡片移动端适配 ---------- */
@media (max-width: 768px) {
    .category-card {
        padding: 1rem !important;
    }
    .category-icon {
        width: 3rem !important;
        height: 3rem !important;
    }
    .category-icon i {
        font-size: 1.25rem !important;
    }
    .category-card h3 {
        font-size: 0.875rem !important;
    }
    .category-card p {
        font-size: 0.625rem !important;
    }
}

/* ==========================================================
   应用行业分类页面 - 结束
   ========================================================== */
   
   /* ==========================================================
   关于我们页面 - Mac Safari 兼容样式
   新增于 2026-07-22
   ========================================================== */

/* ---------- 1. 新增间距工具类 ---------- */
.mb-10 { margin-bottom: 2.5rem !important; }
.mt-3 { margin-top: 0.75rem !important; }
.mt-8 { margin-top: 2rem !important; }
.mt-10 { margin-top: 2.5rem !important; }

/* ---------- 2. 新增字体大小 ---------- */
.md\:text-5xl {
    font-size: 3rem !important;
    line-height: 1 !important;
}

/* ---------- 3. 新增响应式网格 ---------- */
@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 768px) {
    .md\:gap-6 {
        gap: 1.5rem !important;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}

/* ---------- 4. 关于我们专用卡片样式 ---------- */
.about-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    text-align: center;
}

.about-card:hover {
    -webkit-transform: translateY(-0.25rem);
    transform: translateY(-0.25rem);
    -webkit-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.about-card .icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: -webkit-linear-gradient(135deg, #f5f5f7 0%, #e8e8ea 100%);
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ea 100%);
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.about-card:hover .icon-wrapper {
    background: #C5A065 !important;
}

.about-card:hover .icon-wrapper i {
    color: #ffffff !important;
}

.about-card .icon-wrapper i {
    font-size: 1.5rem;
    color: #1A1A1A;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.about-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 0.5rem;
}

.about-card p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.625;
}

/* ---------- 5. Mac Safari 兼容：Grid 降级方案 ---------- */
@supports not (display: grid) {
    .grid {
        display: -webkit-flex !important;
        display: flex !important;
        -webkit-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
    }
    .grid > * {
        -webkit-flex: 0 0 auto !important;
        flex: 0 0 auto !important;
    }
    .grid-cols-1 > * {
        width: 100% !important;
    }
    .sm\:grid-cols-2 > * {
        width: 50% !important;
    }
    .lg\:grid-cols-5 > * {
        width: 20% !important;
    }
}

/* ---------- 6. 关于我们 - 团队介绍卡片 ---------- */
.team-card {
    background: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.team-card:hover {
    -webkit-transform: translateY(-0.25rem);
    transform: translateY(-0.25rem);
    -webkit-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.team-card .team-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f3f4f6;
}

.team-card .team-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: -webkit-transform 0.5s ease;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.team-card .team-info {
    padding: 1rem 1.25rem 1.25rem;
    text-align: center;
}

.team-card .team-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1A1A1A;
}

.team-card .team-info p {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* ---------- 7. 响应式：关于我们卡片移动端适配 ---------- */
@media (max-width: 768px) {
    .about-card {
        padding: 1rem !important;
    }
    .about-card .icon-wrapper {
        width: 3rem !important;
        height: 3rem !important;
    }
    .about-card .icon-wrapper i {
        font-size: 1.25rem !important;
    }
    .about-card h3 {
        font-size: 1rem !important;
    }
    .about-card p {
        font-size: 0.75rem !important;
    }
    .team-card .team-info {
        padding: 0.75rem 1rem 1rem !important;
    }
    .team-card .team-info h4 {
        font-size: 0.875rem !important;
    }
}

/* ==========================================================
   关于我们页面 - 结束
   ========================================================== */
   
   /* ==========================================================
   关于我们分类页面 - Mac Safari 兼容样式
   新增于 2026-07-22
   ========================================================== */

/* ---------- 1. 新增间距工具类 ---------- */
.mt-6 { margin-top: 1.5rem !important; }

/* ---------- 2. 新增高度工具类 ---------- */
.h-auto { height: auto !important; }

/* ---------- 3. 新增最大宽度 ---------- */
.max-w-\[200px\] {
    max-width: 200px !important;
}

/* ---------- 4. 新增 Flex 方向 ---------- */
.md\:flex-row {
    -webkit-flex-direction: row !important;
    flex-direction: row !important;
}

/* ---------- 5. 新增对齐方式 ---------- */
.md\:items-start {
    -webkit-align-items: flex-start !important;
    align-items: flex-start !important;
}

/* ---------- 6. 新增响应式网格 ---------- */
@media (min-width: 768px) {
    .md\:max-w-\[240px\] {
        max-width: 240px !important;
    }

}

/* ---------- 7. Mac Safari 兼容：Grid 降级方案 ---------- */
@supports not (display: grid) {
    .grid {
        display: -webkit-flex !important;
        display: flex !important;
        -webkit-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
    }
    .grid > * {
        -webkit-flex: 0 0 auto !important;
        flex: 0 0 auto !important;
    }
    .grid-cols-1 > * {
        width: 100% !important;
    }
    .md\:grid-cols-2 > * {
        width: 50% !important;
    }
}

/* ---------- 8. 关于我们 - 分类卡片样式 ---------- */
.about-category-card {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 0.75rem;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    text-decoration: none !important;
    color: #374151 !important;
}

.about-category-card:hover {
    background-color: #C5A065 !important;
    color: #ffffff !important;
    -webkit-transform: translateY(-0.25rem);
    transform: translateY(-0.25rem);
    -webkit-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.about-category-card:hover .about-category-icon {
    background: rgba(255, 255, 255, 0.2) !important;
}

.about-category-card:hover .about-category-icon i {
    color: #ffffff !important;
}

.about-category-card:hover h3 {
    color: #ffffff !important;
}

.about-category-card:hover p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* 分类图标 */
.about-category-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    background: -webkit-linear-gradient(135deg, #f5f5f7 0%, #e8e8ea 100%);
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ea 100%);
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.about-category-icon i {
    font-size: 1.5rem;
    color: #1A1A1A;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.about-category-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 0.25rem;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
    text-align: center;
}

.about-category-card p {
    font-size: 0.75rem;
    color: #6b7280;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
    text-align: center;
}

/* ---------- 9. 关于我们 - 详情内容样式 ---------- */
.about-content {
    font-size: 1rem;
    line-height: 1.75;
    color: #4b5563;
}

.about-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 1rem;
}

.about-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

.about-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.about-content ul li {
    margin-bottom: 0.5rem;
}

/* ---------- 10. 关于我们 - 认证标识样式 ---------- */
.cert-badge {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: #f3f4f6;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    border: 1px solid #e5e7eb;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.cert-badge:hover {
    background: #C5A065;
    color: #ffffff;
    border-color: #C5A065;
}

.cert-badge i {
    margin-right: 0.375rem;
}

/* ---------- 11. 响应式：移动端适配 ---------- */
@media (max-width: 768px) {
    .about-category-card {
        padding: 1rem !important;
    }
    .about-category-icon {
        width: 3rem !important;
        height: 3rem !important;
    }
    .about-category-icon i {
        font-size: 1.25rem !important;
    }
    .about-category-card h3 {
        font-size: 0.875rem !important;
    }
    .about-category-card p {
        font-size: 0.625rem !important;
    }
    .about-content {
        font-size: 0.875rem !important;
    }
    .about-content h2 {
        font-size: 1.25rem !important;
    }
    .about-content h3 {
        font-size: 1.125rem !important;
    }
}

/* ==========================================================
   关于我们分类页面 - 结束
   ========================================================== */
   
   /* ==========================================================
   统计网格、间距、FAQ - Mac Safari 兼容
   新增于 2026-07-22
   ========================================================== */

/* 统计网格 */
.stat-grid {
    display: -webkit-grid;
    display: grid;
    -webkit-grid-template-columns: repeat(4, 1fr);
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 8px;
}

/* gap 降级方案 */
@supports not (gap: 16px) {
    .stat-grid {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        margin: -8px;
    }
    .stat-grid > * {
        -webkit-flex: 0 0 calc(25% - 16px);
        flex: 0 0 calc(25% - 16px);
        max-width: calc(25% - 16px);
        margin: 8px;
    }
}

/* gap-6 降级 */
@supports not (gap: 1.5rem) {
    .gap-6 {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        margin: -0.75rem;
    }
    .gap-6 > * {
        margin: 0.75rem !important;
    }
}

/* FAQ 列表 */
.faq-list {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

@supports not (gap: 12px) {
    .faq-list > * + * {
        margin-top: 12px !important;
    }
}

/* 统计网格响应式 */
@media (max-width: 1024px) {
    .stat-grid {
        -webkit-grid-template-columns: repeat(2, 1fr);
        grid-template-columns: repeat(2, 1fr);
    }
    @supports not (gap: 16px) {
        .stat-grid > * {
            -webkit-flex: 0 0 calc(50% - 16px);
            flex: 0 0 calc(50% - 16px);
            max-width: calc(50% - 16px);
        }
    }
}

@media (max-width: 640px) {
    .stat-grid {
        -webkit-grid-template-columns: repeat(1, 1fr);
        grid-template-columns: repeat(1, 1fr);
    }
    @supports not (gap: 16px) {
        .stat-grid > * {
            -webkit-flex: 0 0 100%;
            flex: 0 0 100%;
            max-width: 100%;
        }
    }
}

/* 统计项样式 */
.stat-item {
    text-align: center;
    padding: 1rem;
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #C5A065;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* ==========================================================
   .product-display-list - Mac Safari 兼容样式
   新增于 2026-07-22
   ========================================================== */

/* ---------- 1. 产品列表 - Mac Safari 兼容 ---------- */
.product-display-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

/* Mac Safari 降级方案：如果 gap 不支持，使用 margin 替代 */
@supports not (gap: 20px) {
    .product-display-list {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin: -10px;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
    .product-display-list .product-grid-item {
        margin: 10px !important;
    }
}

/* ---------- 2. 产品列表子项 - Mac Safari 兼容 ---------- */
.product-display-list .product-grid-item {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 calc(33.333% - 14px);
    -ms-flex: 0 0 calc(33.333% - 14px);
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    background: white;
    border-radius: 16px;
    overflow: hidden;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    -webkit-box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    list-style: none;
    margin: 0 7px 14px 7px; /* 用 margin 替代 gap */
}

/* 清除每行首尾多余间距 */
.product-display-list .product-grid-item:nth-child(3n+1) {
    margin-left: 0;
}
.product-display-list .product-grid-item:nth-child(3n) {
    margin-right: 0;
}

/* ---------- 3. 响应式：平板 ---------- */
@media (max-width: 992px) {
    .product-display-list .product-grid-item {
        -webkit-flex: 0 0 calc(50% - 10px);
        -ms-flex: 0 0 calc(50% - 10px);
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        margin: 0 5px 16px 5px;
    }
    .product-display-list .product-grid-item:nth-child(2n+1) {
        margin-left: 0;
    }
    .product-display-list .product-grid-item:nth-child(2n) {
        margin-right: 0;
    }
    /* 重置 3n 的间距 */
    .product-display-list .product-grid-item:nth-child(3n) {
        margin-right: 5px;
    }
    .product-display-list .product-grid-item:nth-child(3n+1) {
        margin-left: 5px;
    }
}

/* ---------- 4. 响应式：手机 ---------- */
@media (max-width: 768px) {
    .product-display-list .product-grid-item {
        -webkit-flex: 0 0 calc(50% - 8px);
        -ms-flex: 0 0 calc(50% - 8px);
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
        margin: 0 4px 16px 4px;
    }
    .product-display-list .product-grid-item:nth-child(2n+1) {
        margin-left: 0;
    }
    .product-display-list .product-grid-item:nth-child(2n) {
        margin-right: 0;
    }
}

/* ---------- 5. 响应式：小屏手机 ---------- */
@media (max-width: 480px) {
    .product-display-list .product-grid-item {
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0 0 16px 0;
    }
}


/* ==========================================================
   放大镜功能修复（恢复 jqueryzoom 插件样式）
   ========================================================== */

/* 修复放大镜图片样式 */
.zoomdiv .bigimg {
    position: relative;
    max-width: none !important;
    max-height: none !important;
    height: auto !important;
    width: auto !important;
}

/* 修复放大镜容器 */
.zoomdiv {
    position: absolute;
    top: 0;
    left: 100%;
    overflow: hidden;
    border: 2px solid #C5A065;
    border-radius: 8px;
    background: #fff;
    -webkit-box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    display: none;
    margin-left: 10px;
}

/* 修复放大镜滑块 */
.jqZoomPup {
    position: absolute;
    top: 0;
    left: 0;
    border: 2px solid #C5A065;
    border-radius: 0;
    background: rgba(197, 160, 101, 0.15);
    -webkit-box-shadow: 0 0 10px rgba(197, 160, 101, 0.2);
    box-shadow: 0 0 10px rgba(197, 160, 101, 0.2);
    z-index: 99;
    visibility: hidden;
    pointer-events: none;
    width: 300px;
    height: 300px;
}

/* 修复主图容器 */
.main-image-wrapper {
    position: relative;
    cursor: crosshair;
}

.main-image-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* 修复放大镜按钮样式（如果使用了按钮控制） */
.zoom-button {
    background: #1A1A1A !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
}

.zoom-button:hover {
    background: #C5A065 !important;
}



/* 手机端禁用放大镜 */
@media (max-width: 768px) {
    .zoomdiv {
        display: none !important;
    }
    .jqZoomPup {
        display: none !important;
    }
    .main-image-wrapper {
        cursor: default;
    }
}