/* roulang page: index */
:root {
      --primary: #E43D1B;
      --primary-dark: #C53010;
      --secondary: #1A1A2E;
      --secondary-light: #2D2D44;
      --accent: #FFB800;
      --bg-light: #F5F6FA;
      --text-title: #1A1A2E;
      --text-body: #3A3C4C;
      --text-muted: #7A7E8C;
      --white: #FFFFFF;
      --border-light: #E8EAF0;
      --shadow-card: 0 4px 20px rgba(0,0,0,0.04);
      --shadow-hover: 0 12px 32px rgba(0,0,0,0.08);
      --radius-card: 16px;
      --radius-btn: 8px;
      --radius-pill: 50px;
      --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      --font-mono: 'DIN Alternate', 'Inter', monospace;
    }
    
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    
    body {
      font-family: var(--font-sans);
      background-color: var(--bg-light);
      color: var(--text-body);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }
    
    /* 导航 */
    #header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 100;
      height: 72px;
      background: transparent;
      transition: background 0.3s ease, backdrop-filter 0.3s ease;
      display: flex;
      align-items: center;
    }
    
    #header.scrolled {
      background: rgba(26,26,46,0.9);
      backdrop-filter: blur(12px);
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }
    
    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }
    
    .logo {
      font-weight: 700;
      font-size: 24px;
      color: var(--white);
      display: flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
    }
    
    .logo-icon {
      width: 28px;
      height: 28px;
      background: var(--primary);
      clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
      display: inline-block;
    }
    
    .desktop-nav {
      display: flex;
      gap: 32px;
      align-items: center;
    }
    
    .desktop-nav a {
      color: var(--white);
      text-decoration: none;
      font-weight: 500;
      font-size: 15px;
      position: relative;
      padding-bottom: 4px;
      transition: color 0.2s;
    }
    
    .desktop-nav a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.2s ease;
    }
    
    .desktop-nav a:hover {
      color: var(--accent);
    }
    
    .desktop-nav a:hover::after {
      width: 100%;
    }
    
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      color: var(--white);
      font-size: 28px;
      cursor: pointer;
    }
    
    /* 移动端导航面板 */
    .mobile-panel {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: var(--secondary);
      z-index: 200;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 32px;
      transform: translateX(100%);
      transition: transform 0.3s ease;
    }
    
    .mobile-panel.open {
      transform: translateX(0);
    }
    
    .mobile-panel a {
      color: var(--white);
      font-size: 22px;
      font-weight: 500;
      text-decoration: none;
    }
    
    .mobile-panel .close-btn {
      position: absolute;
      top: 24px;
      right: 24px;
      background: none;
      border: none;
      color: var(--white);
      font-size: 32px;
      cursor: pointer;
    }
    
    /* Hero */
    #hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      background: linear-gradient(135deg, #1A1A2E 0%, #2D2D44 40%, #E43D1B 100%);
      position: relative;
      overflow: hidden;
    }
    
    .hero-bg-art {
      position: absolute;
      right: 0;
      top: 0;
      width: 50%;
      height: 100%;
      opacity: 0.2;
      background: radial-gradient(circle at 30% 40%, rgba(255,184,0,0.3) 0%, transparent 60%),
                  repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 8px);
    }
    
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 600px;
    }
    
    .hero-content h1 {
      font-size: 48px;
      font-weight: 700;
      line-height: 1.2;
      color: var(--white);
      margin-bottom: 24px;
      letter-spacing: -0.5px;
    }
    
    .hero-sub {
      font-size: 18px;
      color: rgba(255,255,255,0.8);
      margin-bottom: 40px;
      max-width: 480px;
    }
    
    .btn-cta {
      display: inline-block;
      background: linear-gradient(90deg, #E43D1B 0%, #FF6B3D 100%);
      color: var(--white);
      font-weight: 600;
      padding: 14px 36px;
      border-radius: var(--radius-pill);
      text-decoration: none;
      font-size: 16px;
      transition: transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 8px 20px rgba(228,61,27,0.3);
    }
    
    .btn-cta:hover {
      transform: scale(1.03);
      box-shadow: 0 12px 28px rgba(228,61,27,0.4);
      color: var(--white);
    }
    
    /* 指标看板 */
    #metrics {
      padding: 100px 0;
      background: var(--bg-light);
    }
    
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    
    .metric-card {
      background: var(--white);
      border-radius: 12px;
      padding: 28px 20px;
      text-align: center;
      box-shadow: var(--shadow-card);
      border-left: 4px solid var(--accent);
      transition: transform 0.2s;
    }
    
    .metric-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    
    .metric-number {
      font-family: var(--font-mono);
      font-size: 40px;
      font-weight: 700;
      color: var(--primary);
      display: block;
      margin-bottom: 8px;
    }
    
    .metric-label {
      font-size: 14px;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    
    /* 服务 */
    #services {
      padding: 100px 0;
      background: var(--white);
    }
    
    .section-title {
      font-size: 36px;
      font-weight: 600;
      color: var(--text-title);
      margin-bottom: 16px;
      text-align: center;
    }
    
    .section-sub {
      color: var(--text-muted);
      text-align: center;
      margin-bottom: 60px;
      font-size: 18px;
    }
    
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    
    .service-card {
      background: var(--white);
      border-radius: var(--radius-card);
      padding: 32px;
      box-shadow: var(--shadow-card);
      transition: transform 0.25s, box-shadow 0.25s;
      display: flex;
      flex-direction: column;
    }
    
    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }
    
    .service-icon {
      font-size: 40px;
      color: var(--primary);
      margin-bottom: 24px;
    }
    
    .service-card h3 {
      font-size: 22px;
      font-weight: 600;
      color: var(--text-title);
      margin-bottom: 12px;
    }
    
    .service-card p {
      color: var(--text-body);
      margin-bottom: 20px;
      flex: 1;
    }
    
    .service-link {
      color: var(--primary);
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: gap 0.2s;
    }
    
    .service-link:hover {
      gap: 12px;
    }
    
    .service-img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-radius: 12px;
      margin-bottom: 20px;
    }
    
    /* 对比 */
    #compare {
      padding: 100px 0;
      background: var(--bg-light);
    }
    
    .compare-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }
    
    .compare-card {
      background: var(--white);
      border-radius: var(--radius-card);
      padding: 32px;
      box-shadow: var(--shadow-card);
    }
    
    .compare-card.right {
      border-left: 6px solid var(--primary);
      background: linear-gradient(135deg, #FFF5F2 0%, #FFFFFF 100%);
    }
    
    .compare-card h3 {
      font-size: 24px;
      margin-bottom: 24px;
      color: var(--text-title);
    }
    
    .compare-row {
      display: flex;
      justify-content: space-between;
      padding: 14px 0;
      border-bottom: 1px solid var(--border-light);
    }
    
    .compare-row span:last-child {
      font-weight: 600;
    }
    
    .check-icon {
      color: var(--primary);
      margin-right: 6px;
    }
    
    /* FAQ */
    #faq {
      padding: 100px 0;
      background: var(--white);
    }
    
    .faq-container {
      max-width: 800px;
      margin: 0 auto;
    }
    
    .faq-item {
      border-bottom: 1px solid var(--border-light);
      margin-bottom: 4px;
    }
    
    .faq-question {
      padding: 20px;
      font-weight: 600;
      font-size: 18px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: transparent;
      transition: background 0.2s;
    }
    
    .faq-question:hover {
      background: #F8F9FC;
    }
    
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.25s ease, padding 0.25s ease;
      padding: 0 20px;
      color: #5A5E6C;
    }
    
    .faq-item.active .faq-answer {
      max-height: 200px;
      padding: 0 20px 20px;
    }
    
    .faq-icon {
      transition: transform 0.25s;
    }
    
    .faq-item.active .faq-icon {
      transform: rotate(45deg);
    }
    
    /* 表单 */
    #contact {
      padding: 100px 0;
      background: var(--secondary);
    }
    
    .contact-card {
      max-width: 600px;
      margin: 0 auto;
      background: var(--secondary-light);
      border-radius: var(--radius-card);
      padding: 48px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }
    
    .contact-card h2 {
      color: var(--white);
      margin-bottom: 8px;
    }
    
    .contact-sub {
      color: rgba(255,255,255,0.7);
      margin-bottom: 32px;
    }
    
    .form-input {
      background: var(--white);
      border: 2px solid transparent;
      border-radius: var(--radius-btn);
      padding: 12px 16px;
      width: 100%;
      margin-bottom: 20px;
      font-size: 16px;
      transition: border 0.2s;
    }
    
    .form-input:focus {
      border-color: var(--accent);
      outline: none;
    }
    
    .btn-submit {
      background: var(--accent);
      color: var(--secondary);
      font-weight: 700;
      padding: 14px;
      width: 100%;
      border: none;
      border-radius: var(--radius-btn);
      font-size: 18px;
      cursor: pointer;
      transition: background 0.2s;
    }
    
    .btn-submit:hover {
      background: #FFC933;
    }
    
    /* 页脚 */
    #footer {
      background: #0F0F1A;
      color: #9A9EAE;
      padding: 60px 0 30px;
    }
    
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }
    
    .footer-logo {
      font-weight: 700;
      font-size: 22px;
      color: var(--white);
    }
    
    .footer-bottom {
      border-top: 1px solid #2A2A3A;
      padding-top: 24px;
      text-align: center;
      font-size: 14px;
    }
    
    @media (max-width: 1024px) {
      .metrics-grid { grid-template-columns: repeat(2, 1fr); }
      .services-grid { grid-template-columns: repeat(2, 1fr); }
    }
    
    @media (max-width: 768px) {
      .desktop-nav { display: none; }
      .menu-toggle { display: block; }
      .hero-content h1 { font-size: 36px; }
      .compare-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .metrics-grid { grid-template-columns: 1fr; }
      .services-grid { grid-template-columns: 1fr; }
    }
