/* roulang page: index */
:root {
      --primary: #6366f1;
      --primary-hover: #4f46e5;
      --accent: #10b981;
      --accent-glow: rgba(16, 185, 129, 0.25);
      --bg-dark: #0a0d14;
      --bg-surface: #0f172a;
      --bg-card: rgba(30, 41, 59, 0.7);
      --text-main: #f8fafc;
      --text-muted: #94a3b8;
      --text-dim: #64748b;
      --border-color: rgba(255, 255, 255, 0.08);
      --border-glow: rgba(99, 102, 241, 0.3);
      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-lg: 20px;
      --container-max: 1280px;
      --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      background-color: var(--bg-dark);
      color: var(--text-main);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      line-height: 1.6;
    }

    body {
      overflow-x: hidden;
      min-width: 320px;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, input, textarea, select {
      font-family: inherit;
      font-size: 1rem;
    }

    .container {
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Top Announcement Bar */
    .top-announcement {
      background: #06090e;
      border-bottom: 1px solid var(--border-color);
      font-size: 0.85rem;
      color: var(--text-muted);
      padding: 8px 0;
    }
    .top-announcement .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
    }
    .top-announcement .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .status-dot {
      width: 8px;
      height: 8px;
      background-color: var(--accent);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--accent);
    }
    .top-links a {
      color: var(--text-muted);
      margin-left: 16px;
    }
    .top-links a:hover {
      color: var(--text-main);
    }

    /* Main Navigation */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(10, 13, 20, 0.85);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
    }
    .nav-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 72px;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--text-main);
      letter-spacing: -0.5px;
    }
    .brand-logo svg {
      width: 30px;
      height: 30px;
      color: var(--primary);
    }
    .nav-menu {
      display: flex;
      gap: 24px;
      list-style: none;
    }
    .nav-menu a {
      font-size: 0.95rem;
      color: var(--text-muted);
      font-weight: 500;
    }
    .nav-menu a:hover {
      color: var(--text-main);
    }
    .nav-cta {
      display: flex;
      gap: 12px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 20px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 0.95rem;
      cursor: pointer;
      border: 1px solid transparent;
      transition: var(--transition);
      min-height: 44px;
      min-width: 44px;
    }
    .btn-primary {
      background: var(--primary);
      color: #fff;
      box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
    }
    .btn-primary:hover {
      background: var(--primary-hover);
      box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    }
    .btn-outline {
      border-color: var(--border-color);
      background: rgba(255, 255, 255, 0.03);
      color: var(--text-main);
    }
    .btn-outline:hover {
      border-color: rgba(255, 255, 255, 0.2);
      background: rgba(255, 255, 255, 0.08);
    }

    /* Section Global Styles */
    section {
      padding: 80px 0;
      position: relative;
    }
    .section-title-wrap {
      margin-bottom: 48px;
      max-width: 760px;
    }
    .section-tag {
      display: inline-block;
      font-size: 0.8rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--accent);
      background: rgba(16, 185, 129, 0.1);
      padding: 4px 10px;
      border-radius: 999px;
      margin-bottom: 12px;
      border: 1px solid rgba(16, 185, 129, 0.2);
    }
    .section-title {
      font-size: 2.2rem;
      font-weight: 800;
      line-height: 1.25;
      color: var(--text-main);
      margin-bottom: 16px;
    }
    .section-desc {
      font-size: 1.05rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* Hero Section (API / Code Variant) */
    .hero-section {
      padding: 70px 0 90px;
      background: radial-gradient(circle at 50% 10%, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
                  linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 100%);
      border-bottom: 1px solid var(--border-color);
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 40px;
      align-items: center;
    }
    .hero-content h1 {
      font-size: 2.75rem;
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 20px;
      letter-spacing: -0.5px;
    }
    .hero-content h1 span {
      background: linear-gradient(135deg, #fff 30%, #818cf8 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-lead {
      font-size: 1.1rem;
      color: var(--text-muted);
      margin-bottom: 32px;
      line-height: 1.75;
    }
    .hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 36px;
    }
    .hero-badges {
      display: flex;
      gap: 20px;
      border-top: 1px solid var(--border-color);
      padding-top: 24px;
    }
    .hero-badge-item {
      display: flex;
      flex-direction: column;
    }
    .hero-badge-val {
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--accent);
    }
    .hero-badge-lbl {
      font-size: 0.85rem;
      color: var(--text-dim);
    }
    .code-console-panel {
      background: #07090e;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
      overflow: hidden;
    }
    .console-header {
      background: #11151f;
      padding: 10px 16px;
      display: flex;
      align-items: center;
      gap: 8px;
      border-bottom: 1px solid var(--border-color);
    }
    .console-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }
    .console-title {
      font-size: 0.8rem;
      color: var(--text-dim);
      font-family: monospace;
      margin-left: 8px;
    }
    .console-body {
      padding: 20px;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      font-size: 0.88rem;
      line-height: 1.6;
      color: #cbd5e1;
      overflow-x: auto;
    }
    .c-token-kw { color: #f472b6; }
    .c-token-str { color: #34d399; }
    .c-token-fn { color: #60a5fa; }
    .c-token-com { color: #64748b; }

    /* Module 2: Production Capabilities (产线能力) */
    .capabilities-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .cap-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 32px 24px;
      transition: var(--transition);
      position: relative;
    }
    .cap-card:hover {
      transform: translateY(-4px);
      border-color: var(--border-glow);
      background: rgba(30, 41, 59, 0.9);
    }
    .cap-icon {
      width: 48px;
      height: 48px;
      border-radius: 10px;
      background: rgba(99, 102, 241, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      color: var(--primary);
    }
    .cap-card h3 {
      font-size: 1.25rem;
      margin-bottom: 12px;
      font-weight: 700;
    }
    .cap-card p {
      color: var(--text-muted);
      font-size: 0.92rem;
      line-height: 1.6;
    }

    /* Module 3: Parameter Table (参数表) */
    .section-params {
      background: #090c12;
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
    }
    .params-table-container {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow-x: auto;
    }
    .spec-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
      font-size: 0.95rem;
    }
    .spec-table th, .spec-table td {
      padding: 18px 24px;
      border-bottom: 1px solid var(--border-color);
    }
    .spec-table th {
      background: rgba(255, 255, 255, 0.02);
      color: var(--text-muted);
      font-weight: 600;
      text-transform: uppercase;
      font-size: 0.85rem;
      letter-spacing: 0.5px;
    }
    .spec-table tr:last-child td {
      border-bottom: none;
    }
    .spec-table tr:hover td {
      background: rgba(255, 255, 255, 0.015);
    }
    .val-highlight {
      color: var(--accent);
      font-weight: 600;
      font-family: monospace;
    }

    /* Module 4: Case Studies (案例现场) */
    .case-list {
      display: flex;
      flex-direction: column;
      gap: 32px;
    }
    .case-item {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow: hidden;
      padding: 24px;
    }
    .case-item:nth-child(even) {
      grid-template-columns: 1fr 1fr;
    }
    .case-item:nth-child(even) .case-media {
      order: 2;
    }
    .case-media img {
      border-radius: var(--radius-sm);
      object-fit: cover;
      width: 100%;
      height: 280px;
    }
    .case-content h3 {
      font-size: 1.5rem;
      margin-bottom: 14px;
      font-weight: 700;
    }
    .case-content p {
      color: var(--text-muted);
      font-size: 0.95rem;
      margin-bottom: 20px;
      line-height: 1.7;
    }
    .case-tags {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }
    .case-tag {
      font-size: 0.8rem;
      padding: 4px 10px;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-dim);
    }

    /* Module 5: Delivery Process (交付流程) */
    .process-timeline {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      position: relative;
    }
    .process-step {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 28px 20px;
      position: relative;
    }
    .step-number {
      font-size: 2.2rem;
      font-weight: 800;
      color: rgba(99, 102, 241, 0.35);
      line-height: 1;
      margin-bottom: 16px;
    }
    .process-step h4 {
      font-size: 1.15rem;
      margin-bottom: 10px;
      font-weight: 600;
    }
    .process-step p {
      color: var(--text-muted);
      font-size: 0.88rem;
      line-height: 1.6;
    }

    /* Module 6: News & Releases (资讯列表) */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .news-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .news-thumb img {
      width: 100%;
      height: 190px;
      object-fit: cover;
    }
    .news-details {
      padding: 24px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }
    .news-date {
      font-size: 0.8rem;
      color: var(--text-dim);
      margin-bottom: 8px;
    }
    .news-details h4 {
      font-size: 1.15rem;
      margin-bottom: 10px;
      line-height: 1.4;
    }
    .news-details p {
      color: var(--text-muted);
      font-size: 0.9rem;
      line-height: 1.6;
      flex-grow: 1;
      margin-bottom: 16px;
    }
    .news-link {
      font-size: 0.9rem;
      color: var(--primary);
      font-weight: 600;
    }

    /* Module 7: Core Ecology / Showcase (热门生态中心) */
    .eco-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .eco-card {
      background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 28px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .eco-card-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 16px;
    }
    .eco-status {
      font-size: 0.75rem;
      padding: 2px 8px;
      border-radius: 4px;
      background: rgba(16, 185, 129, 0.15);
      color: var(--accent);
      border: 1px solid rgba(16, 185, 129, 0.3);
    }
    .eco-card h3 {
      font-size: 1.25rem;
      margin-bottom: 10px;
    }
    .eco-card p {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-bottom: 20px;
    }
    .eco-metrics {
      border-top: 1px solid var(--border-color);
      padding-top: 16px;
      display: flex;
      justify-content: space-between;
      font-size: 0.85rem;
      color: var(--text-dim);
    }

    /* Module 8: Security & Compliance (深色理念与合规生态) */
    .compliance-section {
      background: #06090e;
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
    }
    .compliance-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .compliance-card {
      border: 1px dashed var(--border-color);
      padding: 28px;
      border-radius: var(--radius-md);
    }
    .compliance-card h4 {
      font-size: 1.15rem;
      margin-bottom: 12px;
      color: var(--text-main);
    }
    .compliance-card p {
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* Module 9: Metrics Strip (实时运行关键数据条) */
    .stats-strip {
      background: linear-gradient(90deg, #111827 0%, #1e1b4b 50%, #111827 100%);
      border-top: 1px solid var(--border-glow);
      border-bottom: 1px solid var(--border-glow);
      padding: 48px 0;
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      text-align: center;
    }
    .stat-number {
      font-size: 2.6rem;
      font-weight: 800;
      color: #fff;
      margin-bottom: 8px;
      font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
    }
    .stat-label {
      font-size: 0.9rem;
      color: var(--text-muted);
      letter-spacing: 0.5px;
    }

    /* Module 10: Partners (合作伙伴) */
    .partners-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 16px;
    }
    .partner-pill {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-dim);
      transition: var(--transition);
    }
    .partner-pill:hover {
      border-color: rgba(255, 255, 255, 0.2);
      color: var(--text-main);
      background: rgba(255, 255, 255, 0.04);
    }

    /* Module 11: Inbound Lead Form (询盘表单) */
    .form-section {
      background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    }
    .form-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 48px;
      max-width: 860px;
      margin: 0 auto;
    }
    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-top: 24px;
    }
    .form-full {
      grid-column: span 2;
    }
    .form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .form-group label {
      font-size: 0.88rem;
      font-weight: 500;
      color: var(--text-muted);
    }
    .form-control {
      background: rgba(15, 23, 42, 0.6);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      padding: 12px 16px;
      color: #fff;
      font-size: 0.95rem;
      outline: none;
      transition: var(--transition);
    }
    .form-control:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
    }

    /* Module 12: Single Bottom Conversion (CTA 收口) */
    .final-cta {
      padding: 60px 0 80px;
      text-align: center;
    }
    .cta-box {
      background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
      border: 1px solid var(--border-glow);
      border-radius: var(--radius-lg);
      padding: 60px 40px;
    }
    .cta-box h3 {
      font-size: 2.2rem;
      font-weight: 800;
      margin-bottom: 16px;
    }
    .cta-box p {
      font-size: 1.05rem;
      color: var(--text-muted);
      max-width: 680px;
      margin: 0 auto 32px;
    }

    /* Site Footer */
    .site-footer {
      background: #05070a;
      border-top: 1px solid var(--border-color);
      padding: 60px 0 30px;
      font-size: 0.9rem;
      color: var(--text-dim);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 40px;
      margin-bottom: 40px;
    }
    .footer-brand h4 {
      font-size: 1.2rem;
      color: var(--text-main);
      margin-bottom: 12px;
    }
    .footer-links h5 {
      color: var(--text-main);
      font-size: 0.95rem;
      margin-bottom: 16px;
    }
    .footer-links ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer-links a:hover {
      color: var(--text-main);
    }
    .footer-bottom {
      border-top: 1px solid var(--border-color);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 0.85rem;
    }

    /* Responsive Breakpoints */
    @media (max-width: 1024px) {
      .hero-grid {
        grid-template-columns: 1fr;
      }
      .capabilities-grid, .eco-grid, .news-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .process-timeline {
        grid-template-columns: repeat(2, 1fr);
      }
      .partners-grid {
        grid-template-columns: repeat(3, 1fr);
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 768px) {
      .nav-menu {
        display: none;
      }
      .capabilities-grid, .eco-grid, .news-grid, .compliance-grid {
        grid-template-columns: 1fr;
      }
      .case-item, .case-item:nth-child(even) {
        grid-template-columns: 1fr;
      }
      .case-item:nth-child(even) .case-media {
        order: 0;
      }
      .process-timeline {
        grid-template-columns: 1fr;
      }
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .form-grid {
        grid-template-columns: 1fr;
      }
      .form-full {
        grid-column: span 1;
      }
      .partners-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .hero-content h1 {
        font-size: 2rem;
      }
      .section-title {
        font-size: 1.7rem;
      }
    }
