/* roulang page: index */
:root {
      --primary: #F15A24;
      --primary-dark: #D94A1A;
      --primary-light: #FEF0E9;
      --secondary-black: #1B1C1E;
      --white: #FFFFFF;
      --bg-light: #FAFAFA;
      --gray-text: #6B7280;
      --gray-border: #E5E7EB;
      --success-green: #10B981;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
      --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
      --shadow-orange: 0 4px 12px rgba(241,90,36,0.3);
      --transition: 0.25s ease;
      --max-width: 1200px;
      --section-padding: 80px 24px;
      --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
      --font-number: 'Inter', var(--font-sans);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-light);
      color: var(--secondary-black);
      line-height: 1.75;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, input, textarea {
      font-family: inherit;
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(27,28,30,0.85);
      backdrop-filter: blur(12px);
      transition: background var(--transition);
    }

    .header.scrolled {
      background: rgba(27,28,30,1);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 16px 24px;
      height: 72px;
    }

    .logo {
      font-family: var(--font-number);
      font-weight: 800;
      font-size: 24px;
      letter-spacing: -0.5px;
      background: linear-gradient(135deg, #F15A24 0%, #FF8C42 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .nav-menu {
      display: flex;
      gap: 32px;
      align-items: center;
    }

    .nav-link {
      color: white;
      font-weight: 500;
      font-size: 16px;
      position: relative;
      padding: 8px 0;
      transition: color var(--transition);
    }

    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      border-radius: 2px;
      transition: width var(--transition);
    }

    .nav-link:hover,
    .nav-link.active {
      color: var(--primary);
    }

    .nav-link.active::after,
    .nav-link:hover::after {
      width: 100%;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 4px;
    }

    .hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: white;
      border-radius: 2px;
      transition: var(--transition);
    }

    .mobile-menu {
      display: none;
      position: absolute;
      top: 72px;
      left: 16px;
      right: 16px;
      background: white;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-md);
      padding: 16px;
      flex-direction: column;
      gap: 8px;
      z-index: 999;
    }

    .mobile-menu .nav-link {
      color: var(--secondary-black);
      padding: 12px 16px;
      border-radius: var(--radius-sm);
    }

    .mobile-menu .nav-link:hover {
      background: var(--primary-light);
      color: var(--primary);
    }

    /* 首屏 */
    .hero {
      padding: 120px 24px 80px;
      background: linear-gradient(135deg, #1B1C1E 0%, #2D2F33 100%);
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 20% 30%, rgba(241,90,36,0.08) 0%, transparent 60%);
      pointer-events: none;
    }

    .hero-grid {
      max-width: var(--max-width);
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 48px;
    }

    .hero-left {
      flex: 1;
      color: white;
    }

    .hero-left h1 {
      font-size: 48px;
      font-weight: 800;
      line-height: 1.2;
      letter-spacing: -0.5px;
      margin-bottom: 20px;
    }

    .hero-left .subtitle {
      font-size: 18px;
      color: #D1D5DB;
      margin-bottom: 32px;
      line-height: 1.6;
    }

    .cta-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 14px 32px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 16px;
      transition: all var(--transition);
      cursor: pointer;
      border: 2px solid transparent;
      text-align: center;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
      box-shadow: var(--shadow-orange);
    }

    .btn-primary:hover {
      background: var(--primary-dark);
      border-color: var(--primary-dark);
      transform: translateY(-1px);
      box-shadow: 0 8px 18px rgba(241,90,36,0.4);
    }

    .btn-outline {
      background: transparent;
      color: white;
      border-color: var(--primary);
    }

    .btn-outline:hover {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }

    .hero-right {
      flex: 1;
      position: relative;
      height: 400px;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      border-radius: var(--radius-lg);
      box-shadow: 0 20px 40px rgba(0,0,0,0.3);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-right::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(241,90,36,0.15);
      border-radius: var(--radius-lg);
      backdrop-filter: blur(2px);
    }

    .silhouette {
      position: relative;
      z-index: 2;
      width: 180px;
      height: 180px;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="white" opacity="0.9"><circle cx="50" cy="35" r="18"/><path d="M30 70 Q50 90 70 70 L75 95 L25 95 Z"/></svg>') no-repeat center;
      background-size: contain;
      filter: drop-shadow(0 8px 12px rgba(0,0,0,0.4));
    }

    /* 通用区块标题 */
    .section {
      padding: var(--section-padding);
    }

    .section-title {
      text-align: center;
      margin-bottom: 48px;
    }

    .section-title h2 {
      font-size: 36px;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 12px;
    }

    .title-decor {
      width: 40px;
      height: 3px;
      background: var(--primary);
      border-radius: 2px;
      margin: 0 auto 16px;
    }

    .section-subtitle {
      color: var(--gray-text);
      font-size: 18px;
    }

    /* 优势网格 */
    .advantages-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      max-width: var(--max-width);
      margin: 0 auto;
    }

    .adv-card {
      background: var(--white);
      border: 1px solid var(--gray-border);
      border-radius: var(--radius-md);
      padding: 32px 24px;
      text-align: center;
      box-shadow: var(--shadow-sm);
      transition: all var(--transition);
    }

    .adv-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
    }

    .icon-circle {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: var(--primary-light);
      margin: 0 auto 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background var(--transition);
    }

    .adv-card:hover .icon-circle {
      background: var(--primary);
    }

    .icon-circle svg {
      width: 32px;
      height: 32px;
      color: var(--primary);
      transition: color var(--transition);
    }

    .adv-card:hover .icon-circle svg {
      color: white;
    }

    .adv-card h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .adv-card p {
      color: var(--gray-text);
      font-size: 15px;
    }

    /* 服务瀑布流 */
    .services-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: var(--max-width);
      margin: 0 auto 32px;
    }

    .services-header h2 {
      font-size: 36px;
      font-weight: 700;
    }

    .text-link {
      color: var(--primary);
      font-weight: 600;
      font-size: 16px;
    }

    .masonry {
      columns: 3 280px;
      column-gap: 24px;
      max-width: var(--max-width);
      margin: 0 auto;
    }

    .service-card {
      break-inside: avoid;
      background: white;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm);
      margin-bottom: 24px;
      overflow: hidden;
      transition: var(--transition);
    }

    .service-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
    }

    .service-card img {
      width: 100%;
      aspect-ratio: 16/9;
      object-fit: cover;
    }

    .service-info {
      padding: 20px;
    }

    .service-info h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .tag {
      display: inline-block;
      background: #F3F4F6;
      color: var(--gray-text);
      font-size: 12px;
      font-weight: 500;
      padding: 4px 12px;
      border-radius: 20px;
      margin-bottom: 12px;
    }

    .service-info p {
      color: var(--gray-text);
      font-size: 15px;
    }

    /* 案例对比 */
    .stats-bar {
      display: flex;
      justify-content: center;
      gap: 48px;
      margin: 32px 0 48px;
      flex-wrap: wrap;
    }

    .stat-item {
      text-align: center;
    }

    .stat-number {
      font-family: var(--font-number);
      font-size: 36px;
      font-weight: 800;
      color: var(--primary);
    }

    .stat-label {
      color: var(--gray-text);
      font-size: 16px;
    }

    .comparison-table {
      max-width: 800px;
      margin: 0 auto;
      overflow-x: auto;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      background: white;
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }

    th {
      background: #F3F4F6;
      padding: 16px;
      font-weight: 600;
      text-align: left;
    }

    td {
      padding: 16px;
      border-bottom: 1px solid var(--gray-border);
    }

    .highlight-row {
      background: #ECFDF5;
    }

    .highlight-row td {
      color: var(--success-green);
      font-weight: 600;
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }

    .faq-item {
      background: white;
      border-left: 4px solid var(--primary);
      margin-bottom: 16px;
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      box-shadow: var(--shadow-sm);
      transition: background var(--transition);
    }

    .faq-question {
      padding: 18px 24px;
      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 24px;
      color: var(--gray-text);
    }

    .faq-item.active .faq-answer {
      max-height: 200px;
      padding: 0 24px 18px;
    }

    /* 联系 */
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      max-width: var(--max-width);
      margin: 0 auto;
    }

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 14px;
      border: 1px solid var(--gray-border);
      border-radius: var(--radius-sm);
      margin-bottom: 16px;
      font-size: 16px;
      transition: 0.2s;
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(241,90,36,0.1);
    }

    .contact-info {
      background: white;
      padding: 32px;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm);
    }

    .map-placeholder {
      margin-top: 24px;
      border-radius: var(--radius-sm);
      overflow: hidden;
    }

    /* 页脚 */
    .footer {
      background: var(--secondary-black);
      color: #9CA3AF;
      padding: 48px 24px 24px;
    }

    .footer-grid {
      max-width: var(--max-width);
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 32px;
    }

    .footer-logo {
      font-size: 24px;
      font-weight: 800;
      background: linear-gradient(135deg, #F15A24, #FF8C42);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 12px;
    }

    .footer a:hover {
      color: var(--primary);
    }

    .copyright {
      text-align: center;
      margin-top: 32px;
      padding-top: 24px;
      border-top: 1px solid #374151;
      font-size: 14px;
    }

    @media (max-width: 1024px) {
      .hero-grid {
        flex-direction: column;
      }
      .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 640px) {
      .nav-menu {
        display: none;
      }
      .hamburger {
        display: flex;
      }
      .hero-left h1 {
        font-size: 32px;
      }
      .advantages-grid,
      .contact-grid {
        grid-template-columns: 1fr;
      }
      .masonry {
        columns: 1;
      }
      .btn {
        width: 100%;
      }
      .cta-group {
        flex-direction: column;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .section {
        padding: 48px 16px;
      }
    }
