/* roulang page: index */
:root {
      --bg-deep: #0A0E27;
      --bg-footer: #060A1A;
      --milan-red: #C41E3A;
      --neon-ice: #00F0FF;
      --gold: #D4AF37;
      --text-primary: #FFFFFF;
      --text-secondary: rgba(255,255,255,0.7);
      --text-muted: rgba(255,255,255,0.55);
      --glass-bg: rgba(255,255,255,0.03);
      --glass-border: rgba(255,255,255,0.08);
      --glass-hover-border: rgba(255,255,255,0.2);
      --card-radius: 16px;
      --btn-radius: 50px;
      --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
      --transition-fast: 0.2s ease;
      --transition-smooth: 0.3s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
      background-color: var(--bg-deep);
    }

    body {
      font-family: var(--font-sans);
      line-height: 1.7;
      color: var(--text-primary);
      background-color: var(--bg-deep);
      background-image: 
        linear-gradient(rgba(0, 240, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.015) 1px, transparent 1px);
      background-size: 40px 40px;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
    }

    /* 导航 */
    #nav {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(10, 14, 39, 0.85);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(0, 240, 255, 0.3);
      box-shadow: 0 1px 0 rgba(0, 240, 255, 0.2);
      transition: background var(--transition-smooth);
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
      flex-wrap: wrap;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 1.5rem;
      color: #FFFFFF;
      letter-spacing: 1px;
    }

    .logo-icon {
      width: 24px;
      height: 24px;
      background: var(--neon-ice);
      mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2L2 22h20L12 2z" fill="white"/></svg>') center/contain no-repeat;
      -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2L2 22h20L12 2z" fill="white"/></svg>') center/contain no-repeat;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      flex-wrap: wrap;
    }

    .nav-links a {
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--text-secondary);
      position: relative;
      padding: 8px 0;
      transition: color var(--transition-fast);
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--neon-ice);
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--neon-ice);
      box-shadow: 0 0 8px var(--neon-ice);
      transform: scaleX(0);
      transition: transform var(--transition-smooth);
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      transform: scaleX(1);
    }

    .nav-cta {
      background: transparent;
      border: 1px solid var(--milan-red);
      color: var(--milan-red);
      padding: 8px 20px;
      border-radius: var(--btn-radius);
      font-weight: 600;
      font-size: 0.9rem;
      transition: all var(--transition-smooth);
      white-space: nowrap;
    }

    .nav-cta:hover {
      background: rgba(196, 30, 58, 0.15);
      color: #fff;
      border-color: #fff;
    }

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 8px;
    }

    .menu-toggle span {
      display: block;
      width: 28px;
      height: 3px;
      background: var(--neon-ice);
      border-radius: 2px;
      transition: var(--transition-smooth);
    }

    /* Hero */
    #hero {
      padding: 100px 0 80px;
      position: relative;
      overflow: hidden;
    }

    .hero-grid {
      display: flex;
      align-items: center;
      gap: 48px;
    }

    .hero-left {
      flex: 1 1 50%;
      max-width: 580px;
    }

    .hero-right {
      flex: 1 1 45%;
      position: relative;
      min-height: 320px;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: 24px;
      overflow: hidden;
      border: 1px solid rgba(0,240,255,0.15);
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      background: rgba(10, 14, 39, 0.35);
      backdrop-filter: blur(2px);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .floating-dot {
      width: 8px;
      height: 8px;
      background: var(--neon-ice);
      border-radius: 50%;
      position: absolute;
      box-shadow: 0 0 20px var(--neon-ice);
      animation: float 5s infinite alternate;
    }

    @keyframes float {
      0% { transform: translateY(0px); opacity: 0.7; }
      100% { transform: translateY(-25px); opacity: 1; }
    }

    h1 {
      font-size: 48px;
      font-weight: 700;
      line-height: 1.25;
      letter-spacing: 1px;
      background: linear-gradient(135deg, #FFFFFF 0%, #00F0FF 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 24px;
    }

    .hero-sub {
      font-size: 18px;
      color: var(--text-secondary);
      max-width: 480px;
      margin-bottom: 36px;
    }

    .btn-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: linear-gradient(135deg, #00F0FF 0%, #0088CC 100%);
      color: #0A0E27;
      font-weight: 700;
      padding: 14px 40px;
      border-radius: var(--btn-radius);
      border: none;
      font-size: 1rem;
      letter-spacing: 0.5px;
      transition: all var(--transition-smooth);
      display: inline-block;
      text-align: center;
      box-shadow: 0 4px 20px rgba(0,240,255,0.25);
    }

    .btn-primary:hover {
      box-shadow: 0 0 30px rgba(0,240,255,0.6);
      transform: scale(1.03);
    }

    .btn-ghost {
      background: transparent;
      border: 1px solid var(--neon-ice);
      color: var(--neon-ice);
      padding: 14px 40px;
      border-radius: var(--btn-radius);
      font-weight: 600;
      font-size: 1rem;
      letter-spacing: 0.5px;
      transition: all var(--transition-smooth);
    }

    .btn-ghost:hover {
      background: rgba(0,240,255,0.1);
    }

    .scroll-indicator {
      text-align: center;
      margin-top: 48px;
      color: var(--neon-ice);
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0% { opacity: 0.4; transform: translateY(0); }
      50% { opacity: 1; transform: translateY(6px); }
      100% { opacity: 0.4; transform: translateY(0); }
    }

    /* 通用区块 */
    section {
      padding: 90px 0;
    }

    h2 {
      font-size: 36px;
      font-weight: 600;
      color: #FFFFFF;
      margin-bottom: 56px;
      text-align: center;
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .glass-card {
      background: rgba(255,255,255,0.03);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid var(--glass-border);
      border-radius: var(--card-radius);
      padding: 32px;
      transition: all var(--transition-smooth);
    }

    .glass-card:hover {
      border-color: var(--glass-hover-border);
      box-shadow: 0 0 30px rgba(0,240,255,0.15);
    }

    /* 痛点 */
    .pain-icon {
      width: 48px;
      height: 48px;
      background: rgba(0,240,255,0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      color: var(--neon-ice);
      font-size: 1.5rem;
    }

    .pain-card h3 {
      font-size: 20px;
      font-weight: 600;
      color: #E0E0E0;
      margin-bottom: 12px;
    }

    .pain-desc {
      color: var(--text-muted);
      font-size: 0.95rem;
      margin-bottom: 16px;
    }

    .red-line {
      width: 40px;
      height: 2px;
      background: var(--milan-red);
    }

    /* 解决方案步骤 */
    .steps {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 20px;
      position: relative;
    }

    .step {
      flex: 1;
      text-align: center;
      position: relative;
    }

    .step-num {
      font-size: 48px;
      font-weight: 700;
      color: var(--neon-ice);
      opacity: 0.4;
      margin-bottom: 12px;
    }

    .step h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 12px;
    }

    .step p {
      color: var(--text-secondary);
    }

    .step-connector {
      position: absolute;
      top: 40px;
      left: 70%;
      width: 60%;
      border-top: 2px dashed rgba(0,240,255,0.3);
    }

    /* 数据指标 */
    .metrics {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }

    .metric-num {
      font-size: 48px;
      font-weight: 700;
      color: var(--neon-ice);
      text-shadow: 0 0 20px rgba(0,240,255,0.5);
      margin-bottom: 8px;
    }

    .metric-label {
      color: var(--text-secondary);
      font-size: 0.9rem;
    }

    /* 证言 */
    .testimonial-card {
      position: relative;
      padding-top: 40px;
    }

    .testimonial-avatar {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: url('/assets/images/coverpic/cover-2.webp') center/cover;
      border: 2px solid var(--neon-ice);
      margin-bottom: 16px;
    }

    .testimonial-tag {
      background: var(--milan-red);
      color: white;
      font-size: 0.7rem;
      padding: 2px 12px;
      border-radius: 20px;
      display: inline-block;
      margin-left: 8px;
    }

    .quote-icon {
      font-size: 3rem;
      color: var(--neon-ice);
      opacity: 0.7;
      line-height: 1;
    }

    /* FAQ */
    .faq-item {
      background: rgba(255,255,255,0.03);
      border-radius: 12px;
      margin-bottom: 12px;
      border-left: 3px solid transparent;
      transition: var(--transition-smooth);
    }

    .faq-item.active {
      border-left-color: var(--neon-ice);
      box-shadow: 0 0 15px rgba(0,240,255,0.1);
    }

    .faq-question {
      padding: 20px;
      font-weight: 500;
      font-size: 1.1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
    }

    .faq-answer {
      padding: 0 20px 20px;
      color: var(--text-secondary);
      display: none;
    }

    .faq-item.active .faq-answer {
      display: block;
    }

    /* CTA */
    #cta {
      background: radial-gradient(circle at center, rgba(0,240,255,0.05) 0%, transparent 70%);
      text-align: center;
    }

    .footer-top-line {
      height: 2px;
      background: var(--neon-ice);
      box-shadow: 0 0 12px var(--neon-ice);
      margin-bottom: 32px;
    }

    footer {
      background: var(--bg-footer);
      padding: 48px 0 24px;
    }

    .footer-grid {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 24px;
    }

    .back-to-top {
      width: 44px;
      height: 44px;
      border: 1px solid var(--neon-ice);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--neon-ice);
      transition: var(--transition-smooth);
    }

    .back-to-top:hover {
      background: var(--neon-ice);
      color: #0A0E27;
    }

    @media (max-width: 1024px) {
      .grid-3 { grid-template-columns: repeat(2, 1fr); }
      .metrics { grid-template-columns: repeat(2, 1fr); }
      .steps { flex-direction: column; }
      .step-connector { display: none; }
    }

    @media (max-width: 768px) {
      h1 { font-size: 32px; }
      h2 { font-size: 24px; }
      .hero-grid { flex-direction: column; }
      .nav-links { display: none; }
      .menu-toggle { display: flex; }
      .grid-3, .metrics { grid-template-columns: 1fr; }
      section { padding: 60px 0; }
      .btn-group .btn-primary, .btn-group .btn-ghost { width: 100%; }
    }
