/* roulang page: index */
:root {
      --primary: #D41B2C;
      --primary-dark: #B01824;
      --secondary: #1A1D22;
      --accent: #00E5BF;
      --accent-text: #008066;
      --bg: #F5F4F0;
      --white: #FFFFFF;
      --gray-100: #FAF9F7;
      --gray-200: #E8E6E1;
      --gray-300: #D1CFC9;
      --gray-500: #9A9DA3;
      --gray-600: #6B6E75;
      --gray-700: #5A5D63;
      --gray-800: #1A1D22;
      --shadow-sm: 0 4px 20px rgba(26, 29, 34, 0.04);
      --shadow-md: 0 8px 24px rgba(26, 29, 34, 0.08);
      --shadow-lg: 0 12px 32px rgba(26, 29, 34, 0.1);
      --radius-md: 12px;
      --radius-sm: 8px;
      --radius-chip: 20px;
      --font-title: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
      --font-body: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      --max-width: 1280px;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: var(--font-body);
      background-color: var(--bg);
      color: var(--gray-800);
      line-height: 1.7;
      font-size: 16px;
      font-weight: 400;
      -webkit-font-smoothing: antialiased;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    a {
      text-decoration: none;
      color: inherit;
    }
    button, input, textarea {
      font-family: inherit;
    }
    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }
    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(245, 244, 240, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transition: background 0.3s, box-shadow 0.3s;
      border-bottom: 1px solid transparent;
    }
    .header.scrolled {
      background: rgba(26, 29, 34, 0.92);
      border-bottom: 1px solid rgba(255,255,255,0.08);
      box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    }
    .header.scrolled .nav-chip {
      color: #ddd;
    }
    .header.scrolled .nav-chip.active {
      background: var(--primary);
      color: white;
    }
    .header.scrolled .logo-text {
      color: white;
    }
    .header.scrolled .menu-toggle span {
      background: white;
    }
    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }
    .logo {
      font-family: var(--font-title);
      font-weight: 700;
      font-size: 1.6rem;
      letter-spacing: 1px;
      color: var(--secondary);
      transition: color 0.3s;
      white-space: nowrap;
    }
    .logo span {
      color: var(--primary);
    }
    .nav-menu {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .nav-chip {
      display: inline-block;
      padding: 8px 18px;
      border-radius: var(--radius-chip);
      font-weight: 500;
      font-size: 0.95rem;
      color: var(--secondary);
      background: transparent;
      transition: all 0.25s ease;
      white-space: nowrap;
    }
    .nav-chip:hover {
      background: var(--gray-200);
      color: var(--secondary);
    }
    .nav-chip.active {
      background: var(--primary);
      color: white;
    }
    .header.scrolled .nav-chip:hover {
      background: rgba(255,255,255,0.15);
      color: white;
    }
    .btn-primary-sm {
      background: var(--primary);
      color: white;
      padding: 10px 22px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: all 0.3s;
      white-space: nowrap;
      margin-left: 12px;
      font-size: 0.95rem;
    }
    .btn-primary-sm:hover {
      background: var(--primary-dark);
      box-shadow: 0 0 0 4px rgba(212, 27, 44, 0.25);
    }
    .menu-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 8px;
    }
    .menu-toggle span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--secondary);
      transition: 0.3s;
    }
    .mobile-nav {
      display: none;
      flex-direction: column;
      background: var(--white);
      padding: 16px 24px;
      gap: 12px;
      box-shadow: var(--shadow-md);
    }
    /* 首屏 */
    .hero {
      padding: 140px 0 100px;
      display: flex;
      align-items: center;
      gap: 60px;
    }
    .hero-left {
      flex: 1;
    }
    .hero-right {
      flex: 1;
      position: relative;
      border-radius: var(--radius-md);
      overflow: hidden;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      min-height: 420px;
      display: flex;
      align-items: flex-end;
      justify-content: flex-end;
    }
    .hero-right::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(26,29,34,0.5) 0%, rgba(212,27,44,0.3) 100%);
    }
    .hero-score {
      position: relative;
      z-index: 2;
      font-size: 4rem;
      font-weight: 700;
      color: rgba(255,255,255,0.25);
      padding: 25px;
      font-family: var(--font-title);
    }
    .hero h1 {
      font-size: 3.5rem;
      font-weight: 700;
      line-height: 1.1;
      font-family: var(--font-title);
      margin-bottom: 1.2rem;
    }
    .hero h1 .highlight {
      color: var(--primary);
    }
    .hero-sub {
      font-size: 1.25rem;
      font-weight: 300;
      color: var(--gray-700);
      margin-bottom: 2rem;
      max-width: 500px;
    }
    .hero-cta {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: all 0.3s;
      font-size: 1rem;
    }
    .btn-primary:hover {
      background: var(--primary-dark);
      box-shadow: 0 0 0 4px rgba(212, 27, 44, 0.25);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 14px 32px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
    }
    .btn-outline:hover {
      background: var(--primary);
      color: white;
    }
    /* 板块 */
    section {
      padding: 80px 0;
    }
    .section-title {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 16px;
      font-family: var(--font-title);
    }
    .highlights-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
      margin-top: 40px;
    }
    .highlight-item {
      background: var(--white);
      padding: 32px 24px;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm);
      transition: all 0.3s;
    }
    .highlight-item:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
    }
    .highlight-icon {
      font-size: 2rem;
      color: var(--primary);
      margin-bottom: 16px;
    }
    .highlight-item h4 {
      font-size: 1.2rem;
      margin-bottom: 8px;
    }
    .case-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 32px;
    }
    .case-card {
      background: var(--white);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: all 0.3s;
    }
    .case-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
    }
    .case-img {
      height: 220px;
      background-size: cover;
      background-position: center;
      transition: transform 0.4s;
    }
    .case-card:hover .case-img {
      transform: scale(1.03);
    }
    .case-content {
      padding: 20px;
    }
    .chip-accent {
      background: rgba(0,229,191,0.1);
      color: var(--accent-text);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.8rem;
      display: inline-block;
      margin-bottom: 8px;
    }
    .plan-table {
      display: flex;
      gap: 0;
      margin-top: 40px;
      background: var(--white);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }
    .plan-col {
      flex: 1;
    }
    .plan-header {
      background: var(--secondary);
      color: white;
      padding: 24px;
      font-weight: 700;
      text-align: center;
    }
    .plan-col.recommend .plan-header {
      background: var(--primary);
      border-left: 3px solid var(--primary);
    }
    .plan-row {
      padding: 16px 24px;
      border-bottom: 1px solid var(--gray-200);
    }
    .faq-list {
      max-width: 800px;
      margin: 40px auto 0;
    }
    .faq-item {
      border-bottom: 1px solid var(--gray-200);
    }
    .faq-question {
      padding: 20px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s;
      padding-left: 20px;
      border-left: 3px solid transparent;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      padding-bottom: 24px;
      border-left-color: var(--primary);
    }
    .contact-section {
      background: var(--secondary);
      color: white;
      border-radius: var(--radius-md);
      padding: 60px 40px;
      text-align: center;
      margin-top: 40px;
    }
    .contact-form input, .contact-form textarea {
      background: transparent;
      border: none;
      border-bottom: 2px solid var(--gray-300);
      padding: 12px 4px;
      width: 100%;
      margin-bottom: 20px;
      color: white;
      outline: none;
      transition: 0.2s;
    }
    .contact-form input:focus, .contact-form textarea:focus {
      border-bottom: 3px solid var(--primary);
    }
    .footer {
      background: var(--secondary);
      color: var(--gray-500);
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 30px;
    }
    @media (max-width: 1024px) {
      .case-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .nav-menu { display: none; }
      .menu-toggle { display: flex; }
      .hero { flex-direction: column; padding: 120px 0 60px; }
      .highlights-grid { grid-template-columns: 1fr; }
      .case-grid { grid-template-columns: 1fr; }
      .plan-table { flex-direction: column; }
      .footer-grid { grid-template-columns: repeat(2, 1fr); }
    }
