/* ============================================
   MiSans 字体家族 - CDN 加速版
   字体文件位于：https://cdn.townwe.com/26fonts/
   共 8 个字重
   ============================================ */

/* -----  Thin: 100  ----- */
@font-face {
  font-family: 'MiSans';
  src: url('https://cdn.townwe.com/26fonts/MiSans-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

/* -----  ExtraLight: 200  ----- */
@font-face {
  font-family: 'MiSans';
  src: url('https://cdn.townwe.com/26fonts/MiSans-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* -----  Light: 300  ----- */
@font-face {
  font-family: 'MiSans';
  src: url('https://cdn.townwe.com/26fonts/MiSans-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* -----  Regular: 400  ----- */
@font-face {
  font-family: 'MiSans';
  src: url('https://cdn.townwe.com/26fonts/MiSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* -----  Medium: 500  ----- */
@font-face {
  font-family: 'MiSans';
  src: url('https://cdn.townwe.com/26fonts/MiSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* -----  Semibold / Demibold: 600  ----- */
@font-face {
  font-family: 'MiSans';
  src: url('https://cdn.townwe.com/26fonts/MiSans-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* -----  Bold: 700  ----- */
@font-face {
  font-family: 'MiSans';
  src: url('https://cdn.townwe.com/26fonts/MiSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* -----  Heavy: 900  ----- */
@font-face {
  font-family: 'MiSans';
  src: url('https://cdn.townwe.com/26fonts/MiSans-Heavy.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================
   石漆军官网 - 全局样式系统
   主色调：明黄色 #FFD700
   辅助色：深黑色 #1a1a1a
   风格：工业专业 + 匠心品质
   ============================================ */

/* CSS变量 */
:root {
    --primary: #FFD700;
    --primary-dark: #FFC107;
    --primary-light: #FFE44D;
    --dark: #1a1a1a;
    --dark-800: #2a2a2a;
    --dark-700: #3a3a3a;
    --dark-600: #4a4a4a;
    --gray-100: #f5f5f5;
    --gray-200: #e8e8e8;
    --gray-300: #d0d0d0;
    --gray-400: #b0b0b0;
    --gray-500: #909090;
    --gray-600: #707070;
    --white: #ffffff;
    --font-serif: 'MiSans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-sans: 'MiSans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.2);
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'MiSans', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 400;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* 容器 */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
}

/* 通用区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary-dark);
    margin-bottom: 16px;
    position: relative;
    padding: 0 20px;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 12px;
    height: 2px;
    background: var(--primary);
}

.section-tag::before {
    left: 0;
}

.section-tag::after {
    right: 0;
}

.section-tag.light {
    color: var(--primary);
}

.section-tag.light::before,
.section-tag.light::after {
    background: var(--primary);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.section-title.light {
    color: var(--white);
}

.section-desc {
    font-size: 16px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-desc.light {
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   导航栏
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    height: 100%;
}

.logo-sub {
    font-size: 11px;
    color: var(--gray-500);
    letter-spacing: 1px;
    font-weight: 500;
    padding-left: 12px;
    border-left: 1px solid rgba(0, 0, 0, 0.12);
    line-height: 1.5;
    white-space: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nav-menu-phone {
    display: none;
}

.nav-phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary);
    color: var(--dark);
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    margin-top: 10px;
}

.logo-icon {
    height: 100%;
    width: auto;
    max-height: 80px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-en {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--gray-500);
    font-weight: 500;
}

.logo-cn {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: 4px;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-700);
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* 顶部导航下拉菜单 */
.nav-item-has-dropdown {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    min-width: 160px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1000;
}

.nav-item-has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--dark-700);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.nav-dropdown li a:hover {
    background: var(--primary);
    color: #fff;
}

/* 移动端下拉菜单适配 */
@media (max-width: 992px) {
    .nav-item-has-dropdown > .nav-link {
        pointer-events: none;
    }

    .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.03);
        border-radius: 8px;
        margin-top: 4px;
        padding: 4px 0;
    }

    .nav-dropdown li a {
        padding: 8px 20px;
        font-size: 13px;
    }
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: default;
}

.nav-phone-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.nav-phone-label {
    font-size: 12px;
    color: var(--gray-500);
    letter-spacing: 1px;
}

.nav-phone-num {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    font-family: var(--font-serif);
    letter-spacing: 1px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   Hero 品牌视觉区
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    overflow: hidden;
    background: #fffdf5;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 193, 7, 0.12) 0%, transparent 40%);
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--white), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
    padding: 30px 60px 120px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 120px;
    align-items: center;
    width: 100%;
}

.hero-left {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.badge-icon {
    color: var(--primary-dark);
    font-size: 12px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 64px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.title-line {
    display: block;
}

.title-line.highlight {
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.title-line.highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 16px;
    background: var(--primary);
    z-index: -1;
    opacity: 0.6;
    transform: skewX(-5deg);
}

.hero-subtitle {
    font-size: 22px;
    color: var(--dark-700);
    margin-bottom: 24px;
    line-height: 1.8;
    font-weight: 500;
}

.hero-features {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 32px;
    padding: 16px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 8px;
}

.feature-num {
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 2px;
}

.feature-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    font-family: var(--font-serif);
}

.hero-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--dark);
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    border-radius: 2px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-primary:hover {
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover::before {
    left: 0;
}

.btn-arrow {
    transition: var(--transition);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: transparent;
    color: var(--dark);
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--dark);
    border-radius: 2px;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: var(--dark);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: transparent;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid var(--dark);
    border-radius: 2px;
    letter-spacing: 1px;
}

.btn-outline:hover {
    background: var(--dark);
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-right {
    position: relative;
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 500px;
}

.visual-card {
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.card-main {
    top: 20px;
    left: 40px;
    width: 320px;
    height: 400px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.card-secondary {
    bottom: 20px;
    right: 20px;
    width: 240px;
    height: 300px;
    z-index: 1;
    animation: float 6s ease-in-out infinite 1s;
}

.card-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stone-texture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 30%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 0, 0, 0.15) 0%, transparent 25%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0.7;
}

.card-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 2px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.label-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

.visual-floating {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--white);
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    z-index: 3;
}

.float-icon {
    font-size: 18px;
    color: var(--primary-dark);
}

.float-1 {
    top: 60px;
    right: 0;
    animation: float 5s ease-in-out infinite 0.5s;
}

.float-2 {
    bottom: 80px;
    left: 0;
    animation: float 5s ease-in-out infinite 1.5s;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--dark-600);
    font-size: 13px;
    letter-spacing: 2px;
    z-index: 1;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    animation: scrollDown 2s ease-in-out infinite;
}

/* ============================================
   Hero轮播
   ============================================ */
.hero-slides {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: stretch;
    min-height: calc(100vh - 80px);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide.hero-slide-full .hero-content {
    grid-template-columns: 1fr;
}

.hero-left.hero-left-full {
    max-width: 720px;
    color: #fff;
}

.hero-left.hero-left-full .hero-title {
    color: #fff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.hero-left.hero-left-full .hero-title .highlight {
    color: var(--primary);
    text-shadow: 0 2px 16px rgba(255, 215, 0, 0.4);
}

.hero-left.hero-left-full .hero-title .highlight::after {
    display: none;
}

.hero-left.hero-left-full .feature-text {
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.hero-left.hero-left-full .hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-left.hero-left-full .hero-features {
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-left.hero-left-full .hero-divider {
    background: rgba(255, 255, 255, 0.3);
}

.qicaishi-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}

.qicaishi-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.qicaishi-gradient {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    height: 300px;
}

.qicaishi-bg .hero-pattern {
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(255, 215, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
}

.new-product {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
}

.new-product .badge-icon {
    color: #1a1a1a;
}

.subtitle-highlight {
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
    display: block;
    margin-top: 8px;
}

.qicaishi-features .feature-num {
    display: none;
}

.qicaishi-features .feature-icon {
    font-size: 18px;
    color: var(--primary);
    margin-right: 8px;
}

/* 漆彩石slide 主按钮白色变体 */
.hero-left.hero-left-full .btn-primary {
    background: #ffffff;
    color: var(--dark);
}

.hero-left.hero-left-full .btn-primary::before {
    background: var(--primary);
}

.hero-left.hero-left-full .btn-primary:hover {
    color: var(--dark);
}

.hero-left.hero-left-full .btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.hero-left.hero-left-full .btn-secondary:hover {
    background: #ffffff;
    color: var(--dark);
}

.qicaishi-visual {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qicaishi-main {
    position: relative;
    z-index: 2;
}

.qicaishi-img {
    width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(255, 215, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.qicaishi-feature-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    box-shadow: var(--shadow-lg);
    z-index: 3;
}

.qicaishi-feature-card:nth-child(2) {
    top: 40px;
    right: 20px;
    animation: float 5s ease-in-out infinite 0.5s;
}

.qicaishi-feature-card:nth-child(3) {
    bottom: 60px;
    left: 0;
    animation: float 5s ease-in-out infinite 1s;
}

.qicaishi-feature-icon {
    font-size: 20px;
}

.hero-dots {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover,
.dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

.hero-arrows {
    position: absolute;
    top: 50%;
    left: 60px;
    right: 60px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.arrow-prev,
.arrow-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 300;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.arrow-prev:hover,
.arrow-next:hover {
    background: var(--primary);
    color: var(--dark);
    transform: scale(1.1);
}

/* ============================================
   漆彩石产品卡片
   ============================================ */
.product-card.featured {
    position: relative;
    border: 2px solid var(--primary);
}

.featured-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 0 8px 0 8px;
    z-index: 2;
}

/* ============================================
   品牌定位展示
   ============================================ */
.brand-positioning {
    padding: 120px 0;
    background: var(--white);
}

.brand-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.brand-card {
    position: relative;
    padding: 60px 50px;
    background: var(--gray-100);
    border-radius: 8px;
    transition: var(--transition);
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary);
    transition: var(--transition);
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background: var(--white);
}

.brand-card:hover::before {
    height: 100%;
}

.brand-card-center {
    background: var(--dark);
    color: var(--white);
}

.brand-card-center::before {
    background: var(--primary);
}

.brand-card-center:hover {
    background: var(--dark-800);
}

.brand-card-center p {
    color: rgba(255, 255, 255, 0.7);
}

.brand-card-center .card-more {
    color: var(--primary);
}

.card-icon-wrap {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 8px;
    margin-bottom: 28px;
    color: var(--dark);
    transition: var(--transition);
}

.brand-card-center .card-icon-wrap {
    background: var(--primary);
    color: var(--dark);
}

.brand-card:hover .card-icon-wrap {
    transform: rotate(5deg) scale(1.05);
}

.card-icon {
    width: 40px;
    height: 40px;
}

.brand-card h3 {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
}

.brand-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.card-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
}

.more-arrow {
    transition: var(--transition);
}

.card-more:hover .more-arrow {
    transform: translateX(4px);
}

/* ============================================
   品牌故事介绍
   ============================================ */
.brand-story {
    padding: 120px 0;
    background: var(--white);
}

.brand-story-intro {
    max-width: 1100px;
    margin: 0 auto 80px;
}

.story-text-wrap {
    position: relative;
    padding: 50px 60px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f0e0 100%);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.story-text-wrap::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: var(--font-serif);
    font-size: 80px;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}

.story-lead {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.story-para {
    font-size: 15px;
    line-height: 2;
    color: var(--gray-700);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.story-para:last-child {
    margin-bottom: 0;
}

/* 四大优势 */
.four-advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 100px;
}

.four-adv-item {
    text-align: center;
    padding: 40px 28px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.four-adv-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
    transform: scaleX(0);
    transition: var(--transition);
}

.four-adv-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.four-adv-item:hover::before {
    transform: scaleX(1);
}

.four-adv-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 193, 7, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: var(--transition);
}

.four-adv-icon svg {
    width: 32px;
    height: 32px;
}

.four-adv-item:hover .four-adv-icon {
    background: var(--primary);
    color: var(--dark);
}

.four-adv-item h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.four-adv-item p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--gray-600);
}

/* 匠人匠心匠品 */
.craftsman-triad {
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    gap: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2015 50%, #1a1a1a 100%);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.craftsman-triad::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 193, 7, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.triad-item {
    padding: 60px 50px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.triad-item:hover {
    background: rgba(255, 215, 0, 0.05);
}

.triad-num {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 16px;
    line-height: 1;
}

.triad-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
}

.triad-cn {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 4px;
}

.triad-en {
    font-size: 12px;
    color: var(--primary);
    letter-spacing: 3px;
    font-weight: 500;
}

.triad-desc {
    font-size: 14px;
    line-height: 2;
    color: var(--gray-300);
    max-width: 280px;
    margin: 0 auto;
}

.triad-divider {
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 215, 0, 0.3) 50%, transparent 100%);
}

/* ============================================
   产品体系展示
   ============================================ */
.products {
    padding: 120px 0;
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
}

.product-tab {
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-600);
    border-radius: 50px;
    background: transparent;
    transition: var(--transition);
}

.product-tab:hover {
    color: var(--dark);
    background: var(--white);
}

.product-tab.active {
    color: var(--dark);
    background: var(--primary);
    box-shadow: var(--shadow-sm);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.product-image .stone-texture {
    opacity: 0.8;
}

.product-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--primary);
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
    border-radius: 2px;
    z-index: 2;
}

.product-badge.new {
    background: var(--dark);
    color: var(--primary);
}

.product-badge.star {
    background: linear-gradient(135deg, var(--primary) 0%, #FFA500 100%);
    color: var(--dark);
}

.product-info {
    padding: 28px 24px;
}

.product-series {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-name {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.product-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.product-tags span {
    padding: 4px 12px;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 12px;
    border-radius: 2px;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    padding: 0;
    transition: var(--transition);
}

.btn-arrow-sm {
    transition: var(--transition);
}

.product-btn:hover {
    color: var(--primary-dark);
}

.product-btn:hover .btn-arrow-sm {
    transform: translateX(4px);
}

/* ============================================
   精品案例展示
   ============================================ */
.cases {
    padding: 120px 0;
    background: var(--white);
}

.case-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 50px;
}

.case-filter {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: 2px;
    background: var(--gray-100);
    transition: var(--transition);
}

.case-filter:hover {
    color: var(--dark);
    background: var(--gray-200);
}

.case-filter.active {
    color: var(--dark);
    background: var(--primary);
    font-weight: 600;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.case-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.case-large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.case-image {
    width: 100%;
    height: 100%;
    position: relative;
    transition: var(--transition);
}

.case-building {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 80%;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
    clip-path: polygon(10% 100%, 10% 60%, 25% 60%, 25% 30%, 40% 30%, 40% 20%, 60% 20%, 60% 30%, 75% 30%, 75% 60%, 90% 60%, 90% 100%);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    opacity: 0.7;
    transition: var(--transition);
}

.case-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: var(--white);
    z-index: 2;
    transform: translateY(20px);
    transition: var(--transition);
}

.case-item:hover .case-image {
    transform: scale(1.05);
}

.case-item:hover .case-overlay {
    opacity: 0.9;
}

.case-item:hover .case-content {
    transform: translateY(0);
}

.case-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary);
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
    border-radius: 2px;
    margin-bottom: 16px;
}

.case-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.case-large .case-title {
    font-size: 28px;
}

.case-desc {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 12px;
}

.case-large .case-desc {
    font-size: 15px;
}

.case-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    opacity: 0.7;
}

.case-more-wrap {
    text-align: center;
}

/* 视频案例网格 */
.case-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.case-video-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/10;
}

.case-video-item:hover .video-thumb img {
    transform: scale(1.05);
}

.case-video-item:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary);
}

.video-thumb {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-play-btn span {
    color: var(--white);
    font-size: 18px;
    margin-left: 3px;
}

/* 视频弹窗 */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    z-index: 1;
}

.video-modal-content video {
    width: 100%;
    border-radius: 8px;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-modal-close:hover {
    background: var(--primary);
}

/* 图片大图弹窗 */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.image-modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    z-index: 1;
}

.image-modal-content img {
    width: 100%;
    border-radius: 8px;
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.image-modal-close:hover {
    background: var(--primary);
}

/* ============================================
   石漆军国匠大师积分榜单 - 左右布局
   左：标题 + 手机二维码  右：榜单
   ============================================ */
.advantages {
    padding: 80px 0;
    background-color: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/sqjb5.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.advantages::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, transparent 60%);
    z-index: 0;
}

/* 左右两栏 */
.ranking-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 60px;
    align-items: end;
}

/* 左侧：标题 + 手机二维码 */
.ranking-left {
    display: flex;
    flex-direction: column;
    max-height: 100%;
}

.ranking-left .section-tag {
    padding-left: 0;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.ranking-left .section-tag::before {
    display: none;
}

.ranking-left .section-title {
    margin-bottom: 6px;
    flex-shrink: 0;
    white-space: nowrap;
}

.ranking-left .section-desc {
    margin: 0 0 20px 0;
    max-width: none;
    flex-shrink: 0;
}

/* 右侧：榜单 */
.ranking-right {
    padding-top: 60px;
}

/* 榜单容器 */
.ranking-board {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 前三名领奖台 */
.ranking-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 12px;
    padding: 0;
}

.ranking-podium-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    transition: transform 0.3s ease;
}

.ranking-podium-item:hover {
    transform: translateY(-4px);
}

.ranking-podium-item:nth-child(1) { order: 2; }
.ranking-podium-item:nth-child(2) { order: 1; }
.ranking-podium-item:nth-child(3) { order: 3; }

.ranking-podium-avatar {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    background: var(--dark-700);
}

.ranking-podium-item:nth-child(1) .ranking-podium-avatar {
    width: 80px;
    height: 80px;
    border: 3px solid #FFD700;
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.45), inset 0 0 0 2px rgba(255,255,255,0.1);
}

.ranking-podium-item:nth-child(2) .ranking-podium-avatar {
    width: 66px;
    height: 66px;
    border: 3px solid #C0C0C0;
    box-shadow: 0 0 16px rgba(192, 192, 192, 0.3), inset 0 0 0 2px rgba(255,255,255,0.08);
}

.ranking-podium-item:nth-child(3) .ranking-podium-avatar {
    width: 60px;
    height: 60px;
    border: 3px solid #CD7F32;
    box-shadow: 0 0 16px rgba(205, 127, 50, 0.3), inset 0 0 0 2px rgba(255,255,255,0.08);
}

.ranking-podium-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-podium-rank {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    z-index: 2;
}

.ranking-podium-item:nth-child(1) .ranking-podium-rank { background: #FFD700; color: #1a1a1a; }
.ranking-podium-item:nth-child(2) .ranking-podium-rank { background: #C0C0C0; color: #1a1a1a; }
.ranking-podium-item:nth-child(3) .ranking-podium-rank { background: #CD7F32; }

.ranking-podium-name {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 2px;
}

.ranking-podium-score {
    margin-top: 2px;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.ranking-podium-item:nth-child(1) .ranking-podium-score {
    font-size: 22px;
}

/* 领奖台阶梯底座 */
.podium-step {
    width: 100%;
    margin-top: 8px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    font-family: var(--font-serif);
    position: relative;
    overflow: hidden;
}

.podium-step::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.ranking-podium-item:nth-child(2) .podium-step {
    height: 44px;
    background: linear-gradient(180deg, #d1d1d1 0%, #8a8a8a 100%);
    color: #555;
    box-shadow: 0 -3px 0 rgba(255,255,255,0.15) inset, 0 2px 10px rgba(0,0,0,0.28);
}

.ranking-podium-item:nth-child(1) .podium-step {
    height: 64px;
    background: linear-gradient(180deg, #FFE066 0%, #FFB800 100%);
    color: #7a4d00;
    box-shadow: 0 -3px 0 rgba(255,255,255,0.2) inset, 0 3px 16px rgba(255, 184, 0, 0.22);
}

.ranking-podium-item:nth-child(3) .podium-step {
    height: 34px;
    background: linear-gradient(180deg, #e0a870 0%, #a86b32 100%);
    color: #5a340a;
    box-shadow: 0 -2px 0 rgba(255,255,255,0.12) inset, 0 2px 10px rgba(0,0,0,0.22);
}

/* 第4-10名 - 单列列表 */
.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.ranking-item:hover {
    background: rgba(255, 215, 0, 0.06);
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateX(3px);
}

.ranking-item-rank {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
}

.ranking-item-avatar {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--dark-700);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.ranking-item-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-item-info {
    flex: 1;
    min-width: 0;
}

.ranking-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 2px;
}

.ranking-item-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

.ranking-item-score {
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
}

.ranking-item-score-label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.35);
    text-align: right;
    margin-top: 1px;
}

/* 左侧 - 手机背景二维码卡片 */
.ranking-qr {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1;
    min-height: 0;
}

.ranking-qr-card {
    position: relative;
    width: 300px;
}

.qr-phone-bg {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.qr-content {
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 60%;
    max-width: 60%;
}

.ranking-qr-img {
    width: 70%;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background: #fff;
}

.ranking-qr-title {
    font-size: 13px;
    font-weight: 700;
    color: #222;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.ranking-qr-desc {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
    margin: 0;
    width: 100%;
    word-break: break-all;
}

/* 响应式 */
@media (max-width: 992px) {
    .advantages {
        padding: 60px 0;
    }

    .ranking-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ranking-left {
        order: 1;
    }

    .ranking-right {
        order: 2;
        padding-top: 0;
    }

    .ranking-qr-card {
        width: 260px;
    }

    .ranking-qr-img {
        width: 70%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .advantages {
        padding: 40px 0;
    }

    .ranking-left .section-title {
        font-size: 24px;
    }

    .ranking-left .section-desc {
        margin-bottom: 16px;
    }

    .ranking-qr-card {
        width: 220px;
    }

    .ranking-qr-img {
        width: 70%;
        height: auto;
    }

    .ranking-podium {
        gap: 8px;
    }

    .ranking-podium-item:nth-child(1) .ranking-podium-avatar {
        width: 60px;
        height: 60px;
    }

    .ranking-podium-item:nth-child(2) .ranking-podium-avatar {
        width: 50px;
        height: 50px;
    }

    .ranking-podium-item:nth-child(3) .ranking-podium-avatar {
        width: 44px;
        height: 44px;
    }

    .ranking-podium-name {
        margin-top: 8px;
        font-size: 12px;
    }

    .ranking-podium-score {
        font-size: 14px;
    }

    .ranking-podium-item:nth-child(1) .ranking-podium-score {
        font-size: 16px;
    }

    .podium-step {
        font-size: 18px;
    }

    .ranking-podium-item:nth-child(2) .podium-step {
        height: 34px;
    }
    .ranking-podium-item:nth-child(1) .podium-step {
        height: 50px;
    }
    .ranking-podium-item:nth-child(3) .podium-step {
        height: 26px;
    }

    .ranking-item {
        padding: 8px 12px;
        gap: 10px;
    }

    .ranking-item-avatar {
        width: 30px;
        height: 30px;
    }

    .ranking-item-name {
        font-size: 12px;
    }

    .ranking-item-score {
        font-size: 13px;
    }
}

/* ============================================
   施工服务
   ============================================ */
.service {
    padding: 120px 0;
    background: var(--gray-100);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 8px;
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-num {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.5;
    transition: var(--transition);
}

.service-card:hover .service-num {
    opacity: 1;
    transform: scale(1.1);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.service-card > p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-list {
    border-top: 1px solid var(--gray-200);
    padding-top: 20px;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--gray-600);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 12px;
}

.service-list li:last-child {
    margin-bottom: 0;
}

/* ============================================
   招商合作
   ============================================ */
.cooperation {
    padding: 120px 0;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.coop-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1500 100%);
    z-index: 0;
}

.coop-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 193, 7, 0.08) 0%, transparent 40%);
}

.coop-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

.coop-left .section-header {
    text-align: left;
    margin-bottom: 50px;
}

.coop-left .section-tag {
    padding-left: 0;
}

.coop-left .section-tag::before {
    display: none;
}

.coop-left .section-desc {
    margin: 0;
    max-width: none;
}

.coop-flow {
    position: relative;
    padding-left: 36px;
}

.coop-flow::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: rgba(255, 255, 255, 0.15);
}

.flow-step {
    position: relative;
    padding-bottom: 40px;
}

.flow-step:last-child {
    padding-bottom: 0;
}

.flow-step::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.2);
    z-index: 2;
}

.step-num {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 4px;
    line-height: 14px;
}

.flow-step h4 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--white);
}

.flow-step p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.coop-form-card {
    background: var(--white);
    padding: 48px 40px;
    border-radius: 8px;
    color: var(--dark);
    box-shadow: var(--shadow-xl);
}

.coop-form-card h3 {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    text-align: center;
}

.form-subtitle {
    font-size: 14px;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 32px;
}

.coop-form .form-group,
.contact-form .form-group {
    margin-bottom: 16px;
}

/* 验证码输入框+图片并排 */
.form-group-captcha {
    display: flex;
    gap: 12px;
    align-items: center;
}
.form-group-captcha input {
    flex: 1;
}
.form-group-captcha .code {
    flex-shrink: 0;
    height: 48px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.form-group-captcha .code img {
    height: 100%;
    width: auto;
    display: block;
}

/* 表单loading动画 */
@keyframes formSpin {
    to { transform: rotate(360deg); }
}

.coop-form input,
.coop-form select,
.coop-form textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.coop-form input:focus,
.coop-form select:focus,
.coop-form textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
}

.coop-form textarea,
.contact-form textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--dark);
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 1px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-submit:hover {
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:hover::before {
    left: 0;
}

.btn-submit:hover .btn-arrow {
    transform: translateX(4px);
}

/* ============================================
   集团要闻
   ============================================ */
.news {
    padding: 120px 0;
    background: var(--white);
    overflow: hidden;
}

/* 横向滚动容器 */
.news-scroll-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.news-scroll-track {
    display: flex;
    gap: 28px;
    width: max-content;
    padding: 10px 60px;
    animation: newsScroll 60s linear infinite;
}

.news-scroll-wrap:hover .news-scroll-track {
    animation-play-state: paused;
}

@keyframes newsScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.news-scroll-card {
    display: block;
    width: 380px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-scroll-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.news-scroll-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--gray-100);
}

.news-scroll-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-scroll-card:hover .news-scroll-img img {
    transform: scale(1.06);
}

.news-scroll-body {
    padding: 22px 24px 26px;
}

.news-scroll-date {
    font-size: 13px;
    color: var(--primary-dark);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.news-scroll-body h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.news-scroll-card:hover .news-scroll-body h4 {
    color: var(--primary-dark);
}

/* ============================================
   联系我们
   ============================================ */
.contact {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    animation: bgSlowZoom 20s ease-in-out infinite alternate;
}

@keyframes bgSlowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 120px;
    align-items: start;
}

.contact-left .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.contact-left .section-tag {
    padding-left: 0;
}

.contact-left .section-tag::before {
    display: none;
}

.contact-left .section-desc {
    margin: 0;
    max-width: none;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--dark);
    border-radius: 8px;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

/* 加盟店展示 */
.contact-shops {
    margin-top: 48px;
}

.shops-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 3px solid var(--primary);
}

.shops-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* 加盟店型卡片（右侧区域，一行两张） */
.contact-shops-card {
    background: var(--white);
    padding: 40px 36px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.shops-card-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    padding-left: 12px;
    border-left: 3px solid var(--primary);
}

.shops-grid-2col {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.shop-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.shop-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.shop-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.shop-item:hover img {
    transform: scale(1.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ============================================
   页脚
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr repeat(5, minmax(0, 1fr));
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: start;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 260px;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-logo .logo-icon {
    width: 52px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 4px;
    white-space: nowrap;
}

.footer-slogan {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0;
    white-space: nowrap;
}

.footer-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
}

.footer-nav-col {
    min-width: 120px;
}

.footer-nav-col h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
    white-space: nowrap;
}

.footer-nav-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-nav-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-col a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
    white-space: nowrap;
}

.footer-nav-col a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-media-scroll {
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.footer-media-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.media-scroll-wrap {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.media-scroll-track {
    display: flex;
    gap: 24px;
    animation: footerMediaScroll 30s linear infinite;
    width: max-content;
}

.media-scroll-wrap:hover .media-scroll-track {
    animation-play-state: paused;
}

.media-scroll-track .media-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
}

.media-scroll-track .media-item img {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.media-scroll-track .media-item span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
    margin-top: 6px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes footerMediaScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom > p {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom-links p,
.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ============================================
   动画效果
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes scrollDown {
    0% {
        top: -100%;
    }
    100% {
        top: 100%;
    }
}

/* 滚动动画类 */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .nav-container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 52px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-menu {
        display: none;
    }

    .logo-sub {
        display: none;
    }

    .nav-phone-label {
        display: none;
    }

    .nav-phone-num {
        font-size: 16px;
    }

    .nav-menu-phone {
        display: list-item;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-left {
        order: 1;
    }

    .hero-right {
        order: 0;
        display: flex;
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
        width: 400px;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .brand-cards {
        grid-template-columns: 1fr;
    }

    .four-advantages {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-video-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .case-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .coop-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .shops-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .news-scroll-card {
        width: 320px;
    }

    .news-scroll-img {
        height: 190px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
        height: 64px;
    }

    .nav-phone {
        gap: 4px;
    }

    .nav-phone-num {
        font-size: 14px;
        letter-spacing: 0;
    }

    .nav-phone-icon {
        width: 18px;
        height: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-visual {
        height: 320px;
        width: 100%;
        max-width: 350px;
    }

    .card-main {
        width: 240px;
        height: 300px;
        left: 20px;
    }

    .card-secondary {
        width: 180px;
        height: 220px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .brand-story {
        padding: 80px 0;
    }

    .story-text-wrap {
        padding: 40px 30px;
    }

    .story-lead {
        font-size: 18px;
    }

    .story-para {
        font-size: 14px;
    }

    .four-advantages {
        grid-template-columns: 1fr;
        margin-bottom: 60px;
    }

    .craftsman-triad {
        grid-template-columns: 1fr;
    }

    .triad-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.3) 50%, transparent 100%);
    }

    .triad-item {
        padding: 40px 30px;
    }

    .triad-num {
        font-size: 36px;
    }

    .triad-cn {
        font-size: 24px;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .case-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-large {
        grid-column: span 1;
    }

    .advantages-right {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .shops-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-scroll-card {
        width: 260px;
    }

    .news-scroll-img {
        height: 160px;
    }

    .news-scroll-body h4 {
        font-size: 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .advantage-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-item {
        flex: 1;
        min-width: 100px;
    }

    .brand-positioning,
    .products,
    .cases,
    .advantages,
    .service,
    .cooperation,
    .news,
    .contact {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
        height: 70px;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-content {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .coop-form-card,
    .contact-shops-card {
        padding: 28px 20px;
    }
}

/* ============================================
   产品详情弹窗
   ============================================ */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.product-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 12px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--dark);
    transform: rotate(90deg);
}

.modal-body {
    padding: 0;
}

.modal-header {
    padding: 48px 48px 24px;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.modal-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary);
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
    border-radius: 2px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 12px;
}

.modal-subtitle {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto;
}

.modal-features {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.modal-feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gray-100);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.modal-feature::before {
    content: '✓';
    color: var(--primary-dark);
    font-weight: 700;
}

.modal-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
}

.modal-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-gallery .gallery-main {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.modal-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.modal-gallery .gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.modal-gallery .gallery-grid img:hover {
    transform: scale(1.03);
}

/* 长图顺序展示（产品详情弹窗） */
.modal-gallery-long {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: var(--white);
}

.modal-gallery-long img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.modal-cta {
    padding: 32px 48px;
    background: var(--gray-100);
    text-align: center;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .modal-header {
        padding: 32px 24px 20px;
    }

    .modal-title {
        font-size: 26px;
    }

    .modal-gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-cta {
        padding: 24px;
    }

    /* 移动端视频弹窗样式 */
    .video-modal-content {
        width: 95%;
    }

    .video-modal-close {
        top: -35px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .video-play-btn {
        width: 40px;
        height: 40px;
    }

    .video-play-btn span {
        font-size: 14px;
    }
}