/* roulang page: index */
:root {
      --primary: #6C3CFC;
      --primary-glow: rgba(108, 60, 252, 0.4);
      --accent: #00E5A0;
      --accent-glow: rgba(0, 229, 160, 0.5);
      --bg-deep: #1A1C2A;
      --bg-darker: #12141E;
      --bg-card: #2E3148;
      --text-light: #E8E9F0;
      --text-muted: #8A8D9F;
      --text-dark: #1A1C2A;
      --bg-light: #F4F5FA;
      --border-light: #D1D3E0;
      --border-dark: #3A3D55;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --radius-xl: 20px;
      --shadow-sm: 0 4px 12px rgba(0,0,0,0.08);
      --shadow-hover: 0 12px 32px rgba(108, 60, 252, 0.15);
      --max-width: 1280px;
      --header-height: 80px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Inter', 'SF Pro Display', sans-serif;
      background-color: var(--bg-deep);
      color: var(--text-light);
      line-height: 1.6;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    h1, h2, h3, h4, h5 {
      font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      font-weight: 600;
      line-height: 1.3;
    }

    h1 {
      font-size: clamp(42px, 8vw, 64px);
      font-weight: 700;
      line-height: 1.2;
    }
    h2 {
      font-size: clamp(30px, 6vw, 48px);
      margin-bottom: 16px;
    }
    h3 {
      font-size: clamp(20px, 4vw, 28px);
    }
    h4 {
      font-size: 20px;
      font-weight: 500;
    }
    h5 {
      font-size: 18px;
      font-weight: 500;
    }

    a {
      color: var(--primary);
      text-decoration: none;
      transition: color 0.2s;
    }
    a:hover {
      color: var(--accent);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
      transition: all 0.25s ease;
    }

    /* 导航 */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(26, 28, 42, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255,255,255,0.08);
      height: var(--header-height);
      display: flex;
      align-items: center;
    }

    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 24px;
      font-weight: 700;
      font-family: 'Inter', sans-serif;
      color: white;
      letter-spacing: -0.5px;
    }
    .logo-icon {
      width: 36px;
      height: 36px;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: #12141E;
      font-size: 18px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
    }
    .nav-links a {
      color: var(--text-muted);
      font-weight: 500;
      font-size: 15px;
      position: relative;
    }
    .nav-links a:hover, .nav-links a.active {
      color: white;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -6px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.25s;
    }
    .nav-links a:hover::after, .nav-links a.active::after {
      width: 100%;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      border: none;
      padding: 12px 28px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 15px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 4px 12px rgba(108,60,252,0.3);
    }
    .btn-primary:hover {
      background: #7B4DFF;
      transform: scale(1.02);
      box-shadow: 0 8px 20px rgba(108,60,252,0.5);
      color: white;
    }
    .btn-outline {
      background: transparent;
      border: 1px solid var(--primary);
      color: white;
      padding: 12px 28px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 15px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn-outline:hover {
      background: var(--primary);
      color: white;
      transform: scale(1.02);
    }
    .btn-accent {
      background: var(--accent);
      color: #12141E;
      border: none;
      padding: 14px 32px;
      border-radius: var(--radius-sm);
      font-weight: 700;
      font-size: 16px;
      box-shadow: 0 4px 15px rgba(0,229,160,0.3);
    }
    .btn-accent:hover {
      background: #00F0B0;
      box-shadow: 0 8px 22px rgba(0,229,160,0.6);
      transform: translateY(-2px);
      color: #12141E;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
    }
    .hamburger span {
      width: 25px;
      height: 2px;
      background: white;
      transition: 0.3s;
    }

    /* 区块通用 */
    section {
      padding: 100px 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 48px;
    }
    .section-title h2 {
      background: linear-gradient(to right, var(--primary), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      display: inline-block;
    }

    /* Hero */
    #hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding-top: var(--header-height);
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      position: relative;
    }
    #hero::before {
      content: '';
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background: radial-gradient(circle at 30% 40%, rgba(108,60,252,0.15), transparent 60%),
                  radial-gradient(circle at 70% 60%, rgba(0,229,160,0.1), transparent 50%);
    }
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 60px;
      position: relative;
      z-index: 2;
    }
    .hero-text {
      flex: 1 1 45%;
    }
    .hero-text h1 {
      background: linear-gradient(135deg, #C4B5FF, #6C3CFC, #00E5A0);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 20px;
    }
    .hero-text p {
      font-size: 18px;
      color: var(--text-muted);
      margin-bottom: 32px;
      max-width: 480px;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .hero-visual {
      flex: 1 1 55%;
      display: flex;
      justify-content: center;
    }
    .hero-visual img {
      max-height: 420px;
      border-radius: var(--radius-lg);
      box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
      backdrop-filter: blur(4px);
    }

    /* 解决方案 */
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .service-card {
      background: var(--bg-card);
      border-radius: var(--radius-lg);
      padding: 32px;
      border: 1px solid transparent;
      transition: all 0.3s ease;
    }
    .service-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-hover);
      border-color: var(--primary);
    }
    .service-icon {
      font-size: 32px;
      color: var(--accent);
      margin-bottom: 20px;
    }
    .service-card h4 {
      color: white;
      margin-bottom: 12px;
    }
    .service-card p {
      color: var(--text-muted);
      font-size: 15px;
    }

    /* 优势数据 */
    #advantages {
      background: var(--bg-darker);
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      text-align: center;
    }
    .stat-item h3 {
      font-size: 42px;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 8px;
    }
    .stat-item p {
      color: var(--text-muted);
      font-size: 16px;
    }

    /* 案例 */
    .case-row {
      display: flex;
      align-items: center;
      gap: 60px;
      margin-bottom: 80px;
    }
    .case-row.reverse {
      flex-direction: row-reverse;
    }
    .case-img {
      flex: 1;
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: 0 8px 24px rgba(108,60,252,0.2);
    }
    .case-img img {
      width: 100%;
      height: auto;
    }
    .case-text {
      flex: 1;
    }
    .case-text h3 {
      color: white;
      margin-bottom: 16px;
    }
    .case-text p {
      color: var(--text-muted);
      margin-bottom: 16px;
    }
    .text-link {
      color: var(--accent);
      font-weight: 600;
    }

    /* 流程 */
    .process-steps {
      display: flex;
      justify-content: space-between;
      position: relative;
    }
    .process-steps::before {
      content: '';
      position: absolute;
      top: 24px;
      left: 10%;
      width: 80%;
      height: 2px;
      background: linear-gradient(to right, var(--primary), var(--accent));
      z-index: 0;
    }
    .step {
      text-align: center;
      z-index: 2;
      flex: 1;
    }
    .step-num {
      width: 48px;
      height: 48px;
      background: var(--bg-card);
      border: 2px solid var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 20px;
      margin: 0 auto 16px;
      color: white;
    }
    .step h5 {
      color: white;
      margin-bottom: 8px;
    }
    .step p {
      color: var(--text-muted);
      font-size: 14px;
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }
    .faq-item {
      border-bottom: 1px solid var(--border-dark);
      padding: 20px 0;
    }
    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-weight: 600;
      font-size: 18px;
      color: white;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.3s;
      color: var(--text-muted);
      font-size: 15px;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      padding-top: 16px;
    }
    .faq-icon {
      transition: transform 0.3s;
    }
    .faq-item.active .faq-icon {
      transform: rotate(45deg);
    }

    /* 联系 */
    #contact {
      background: var(--bg-darker);
    }
    .contact-form {
      max-width: 560px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .form-group input, .form-group textarea {
      width: 100%;
      background: transparent;
      border: none;
      border-bottom: 2px solid #5A5D70;
      padding: 14px 8px;
      color: white;
      font-size: 16px;
      outline: none;
      transition: border 0.3s;
    }
    .form-group input:focus, .form-group textarea:focus {
      border-bottom-color: var(--primary);
      box-shadow: 0 4px 8px rgba(108,60,252,0.2);
    }

    /* 页脚 */
    .site-footer {
      background: #12141E;
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }
    .footer-brand p {
      color: var(--text-muted);
      margin-top: 16px;
    }
    .footer-col h5 {
      color: var(--accent);
      margin-bottom: 16px;
    }
    .footer-col a {
      display: block;
      color: var(--text-muted);
      margin-bottom: 12px;
      font-size: 14px;
    }
    .copyright {
      margin-top: 40px;
      padding-top: 20px;
      border-top: 1px solid #2E3148;
      text-align: center;
      color: #5A5D70;
      font-size: 14px;
    }

    @media (max-width: 1024px) {
      .cards-grid { grid-template-columns: repeat(2,1fr); }
      .stats-grid { grid-template-columns: repeat(2,1fr); }
    }
    @media (max-width: 768px) {
      .hamburger { display: flex; }
      .nav-links { display: none; position: absolute; top: var(--header-height); left: 0; width: 100%; background: rgba(26,28,42,0.95); flex-direction: column; padding: 20px; gap: 20px; }
      .nav-links.active { display: flex; }
      .hero-grid { flex-direction: column; text-align: center; }
      .hero-text p { max-width: 100%; }
      .hero-buttons { justify-content: center; }
      .cards-grid { grid-template-columns: 1fr; }
      .case-row, .case-row.reverse { flex-direction: column; }
      .process-steps { flex-direction: column; gap: 32px; }
      .process-steps::before { display: none; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
