/* ============================================
   青岛鲜达集团 - 主样式表 (全新设计)
   Qingdao Xianda Group - Main Stylesheet v2.0
   ============================================ */

/* CSS Variables */
:root {
    /* Ocean palette */
    --ocean-900: #0A1628;
    --ocean-800: #0D2247;
    --ocean-700: #132F66;
    --ocean-600: #1A3F85;
    --ocean-500: #1E509E;
    --ocean-400: #2B6BC4;
    --ocean-300: #4D8FE0;
    --ocean-100: #D6E4F8;
    --ocean-50: #EEF4FB;
    /* Gold accent */
    --gold: #D4A853;
    --gold-light: #E8C97A;
    --gold-dark: #B8903A;
    /* Coral */
    --coral: #E8734A;
    --coral-light: #FF9A6B;
    /* Green */
    --green: #10B981;
    --green-light: #D1FAE5;
    /* Text */
    --text-primary: #1A1D23;
    --text-secondary: #5A5D66;
    --text-tertiary: #8E9199;
    /* Backgrounds */
    --bg-white: #FFFFFF;
    --bg-warm: #FAF9F6;
    --bg-cool: #F5F7FA;
    /* Borders & Shadows */
    --border: #E5E7EB;
    --border-light: #F0F1F3;
    --shadow-sm: 0 1px 3px rgba(10,22,40,0.04), 0 1px 2px rgba(10,22,40,0.06);
    --shadow-md: 0 4px 16px rgba(10,22,40,0.06), 0 2px 4px rgba(10,22,40,0.04);
    --shadow-lg: 0 12px 40px rgba(10,22,40,0.08), 0 4px 8px rgba(10,22,40,0.04);
    --shadow-xl: 0 20px 60px rgba(10,22,40,0.12);
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    /* Misc */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1520px;
    /* Legacy compat */
    --primary: #1E509E;
    --primary-dark: #132F66;
    --primary-light: #EEF4FB;
    --accent: #D4A853;
    --accent-light: #FFF8EC;
    --text-dark: #1A1D23;
    --text-gray: #5A5D66;
    --text-light: #8E9199;
    --bg-gray: #F5F7FA;
    --success: #52C41A;
    --warning: #FAAD14;
    --danger: #E8734A;
}

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-secondary);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; }

/* ============================================
   Typography
   ============================================ */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ocean-500);
    margin-bottom: 16px;
}
.section-tag::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}
.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.section-subtitle {
    font-size: 17px;
    color: var(--text-tertiary);
    max-width: 600px;
    line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-subtitle { margin: 0 auto; }

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
    letter-spacing: 0.3px;
    cursor: pointer;
}
.btn-primary {
    background: var(--ocean-500);
    color: #fff;
    box-shadow: 0 4px 16px rgba(30,80,158,0.25);
}
.btn-primary:hover { background: var(--ocean-600); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,80,158,0.35); }
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(212,168,83,0.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,168,83,0.45); }
.btn-outline {
    border: 2px solid var(--ocean-500);
    color: var(--ocean-500);
    background: transparent;
}
.btn-outline:hover { background: var(--ocean-500); color: #fff; }
.btn-outline-white {
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    background: transparent;
}
.btn-outline-white:hover { background: #fff; color: var(--ocean-800); border-color: #fff; }
.btn-lg { padding: 18px 40px; font-size: 16px; }
.btn-sm { padding: 10px 24px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--coral); color: #fff; }
.btn-accent:hover { background: #d4653d; }
.btn-secondary { background: #00A896; color: #fff; }

/* ============================================
   Section Layout
   ============================================ */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-cool); }
.section-warm { background: var(--bg-warm); }
.section-cool { background: var(--bg-cool); }

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: var(--ocean-900);
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    padding: 8px 0;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 24px; }
.top-bar-right { display: flex; gap: 16px; align-items: center; }
.top-bar a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.top-bar a:hover { color: var(--gold-light); }

/* ============================================
   Header / Navigation
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    color: var(--ocean-900);
    letter-spacing: -0.5px;
}
.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--ocean-500), var(--ocean-700));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
}
.nav-list { display: flex; gap: 4px; }
.nav-list a {
    display: block;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.2s;
}
.nav-list a:hover, .nav-list a.active {
    color: var(--ocean-500);
    background: var(--ocean-50);
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px; background: var(--bg-cool);
    color: var(--text-secondary); font-size: 18px;
    transition: all 0.2s; position: relative;
}
.icon-btn:hover { background: var(--ocean-50); color: var(--ocean-500); }
.cart-badge {
    position: absolute; top: -4px; right: -4px;
    min-width: 18px; height: 18px;
    background: var(--coral); color: #fff;
    font-size: 11px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px; font-weight: 600;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--ocean-900);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(30,80,158,0.3) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212,168,83,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(77,143,224,0.12) 0%, transparent 60%),
        linear-gradient(180deg, var(--ocean-900) 0%, var(--ocean-800) 50%, var(--ocean-700) 100%);
}
.hero-particles {
    position: absolute; inset: 0; opacity: 0.4;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1.5px 1.5px at 50% 10%, rgba(255,255,255,0.25), transparent),
        radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 90% 70%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1.5px 1.5px at 15% 85%, rgba(255,255,255,0.15), transparent),
        radial-gradient(1px 1px at 85% 15%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 40% 90%, rgba(255,255,255,0.15), transparent);
}
.hero-wave {
    position: absolute; bottom: -2px; left: 0; right: 0;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23FFFFFF' d='M0,64L80,58.7C160,53,320,43,480,48C640,53,800,75,960,74.7C1120,75,1280,53,1360,42.7L1440,32L1440,120L1360,120C1280,120,1120,120,960,120C800,120,640,120,480,120C320,120,160,120,80,120L0,120Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 100%;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    transition: opacity 0.8s ease;
}
.hero-text { padding-top: 40px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(212,168,83,0.15);
    border: 1px solid rgba(212,168,83,0.3);
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 1px;
}
.hero-badge::before { content: '★'; font-size: 14px; }
.hero-title {
    font-size: clamp(36px, 5.5vw, 60px);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}
.hero-title span { color: var(--gold-light); }
.hero-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 48px;
    width: 100%;
    max-width: 460px;
}
.hero-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}
.hero-stat {
    text-align: center;
    padding: 20px 16px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.06);
}
.hero-stat-num {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}
.hero-stat-num small { font-size: 20px; font-weight: 600; }
.hero-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.5px;
}
.hero-cert-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hero-cert {
    padding: 8px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.5px;
}

/* Hero Carousel */
.hero[data-carousel] { position: relative; }

/* In carousel mode, ALL slides are stacked (absolute) and hidden by default */
.hero[data-carousel] .hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.8s ease;
}

/* Active slide is visible, stays absolute so all slides overlay in the same area */
.hero[data-carousel] .hero-content.hero-slide-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* hero-slide-hidden is kept for JS compatibility; default state already hides */
.hero-slide-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}
.hero-carousel-dots {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.hero-dot:hover {
    border-color: rgba(255,255,255,0.8);
}
.hero-dot.active {
    background: var(--gold-light);
    border-color: var(--gold-light);
    box-shadow: 0 0 8px rgba(212,168,83,0.5);
}
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.7);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.hero-arrow:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

/* Legacy Hero (other pages) */
.page-header {
    background: linear-gradient(135deg, var(--ocean-700) 0%, var(--ocean-900) 100%);
    padding: 120px 0 60px;
    text-align: center;
    color: #fff;
}
.page-header h1 { font-size: 36px; font-weight: 800; margin-bottom: 12px; color: #fff; }
.page-header p { font-size: 16px; opacity: 0.7; }

/* ============================================
   Stats Strip
   ============================================ */
.stats-strip {
    background: var(--ocean-500);
    padding: 0;
    position: relative;
}
.stats-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--max-width);
    margin: 0 auto;
}
.stat-block {
    text-align: center;
    padding: 48px 24px;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: background 0.3s;
}
.stat-block:last-child { border-right: none; }
.stat-block:hover { background: rgba(255,255,255,0.04); }
.stat-block-icon { font-size: 32px; margin-bottom: 12px; }
.stat-block-num {
    font-size: 44px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}
.stat-block-num .unit { font-size: 20px; font-weight: 600; }
.stat-block-label {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

/* Legacy Stats Grid (other pages) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: linear-gradient(135deg, var(--ocean-500) 0%, var(--ocean-700) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 48px 0;
}
.stat-item {
    text-align: center;
    padding: 0 24px;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: rgba(255,255,255,0.8); }

/* ============================================
   About Preview
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-main {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--ocean-100), var(--ocean-50));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    overflow: hidden;
}
.about-image-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--gold);
    color: #fff;
    padding: 20px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}
.about-image-badge .years { font-size: 42px; font-weight: 900; line-height: 1; }
.about-image-badge .label { font-size: 13px; opacity: 0.9; margin-top: 4px; }
.about-text h2 { margin-bottom: 20px; }
.about-text .lead {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 24px;
}
.about-text .desc {
    font-size: 15px;
    color: var(--text-tertiary);
    line-height: 1.9;
    margin-bottom: 32px;
}
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.about-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-cool);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}
.about-feat .icon {
    width: 36px; height: 36px;
    background: var(--ocean-50);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--ocean-500);
}

/* ============================================
   Product Card
   ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    border: 1px solid var(--border-light);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}
.product-card-image {
    aspect-ratio: 4/3;
    background: var(--bg-cool);
    position: relative;
    overflow: hidden;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.product-card:hover .product-card-image img { transform: scale(1.08); }
/* Product Tags - left side, multi-tag support */
.product-tags {
    position: absolute; top: 14px; left: 14px;
    display: flex; gap: 6px; z-index: 2;
}
.product-tag {
    padding: 4px 12px; border-radius: 50px;
    font-size: 11px; font-weight: 700; color: #fff; letter-spacing: 0.5px;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tag-hot { background: #FF5722; }
.tag-new { background: #1976D2; }
.tag-rec { background: #FF9800; }
.tag-cat { background: #607D8B; }
/* Star rating - right side */
.product-rating {
    position: absolute; top: 14px; right: 14px;
    display: flex; align-items: center; gap: 3px;
    background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
    padding: 3px 10px; border-radius: 50px;
    font-size: 12px; font-weight: 700; color: #FF9800; z-index: 2;
}
.product-rating .star-icon { font-size: 13px; color: #FFC107; }
.product-card-body { padding: 18px 20px 20px; }
/* Category badge */
.product-card-body .category-badge {
    display: inline-block;
    font-size: 11px; font-weight: 600; color: #1976D2;
    background: #E3F2FD; padding: 2px 10px; border-radius: 50px;
    margin-bottom: 10px;
}
.product-card-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}
/* Price row with price + sales */
.product-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
}
.product-price {
    font-size: 24px;
    font-weight: 800;
    color: #FF4433;
}
.product-price .unit { font-size: 13px; font-weight: 500; color: var(--text-tertiary); }
.product-price .original {
    font-size: 13px; color: #bbb;
    text-decoration: line-through; margin-left: 8px;
}
/* Sales count */
.product-sales { font-size: 12px; color: var(--text-tertiary); }
.product-sales .num { font-weight: 600; color: var(--text-secondary); }
/* Action row: blue button + cart icon */
.product-action-row {
    display: flex; gap: 10px; align-items: stretch;
}
.btn-detail {
    flex: 1;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 16px;
    background: linear-gradient(135deg, #1565C0, #1976D2);
    color: #fff; border-radius: 8px;
    font-size: 14px; font-weight: 600;
    text-decoration: none; transition: all 0.3s;
}
.btn-detail:hover {
    background: linear-gradient(135deg, #0D47A1, #1565C0);
    box-shadow: 0 4px 12px rgba(21,101,192,0.35);
}
.btn-cart-icon {
    width: 42px; min-width: 42px;
    display: flex; align-items: center; justify-content: center;
    background: #FF7043; border-radius: 8px;
    font-size: 18px; color: #fff;
    text-decoration: none; transition: all 0.3s;
}
.btn-cart-icon:hover { background: #F4511E; transform: scale(1.05); }

/* ============================================
   Advantages
   ============================================ */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.advantage-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.advantage-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ocean-500), var(--ocean-300));
    opacity: 0;
    transition: opacity 0.3s;
}
.advantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.advantage-card:hover::before { opacity: 1; }
.advantage-icon {
    width: 56px; height: 56px;
    background: var(--ocean-50);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}
.advantage-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.advantage-card p {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.7;
}

/* Legacy Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    background: var(--ocean-50);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
}
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-tertiary); line-height: 1.5; }

/* ============================================
   Process Steps
   ============================================ */
.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--ocean-100), var(--ocean-300), var(--ocean-100));
}
.process-step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}
.process-step-num {
    width: 88px; height: 88px;
    margin: 0 auto 20px;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-sm);
}
.process-step:hover .process-step-num {
    border-color: var(--ocean-500);
    box-shadow: 0 0 0 12px rgba(30,80,158,0.06);
    transform: scale(1.05);
}
.process-step h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--text-tertiary); max-width: 160px; margin: 0 auto; }

/* Legacy Process */
.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 20px;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
}
.process-step-icon {
    width: 96px; height: 96px;
    margin: 0 auto 16px;
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px;
    position: relative;
    z-index: 1;
    transition: all 0.3s var(--ease);
}
.process-step:hover .process-step-icon {
    border-color: var(--ocean-500);
    box-shadow: 0 0 0 8px var(--ocean-50);
}

/* ============================================
   Traceability Section
   ============================================ */
.trace-section {
    background: linear-gradient(180deg, var(--ocean-900) 0%, var(--ocean-800) 100%);
    padding: 100px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.trace-bg-pattern {
    position: absolute; inset: 0; opacity: 0.03;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.5) 40px, rgba(255,255,255,0.5) 41px),
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.5) 40px, rgba(255,255,255,0.5) 41px);
}
.trace-inner { position: relative; z-index: 1; }
.trace-header { text-align: center; margin-bottom: 60px; }
.trace-header .section-title { color: #fff; }
.trace-header .section-subtitle { color: rgba(255,255,255,0.5); margin: 0 auto; }
.trace-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.trace-node { text-align: center; flex: 0 0 180px; }
.trace-node-icon {
    width: 100px; height: 100px;
    margin: 0 auto 16px;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 42px;
    transition: all 0.3s;
}
.trace-node:hover .trace-node-icon {
    background: rgba(212,168,83,0.15);
    border-color: var(--gold);
    box-shadow: 0 0 32px rgba(212,168,83,0.15);
}
.trace-node h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.trace-node p { font-size: 12px; color: rgba(255,255,255,0.45); }
.trace-arrow {
    flex: 0 0 60px;
    text-align: center;
    font-size: 28px;
    color: rgba(255,255,255,0.25);
    padding-top: 30px;
}
.trace-cta { text-align: center; margin-top: 56px; }
.trace-cta p { color: rgba(255,255,255,0.5); margin-bottom: 20px; font-size: 15px; }
.trace-input {
    width: 280px;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: #fff;
}

/* ============================================
   News Card
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.news-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.4s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card-image {
    aspect-ratio: 16/10;
    background: var(--bg-cool);
    position: relative; overflow: hidden;
}
.news-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.news-card:hover .news-card-image img { transform: scale(1.06); }
/* News card tag - top-left on image */
.news-card-tag {
    position: absolute; top: 16px; left: 16px;
    background: linear-gradient(135deg, #1565C0, #1976D2);
    color: #fff; padding: 5px 14px; border-radius: 50px;
    font-size: 12px; font-weight: 700; z-index: 2;
}
.news-card-body { padding: 24px; }
/* News date row */
.news-date-row {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 12px;
}
.news-date-icon {
    width: 20px; height: 20px;
    background: #E3F2FD; border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; color: #1976D2; flex-shrink: 0;
}
.news-date {
    font-size: 13px; color: #1976D2; font-weight: 600;
}
.news-card-body h3 {
    font-size: 17px; font-weight: 700;
    margin-bottom: 10px; line-height: 1.5;
    color: var(--text-primary);
}
.news-card-body .desc {
    font-size: 13px; color: var(--text-tertiary); line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.read-more {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: #1976D2;
    text-decoration: none; transition: gap 0.3s;
}
.read-more:hover { gap: 12px; }

/* ============================================
   Partners
   ============================================ */
.partners-scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}
.partner-item {
    height: 48px;
    opacity: 0.35;
    filter: grayscale(100%);
    transition: all 0.3s;
    display: flex; align-items: center;
    font-size: 22px; font-weight: 700; color: var(--text-tertiary);
}
.partner-item:hover { opacity: 0.8; filter: grayscale(0%); }
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
}
.partner-logo {
    height: 48px;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.partner-logo:hover { opacity: 1; }

/* ============================================
   Trust Section (legacy)
   ============================================ */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}
.trust-image { border-radius: var(--radius-lg); overflow: hidden; }
.trust-image img { width: 100%; height: auto; }
.trust-content h3 { font-size: 24px; font-weight: 700; margin-bottom: 20px; color: var(--ocean-500); }
.trust-list { display: grid; gap: 16px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item .icon {
    width: 36px; height: 36px; min-width: 36px;
    background: #E0F7F4; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #00A896;
}
.trust-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.trust-item p { font-size: 14px; color: var(--text-tertiary); }

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}
.contact-info-card {
    background: var(--ocean-900);
    border-radius: var(--radius-xl);
    padding: 48px;
    color: #fff;
}
.contact-info-card h3 { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.contact-info-card > p { color: rgba(255,255,255,0.5); margin-bottom: 36px; font-size: 15px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item-icon {
    width: 44px; height: 44px; min-width: 44px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.contact-item h4 {
    font-size: 12px; text-transform: uppercase; letter-spacing: 1px;
    color: rgba(255,255,255,0.4); margin-bottom: 4px; font-weight: 600;
}
.contact-item p { font-size: 15px; color: rgba(255,255,255,0.8); }
.contact-item a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.contact-item a:hover { color: var(--gold-light); }
.contact-qr-row { display: flex; gap: 32px; margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); }
.contact-qr { text-align: center; }
.contact-qr-img {
    width: 100px; height: 100px;
    background: #fff; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; margin: 0 auto 10px;
}
.contact-qr span { font-size: 12px; color: rgba(255,255,255,0.4); }

.contact-form-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}
.contact-form-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.contact-form-card > p { color: var(--text-tertiary); font-size: 14px; margin-bottom: 32px; }

/* Legacy Contact */
.contact-info h3 { font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 12px; margin-bottom: 20px; }
.contact-info-item .icon {
    width: 40px; height: 40px; min-width: 40px;
    background: var(--ocean-50); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--ocean-500); font-size: 18px;
}
.contact-info-item h4 { font-size: 14px; color: var(--text-tertiary); margin-bottom: 4px; }
.contact-info-item p { font-size: 15px; color: var(--text-primary); }
.qrcode-box { display: flex; gap: 24px; margin-top: 24px; }
.qrcode-item { text-align: center; }
.qrcode-item img { width: 120px; height: 120px; border-radius: var(--radius-md); border: 1px solid var(--border); }
.qrcode-item span { display: block; font-size: 13px; color: var(--text-tertiary); margin-top: 8px; }

.contact-form {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Form Elements
   ============================================ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px;
}
.form-group label .required { color: var(--coral); }
.form-control {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-size: 15px; color: var(--text-primary);
    background: var(--bg-warm);
    transition: all 0.2s;
}
.form-control:focus { outline: none; border-color: var(--ocean-400); box-shadow: 0 0 0 3px rgba(43,107,196,0.08); background: #fff; }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238E9199' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 40px;
}

/* ============================================
   Map
   ============================================ */
.map-container { width: 100%; height: 400px; border-radius: var(--radius-lg); overflow: hidden; margin-top: 24px; }
.map-container iframe { width: 100%; height: 100%; border: none; }
.map-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 360px;
    background: var(--bg-cool);
    display: flex; align-items: center; justify-content: center;
    margin-top: 40px;
    box-shadow: var(--shadow-md);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--ocean-900);
    color: rgba(255,255,255,0.5);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .logo { margin-bottom: 20px; font-size: 24px; }
.footer-brand p {
    font-size: 14px; line-height: 1.8; margin-bottom: 20px; color: rgba(255,255,255,0.4);
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: rgba(255,255,255,0.4);
    transition: all 0.2s;
}
.footer-social a:hover { background: var(--ocean-500); color: #fff; }
.footer-col h4 {
    font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 20px; letter-spacing: 0.5px;
}
.footer-col a {
    display: block; padding: 6px 0;
    font-size: 14px; color: rgba(255,255,255,0.4);
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
    padding: 24px 0;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; color: rgba(255,255,255,0.3);
}
.footer-brand h3 { font-size: 22px; color: #fff; margin-bottom: 12px; }

/* ============================================
   Mobile Bottom Nav
   ============================================ */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    z-index: 999;
    padding: 6px 0 env(safe-area-inset-bottom, 0);
}
.mobile-nav-inner { display: flex; justify-content: space-around; }
.mobile-nav-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 2px; padding: 4px 12px;
    font-size: 11px; color: var(--text-tertiary);
    transition: color 0.2s;
}
.mobile-nav-item.active { color: var(--ocean-500); }
.mobile-nav-item .icon { font-size: 20px; }

/* ============================================
   Floating Actions
   ============================================ */
.floating-actions {
    position: fixed; right: 24px; bottom: 120px; z-index: 998;
    display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; transition: all 0.3s var(--ease);
    position: relative;
}
.float-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.float-btn .tooltip {
    position: absolute; right: 60px;
    background: var(--text-primary); color: #fff;
    padding: 6px 14px; border-radius: 6px;
    font-size: 12px; white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s;
}
.float-btn:hover .tooltip { opacity: 1; }

/* ============================================
   Animations
   ============================================ */
.fade-in-up, .fade-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-in-up.visible, .fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   Shop Pages
   ============================================ */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; margin-top: 80px; }
.shop-sidebar { position: sticky; top: 80px; align-self: start; }
.shop-sidebar h3 { font-size: 16px; font-weight: 600; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--ocean-500); }
.category-list a {
    display: block; padding: 8px 12px; font-size: 14px;
    color: var(--text-secondary); border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.category-list a:hover, .category-list a.active { color: var(--ocean-500); background: var(--ocean-50); }
.price-filter { margin-top: 24px; }
.price-filter input { width: 80px; padding: 6px 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; }

/* Cart */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 16px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.cart-table th { font-size: 14px; color: var(--text-secondary); font-weight: 500; background: var(--bg-cool); }
.cart-item { display: flex; align-items: center; gap: 12px; }
.cart-item img { width: 80px; height: 80px; border-radius: var(--radius-md); object-fit: cover; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.qty-control button { width: 32px; height: 32px; background: none; font-size: 16px; color: var(--text-secondary); }
.qty-control input { width: 48px; height: 32px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; font-size: 14px; }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; margin-top: 80px; }
.checkout-section { background: var(--bg-white); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.checkout-section h3 { font-size: 18px; font-weight: 600; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.checkout-summary { position: sticky; top: 80px; align-self: start; background: var(--bg-white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-md); }
.checkout-summary h3 { font-size: 18px; font-weight: 600; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.summary-row.total { border-top: 2px solid var(--border); margin-top: 12px; padding-top: 16px; font-size: 18px; font-weight: 700; color: var(--coral); }

/* Auth */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-cool); padding: 20px; }
.auth-card { width: 100%; max-width: 420px; background: var(--bg-white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.auth-card h2 { font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 8px; color: var(--text-primary); }
.auth-card .auth-subtitle { text-align: center; color: var(--text-secondary); font-size: 14px; margin-bottom: 32px; }
.auth-card .form-group { margin-bottom: 16px; }
.auth-card .btn { width: 100%; padding: 12px; margin-top: 8px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-secondary); }
.auth-footer a { color: var(--ocean-500); font-weight: 500; }

/* User Center */
.user-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; margin-top: 80px; }
.user-sidebar { background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.user-sidebar-header { padding: 24px; text-align: center; background: linear-gradient(135deg, var(--ocean-500), var(--ocean-700)); color: #fff; }
.user-avatar { width: 64px; height: 64px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.3); margin: 0 auto 12px; object-fit: cover; }
.user-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 24px; font-size: 15px; color: var(--text-primary);
    border-left: 3px solid transparent; transition: all 0.2s;
}
.user-menu a:hover, .user-menu a.active { color: var(--ocean-500); background: var(--ocean-50); border-left-color: var(--ocean-500); }
.user-main { background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 30px; }
.user-main h2 { font-size: 22px; font-weight: 600; margin-bottom: 24px; }

/* Order */
.order-detail-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.order-status { display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 13px; font-weight: 500; }
.status-pending { background: #FFF7E6; color: #FA8C16; }
.status-paid { background: #E6F7FF; color: #1890FF; }
.status-shipped { background: #F6FFED; color: #52C41A; }
.status-done { background: #F0F5FF; color: #2F54EB; }
.status-cancel { background: #FFF1F0; color: #FF4D4F; }

/* Coupon */
.coupon-card { display: flex; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 12px; transition: box-shadow 0.2s; }
.coupon-card:hover { box-shadow: var(--shadow-sm); }
.coupon-value { width: 100px; min-width: 100px; display: flex; align-items: center; justify-content: center; background: var(--accent-light); font-size: 24px; font-weight: 700; color: var(--gold); }
.coupon-info { flex: 1; padding: 12px 16px; }
.coupon-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.coupon-info p { font-size: 12px; color: var(--text-tertiary); }
.coupon-action { display: flex; align-items: center; padding: 0 16px; }

/* Alert */
.alert { padding: 12px 16px; border-radius: var(--radius-md); font-size: 14px; margin-bottom: 16px; }
.alert-success { background: #F6FFED; color: #389E0D; border: 1px solid #B7EB8F; }
.alert-error { background: #FFF1F0; color: #CF1322; border: 1px solid #FFA39E; }
.alert-info { background: #E6F7FF; color: #096DD9; border: 1px solid #91D5FF; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius-sm); font-size: 14px; border: 1px solid var(--border); transition: all 0.2s; }
.pagination a:hover { border-color: var(--ocean-500); color: var(--ocean-500); }
.pagination .active { background: var(--ocean-500); border-color: var(--ocean-500); color: #fff; }

/* Breadcrumb */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--text-tertiary); padding: 16px 0; }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--ocean-500); }
.breadcrumb .sep { color: var(--text-tertiary); }

/* ============================================
   Admin
   ============================================ */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: #001529; color: rgba(255,255,255,0.65); padding-top: 0; }
.admin-sidebar-logo { height: 64px; display: flex; align-items: center; padding: 0 24px; color: #fff; font-size: 18px; font-weight: 700; background: #002140; }
.admin-menu a { display: flex; align-items: center; gap: 10px; padding: 14px 24px; color: rgba(255,255,255,0.65); font-size: 14px; transition: all 0.2s; }
.admin-menu a:hover, .admin-menu a.active { color: #fff; background: var(--ocean-500); }
.admin-sidebar .menu-parent { cursor: pointer; display: block; padding: 14px 24px; color: rgba(255,255,255,0.65); font-size: 14px; text-decoration: none; transition: all 0.2s; }
.admin-sidebar .menu-parent:hover, .admin-sidebar .menu-parent.active { color: #fff; background: var(--ocean-500); }
.admin-sidebar .menu-children a { padding: 10px 24px 10px 44px !important; font-size: 13px !important; display: block; color: rgba(255,255,255,0.55); }
.admin-sidebar .menu-children a:hover, .admin-sidebar .menu-children a.active { color: #fff; background: var(--ocean-500); }
.admin-sidebar .menu-parent span { transition: transform 0.2s; display: inline-block; }
.admin-sidebar .menu-parent.open span { transform: rotate(180deg); }
.admin-main { flex: 1; background: #F0F2F5; padding: 24px; overflow-y: auto; }
.admin-header { background: #fff; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 1px 4px rgba(0,0,0,0.08); margin: -24px -24px 24px; }
.admin-content { background: #fff; border-radius: var(--radius-md); padding: 24px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #F0F0F0; }
.data-table th { background: #FAFAFA; font-weight: 500; font-size: 14px; color: var(--text-secondary); }
.data-table tr:hover td { background: #FAFAFA; }

/* Menu Toggle */
.menu-toggle { display: none; width: 40px; height: 40px; background: none; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; }
.menu-toggle span { display: block; height: 2px; background: var(--text-primary); border-radius: 1px; transition: all 0.3s var(--ease); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1023px) {
    .container { padding: 0 24px; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin: 0 auto 36px; }
    .hero-btns { justify-content: center; }
    .hero-card { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-block:nth-child(2) { border-right: none; }
    .process-steps { flex-wrap: wrap; gap: 32px; }
    .process-steps::before { display: none; }
    .process-step { flex: 0 0 calc(50% - 16px); }
    .process-timeline { flex-wrap: wrap; gap: 24px; }
    .process-timeline::before { display: none; }
    .trace-flow { flex-wrap: wrap; gap: 24px; }
    .trace-arrow { display: none; }
    .trace-node { flex: 0 0 calc(50% - 12px); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; }
    .checkout-layout { grid-template-columns: 1fr; }
    .user-layout { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .header-inner { height: 60px; padding: 0 20px; }
    .nav-list {
        position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
        background: var(--bg-white);
        flex-direction: column; padding: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s var(--ease);
        z-index: 999;
    }
    .nav-list.open { transform: translateX(0); }
    .nav-list a { padding: 14px 16px; font-size: 16px; }
    .menu-toggle { display: flex; }
    .hero { min-height: 90vh; }
    .hero-title { font-size: 30px; }
    .hero-desc { font-size: 15px; }
    .section { padding: 60px 0; }
    .section-title { font-size: 26px; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .advantages-grid, .features-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .cert-wall { grid-template-columns: 1fr; }
    .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-block { padding: 32px 16px; }
    .stat-block-num { font-size: 32px; }
    .stat-number { font-size: 32px; }
    .process-step { flex: 0 0 100%; }
    .coop-step { flex: 0 0 100%; }
    .trace-node { flex: 0 0 calc(50% - 12px); }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .contact-info-card, .contact-form-card { padding: 32px 24px; }
    .about-image-badge { bottom: -12px; right: -12px; padding: 12px 20px; }
    .about-image-badge .years { font-size: 28px; }
    .mobile-nav { display: block; }
    .floating-actions { bottom: 80px; }
    .auth-card { padding: 24px; }
    .trust-bar-inner { gap: 12px; }
    .trust-item { flex: 0 0 calc(33.33% - 12px); min-width: unset; max-width: unset; padding: 16px 10px; }
    .trust-item-icon { font-size: 32px; }
    .trust-item h4 { font-size: 13px; }
    .trust-item p { font-size: 12px; }
}

/* ============================================
   Urgency Banner
   ============================================ */
.urgency-banner {
    background: linear-gradient(135deg, var(--coral) 0%, #D4523B 100%);
    color: #fff;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}
.urgency-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255,255,255,0.03) 20px, rgba(255,255,255,0.03) 40px);
    pointer-events: none;
}
.urgency-banner .countdown {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin: 0 8px;
}
.urgency-banner .countdown-box {
    background: rgba(0,0,0,0.25);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 800;
    min-width: 32px;
    text-align: center;
}

/* ============================================
   Trust Bar - 竖向卡片布局：图标在上→标题→描述
   ============================================ */
.trust-bar {
    background: #F7F8FA;
    padding: 48px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.trust-bar-inner {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 0;
    min-width: 120px;
    max-width: 200px;
    padding: 24px 16px;
    border-radius: 12px;
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}
.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.trust-item-icon {
    font-size: 40px;
    margin-bottom: 12px;
    line-height: 1;
}
.trust-item-icon .trust-item-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.trust-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.4;
}
.trust-item p {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   Certification Wall
   ============================================ */
.cert-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.cert-item {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    position: relative;
}
.cert-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}
.cert-item-icon {
    width: 72px; height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}
.cert-item-icon.gold { background: linear-gradient(135deg, #FFF8E7, #FDE68A); }
.cert-item-icon.blue { background: linear-gradient(135deg, #EFF6FF, #BFDBFE); }
.cert-item-icon.green { background: linear-gradient(135deg, #ECFDF5, #A7F3D0); }
.cert-item-icon.purple { background: linear-gradient(135deg, #F5F3FF, #DDD6FE); }
.cert-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}
.cert-item p {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.6;
}
.cert-item .cert-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--green-light);
    color: var(--green);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 12px;
}

/* ============================================
   Customer Cases / Testimonials
   ============================================ */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.case-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.4s var(--ease);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-card-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 16px;
}
.case-avatar {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.case-avatar.av1 { background: #EFF6FF; }
.case-avatar.av2 { background: #FFF7ED; }
.case-avatar.av3 { background: #ECFDF5; }
.case-meta h4 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.case-meta span { font-size: 12px; color: var(--text-tertiary); }
.case-card-body {
    padding: 24px;
}
.case-card-body .quote {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    padding-left: 16px;
    border-left: 3px solid var(--gold);
}
.case-card-footer {
    padding: 16px 24px;
    background: var(--bg-warm);
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-tertiary);
}
.case-stat { text-align: center; }
.case-stat strong { display: block; font-size: 18px; color: var(--ocean-500); font-weight: 800; }

/* ============================================
   Cooperation Flow
   ============================================ */
.coop-flow {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    position: relative;
}
.coop-flow::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 80px;
    right: 80px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--gold) 0, var(--gold) 8px, transparent 8px, transparent 16px);
}
.coop-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}
.coop-step-num {
    width: 88px; height: 88px;
    margin: 0 auto 20px;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--ease);
    position: relative;
}
.coop-step-num .step-count {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px; height: 28px;
    background: var(--ocean-500);
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.coop-step:hover .coop-step-num {
    border-color: var(--gold);
    box-shadow: 0 0 0 16px rgba(212,168,83,0.06);
    transform: scale(1.06);
}
.coop-step h4 {
    font-size: 17px; font-weight: 700; margin-bottom: 6px;
}
.coop-step p {
    font-size: 13px; color: var(--text-tertiary); max-width: 180px; margin: 0 auto; line-height: 1.6;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s var(--ease);
}
.faq-item:hover { border-color: var(--ocean-200); }
.faq-q {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    user-select: none;
    transition: color 0.2s;
}
.faq-q:hover { color: var(--ocean-500); }
.faq-q .arrow {
    transition: transform 0.3s var(--ease);
    font-size: 12px;
    color: var(--text-tertiary);
    flex-shrink: 0;
    margin-left: 12px;
}
.faq-item.open .faq-q .arrow { transform: rotate(180deg); color: var(--ocean-500); }
.faq-item.open .faq-q { color: var(--ocean-500); }
.faq-a {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s var(--ease);
    color: var(--text-tertiary);
    font-size: 14px;
    line-height: 1.8;
}
.faq-item.open .faq-a {
    max-height: 200px;
    padding-bottom: 20px;
}

/* ============================================
   Pulse Animation for CTA Buttons
   ============================================ */
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(212,168,83,0.5); }
    70% { box-shadow: 0 0 0 16px rgba(212,168,83,0); }
    100% { box-shadow: 0 0 0 0 rgba(212,168,83,0); }
}
.btn-pulse {
    animation: pulse-ring 2s infinite;
}

/* ============================================
   Product Quick Buy Overlay
   ============================================ */
.product-card .quick-buy {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    padding: 12px;
    background: var(--ocean-900);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: bottom 0.3s var(--ease);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.product-card:hover .quick-buy { bottom: 0; }

/* ============================================
   Badge Strip
   ============================================ */
.badge-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #fff;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s;
}
.badge-item:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.badge-item .check-icon {
    width: 28px; height: 28px;
    background: var(--green-light);
    color: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

/* ============================================
   Responsive additions for new sections
   ============================================ */
@media (max-width: 1023px) {
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-wall { grid-template-columns: repeat(2, 1fr); }
    .coop-flow { flex-wrap: wrap; gap: 32px; }
    .coop-flow::before { display: none; }
    .coop-step { flex: 0 0 calc(50% - 16px); }
    .trust-bar-inner { gap: 16px; }
    .trust-item { flex: 0 0 calc(50% - 12px); min-width: unset; max-width: unset; padding: 16px 8px; }
}

/* ============================================
   Form Validation
   ============================================ */
.form-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}
.input-error {
    border-color: #e74c3c !important;
}
