/* roulang page: index */
:root {
      --primary: #0A2E1F;
      --primary-light: #1E4A3B;
      --accent: #F5A623;
      --accent-hover: #D4891A;
      --accent-light: #FDEBD0;
      --bg-page: #F9FAFB;
      --bg-section: #F0F4F2;
      --text-main: #1F2937;
      --text-secondary: #6B7280;
      --text-light: #D1D5DB;
      --white: #FFFFFF;
      --border-light: #E5E7EB;
      --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
      --shadow-md: 0 8px 24px rgba(10,46,31,0.12);
      --radius-card: 16px;
      --radius-btn: 12px;
      --radius-input: 8px;
      --radius-badge: 20px;
      --font-heading: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
      --font-body: 'Inter', 'Noto Sans SC', sans-serif;
      --font-mono: 'DIN Alternate', 'Inter', monospace;
      --transition: 0.2s ease;
      --max-width: 1200px;
      --nav-height: 72px;
      --bottom-tab-height: 64px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-body);
      background-color: var(--bg-page);
      color: var(--text-main);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      padding-bottom: 0;
      transition: padding-bottom 0.2s;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, .btn {
      cursor: pointer;
      font-family: var(--font-body);
      transition: var(--transition);
      border: none;
      outline: none;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
      width: 100%;
    }

    /* 顶部导航 */
    .main-header {
      position: sticky;
      top: 0;
      width: 100%;
      background: rgba(255,255,255,0.96);
      backdrop-filter: blur(8px);
      box-shadow: 0 2px 8px rgba(0,0,0,0.02);
      z-index: 50;
      height: var(--nav-height);
      display: flex;
      align-items: center;
      border-bottom: 1px solid var(--border-light);
    }

    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }

    .logo {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 1.8rem;
      letter-spacing: -0.5px;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .logo span {
      color: var(--accent);
    }

    .desktop-nav {
      display: flex;
      gap: 2rem;
      align-items: center;
    }

    .desktop-nav a {
      font-weight: 500;
      font-size: 1rem;
      color: var(--text-main);
      padding: 8px 0;
      border-bottom: 3px solid transparent;
      transition: var(--transition);
    }

    .desktop-nav a:hover,
    .desktop-nav a.active {
      color: var(--accent);
      border-bottom-color: var(--accent);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      width: 32px;
      height: 24px;
      justify-content: center;
      z-index: 55;
    }
    .hamburger span {
      display: block;
      height: 3px;
      background: var(--primary);
      border-radius: 3px;
      transition: var(--transition);
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: var(--nav-height);
      left: 0;
      width: 100%;
      background: white;
      flex-direction: column;
      padding: 1.5rem 2rem;
      gap: 1.2rem;
      box-shadow: var(--shadow-md);
      z-index: 45;
    }
    .mobile-menu a {
      font-weight: 600;
      font-size: 1.1rem;
      color: var(--text-main);
      padding: 8px 0;
      border-bottom: 1px solid var(--border-light);
    }

    /* 底部 Tab 导航 (移动端) */
    .bottom-tab-nav {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      height: var(--bottom-tab-height);
      background: var(--white);
      border-top: 1px solid var(--border-light);
      justify-content: space-around;
      align-items: center;
      z-index: 50;
      box-shadow: 0 -4px 12px rgba(0,0,0,0.02);
    }
    .tab-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      font-size: 10px;
      color: var(--text-secondary);
      transition: var(--transition);
      background: none;
      border: none;
      font-weight: 500;
    }
    .tab-item .tab-icon {
      font-size: 22px;
      line-height: 1;
    }
    .tab-item.active {
      color: var(--accent);
    }

    /* Hero */
    .hero {
      background: linear-gradient(135deg, var(--primary) 0%, #1a4230 100%);
      color: white;
      padding: 4rem 0;
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.05) 0%, transparent 30%);
      pointer-events: none;
    }
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 3rem;
    }
    .hero-text {
      flex: 1;
    }
    .hero h1 {
      font-family: var(--font-heading);
      font-size: 3rem;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 1.2rem;
      letter-spacing: -0.5px;
    }
    .hero-sub {
      font-size: 1.2rem;
      color: rgba(255,255,255,0.85);
      margin-bottom: 2rem;
    }
    .hero-buttons {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--accent);
      color: white;
      font-weight: 600;
      padding: 0.8rem 2rem;
      border-radius: var(--radius-btn);
      font-size: 1rem;
      border: none;
    }
    .btn-primary:hover {
      background: var(--accent-hover);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid white;
      color: white;
      font-weight: 600;
      padding: 0.8rem 2rem;
      border-radius: var(--radius-btn);
    }
    .btn-outline:hover {
      background: rgba(255,255,255,0.1);
    }
    .hero-visual {
      flex: 1;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      min-height: 320px;
      border-radius: 24px;
      background-blend-mode: overlay;
      background-color: rgba(10,46,31,0.6);
      box-shadow: var(--shadow-md);
    }

    /* 通用区块 */
    section {
      padding: 5rem 0;
    }
    .section-title {
      font-family: var(--font-heading);
      font-size: 2.2rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: var(--primary);
    }
    .section-desc {
      color: var(--text-secondary);
      max-width: 700px;
      margin-bottom: 3rem;
      font-size: 1.1rem;
    }

    /* 优势卡片 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 2rem;
    }
    .feature-card {
      background: var(--white);
      border-radius: var(--radius-card);
      padding: 2rem 1.5rem;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      text-align: center;
    }
    .feature-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
    }
    .badge {
      display: inline-block;
      background: var(--accent);
      color: white;
      font-family: var(--font-mono);
      font-weight: 700;
      padding: 0.4rem 1.2rem;
      border-radius: var(--radius-badge);
      font-size: 1.3rem;
      margin-bottom: 1.2rem;
    }
    .feature-card h3 {
      font-family: var(--font-heading);
      font-size: 1.4rem;
      margin-bottom: 0.75rem;
    }

    /* 服务卡片 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(2,1fr);
      gap: 2rem;
    }
    .service-card {
      background: rgba(30,74,59,0.05);
      border-radius: var(--radius-card);
      padding: 1.5rem;
      display: flex;
      gap: 1.5rem;
      transition: var(--transition);
      box-shadow: var(--shadow-sm);
    }
    .service-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
      background: rgba(30,74,59,0.08);
    }
    .service-img {
      width: 100px;
      height: 100px;
      border-radius: 12px;
      object-fit: cover;
      flex-shrink: 0;
    }
    .service-text h3 {
      font-family: var(--font-heading);
      margin-bottom: 0.5rem;
    }
    .text-link {
      color: var(--accent);
      font-weight: 600;
      margin-top: 0.8rem;
      display: inline-block;
    }

    /* 案例横向滚动 */
    .cases-scroll {
      display: flex;
      gap: 1.5rem;
      overflow-x: auto;
      padding-bottom: 1rem;
      scrollbar-width: thin;
    }
    .case-card {
      flex: 0 0 calc(33.333% - 1rem);
      min-width: 280px;
      background: var(--primary);
      color: white;
      border-radius: var(--radius-card);
      padding: 1.5rem;
      border: 1px solid var(--border-light);
    }
    .score-big {
      font-family: var(--font-mono);
      font-size: 3rem;
      font-weight: 700;
      color: var(--accent);
    }
    .progress-bar {
      height: 6px;
      background: rgba(255,255,255,0.2);
      border-radius: 3px;
      margin: 0.8rem 0;
      width: 100%;
    }
    .progress-fill {
      width: 82%;
      height: 100%;
      background: var(--accent);
      border-radius: 3px;
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }
    .faq-item {
      border-bottom: 1px solid var(--border-light);
      padding: 1.5rem 0;
    }
    .faq-question {
      font-weight: 600;
      font-size: 1.2rem;
      color: var(--primary);
      display: flex;
      justify-content: space-between;
      cursor: pointer;
    }
    .faq-answer {
      margin-top: 0.8rem;
      color: var(--text-secondary);
      display: none;
    }
    .faq-item.open .faq-answer {
      display: block;
    }

    /* CTA */
    .cta-block {
      background: var(--primary);
      color: white;
      text-align: center;
      padding: 4rem 0;
    }
    .cta-form {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-top: 2rem;
      flex-wrap: wrap;
    }
    .cta-input {
      padding: 0.9rem 1.5rem;
      border-radius: var(--radius-input);
      border: none;
      width: 300px;
      max-width: 100%;
      font-size: 1rem;
    }

    /* 页脚 */
    .footer {
      background: #1F2937;
      color: var(--text-light);
      padding: 3rem 0 2rem;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4,1fr);
      gap: 2rem;
    }
    .footer a:hover {
      color: var(--accent);
    }

    @media (max-width: 1024px) {
      .desktop-nav { display: none; }
      .hamburger { display: flex; }
      .bottom-tab-nav { display: flex; }
      body { padding-bottom: var(--bottom-tab-height); }
      .hero-grid { flex-direction: column; }
      .hero-visual { width: 100%; min-height: 250px; }
      .features-grid { grid-template-columns: 1fr; }
      .services-grid { grid-template-columns: 1fr; }
      .case-card { flex: 0 0 70%; }
      .footer-grid { grid-template-columns: repeat(2,1fr); }
    }
    @media (max-width: 768px) {
      .hero h1 { font-size: 2.2rem; }
      section { padding: 3rem 0; }
    }
