/*
Theme Name: 旗耀东方
Theme URI: https://formulty.com
Description: 旗耀东方县域标准化服务商招募页面主题（v4 ACF 动态版，所有内容后台可配置）
Version: 4.0.0
Author: Formulty
Author URI:
Template:
*/

/* ===== Reset & Base ===== */
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body {
      font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      color: #1A1A1A;
      background: #FFFFFF;
      overflow-x: hidden;
      line-height: 1.7;
    }
    h1, h2, h3, h4 {
      font-family: 'Noto Serif SC', 'STSong', serif;
      font-weight: 900;
    }
    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; display: block; }

    /* ===== Color Palette ===== */
    :root {
      --red-primary: #C8102E;
      --red-dark: #9B0C24;
      --red-light: #E8334A;
      --red-bg-light: rgba(200,16,46,0.08);
      --gold: #D4AF37;
      --gray-50: #FAFAFA;
      --gray-100: #F5F5F5;
      --gray-200: #E8E8E8;
      --gray-300: #D0D0D0;
      --gray-500: #888888;
      --gray-700: #444444;
      --gray-900: #1A1A1A;
      --white: #FFFFFF;
      --shadow: 0 4px 24px rgba(0,0,0,0.08);
      --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
    }

    /* ===== Utility ===== */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
    .section { padding: 100px 0; position: relative; }
    .section-dark { background: var(--gray-900); color: var(--white); }
    .section-red { background: var(--red-primary); color: var(--white); }
    .section-gray { background: var(--gray-100); }

    /* ===== Section Header ===== */
    .section-header { text-align: center; margin-bottom: 64px; }
    .section-label {
      display: inline-block;
      font-size: 0.75rem;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: var(--red-primary);
      font-weight: 600;
      margin-bottom: 12px;
    }
    .section-dark .section-label,
    .section-red .section-label { color: var(--gold); }
    .section-header h2 {
      font-size: clamp(1.75rem, 4vw, 2.75rem);
      line-height: 1.3;
      margin-bottom: 16px;
      color: var(--red-primary);
    }
    .section-dark .section-header h2,
    .section-red .section-header h2 { color: var(--white); }
    .section-header p {
      font-size: 1.05rem;
      color: var(--gray-500);
      max-width: 640px;
      margin: 0 auto;
    }
    .section-dark .section-header p { color: rgba(255,255,255,0.6); }
    .section-red .section-header p { color: rgba(255,255,255,0.8); }

    /* ===== Red Icon Circle ===== */
    .icon-circle {
      width: 52px; height: 52px;
      background: var(--red-primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      flex-shrink: 0;
      transition: transform 0.3s;
    }
    .icon-circle svg { width: 26px; height: 26px; fill: var(--white); }
    .icon-circle-sm {
      width: 44px; height: 44px;
      background: var(--red-bg-light);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .icon-circle-sm svg { width: 22px; height: 22px; fill: var(--red-primary); }
    .section-dark .platform-initiator .icon-circle-sm {
      background: rgba(255,255,255,0.15);
    }
    .section-dark .platform-initiator .icon-circle-sm svg {
      fill: #F5D76E;
    }

    /* ===== Nav ===== */
    .main-nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      padding: 16px 0;
      transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    }
    .main-nav.scrolled {
      background: rgba(26,26,26,0.96);
      backdrop-filter: blur(14px);
      padding: 10px 0;
      box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    }
    .nav-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .nav-logo {
      font-family: 'Noto Serif SC', serif;
      font-size: 1.25rem;
      font-weight: 900;
      color: var(--white);
      letter-spacing: 2px;
      cursor: pointer;
      transition: color 0.4s;
    }
    .nav-logo span { color: var(--red-light); transition: color 0.4s; }
    .main-nav.scrolled .nav-logo { color: var(--red-primary); }
    .main-nav.scrolled .nav-logo span { color: var(--red-dark); }
    .nav-links { display: flex; gap: 28px; list-style: none; }
    .nav-links a {
      color: rgba(255,255,255,0.8);
      font-size: 0.875rem;
      font-weight: 500;
      transition: color 0.3s;
      letter-spacing: 0.5px;
    }
    .nav-links a:hover { color: var(--white); }
    .nav-cta {
      background: var(--red-primary);
      color: var(--white) !important;
      padding: 8px 20px;
      border-radius: 4px;
      font-size: 0.8rem !important;
      font-weight: 600 !important;
      transition: background 0.3s;
    }
    .nav-cta:hover { background: var(--red-light); }

    /* Mobile nav */
    .nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
    .nav-toggle span {
      display: block; width: 22px; height: 2px;
      background: var(--white); margin: 5px 0; transition: 0.3s;
    }
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(26,26,26,0.98);
        padding: 20px 24px; gap: 16px;
      }
      .nav-toggle { display: block; }
    }

    /* ===== Hero Section ===== */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      background: #1a0008;
    }
    .hero-video-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      object-fit: cover;
      width: 100%;
      height: 100%;
    }
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(200,16,46,0.72) 0%, rgba(26,0,8,0.62) 100%);
      z-index: 1;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      color: var(--white);
      max-width: 820px;
      padding: 0 24px;
    }
    .hero-badge {
      display: inline-block;
      border: 1px solid rgba(255,255,255,0.35);
      padding: 5px 18px;
      border-radius: 20px;
      font-size: 0.72rem;
      letter-spacing: 2px;
      margin-bottom: 20px;
      opacity: 0;
      animation: fadeInDown 0.6s cubic-bezier(0.22,1,0.36,1) 0.1s forwards;
    }
    .hero h1 {
      font-size: clamp(2rem, 5vw, 3.5rem);
      font-weight: 900;
      line-height: 1.25;
      margin-bottom: 16px;
      opacity: 0;
      animation: fadeInUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.3s forwards;
      letter-spacing: 3px;
      white-space: nowrap;
    }
    @media (max-width: 600px) {
      .hero h1 { white-space: normal; }
    }
    .hero h1 span { color: var(--gold); }
    .hero-sub {
      font-family: 'Noto Serif SC', serif;
      font-size: clamp(1.3rem, 3vw, 2rem);
      font-weight: 700;
      opacity: 0;
      margin-bottom: 16px;
      animation: fadeInUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.0s forwards;
      letter-spacing: 4px;
    }
    .hero-desc {
      font-size: 0.95rem;
      opacity: 0;
      max-width: 600px;
      margin: 0 auto 36px;
      line-height: 1.9;
      animation: fadeInUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.55s forwards;
    }
    .hero-tags {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      margin-bottom: 40px;
      opacity: 0;
      animation: fadeInUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.8s forwards;
    }
    .hero-tag {
      background: rgba(255,255,255,0.1);
      backdrop-filter: blur(4px);
      padding: 7px 16px;
      border-radius: 4px;
      font-size: 0.78rem;
      letter-spacing: 1px;
      border: 1px solid rgba(255,255,255,0.12);
    }
    .hero-btn {
      display: inline-block;
      background: var(--white);
      color: var(--red-primary);
      padding: 15px 52px;
      border-radius: 4px;
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 2px;
      transition: all 0.3s;
      opacity: 0;
      animation: fadeInUp 0.6s cubic-bezier(0.22,1,0.36,1) 1.05s forwards;
      box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    }
    .hero-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 32px rgba(0,0,0,0.3);
      background: #f5f5f5;
    }
    .hero-scroll {
      position: absolute;
      bottom: 40px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
      color: rgba(255,255,255,0.5);
      font-size: 0.7rem;
      letter-spacing: 3px;
      animation: bounce 2s infinite;
    }
    .hero-scroll::after {
      content: '';
      display: block;
      width: 1px; height: 36px;
      background: rgba(255,255,255,0.25);
      margin: 10px auto 0;
    }

    /* ===== Section Video Background ===== */
    .section-video-wrap {
      position: absolute;
      inset: 0;
      z-index: 0;
      overflow: hidden;
    }
    .section-video-wrap video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .section-video-overlay {
      position: absolute;
      inset: 0;
      background: rgba(200,16,46,0.55);
      z-index: 1;
    }
    .section-video-wrap + .container {
      position: relative;
      z-index: 2;
    }

    /* ===== Pain Points ===== */
    .pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
    .pain-card {
      background: var(--white);
      border-radius: 10px;
      padding: 40px 32px;
      box-shadow: var(--shadow);
      transition: transform 0.4s, box-shadow 0.4s;
      border-top: 3px solid var(--red-primary);
    }
    .pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .pain-card h3 {
      font-size: 1.15rem;
      margin-bottom: 12px;
      color: var(--gray-900);
    }
    .pain-card p {
      font-size: 0.9rem;
      color: var(--gray-700);
      line-height: 1.8;
    }
    .pain-quote {
      background: var(--red-primary);
      color: var(--white);
      padding: 48px;
      border-radius: 10px;
      margin-top: 48px;
      text-align: center;
      opacity: 0;
      transform: translateY(28px);
    }
    .pain-quote.visible {
      opacity: 1;
      transform: translateY(0);
      transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
    }
    .pain-quote p { font-size: 1.1rem; line-height: 2; font-style: italic; opacity: 0.9; }

    /* ===== Legislation ===== */
    .legis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
    .legis-card {
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(8px);
      border-radius: 10px;
      padding: 36px 28px;
      text-align: center;
      transition: transform 0.4s;
    }
    .legis-card:hover { transform: translateY(-4px); }
    .legis-icon-circle {
      width: 56px; height: 56px;
      background: var(--red-bg-light);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 18px;
    }
    .legis-icon-circle svg { width: 28px; height: 28px; fill: var(--red-primary); }
    .legis-card h3 { font-size: 1.1rem; color: var(--red-primary); margin-bottom: 8px; }
    .legis-card p { font-size: 0.85rem; color: var(--gray-700); line-height: 1.7; }
    .legis-note {
      background: rgba(255,255,255,0.1);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 10px;
      padding: 32px;
      text-align: center;
    }
    .legis-note p { font-size: 1rem; line-height: 1.9; opacity: 0.9; }
    .legis-note strong { color: #F5D76E; }

    /* ===== Two Pillars ===== */
    .pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-bottom: 64px; }
    .pillar-card {
      background: var(--white);
      border-radius: 14px;
      padding: 48px 40px;
      box-shadow: var(--shadow);
      transition: box-shadow 0.4s;
    }
    .pillar-card:hover { box-shadow: var(--shadow-lg); }
    .pillar-number {
      font-family: 'Noto Serif SC', serif;
      font-size: 2.8rem;
      font-weight: 900;
      color: rgba(200,16,46,0.1);
      line-height: 1;
      margin-bottom: 16px;
    }
    .pillar-card h3 { font-size: 1.35rem; color: var(--gray-900); margin-bottom: 10px; }
    .pillar-card .pillar-sub {
      font-size: 0.85rem;
      color: var(--red-primary);
      font-weight: 600;
      margin-bottom: 20px;
      letter-spacing: 1px;
    }
    .pillar-card ul { list-style: none; padding: 0; }
    .pillar-card li {
      padding: 10px 0;
      border-bottom: 1px solid var(--gray-200);
      font-size: 0.9rem;
      color: var(--gray-700);
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }
    .pillar-card li::before {
      content: '';
      display: inline-block;
      width: 18px; height: 18px;
      flex-shrink: 0;
      margin-top: 2px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C8102E'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
      background-size: contain;
      background-repeat: no-repeat;
    }
    .data-table-wrap { overflow-x: auto; margin-top: 48px; }
    .data-table-wrap .anim-trigger {
      opacity: 0;
      transform: translateY(28px);
    }
    .data-table-wrap.visible .anim-trigger {
      opacity: 1;
      transform: translateY(0);
      transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
    }
    .data-table {
      width: 100%; border-collapse: collapse;
      background: var(--white); border-radius: 10px;
      overflow: hidden; box-shadow: var(--shadow); min-width: 600px;
    }
    .data-table th {
      background: var(--red-primary); color: var(--white);
      padding: 14px 20px; font-size: 0.8rem;
      font-weight: 600; letter-spacing: 1px; text-align: left;
    }
    .data-table td { padding: 14px 20px; font-size: 0.9rem; border-bottom: 1px solid var(--gray-200); color: var(--gray-700); }
    .data-table tr:last-child td { border-bottom: none; }
    .data-highlight { color: var(--red-primary); font-weight: 700; }

    /* ===== Platform ===== */
    .platform-1n2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 64px; }
    .platform-box {
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(8px);
      border-radius: 14px;
      padding: 44px 40px;
    }
    .platform-box h3 { font-size: 1.4rem; color: var(--gray-900); margin-bottom: 8px; }
    .platform-formula {
      font-size: 2rem; font-weight: 900;
      color: var(--red-primary);
      margin-bottom: 16px;
      font-family: 'Noto Serif SC', serif;
    }
    .platform-box p { font-size: 0.95rem; color: var(--gray-700); line-height: 1.8; }
    .empower-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
    .empower-card {
      background: var(--white);
      border-radius: 10px;
      padding: 32px 24px;
      text-align: center;
      box-shadow: var(--shadow);
      transition: transform 0.4s;
    }
    .empower-card:hover { transform: translateY(-4px); }
    .empower-card h4 { font-size: 1rem; margin-bottom: 8px; color: var(--gray-900); }
    .empower-card p { font-size: 0.82rem; color: var(--gray-500); line-height: 1.6; }

    /* ===== Platform Initiator ===== */
    .platform-initiator { border-radius: 14px; padding: 40px; text-align: center; }
    .platform-initiator h3 { font-size: 1.3rem; margin-bottom: 28px; color: #F5D76E; }
    .initiator-grid {
      display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: left; max-width: 800px; margin: 0 auto;
    }
    .initiator-item { display: flex; align-items: flex-start; gap: 14px; }
    .initiator-item h4 { font-size: 0.95rem; color: var(--white); margin-bottom: 6px; }
    .initiator-item p { font-size: 0.82rem; opacity: 0.7; line-height: 1.6; }

    /* ===== Qualifications ===== */
    .qual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .qual-card {
      background: var(--white);
      border-radius: 10px;
      padding: 32px;
      box-shadow: var(--shadow);
      border-left: 3px solid var(--red-primary);
      transition: transform 0.4s;
    }
    .qual-card:hover { transform: translateY(-4px); }
    .qual-card h4 { font-size: 1rem; color: var(--gray-900); margin-bottom: 8px; }
    .qual-badge {
      display: inline-block;
      background: var(--red-bg-light);
      color: var(--red-primary);
      padding: 4px 12px;
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: 600;
      margin-bottom: 12px;
    }
    .qual-card p { font-size: 0.85rem; color: var(--gray-700); line-height: 1.7; }

    /* ===== Business Scenarios ===== */
    .scenario-tabs {
      display: flex; justify-content: center;
      gap: 8px; margin-bottom: 48px; flex-wrap: wrap;
    }
    .scenario-tab {
      padding: 10px 24px; border-radius: 4px;
      font-size: 0.85rem; font-weight: 600;
      cursor: pointer; transition: all 0.3s;
      background: rgba(255,255,255,0.1);
      color: rgba(255,255,255,0.7);
      border: 1px solid rgba(255,255,255,0.12);
      letter-spacing: 1px;
    }
    .scenario-tab.active, .scenario-tab:hover {
      background: var(--red-primary); color: var(--white); border-color: var(--red-primary);
    }
    .scenario-panels { position: relative; }
    .scenario-panel {
      display: none;
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(8px);
      border-radius: 14px;
      padding: 48px;
    }
    .scenario-panel.active { display: block; animation: fadeIn 0.35s ease-out; }
    .scenario-panel h3 { font-size: 1.35rem; color: var(--gray-900); margin-bottom: 24px; }
    .scenario-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .scenario-item {
      background: var(--gray-100);
      border-radius: 8px;
      padding: 20px;
    }
    .scenario-item h4 { font-size: 0.95rem; color: var(--red-primary); margin-bottom: 6px; }
    .scenario-item p { font-size: 0.82rem; color: var(--gray-700); line-height: 1.6; }
    .income-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
    .income-card {
      background: rgba(255,255,255,0.1);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 10px;
      padding: 32px; text-align: center;
    }
    .income-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
    .income-card p { font-size: 0.85rem; opacity: 0.8; line-height: 1.7; }

    /* ===== Success Cases ===== */
    .case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
    .case-card {
      background: var(--white);
      border-radius: 14px;
      padding: 40px 32px;
      box-shadow: var(--shadow);
      transition: transform 0.4s, box-shadow 0.4s;
    }
    .case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .case-avatar-circle {
      width: 56px; height: 56px;
      background: var(--red-bg-light);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
    }
    .case-avatar-circle svg { width: 28px; height: 28px; fill: var(--red-primary); }
    .case-role {
      font-size: 0.75rem;
      color: var(--red-primary);
      font-weight: 600;
      letter-spacing: 1px;
      margin-bottom: 8px;
    }
    .case-card h4 { font-size: 1.1rem; margin-bottom: 16px; color: var(--gray-900); }
    .case-quote {
      font-size: 0.92rem;
      color: var(--gray-700);
      line-height: 1.8;
      border-left: 3px solid var(--red-primary);
      padding-left: 16px;
      margin-bottom: 16px;
      font-style: italic;
    }
    .case-result { font-size: 0.82rem; color: var(--gray-500); line-height: 1.7; }
    .case-result strong { color: var(--red-primary); }

    /* ===== Benefits ===== */
    .benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .benefit-card {
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(8px);
      border-radius: 14px;
      padding: 40px;
    }
    .benefit-card h3 {
      font-size: 1.25rem;
      color: var(--gray-900);
      margin-bottom: 20px;
      display: flex; align-items: center; gap: 12px;
    }
    .benefit-num {
      font-family: 'Noto Serif SC', serif;
      font-size: 2rem;
      color: rgba(200,16,46,0.15);
    }
    .benefit-list { list-style: none; padding: 0; }
    .benefit-list li {
      padding: 10px 0;
      border-bottom: 1px solid var(--gray-200);
      font-size: 0.9rem;
      color: var(--gray-700);
      display: flex; align-items: flex-start; gap: 10px;
    }
    .benefit-list li::before {
      content: '✦'; color: var(--gold); flex-shrink: 0;
    }

    /* ===== Screen 10: CTA — v13: full-width container, matching section rhythm ===== */
    .cta-section {
      background: var(--gray-100);
      padding: 100px 0 80px;
    }
    /* v14: no max-width — full container width, matching other sections */
    .cta-header {
      text-align: center;
      margin-bottom: 56px;
    }
    .cta-header h2 {
      font-family: 'Noto Serif SC', serif;
      font-size: clamp(1.5rem, 3.5vw, 2.2rem);
      font-weight: 900;
      color: var(--gray-900);
      line-height: 1.4;
      margin-bottom: 16px;
    }
    .cta-header h2 span { color: var(--red-primary); }
    .cta-header p {
      font-size: 1rem;
      color: var(--gray-700);
      line-height: 1.8;
    }
    /* Three benefits row */
    .cta-benefits {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-bottom: 48px;
    }
    .cta-benefit-item {
      background: var(--white);
      border-radius: 10px;
      padding: 28px 24px;
      box-shadow: var(--shadow);
      border-top: 3px solid var(--red-primary);
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .cta-benefit-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
    .cta-benefit-item h4 {
      font-family: 'Noto Sans SC', sans-serif;
      font-size: 1rem;
      color: var(--red-primary);
      margin-bottom: 6px;
    }
    .cta-benefit-item p {
      font-size: 0.82rem;
      color: var(--gray-700);
      line-height: 1.6;
      margin: 0;
    }
    /* Qualify compare */
    .cta-qualify-compare {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-bottom: 48px;
    }
    .cta-qualify-box {
      background: var(--white);
      border-radius: 10px;
      padding: 28px 24px;
      box-shadow: var(--shadow);
    }
    .cta-qualify-box h4 {
      font-size: 1rem;
      color: var(--gray-900);
      margin-bottom: 14px;
      text-align: center;
    }
    .cta-qualify-box ul { list-style: none; padding: 0; }
    .cta-qualify-box li {
      font-size: 0.88rem;
      color: var(--gray-700);
      padding: 7px 0;
      display: flex;
      align-items: flex-start;
      gap: 8px;
      line-height: 1.5;
    }
    .cta-qualify-box li::before {
      content: '';
      display: inline-block;
      width: 16px; height: 16px;
      flex-shrink: 0;
      margin-top: 2px;
      background-size: contain;
      background-repeat: no-repeat;
    }
    .cta-qualify-fit li::before {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C8102E'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    }
    .cta-qualify-no li::before {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D0D0D0'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
    }
    /* QR + button row */
    /* v15: red module — text + QR side-by-side */
    .cta-red-module {
      background: var(--red-primary);
      border-radius: 14px;
      padding: 48px 56px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 64px;
      margin-bottom: 40px;
    }
    .cta-red-text {
      font-family: 'Noto Serif SC', serif;
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--white);
      letter-spacing: 3px;
      line-height: 1.6;
      flex-shrink: 0;
    }
    .cta-red-qr {
      display: flex;
      align-items: center;
      gap: 20px;
    }
    .cta-red-qr img {
      width: 120px;
      height: 120px;
      border-radius: 8px;
      display: block;
      /* no background card — just the QR image */
    }
    .cta-red-qr-text { text-align: left; }
    .cta-red-qr-text h4 { font-family: 'Noto Sans SC', sans-serif; font-size: 0.95rem; color: var(--white); margin-bottom: 4px; opacity: 0.9; }
    .cta-red-qr-text p { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin: 0; line-height: 1.5; }
    .cta-footer-note {
      text-align: center;
      font-size: 0.72rem;
      color: var(--gray-500);
      padding-top: 40px;
    }

    /* ===== Footer ===== */
    .footer {
      background: var(--gray-900);
      color: rgba(255,255,255,0.5);
      padding: 48px 0 24px;
      font-size: 0.82rem;
    }
    .footer-inner {
      display: flex; justify-content: space-between;
      align-items: center; flex-wrap: wrap; gap: 16px;
      margin-bottom: 24px;
    }
    .footer-logo {
      font-family: 'Noto Serif SC', serif;
      font-size: 1.1rem; font-weight: 700;
      color: var(--white); letter-spacing: 2px;
    }
    .footer-links { display: flex; gap: 24px; list-style: none; }
    .footer-links a { color: rgba(255,255,255,0.5); transition: color 0.3s; }
    .footer-links a:hover { color: var(--white); }
    .footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin-bottom: 24px; }
    .footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

    /* ===== Keyframes (v13: fewer, cleaner) ===== */
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeInDown {
      from { opacity: 0; transform: translateY(-20px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeInLeft {
      from { opacity: 0; transform: translateX(-28px); }
      to   { opacity: 1; transform: translateX(0); }
    }
    @keyframes fadeInRight {
      from { opacity: 0; transform: translateX(28px); }
      to   { opacity: 1; transform: translateX(0); }
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to   { opacity: 1; }
    }
    @keyframes scaleIn {
      from { opacity: 0; transform: scale(0.9); }
      to   { opacity: 1; transform: scale(1); }
    }
    @keyframes bounce {
      0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
      40% { transform: translateX(-50%) translateY(-10px); }
      60% { transform: translateX(-50%) translateY(-5px); }
    }

    /* ================================================================
       ANIMATION SYSTEM (v13 — single mechanism, no conflicts)
       Strategy: parent-container-level stagger ONLY.
       Each stagger child starts hidden. Parent gets .visible on-scroll,
       then children animate in with staggered delays.
       No individual card .visible classes. No will-change on every card.
    ================================================================ */

    /* Section header */
    .anim-sh .section-label { opacity: 0; }
    .anim-sh.visible .section-label { animation: fadeInDown 0.5s cubic-bezier(0.22,1,0.36,1) forwards; }
    .anim-sh h2             { opacity: 0; }
    .anim-sh.visible h2     { animation: fadeInUp 0.55s cubic-bezier(0.22,1,0.36,1) 0.1s forwards; }
    .anim-sh p              { opacity: 0; }
    .anim-sh.visible p      { animation: fadeInUp 0.55s cubic-bezier(0.22,1,0.36,1) 0.2s forwards; }

    /* Stagger — fadeInUp with increasing delay */
    .anim-stagger > * { opacity: 0; }
    .anim-stagger.visible > *:nth-child(1) { animation: fadeInUp 0.5s cubic-bezier(0.22,1,0.36,1) 0.04s forwards; }
    .anim-stagger.visible > *:nth-child(2) { animation: fadeInUp 0.5s cubic-bezier(0.22,1,0.36,1) 0.12s forwards; }
    .anim-stagger.visible > *:nth-child(3) { animation: fadeInUp 0.5s cubic-bezier(0.22,1,0.36,1) 0.20s forwards; }
    .anim-stagger.visible > *:nth-child(4) { animation: fadeInUp 0.5s cubic-bezier(0.22,1,0.36,1) 0.28s forwards; }
    .anim-stagger.visible > *:nth-child(5) { animation: fadeInUp 0.5s cubic-bezier(0.22,1,0.36,1) 0.36s forwards; }
    .anim-stagger.visible > *:nth-child(6) { animation: fadeInUp 0.5s cubic-bezier(0.22,1,0.36,1) 0.44s forwards; }

    /* Scale stagger — for platform 1+N+N² boxes */
    .anim-scale > * { opacity: 0; }
    .anim-scale.visible > *:nth-child(1) { animation: scaleIn 0.5s cubic-bezier(0.22,1,0.36,1) 0.04s forwards; }
    .anim-scale.visible > *:nth-child(2) { animation: scaleIn 0.5s cubic-bezier(0.22,1,0.36,1) 0.14s forwards; }
    .anim-scale.visible > *:nth-child(3) { animation: scaleIn 0.5s cubic-bezier(0.22,1,0.36,1) 0.24s forwards; }

    /* Pop stagger — for CTA benefit items */
    .anim-pop > * { opacity: 0; }
    .anim-pop.visible > *:nth-child(1) { animation: scaleIn 0.45s cubic-bezier(0.22,1,0.36,1) 0.0s forwards; }
    .anim-pop.visible > *:nth-child(2) { animation: scaleIn 0.45s cubic-bezier(0.22,1,0.36,1) 0.1s forwards; }
    .anim-pop.visible > *:nth-child(3) { animation: scaleIn 0.45s cubic-bezier(0.22,1,0.36,1) 0.2s forwards; }

    /* Split — left-right enter for pillar cards */
    .anim-split > *:nth-child(odd)  { opacity: 0; }
    .anim-split > *:nth-child(even) { opacity: 0; }
    .anim-split.visible > *:nth-child(odd)  { animation: fadeInRight 0.55s cubic-bezier(0.22,1,0.36,1) forwards; }
    .anim-split.visible > *:nth-child(even) { animation: fadeInLeft 0.55s cubic-bezier(0.22,1,0.36,1) 0.1s forwards; }

    /* Split for CTA qualify compare (inside container) */
    .anim-split-box > *:nth-child(odd)  { opacity: 0; }
    .anim-split-box > *:nth-child(even) { opacity: 0; }
    .anim-split-box.visible > *:nth-child(odd)  { animation: fadeInRight 0.5s cubic-bezier(0.22,1,0.36,1) forwards; }
    .anim-split-box.visible > *:nth-child(even) { animation: fadeInLeft 0.5s cubic-bezier(0.22,1,0.36,1) 0.1s forwards; }

    /* Table rows slide up */
    .anim-rows tbody tr { opacity: 0; }
    .anim-rows.visible tbody tr:nth-child(1) { animation: fadeInUp 0.4s cubic-bezier(0.22,1,0.36,1) 0.0s forwards; }
    .anim-rows.visible tbody tr:nth-child(2) { animation: fadeInUp 0.4s cubic-bezier(0.22,1,0.36,1) 0.07s forwards; }
    .anim-rows.visible tbody tr:nth-child(3) { animation: fadeInUp 0.4s cubic-bezier(0.22,1,0.36,1) 0.14s forwards; }
    .anim-rows.visible tbody tr:nth-child(4) { animation: fadeInUp 0.4s cubic-bezier(0.22,1,0.36,1) 0.21s forwards; }
    .anim-rows.visible tbody tr:nth-child(5) { animation: fadeInUp 0.4s cubic-bezier(0.22,1,0.36,1) 0.28s forwards; }
    .anim-rows.visible tbody tr:nth-child(6) { animation: fadeInUp 0.4s cubic-bezier(0.22,1,0.36,1) 0.35s forwards; }

    /* ===== Responsive ===== */
    @media (max-width: 1024px) {
      .pain-grid, .qual-grid { grid-template-columns: repeat(2, 1fr); }
      .empower-grid { grid-template-columns: repeat(2, 1fr); }
      .scenario-list { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .section { padding: 72px 0; }
      .pain-grid, .qual-grid, .pillar-grid,
      .platform-1n2, .benefits-grid { grid-template-columns: 1fr; }
      .legis-grid { grid-template-columns: 1fr; }
      .empower-grid { grid-template-columns: 1fr 1fr; }
      .case-grid { grid-template-columns: 1fr; }
      .scenario-list { grid-template-columns: 1fr; }
      .income-grid { grid-template-columns: 1fr; }
      .cta-benefits { grid-template-columns: 1fr; }
      .cta-qualify-compare { grid-template-columns: 1fr; }
      .cta-red-module { flex-direction: column; gap: 28px; padding: 36px 28px; text-align: center; }
      .cta-red-text { font-size: 1.05rem; }
      .cta-red-qr { flex-direction: column; text-align: center; }
      .cta-red-qr-text { text-align: center; }
      .initiator-grid { grid-template-columns: 1fr; }
      .hero h1 { letter-spacing: 2px; }
    }
    @media (max-width: 480px) {
      .empower-grid { grid-template-columns: 1fr; }
      .footer-inner { flex-direction: column; text-align: center; }
      .footer-bottom { flex-direction: column; text-align: center; }
      .cta-red-qr img { width: 100px; height: 100px; }
    }

/* ===== 第3/5/7/9屏 视频/海报背景 ===== */
/* 用高优先级选择器确保视频始终作为背景定位 */
.section-dark .screen-video-bg,
.section-gray .screen-video-bg,
#legislation .screen-video-bg,
#platform    .screen-video-bg,
#scenarios  .screen-video-bg,
#benefits   .screen-video-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  z-index: 0 !important;
  pointer-events: none;
}
/* 海报图用 div 模拟，需要单独处理 */
.section-dark > div.screen-video-bg,
.section-gray > div.screen-video-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  pointer-events: none;
}
/* 确保深色/灰色区块建立定位上下文并裁剪溢出 */
.section-dark,
.section-gray {
  position: relative !important;
  overflow: hidden !important;
}
/* 深色区块背景视频上叠加纪念红蒙版（与原HTML设计一致） */
.section-dark .screen-video-bg,
.section-gray .screen-video-bg {
  opacity: 1;
}
/* 有背景视频/海报的 section 用 ::before 叠加红色半透明蒙版 */
#legislation::before,
#platform::before,
#scenarios::before,
#benefits::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(200, 16, 46, 0.55);
  z-index: 0;
  pointer-events: none;
}
/* 含背景视频的区块：内容容器必须在视频之上 */
#legislation .container,
#platform      .container,
#scenarios    .container,
#benefits     .container {
  position: relative !important;
  z-index: 1 !important;
}
