/* cases.css - Extracted from inline styles */
:root {
      --red: #E60012;
      --red-hover: #CC0010;
      --red-light: rgba(230,0,18,0.08);
      --blue: #003366;
      --blue-light: #0066cc;
      --nav-bg: #0a1628;
      --body-bg: #ffffff;
      --section-bg: #f5f7fa;
      --text-dark: #333333;
      --text-body: #555555;
      --text-muted: #888888;
      --border-light: #e5e7eb;
      --card-shadow: 0 2px 12px rgba(0,0,0,0.08);
      --card-shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
      --header-h: 72px;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      background: var(--body-bg);
      color: var(--text-dark);
      font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: #f0f0f0; }
    ::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
    ::-webkit-scrollbar-thumb:hover { background: #aaa; }

    /* ===== HEADER ===== */
    
    
    
    .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
    .logo-icon {
      width: 42px; height: 42px; background: var(--red);
      border-radius: 8px; display: flex; align-items: center; justify-content: center;
      color: #fff; font-weight: 800; font-size: 18px;
    }
    .logo-text { display: flex; flex-direction: column; }
    .logo-main { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.2; }
    .logo-sub { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 1px; }

    .main-nav { display: flex; align-items: center; gap: 0; }
    .nav-item { position: relative; }
    
    .nav-arrow { font-size: 10px; opacity: 0.5; }
    
    
    
    

    /* ===== PAGE BANNER ===== */
    .page-banner {
      position: relative;
      height: 40vh;
      min-height: 320px;
      overflow: hidden;
      background: linear-gradient(rgba(10,22,40,0.6), rgba(0,51,102,0.6)), url('../images/banner-cases.jpg');
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .page-banner::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(10,22,40,0.35);
    }
    .page-banner::after {
      content: '';
      position: absolute;
      inset: 0;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="30" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="60" cy="70" r="1.5" fill="rgba(255,255,255,0.02)"/><circle cx="80" cy="20" r="1" fill="rgba(255,255,255,0.04)"/><circle cx="40" cy="80" r="0.8" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
      opacity: 0.5;
      z-index: 1;
    }
    .banner-content {
      position: relative; z-index: 2;
      text-align: center; padding: 0 24px;
      padding-top: var(--header-h);
    }
    .banner-label {
      display: inline-block;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 6px;
      color: rgba(255,255,255,0.5);
      border: 1px solid rgba(255,255,255,0.15);
      padding: 6px 20px;
      border-radius: 4px;
      margin-bottom: 20px;
    }
    .banner-title {
      font-size: 44px;
      font-weight: 800;
      color: #fff;
      margin-bottom: 12px;
      letter-spacing: -0.02em;
    }
    .banner-subtitle {
      font-size: 16px;
      color: rgba(255,255,255,0.6);
      max-width: 500px;
      margin: 0 auto;
      line-height: 1.6;
    }
    .banner-breadcrumb {
      display: flex; align-items: center; justify-content: center;
      gap: 8px; margin-top: 20px; font-size: 13px;
    }
    .banner-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
    .banner-breadcrumb a:hover { color: #fff; }
    .banner-breadcrumb .sep { color: rgba(255,255,255,0.3); }
    .banner-breadcrumb .current { color: rgba(255,255,255,0.8); }

    /* ===== FILTER TABS ===== */
    .filter-section {
      background: var(--body-bg);
      padding: 40px 0 20px;
    }
    .filter-inner {
      max-width: 1440px;
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }
    .filter-tab {
      padding: 10px 24px;
      font-size: 14px;
      font-weight: 500;
      color: var(--text-body);
      background: var(--section-bg);
      border: 1px solid var(--border-light);
      border-radius: 100px;
      cursor: pointer;
      transition: all 0.3s;
      text-decoration: none;
    }
    .filter-tab:hover {
      border-color: var(--red);
      color: var(--red);
    }
    .filter-tab.active {
      background: var(--red);
      color: #fff;
      border-color: var(--red);
      font-weight: 600;
      box-shadow: 0 4px 12px rgba(230,0,18,0.25);
    }

    /* ===== CASE GRID ===== */
    .cases-section {
      background: var(--section-bg);
      padding: 40px 0 80px;
    }
    .cases-inner {
      max-width: 1440px;
      margin: 0 auto;
      padding: 0 24px;
    }
    .case-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .case-card {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: var(--card-shadow);
      transition: all 0.35s ease;
    }
    .case-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--card-shadow-hover);
    }
    .case-card-img {
      position: relative;
      width: 100%;
      height: 220px;
      overflow: hidden;
    }
    .case-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease;
    }
    .case-card:hover .case-card-img img {
      transform: scale(1.05);
    }
    .case-badge {
      position: absolute;
      top: 16px;
      left: 16px;
      padding: 4px 14px;
      background: var(--red);
      color: #fff;
      font-size: 12px;
      font-weight: 600;
      border-radius: 100px;
    }
    .case-card-body {
      padding: 24px;
    }
    .case-card-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--blue);
      margin-bottom: 8px;
    }
    .case-card-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 16px;
    }
    .case-read-more {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      font-weight: 600;
      color: var(--red);
      text-decoration: none;
      transition: gap 0.3s;
    }
    .case-read-more:hover {
      gap: 10px;
    }
    .case-read-more svg {
      width: 16px;
      height: 16px;
    }

    /* ===== LOAD MORE ===== */
    .load-more-section {
      text-align: center;
      padding: 40px 0;
    }
    .btn-load-more {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 40px;
      background: var(--red);
      color: #fff;
      border: none;
      border-radius: 6px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
      box-shadow: 0 4px 15px rgba(230,0,18,0.25);
    }
    .btn-load-more:hover {
      background: var(--red-hover);
      transform: translateY(-2px);
      box-shadow: 0 6px 25px rgba(230,0,18,0.35);
    }

    /* ===== CTA SECTION ===== */
    .cta-section {
      background: linear-gradient(135deg, #0a1628 0%, #003366 100%);
      padding: 80px 0;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .cta-section::before {
      content: '';
      position: absolute;
      top: -50%; left: -50%;
      width: 200%; height: 200%;
      background: radial-gradient(circle at 30% 50%, rgba(230,0,18,0.1) 0%, transparent 50%);
    }
    .cta-inner {
      position: relative;
      max-width: 600px;
      margin: 0 auto;
      padding: 0 24px;
    }
    .cta-title {
      font-size: 32px;
      font-weight: 800;
      color: #fff;
      margin-bottom: 12px;
    }
    .cta-desc {
      font-size: 16px;
      color: rgba(255,255,255,0.6);
      margin-bottom: 32px;
    }
    .btn-cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 16px 40px;
      background: var(--red);
      color: #fff;
      border: none;
      border-radius: 6px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.3s;
      box-shadow: 0 4px 20px rgba(230,0,18,0.3);
    }
    .btn-cta:hover {
      background: var(--red-hover);
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(230,0,18,0.4);
    }

    /* ===== FOOTER ===== */
    .site-footer { background: #fff; border-top: 1px solid var(--border-light); }
    .footer-main {
      max-width: 1440px; margin: 0 auto;
      padding: 48px 24px 36px;
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 32px;
    }
    .footer-col-title {
      font-size: 16px; font-weight: 700; color: var(--blue);
      margin-bottom: 20px; position: relative; padding-bottom: 10px;
    }
    .footer-col-title::after {
      content: ''; position: absolute; bottom: 0; left: 0;
      width: 24px; height: 2px; background: var(--red); border-radius: 1px;
    }
    .footer-links { list-style: none; }
    .footer-links li { margin-bottom: 10px; }
    .footer-links a {
      font-size: 13px; color: var(--text-muted);
      text-decoration: none; transition: color 0.2s;
    }
    .footer-links a:hover { color: var(--red); }
    .footer-friend-links { border-top: 1px solid var(--border-light); }
    .footer-friend-inner {
      max-width: 1440px; margin: 0 auto;
      padding: 16px 24px;
      display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    }
    .friend-label { font-size: 12px; color: var(--text-muted); flex-shrink: 0; }
    .friend-links { display: flex; gap: 8px; flex-wrap: wrap; }
    .friend-links a {
      font-size: 12px; color: var(--text-muted); text-decoration: none; transition: color 0.2s;
    }
    .friend-links a:hover { color: var(--red); }
    .friend-links a::after { content: '|'; margin-left: 8px; color: #ddd; }
    .friend-links a:last-child::after { display: none; }
    .footer-bottom { border-top: 1px solid var(--border-light); background: var(--section-bg); }
    .footer-bottom-inner {
      max-width: 1440px; margin: 0 auto;
      padding: 20px 24px;
      display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
    }
    .footer-diagnose { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-body); }
    .footer-diagnose-input {
      height: 38px; padding: 0 14px;
      border: 1px solid var(--border-light); border-radius: 6px;
      background: #fff; font-size: 13px; color: var(--text-dark);
      outline: none; width: 220px; transition: border-color 0.3s; box-sizing: border-box;
    }
    .footer-diagnose-input:focus { border-color: var(--red); }
    .footer-diagnose-btn {
      height: 38px; padding: 0 18px;
      background: var(--red); color: #fff; border: none; border-radius: 6px;
      font-size: 13px; font-weight: 600; cursor: pointer;
      transition: background 0.3s; white-space: nowrap;
    }
    .footer-diagnose-btn:hover { background: var(--red-hover); }
    .footer-copyright { font-size: 12px; color: var(--text-muted); }
    .hot-searches { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .hot-label { font-size: 12px; color: var(--text-muted); flex-shrink: 0; }
    .hot-tag {
      padding: 2px 10px; background: #f0f0f0; border-radius: 3px;
      font-size: 12px; color: var(--text-muted); text-decoration: none; transition: all 0.2s;
    }
    .hot-tag:hover { background: var(--red-light); color: var(--red); }/* ===== RESPONSIVE ===== */
    @media (max-width: 1440px) {
      .case-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-main { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 768px) {
      .main-nav { display: none; }
      
      
      .banner-title { font-size: 32px; }
      .case-grid { grid-template-columns: 1fr; }
      .footer-main { grid-template-columns: repeat(2, 1fr); }
      .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
    }
    @media (max-width: 480px) {
      .footer-main { grid-template-columns: 1fr; }
      .filter-tab { padding: 8px 16px; font-size: 13px; }
    }

    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .animate-on-scroll {
      opacity: 0; transform: translateY(30px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
