/* roulang page: index */
/* ---------- 全局设计变量与基础重置 ---------- */
    :root {
      --primary-purple: #7B2FF7;
      --accent-cyan: #00E5CC;
      --bg-deep: #0B0E14;
      --surface-dark: #161B22;
      --text-primary: #F0F3FA;
      --text-secondary: #8B95A5;
      --text-body: #B0B8C5;
      --border-light: rgba(123, 47, 247, 0.25);
      --border-cyan: rgba(0, 229, 204, 0.5);
      --radius-lg: 16px;
      --radius-pill: 50px;
      --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
      --shadow-hover: 0 12px 40px rgba(123, 47, 247, 0.15);
      --transition: 0.3s ease;
      --font-en: 'Inter', 'SF Pro Display', system-ui, sans-serif;
      --font-cn: 'PingFang SC', 'Microsoft YaHei', '苹方', system-ui, sans-serif;
    }
    
    * {
      box-sizing: border-box;
    }
    
    html {
      scroll-behavior: smooth;
      background-color: var(--bg-deep);
    }
    
    body {
      margin: 0;
      padding: 0;
      font-family: var(--font-cn);
      background-color: var(--bg-deep);
      color: var(--text-primary);
      line-height: 1.75;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    
    .en, .data-number, button, .nav-link, .step-number, .faq-question {
      font-family: var(--font-en);
    }
    
    h1, h2, h3, h4 {
      color: var(--text-primary);
      margin-top: 0;
    }
    
    h1 {
      font-size: 3.2rem;
      font-weight: 700;
      letter-spacing: -0.5px;
      line-height: 1.2;
    }
    
    h2 {
      font-size: 2rem;
      font-weight: 600;
      letter-spacing: 0;
      margin-bottom: 1rem;
    }
    
    h3 {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
    }
    
    p, .text-body {
      color: var(--text-body);
      font-size: 1rem;
      font-weight: 400;
    }
    
    a {
      color: var(--accent-cyan);
      transition: var(--transition);
    }
    
    a:hover {
      color: var(--primary-purple);
      text-decoration: none;
    }
    
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding-left: 20px;
      padding-right: 20px;
    }
    
    /* ---------- 按钮系统 ---------- */
    .btn-primary {
      background: var(--primary-purple);
      color: white;
      font-weight: 600;
      border-radius: var(--radius-pill);
      padding: 12px 28px;
      min-height: 48px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: none;
      transition: var(--transition);
      box-shadow: 0 0 0 rgba(123,47,247,0);
    }
    
    .btn-primary:hover {
      background: #5B1FD7;
      box-shadow: 0 0 20px rgba(123,47,247,0.6);
      color: white;
      transform: translateY(-2px);
    }
    
    .btn-outline {
      background: transparent;
      border: 1px solid var(--accent-cyan);
      color: var(--accent-cyan);
      font-weight: 600;
      border-radius: var(--radius-pill);
      padding: 12px 28px;
      min-height: 48px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
    }
    
    .btn-outline:hover {
      background: rgba(0, 229, 204, 0.1);
      color: var(--accent-cyan);
      transform: translateY(-2px);
    }
    
    /* ---------- 导航栏悬浮胶囊 ---------- */
    .nav-capsule {
      position: fixed;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      width: calc(100% - 40px);
      max-width: 1100px;
      background: rgba(11, 14, 20, 0.85);
      backdrop-filter: blur(20px);
      border-radius: var(--radius-pill);
      border: 1px solid rgba(123, 47, 247, 0.2);
      padding: 0.75rem 2rem;
      z-index: 999;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    
    .logo {
      font-family: var(--font-en);
      font-weight: 700;
      font-size: 1.5rem;
      background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: 1px;
    }
    
    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
      margin: 0;
    }
    
    .nav-links a {
      color: var(--text-body);
      font-weight: 500;
      font-size: 0.9rem;
      text-decoration: none;
      transition: color 0.2s;
    }
    
    .nav-links a:hover {
      color: var(--accent-cyan);
    }
    
    .hamburger {
      display: none;
      background: none;
      border: none;
      color: var(--text-primary);
      font-size: 1.8rem;
      cursor: pointer;
    }
    
    /* ---------- 板块通用间距 ---------- */
    section {
      padding-top: 120px;
      padding-bottom: 120px;
    }
    
    .section-header {
      text-align: center;
      margin-bottom: 3rem;
    }
    
    .divider {
      width: 60px;
      height: 1px;
      background: linear-gradient(90deg, var(--primary-purple), var(--accent-cyan));
      margin: 1rem auto 1.5rem;
    }
    
    /* ---------- 玻璃拟态卡片 ---------- */
    .glass-card {
      background: rgba(22, 27, 34, 0.7);
      backdrop-filter: blur(12px);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-card);
      transition: var(--transition);
    }
    
    .glass-card:hover {
      border-color: var(--border-cyan);
      box-shadow: var(--shadow-hover);
    }
    
    /* ---------- Hero 区域 ---------- */
    .hero {
      height: 100vh;
      display: flex;
      align-items: center;
      position: relative;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      overflow: hidden;
    }
    
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 20% 30%, rgba(123,47,247,0.15) 0%, transparent 60%),
                  radial-gradient(circle at 80% 70%, rgba(0,229,204,0.1) 0%, transparent 60%);
      z-index: 1;
    }
    
    .hero-content {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }
    
    .hero-text {
      flex: 1;
    }
    
    .hero-text h1 {
      margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
      display: flex;
      gap: 1rem;
      margin-top: 2rem;
      flex-wrap: wrap;
    }
    
    .hero-visual {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .hexagon-frame {
      width: 300px;
      height: 300px;
      background: url('/assets/images/coverpic/cover-1.webp') center/cover no-repeat;
      clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
      border: 1px solid rgba(123,47,247,0.4);
      box-shadow: 0 0 30px rgba(0,229,204,0.2);
    }
    
    /* ---------- 六边形网格优势 ---------- */
    .hex-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    
    .hex-item {
      background: rgba(22,27,34,0.8);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(123,47,247,0.2);
      border-radius: 12px;
      padding: 2rem 1rem;
      text-align: center;
      transition: var(--transition);
      position: relative;
      clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
      aspect-ratio: 1 / 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    
    .hex-item:hover {
      border-color: var(--primary-purple);
      box-shadow: 0 0 25px rgba(123,47,247,0.3);
    }
    
    .hex-item i {
      font-size: 2rem;
      color: var(--accent-cyan);
      margin-bottom: 0.5rem;
    }
    
    .data-number {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--accent-cyan);
      line-height: 1.2;
    }
    
    /* ---------- 产品卡片 ---------- */
    .product-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    
    .product-card img {
      height: 200px;
      object-fit: cover;
      border-radius: 12px 12px 0 0;
      border-bottom: 1px solid rgba(123,47,247,0.25);
    }
    
    .product-card .card-body {
      padding: 1.5rem;
    }
    
    /* ---------- 技术流程 ---------- */
    .steps-container {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      position: relative;
    }
    
    .step {
      text-align: center;
      flex: 1;
      position: relative;
    }
    
    .step-circle {
      width: 48px;
      height: 48px;
      background: var(--primary-purple);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      margin: 0 auto 1rem;
      font-size: 1.2rem;
      z-index: 2;
      position: relative;
    }
    
    .step-line {
      position: absolute;
      top: 24px;
      left: 55%;
      width: 90%;
      height: 1px;
      border-top: 2px dashed var(--accent-cyan);
      z-index: 1;
      animation: glow-line 2s infinite;
    }
    
    @keyframes glow-line {
      0% { opacity: 0.3; }
      50% { opacity: 0.9; box-shadow: 0 0 10px var(--accent-cyan); }
      100% { opacity: 0.3; }
    }
    
    /* ---------- 案例卡片 ---------- */
    .case-card {
      display: flex;
      background: var(--surface-dark);
      border-radius: var(--radius-lg);
      overflow: hidden;
      margin-bottom: 2rem;
    }
    
    .case-img {
      width: 40%;
      background-size: cover;
      background-position: center;
    }
    
    .case-info {
      padding: 2rem;
    }
    
    /* ---------- FAQ 手风琴 ---------- */
    .faq-item {
      background: var(--surface-dark);
      border-left: 3px solid var(--primary-purple);
      margin-bottom: 1rem;
      border-radius: 0 8px 8px 0;
    }
    
    .faq-question {
      padding: 1rem 1.5rem;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .faq-answer {
      padding: 0 1.5rem 1rem;
      color: var(--text-secondary);
      display: none;
    }
    
    .faq-item.active .faq-answer {
      display: block;
    }
    
    /* ---------- 联系表单 ---------- */
    .contact-form input, .contact-form textarea {
      background: rgba(22,27,34,0.8);
      border: 1px solid rgba(255,255,255,0.1);
      color: white;
      border-radius: 8px;
      padding: 0.75rem;
      margin-bottom: 1rem;
    }
    
    .contact-form input:focus, .contact-form textarea:focus {
      border-color: var(--primary-purple);
      outline: none;
    }
    
    /* ---------- 页脚 ---------- */
    footer {
      background: #0A0D12;
      padding: 4rem 0 2rem;
      border-top: 1px solid rgba(123,47,247,0.2);
    }
    
    /* ---------- 响应式 ---------- */
    @media (max-width: 1024px) {
      h1 { font-size: 2.8rem; }
      .hex-grid { grid-template-columns: repeat(2, 1fr); }
    }
    
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: block; }
      .hero-content { flex-direction: column; text-align: center; }
      .hero-visual { margin-top: 2rem; }
      .product-grid { grid-template-columns: 1fr; }
      .steps-container { flex-direction: column; gap: 2rem; }
      .step-line { display: none; }
      .case-card { flex-direction: column; }
      .case-img { width: 100%; height: 200px; }
      .hex-grid { grid-template-columns: 1fr; }
      section { padding-top: 80px; padding-bottom: 80px; }
      h1 { font-size: 2.2rem; }
    }
    
    @media (max-width: 520px) {
      .nav-capsule { padding: 0.5rem 1rem; }
      .btn-primary, .btn-outline { padding: 10px 20px; min-height: 44px; }
    }
