/* roulang page: index */
:root {
      --bg-dark: #0b0d12;
      --bg-surface: #10121a;
      --bg-card: #141721;
      --bg-card-hover: #1b1f2d;
      --bg-light: #f8f9fc;
      --text-main: #e6e8f0;
      --text-muted: #8a90a5;
      --text-dark: #1e222e;
      --accent: #00e599;
      --accent-glow: rgba(0, 229, 153, 0.15);
      --accent-blue: #4d88ff;
      --border-dark: rgba(255, 255, 255, 0.08);
      --border-light: rgba(0, 0, 0, 0.08);
      --font-mono: 'JetBrains Mono', Consolas, Monaco, monospace;
      --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
      --radius: 8px;
      --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
      --max-w: 1240px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      background-color: var(--bg-dark);
      color: var(--text-main);
      font-family: var(--font-sans);
      line-height: 1.6;
    }

    body {
      overflow-x: hidden;
      background-color: var(--bg-dark);
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: all 0.25s ease;
    }

    ul, ol {
      list-style: none;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      width: 100%;
      max-width: var(--max-w);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Header Nav */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(11, 13, 18, 0.88);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-dark);
    }

    .top-bar {
      border-bottom: 1px solid rgba(255, 255, 255, 0.04);
      font-size: 12px;
      padding: 6px 0;
      color: var(--text-muted);
    }

    .top-bar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .status-indicator {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--accent);
      font-family: var(--font-mono);
    }

    .status-dot {
      width: 7px;
      height: 7px;
      background-color: var(--accent);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--accent);
    }

    .nav-main {
      padding: 16px 0;
    }

    .nav-main .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .brand-logo {
      font-size: 20px;
      font-weight: 700;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 8px;
      letter-spacing: -0.5px;
    }

    .brand-logo span {
      color: var(--accent);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
    }

    .nav-link {
      font-size: 14px;
      font-weight: 500;
      color: var(--text-muted);
      position: relative;
    }

    .nav-link:hover, .nav-link.active {
      color: #fff;
    }

    .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--accent);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 22px;
      border-radius: var(--radius);
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.25s ease;
      border: 1px solid transparent;
    }

    .btn-primary {
      background: var(--accent);
      color: #05140e;
      box-shadow: 0 4px 14px rgba(0, 229, 153, 0.2);
    }

    .btn-primary:hover {
      background: #05f0a2;
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0, 229, 153, 0.35);
    }

    .btn-secondary {
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-main);
      border-color: var(--border-dark);
    }

    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.1);
      color: #fff;
      transform: translateY(-2px);
    }

    /* Section Global Styles */
    section {
      padding: 88px 0;
      position: relative;
    }

    .section-dark-alt {
      background: var(--bg-surface);
      border-top: 1px solid var(--border-dark);
      border-bottom: 1px solid var(--border-dark);
    }

    .section-header {
      margin-bottom: 56px;
      text-align: left;
    }

    .section-header.center {
      text-align: center;
    }

    .section-badge {
      display: inline-block;
      font-size: 12px;
      font-weight: 600;
      font-family: var(--font-mono);
      color: var(--accent);
      background: var(--accent-glow);
      padding: 4px 10px;
      border-radius: 4px;
      margin-bottom: 12px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .section-title {
      font-size: 32px;
      font-weight: 700;
      color: #fff;
      line-height: 1.25;
      margin-bottom: 16px;
      letter-spacing: -0.5px;
    }

    .section-subtitle {
      font-size: 15px;
      color: var(--text-muted);
      max-width: 760px;
      line-height: 1.7;
    }

    .section-header.center .section-subtitle {
      margin-left: auto;
      margin-right: auto;
    }

    /* 1. Hero */
    .hero-section {
      padding: 100px 0 80px;
      background: radial-gradient(circle at 80% 20%, rgba(0, 229, 153, 0.06), transparent 50%),
                  radial-gradient(circle at 20% 80%, rgba(77, 136, 255, 0.05), transparent 50%),
                  url('/assets/images/backpic/back-1.jpg') center/cover no-repeat;
      position: relative;
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      background: rgba(11, 13, 18, 0.88);
      z-index: 1;
    }

    .hero-container {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 56px;
      align-items: center;
    }

    .hero-content h1 {
      font-size: 44px;
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 20px;
      color: #ffffff;
      letter-spacing: -1px;
    }

    .hero-content h1 span {
      color: var(--accent);
    }

    .hero-desc {
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.75;
      margin-bottom: 32px;
    }

    .hero-checklist {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-bottom: 36px;
    }

    .check-item {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 14px;
      color: var(--text-main);
    }

    .check-icon {
      color: var(--accent);
      font-weight: bold;
    }

    .hero-actions {
      display: flex;
      gap: 16px;
    }

    .hero-card {
      background: rgba(20, 23, 33, 0.7);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius);
      padding: 24px;
      backdrop-filter: blur(8px);
      box-shadow: var(--shadow);
    }

    .console-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid var(--border-dark);
      padding-bottom: 12px;
      margin-bottom: 16px;
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--text-muted);
    }

    .console-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 16px;
    }

    .stat-box {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.04);
      padding: 14px;
      border-radius: 6px;
    }

    .stat-box-label {
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 4px;
    }

    .stat-box-val {
      font-size: 22px;
      font-weight: 700;
      color: var(--accent);
      font-family: var(--font-mono);
    }

    .console-log {
      font-family: var(--font-mono);
      font-size: 11px;
      background: #07080c;
      padding: 12px;
      border-radius: 4px;
      color: #798299;
      line-height: 1.6;
    }

    .log-hl {
      color: var(--accent-blue);
    }

    /* 2. Intro */
    .intro-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }

    .intro-img-wrap {
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--border-dark);
      position: relative;
    }

    .intro-text-box h3 {
      font-size: 24px;
      color: #fff;
      margin-bottom: 16px;
    }

    .intro-text-box p {
      font-size: 15px;
      color: var(--text-muted);
      margin-bottom: 20px;
      line-height: 1.7;
    }

    .param-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .param-item {
      display: flex;
      justify-content: space-between;
      border-bottom: 1px dashed var(--border-dark);
      padding-bottom: 8px;
      font-size: 14px;
    }

    .param-name {
      color: var(--text-muted);
    }

    .param-value {
      font-family: var(--font-mono);
      color: var(--accent);
      font-weight: 600;
    }

    /* 3. Services */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .service-card {
      background: var(--bg-card);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius);
      padding: 28px;
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .service-card:hover {
      border-color: rgba(0, 229, 153, 0.4);
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(0, 229, 153, 0.08);
    }

    .service-icon {
      font-family: var(--font-mono);
      font-size: 13px;
      color: var(--accent);
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .service-card h4 {
      font-size: 18px;
      color: #fff;
      margin-bottom: 12px;
    }

    .service-card p {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 20px;
    }

    .service-footer {
      font-size: 13px;
      color: var(--accent-blue);
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-weight: 600;
    }

    /* 4. Products */
    .products-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .product-card {
      background: var(--bg-card);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius);
      padding: 32px 24px;
      position: relative;
      display: flex;
      flex-direction: column;
    }

    .product-card.featured {
      border-color: var(--accent);
      background: linear-gradient(180deg, rgba(0, 229, 153, 0.03) 0%, rgba(20, 23, 33, 1) 100%);
    }

    .badge-feat {
      position: absolute;
      top: 16px;
      right: 16px;
      background: var(--accent);
      color: #05140e;
      font-size: 11px;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 4px;
      text-transform: uppercase;
    }

    .product-title {
      font-size: 20px;
      color: #fff;
      margin-bottom: 8px;
    }

    .product-target {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 24px;
    }

    .product-specs {
      margin-bottom: 32px;
      flex-grow: 1;
    }

    .spec-row {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      margin-bottom: 12px;
      font-size: 13px;
      color: var(--text-main);
    }

    .spec-bullet {
      color: var(--accent);
    }

    /* 5. Comparison */
    .compare-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }

    .compare-card {
      background: var(--bg-card);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius);
      padding: 32px;
    }

    .compare-card.advanced {
      border-color: rgba(0, 229, 153, 0.3);
      background: rgba(0, 229, 153, 0.02);
    }

    .compare-header {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .compare-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .compare-item {
      font-size: 14px;
      line-height: 1.6;
      padding-left: 20px;
      position: relative;
    }

    .compare-item::before {
      content: '—';
      position: absolute;
      left: 0;
      color: var(--text-muted);
    }

    .compare-card.advanced .compare-item::before {
      content: '✓';
      color: var(--accent);
      font-weight: bold;
    }

    /* 6. Milestones */
    .timeline {
      position: relative;
      max-width: 900px;
      margin: 0 auto;
    }

    .timeline::before {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      width: 2px;
      background: var(--border-dark);
      transform: translateX(-50%);
    }

    .timeline-item {
      margin-bottom: 40px;
      position: relative;
      width: 50%;
    }

    .timeline-item:nth-child(odd) {
      left: 0;
      padding-right: 40px;
      text-align: right;
    }

    .timeline-item:nth-child(even) {
      left: 50%;
      padding-left: 40px;
      text-align: left;
    }

    .timeline-dot {
      width: 14px;
      height: 14px;
      background: var(--accent);
      border-radius: 50%;
      position: absolute;
      top: 6px;
      box-shadow: 0 0 10px var(--accent);
    }

    .timeline-item:nth-child(odd) .timeline-dot {
      right: -7px;
    }

    .timeline-item:nth-child(even) .timeline-dot {
      left: -7px;
    }

    .timeline-content {
      background: var(--bg-card);
      border: 1px solid var(--border-dark);
      padding: 20px;
      border-radius: var(--radius);
    }

    .timeline-date {
      font-family: var(--font-mono);
      font-size: 13px;
      color: var(--accent);
      margin-bottom: 6px;
    }

    .timeline-title {
      font-size: 16px;
      color: #fff;
      margin-bottom: 8px;
    }

    .timeline-desc {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* 7. Metrics Strip */
    .metrics-strip {
      background: #08090d;
      border-top: 1px solid var(--border-dark);
      border-bottom: 1px solid var(--border-dark);
      padding: 48px 0;
    }

    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }

    .metric-num {
      font-size: 40px;
      font-weight: 800;
      font-family: var(--font-mono);
      color: var(--accent);
      margin-bottom: 8px;
      line-height: 1;
    }

    .metric-label {
      font-size: 13px;
      color: var(--text-muted);
    }

    /* 8. User Stories */
    .cases-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 32px;
    }

    .case-card {
      background: var(--bg-card);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius);
      padding: 32px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .case-tag {
      font-size: 12px;
      color: var(--accent-blue);
      font-family: var(--font-mono);
      margin-bottom: 8px;
    }

    .case-card h4 {
      font-size: 20px;
      color: #fff;
      margin-bottom: 12px;
    }

    .case-card p {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 20px;
    }

    .case-metric {
      background: rgba(255, 255, 255, 0.02);
      padding: 12px 16px;
      border-radius: 6px;
      border-left: 3px solid var(--accent);
      font-size: 13px;
      color: var(--text-main);
    }

    /* 9. Testimonials */
    .reviews-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .review-card {
      background: var(--bg-card);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius);
      padding: 28px;
    }

    .review-stars {
      color: var(--accent);
      margin-bottom: 12px;
      letter-spacing: 2px;
    }

    .review-quote {
      font-size: 14px;
      color: var(--text-main);
      line-height: 1.7;
      margin-bottom: 20px;
    }

    .review-author {
      font-size: 13px;
      color: var(--text-muted);
    }

    .review-author strong {
      color: #fff;
      display: block;
    }

    /* 10. Insights */
    .insights-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .insight-card {
      background: var(--bg-card);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .insight-img-wrap {
      height: 180px;
      overflow: hidden;
    }

    .insight-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .insight-card:hover .insight-img-wrap img {
      transform: scale(1.05);
    }

    .insight-body {
      padding: 24px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .insight-meta {
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 8px;
      font-family: var(--font-mono);
    }

    .insight-body h4 {
      font-size: 16px;
      color: #fff;
      margin-bottom: 12px;
      line-height: 1.4;
    }

    .insight-body p {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* 11. FAQ */
    .faq-wrapper {
      max-width: 860px;
      margin: 0 auto;
    }

    .faq-item {
      border: 1px solid var(--border-dark);
      border-radius: var(--radius);
      margin-bottom: 16px;
      background: var(--bg-card);
      overflow: hidden;
    }

    .faq-question {
      padding: 20px 24px;
      font-size: 16px;
      font-weight: 600;
      color: #fff;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
    }

    .faq-question::after {
      content: '+';
      font-size: 20px;
      color: var(--accent);
      transition: transform 0.3s ease;
    }

    .faq-item.active .faq-question::after {
      transform: rotate(45deg);
    }

    .faq-answer {
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
      padding: 0 24px;
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    .faq-item.active .faq-answer {
      max-height: 200px;
      opacity: 1;
      padding-bottom: 20px;
    }

    /* 12. Contact Form */
    .contact-box {
      max-width: 760px;
      margin: 0 auto;
      background: var(--bg-card);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius);
      padding: 40px;
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 20px;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .form-group.full {
      grid-column: span 2;
    }

    .form-label {
      font-size: 13px;
      font-weight: 500;
      color: var(--text-main);
    }

    .form-control {
      background: #090a0f;
      border: 1px solid var(--border-dark);
      border-radius: 6px;
      padding: 12px 14px;
      font-size: 14px;
      color: #fff;
      font-family: inherit;
      outline: none;
      transition: border-color 0.25s ease;
    }

    .form-control:focus {
      border-color: var(--accent);
    }

    textarea.form-control {
      min-height: 110px;
      resize: vertical;
    }

    .form-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 24px;
    }

    .form-note {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* Footer */
    .site-footer {
      background: #07080c;
      border-top: 1px solid var(--border-dark);
      padding: 64px 0 32px;
      font-size: 13px;
      color: var(--text-muted);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 48px;
    }

    .footer-col h5 {
      color: #fff;
      font-size: 15px;
      margin-bottom: 16px;
    }

    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-links a:hover {
      color: var(--accent);
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
    }

    /* Mobile Menu Toggle */
    .mobile-toggle {
      display: none;
      background: none;
      border: none;
      color: #fff;
      font-size: 24px;
      cursor: pointer;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .services-grid, .products-grid, .reviews-grid, .insights-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
      }
      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .hero-container, .intro-grid, .compare-container, .cases-grid {
        grid-template-columns: 1fr;
      }
      .services-grid, .products-grid, .reviews-grid, .insights-grid {
        grid-template-columns: 1fr;
      }
      .timeline::before {
        left: 20px;
      }
      .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 48px !important;
        padding-right: 0 !important;
        text-align: left !important;
      }
      .timeline-dot {
        left: 13px !important;
        right: auto !important;
      }
      .form-grid {
        grid-template-columns: 1fr;
      }
      .form-group.full {
        grid-column: span 1;
      }
      .nav-links {
        display: none;
      }
      .mobile-toggle {
        display: block;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
      }
    }
