/* roulang page: index */
:root {
      --primary: #F04E23;
      --primary-dark: #D13C1A;
      --secondary: #1A1A1A;
      --accent: #FFD100;
      --bg: #F9F6F1;
      --white: #FFFFFF;
      --text-primary: #1A1A1A;
      --text-secondary: #555555;
      --text-muted: #888888;
      --border-light: rgba(0,0,0,0.04);
      --shadow-card: 0 4px 20px rgba(0,0,0,0.04);
      --shadow-hover: 0 12px 32px rgba(240,78,35,0.12);
      --radius-md: 8px;
      --radius-lg: 16px;
      --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
      --font-mono: 'Inter', 'Roboto', sans-serif;
      --max-width: 1280px;
      --space-section: 120px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg);
      color: var(--text-primary);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, input {
      font-family: inherit;
      outline: none;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .nav {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(0,0,0,0.05);
      box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    }
    .nav .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }
    .logo {
      font-weight: 700;
      font-size: 1.5rem;
      letter-spacing: 1px;
      color: var(--secondary);
    }
    .logo span {
      color: var(--primary);
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 2rem;
    }
    .nav-links a {
      font-weight: 500;
      font-size: 0.95rem;
      color: var(--text-secondary);
      transition: color 0.2s;
      position: relative;
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.2s;
    }
    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }
    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 0.7rem 1.8rem;
      border-radius: var(--radius-md);
      font-weight: 600;
      font-size: 0.9rem;
      border: none;
      cursor: pointer;
      transition: background 0.2s, box-shadow 0.2s;
      display: inline-block;
      text-align: center;
    }
    .btn-primary:hover {
      background: var(--primary-dark);
      box-shadow: 0 0 0 4px rgba(240,78,35,0.2);
    }
    .btn-outline {
      background: transparent;
      border: 1px solid var(--primary);
      color: var(--primary);
      padding: 0.7rem 1.8rem;
      border-radius: var(--radius-md);
      font-weight: 600;
      font-size: 0.9rem;
      transition: all 0.2s;
      display: inline-block;
      text-align: center;
    }
    .btn-outline:hover {
      background: var(--primary);
      color: white;
    }
    .btn-ghost {
      background: transparent;
      border: 1px solid white;
      color: white;
      padding: 0.8rem 2.2rem;
      border-radius: var(--radius-md);
      font-weight: 600;
      transition: all 0.25s;
    }
    .btn-ghost:hover {
      background: var(--accent);
      border-color: var(--accent);
      color: var(--secondary);
    }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: transparent;
      border: none;
    }
    .hamburger span {
      width: 24px;
      height: 2px;
      background: var(--secondary);
      transition: 0.3s;
    }

    /* Hero */
    .hero {
      background: linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 100%);
      color: white;
      padding: 5rem 0;
      min-height: 90vh;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
    }
    .hero .container {
      display: flex;
      align-items: center;
      gap: 3rem;
      width: 100%;
    }
    .hero-left {
      flex: 1;
    }
    .hero-right {
      flex: 1;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      min-height: 400px;
      border-radius: var(--radius-lg);
      position: relative;
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0,0,0,0.5);
      opacity: 0.9;
    }
    .hero-right::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(240,78,35,0.25);
      mix-blend-mode: overlay;
    }
    .hero h1 {
      font-size: clamp(2.5rem, 5vw, 3.8rem);
      font-weight: 900;
      line-height: 1.2;
      letter-spacing: -0.5px;
      margin-bottom: 1.5rem;
    }
    .hero h1 span {
      color: var(--primary);
    }
    .hero p {
      font-size: 1.2rem;
      color: #ccc;
      margin-bottom: 2rem;
      max-width: 80%;
    }
    .hero-buttons {
      display: flex;
      gap: 1rem;
      margin-bottom: 2.5rem;
      flex-wrap: wrap;
    }
    .micro-stats {
      display: flex;
      gap: 2rem;
      margin-top: 1rem;
    }
    .micro-stat {
      text-align: left;
    }
    .micro-stat .number {
      font-family: var(--font-mono);
      font-weight: 800;
      font-size: 1.8rem;
      color: var(--accent);
    }
    .micro-stat .label {
      font-size: 0.8rem;
      color: #aaa;
    }

    /* 通用区块 */
    section {
      padding: var(--space-section) 0;
    }
    .section-title {
      text-align: center;
      margin-bottom: 3.5rem;
    }
    .section-title h2 {
      font-size: 2.4rem;
      font-weight: 700;
      color: var(--secondary);
      display: inline-block;
      position: relative;
    }
    .section-title h2::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 4px;
      background: var(--primary);
      border-radius: 2px;
    }
    .dark-bg {
      background: var(--secondary);
      color: white;
    }

    /* Dashboard */
    #dashboard {
      background: #1A1A1A;
      background-image: radial-gradient(circle at 20% 30%, #2a2a2a 1px, transparent 1px);
      background-size: 30px 30px;
    }
    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
      text-align: center;
    }
    .stat-item .stat-number {
      font-family: var(--font-mono);
      font-weight: 800;
      font-size: 3.2rem;
      color: var(--accent);
      margin-bottom: 0.5rem;
    }
    .stat-item .stat-label {
      color: #aaa;
      font-size: 1rem;
    }

    /* 服务矩阵 1+2 */
    .services-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
    }
    .service-card-large {
      grid-row: span 2;
      background: white;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
    }
    .service-card-large:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    .service-card-large img {
      width: 100%;
      height: 240px;
      object-fit: cover;
    }
    .service-card-large .card-content {
      padding: 2rem;
    }
    .service-card-small {
      background: white;
      border-radius: var(--radius-lg);
      padding: 2rem;
      box-shadow: var(--shadow-card);
      transition: all 0.3s ease;
      display: flex;
      gap: 1.5rem;
      align-items: flex-start;
    }
    .service-card-small:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    .service-icon {
      font-size: 2rem;
      color: var(--primary);
    }
    h3 {
      font-size: 1.4rem;
      font-weight: 600;
      margin-bottom: 0.8rem;
    }

    /* 优势图文 */
    .advantages-row {
      display: flex;
      gap: 3rem;
      align-items: center;
    }
    .adv-text {
      flex: 1;
    }
    .adv-image {
      flex: 1;
      background: url('/assets/images/coverpic/cover-1.webp') center/cover no-repeat;
      min-height: 320px;
      border-radius: var(--radius-lg);
    }

    /* 对比 */
    .comparison-wrapper {
      display: flex;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-card);
    }
    .comp-left, .comp-right {
      flex: 1;
      padding: 2.5rem;
    }
    .comp-left {
      background: #f0f0f0;
      color: #666;
    }
    .comp-right {
      background: #FFF5F0;
      border-left: 2px solid var(--primary);
    }
    .comp-right h3 {
      color: var(--primary);
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }
    .faq-item {
      border-bottom: 1px solid #e0e0e0;
      padding: 1.2rem 0;
      cursor: pointer;
    }
    .faq-question {
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-secondary);
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      margin-top: 1rem;
    }

    /* CTA */
    .cta-section {
      background: linear-gradient(135deg, #F04E23, #D13C1A);
      text-align: center;
      padding: 5rem 0;
      color: white;
    }

    /* Footer */
    .footer {
      background: var(--secondary);
      color: #ccc;
      padding: 4rem 0 2rem;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 2rem;
    }

    @media (max-width: 1024px) {
      .hero .container { flex-direction: column; }
      .hero-right { min-height: 300px; width: 100%; }
      .advantages-row { flex-direction: column; }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .dashboard-grid { grid-template-columns: 1fr 1fr; }
      .services-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .comparison-wrapper { flex-direction: column; }
      .micro-stats { gap: 1rem; }
    }
