/* roulang page: index */
:root {
      --primary: #00D084;
      --primary-hover: #00B572;
      --bg-dark: #0B0F17;
      --surface-dark: #151D2A;
      --surface-card: #1C2638;
      --bg-light: #F8FAFC;
      --surface-white: #FFFFFF;
      --text-main: #0F172A;
      --text-muted: #64748B;
      --text-light: #F1F5F9;
      --text-light-muted: #94A3B8;
      --border: #E2E8F0;
      --border-dark: rgba(255, 255, 255, 0.08);
      --accent-warn: #F59E0B;
      --accent-blue: #38BDF8;
      --radius-sm: 4px;
      --radius-md: 8px;
      --radius-lg: 14px;
      --container-max: 1240px;
      --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
      background-color: var(--bg-light);
      color: var(--text-main);
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition-smooth);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Meta Top Bar */
    .top-bar {
      background-color: #06090E;
      color: var(--text-light-muted);
      font-size: 12px;
      padding: 6px 0;
      border-bottom: 1px solid var(--border-dark);
    }
    .top-bar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--primary);
      box-shadow: 0 0 8px var(--primary);
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0% { opacity: 0.6; }
      50% { opacity: 1; }
      100% { opacity: 0.6; }
    }

    /* Main Navigation */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(11, 15, 23, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-dark);
    }
    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }
    .site-brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .brand-logo-icon {
      width: 38px;
      height: 38px;
      border-radius: var(--radius-md);
      background: linear-gradient(135deg, var(--primary) 0%, #0284C7 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #0B0F17;
      font-weight: 800;
      font-size: 19px;
      letter-spacing: -0.5px;
    }
    .brand-title {
      font-size: 20px;
      font-weight: 700;
      color: var(--text-light);
      letter-spacing: -0.01em;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
      list-style: none;
    }
    .nav-links a {
      color: var(--text-light-muted);
      font-size: 15px;
      font-weight: 500;
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
    }
    .nav-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 22px;
      border-radius: 30px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      border: 1px solid transparent;
      transition: var(--transition-smooth);
    }
    .btn:active {
      transform: scale(0.98);
    }
    .btn-primary {
      background-color: var(--primary);
      color: #0B0F17;
      box-shadow: 0 4px 14px rgba(0, 208, 132, 0.25);
    }
    .btn-primary:hover {
      background-color: var(--primary-hover);
      box-shadow: 0 6px 20px rgba(0, 208, 132, 0.35);
      transform: translateY(-1px);
    }
    .btn-secondary {
      background: transparent;
      color: var(--text-light);
      border-color: rgba(255, 255, 255, 0.2);
    }
    .btn-secondary:hover {
      border-color: var(--primary);
      color: var(--primary);
      background: rgba(0, 208, 132, 0.05);
    }

    /* Section Global Styles */
    section {
      padding: 96px 0;
      position: relative;
    }
    .section-head {
      margin-bottom: 56px;
    }
    .section-head.text-center {
      text-align: center;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }
    .section-tag {
      display: inline-block;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--primary);
      background: rgba(0, 208, 132, 0.1);
      padding: 4px 12px;
      border-radius: var(--radius-sm);
      margin-bottom: 12px;
      border: 1px solid rgba(0, 208, 132, 0.2);
    }
    .section-title {
      font-size: 34px;
      line-height: 1.25;
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 16px;
    }
    .section-desc {
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* Section 1: Hero (API / Developer Stage) */
    .hero-section {
      background: radial-gradient(circle at 80% 20%, #152438 0%, #0B0F17 60%);
      color: var(--text-light);
      padding: 108px 0 100px;
      border-bottom: 1px solid var(--border-dark);
      overflow: hidden;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 52px;
      align-items: center;
    }
    .hero-title {
      font-size: 48px;
      line-height: 1.15;
      font-weight: 800;
      letter-spacing: -0.03em;
      margin-bottom: 24px;
      color: #FFFFFF;
    }
    .hero-title span {
      background: linear-gradient(135deg, #00D084 0%, #38BDF8 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-summary {
      font-size: 17px;
      line-height: 1.8;
      color: var(--text-light-muted);
      margin-bottom: 36px;
    }
    .hero-btn-group {
      display: flex;
      gap: 16px;
      margin-bottom: 40px;
    }
    .hero-metrics-strip {
      display: flex;
      gap: 32px;
      padding-top: 28px;
      border-top: 1px solid var(--border-dark);
    }
    .hero-metric-item strong {
      display: block;
      font-size: 26px;
      font-weight: 700;
      color: #FFFFFF;
      font-family: "DIN Alternate", Inter, monospace;
    }
    .hero-metric-item span {
      font-size: 13px;
      color: var(--text-light-muted);
    }
    /* Code Mockup */
    .code-stage-card {
      background: #06090E;
      border: 1px solid var(--border-dark);
      border-radius: var(--radius-lg);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
      overflow: hidden;
    }
    .code-stage-header {
      background: #111722;
      padding: 12px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid var(--border-dark);
    }
    .code-dots {
      display: flex;
      gap: 6px;
    }
    .code-dots span {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #334155;
    }
    .code-dots span:nth-child(1) { background: #EF4444; }
    .code-dots span:nth-child(2) { background: #F59E0B; }
    .code-dots span:nth-child(3) { background: #10B981; }
    .code-stage-title {
      font-size: 12px;
      color: var(--text-light-muted);
      font-family: monospace;
    }
    .code-body {
      padding: 24px;
      font-family: "JetBrains Mono", Consolas, monospace;
      font-size: 13px;
      line-height: 1.6;
      color: #CBD5E1;
      overflow-x: auto;
    }
    .code-body .token-k { color: #F472B6; }
    .code-body .token-f { color: #38BDF8; }
    .code-body .token-s { color: #A7F3D0; }
    .code-body .token-c { color: #64748B; }

    /* Section 2: Pain Points (行业痛点剖析区) */
    .section-pain {
      background: #FFFFFF;
    }
    .pain-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .pain-card {
      background: #FAFCFF;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 28px 24px;
      transition: var(--transition-smooth);
      position: relative;
    }
    .pain-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
      border-color: #CBD5E1;
    }
    .pain-icon-badge {
      width: 42px;
      height: 42px;
      background: #FEE2E2;
      color: #DC2626;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      margin-bottom: 20px;
      font-size: 18px;
    }
    .pain-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--text-main);
    }
    .pain-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* Section 3: Solution (全景解决方案区) */
    .section-solution {
      background: #F8FAFC;
    }
    .solution-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }
    .sol-layers {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-top: 32px;
    }
    .sol-layer-item {
      background: #FFFFFF;
      border: 1px solid var(--border);
      border-left: 4px solid var(--primary);
      border-radius: var(--radius-md);
      padding: 18px 22px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    }
    .sol-layer-head {
      font-size: 16px;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 6px;
      display: flex;
      justify-content: space-between;
    }
    .sol-layer-head span {
      font-size: 12px;
      color: var(--primary);
      font-weight: 600;
      background: rgba(0, 208, 132, 0.1);
      padding: 2px 8px;
      border-radius: 4px;
    }
    .sol-layer-desc {
      font-size: 13.5px;
      color: var(--text-muted);
    }
    .sol-visual-panel {
      position: relative;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
      border: 1px solid var(--border);
      background: #0B0F17;
    }
    .sol-visual-panel img {
      width: 100%;
      height: 480px;
      object-fit: cover;
      opacity: 0.9;
    }
    .sol-img-caption {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(180deg, transparent, rgba(11, 15, 23, 0.9));
      padding: 24px;
      color: #FFFFFF;
      font-size: 14px;
    }

    /* Section 4: Capabilities (六大核心能力矩阵) */
    .section-capabilities {
      background: #FFFFFF;
    }
    .cap-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .cap-card {
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 32px 26px;
      background: #FFFFFF;
      transition: var(--transition-smooth);
      position: relative;
    }
    .cap-card:hover {
      border-color: var(--primary);
      box-shadow: 0 10px 30px rgba(0, 208, 132, 0.1);
      transform: translateY(-4px);
    }
    .cap-number {
      font-family: monospace;
      font-size: 14px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 12px;
    }
    .cap-title {
      font-size: 19px;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--text-main);
    }
    .cap-text {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.65;
    }

    /* Section 5: Products (三大核心产品矩阵) */
    .section-products {
      background: #F1F5F9;
    }
    .product-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .product-card {
      background: #FFFFFF;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: var(--transition-smooth);
    }
    .product-card:hover {
      box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
      transform: translateY(-5px);
    }
    .product-img-box {
      height: 200px;
      overflow: hidden;
      background: #1E293B;
    }
    .product-img-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .product-card:hover .product-img-box img {
      transform: scale(1.05);
    }
    .product-body {
      padding: 28px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }
    .product-meta-tag {
      font-size: 11px;
      font-weight: 700;
      color: var(--accent-blue);
      letter-spacing: 0.05em;
      margin-bottom: 8px;
    }
    .product-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--text-main);
    }
    .product-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 24px;
      flex-grow: 1;
    }
    .product-specs-list {
      list-style: none;
      border-top: 1px solid #EDF2F7;
      padding-top: 16px;
      margin-bottom: 20px;
    }
    .product-specs-list li {
      font-size: 13px;
      color: #475569;
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
    }
    .product-specs-list li::before {
      content: "✓";
      color: var(--primary);
      font-weight: 800;
    }

    /* Section 6: Workflow (步骤与接入链路) */
    .section-workflow {
      background: #FFFFFF;
    }
    .timeline-steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      position: relative;
      margin-top: 20px;
    }
    .step-card {
      background: #FAFCFF;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 30px 22px;
      position: relative;
    }
    .step-badge {
      width: 36px;
      height: 36px;
      background: var(--text-main);
      color: var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: monospace;
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 20px;
    }
    .step-name {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 10px;
    }
    .step-desc {
      font-size: 13.5px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* Section 7: Architecture (深色高并发架构区) */
    .section-dark-arch {
      background: #0B0F17;
      color: var(--text-light);
      border-top: 1px solid var(--border-dark);
      border-bottom: 1px solid var(--border-dark);
    }
    .arch-card-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 36px;
      align-items: center;
    }
    .arch-features {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .arch-feature-box {
      background: #151D2A;
      border: 1px solid var(--border-dark);
      border-radius: var(--radius-md);
      padding: 24px;
      transition: var(--transition-smooth);
    }
    .arch-feature-box:hover {
      border-color: var(--primary);
    }
    .arch-feature-title {
      font-size: 18px;
      font-weight: 700;
      color: #FFFFFF;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .arch-feature-title::before {
      content: "";
      width: 8px;
      height: 8px;
      background: var(--primary);
      border-radius: 50%;
    }
    .arch-feature-desc {
      font-size: 14px;
      color: var(--text-light-muted);
      line-height: 1.6;
    }
    .arch-terminal {
      background: #06090E;
      border: 1px solid var(--border-dark);
      border-radius: var(--radius-lg);
      padding: 28px;
    }
    .term-row {
      display: flex;
      justify-content: space-between;
      padding: 12px 0;
      border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
      font-family: monospace;
      font-size: 13.5px;
    }
    .term-row:last-child {
      border-bottom: none;
    }
    .term-key { color: var(--text-light-muted); }
    .term-val { color: var(--primary); font-weight: 600; }

    /* Section 8: Case Studies (实战成果与研运故事) */
    .section-cases {
      background: #FFFFFF;
    }
    .cases-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }
    .case-card {
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      background: #FAFCFF;
      box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    }
    .case-img-wrap {
      height: 220px;
      background: #334155;
      overflow: hidden;
    }
    .case-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .case-content {
      padding: 30px;
    }
    .case-tag {
      font-size: 12px;
      font-weight: 700;
      color: #0284C7;
      margin-bottom: 8px;
      display: inline-block;
    }
    .case-title {
      font-size: 21px;
      font-weight: 700;
      margin-bottom: 14px;
    }
    .case-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.65;
      margin-bottom: 24px;
    }
    .case-stats-row {
      display: flex;
      gap: 24px;
      padding-top: 18px;
      border-top: 1px solid var(--border);
    }
    .case-stat-item strong {
      display: block;
      font-size: 22px;
      color: var(--text-main);
      font-family: "DIN Alternate", monospace;
    }
    .case-stat-item span {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* Section 9: Metrics (关键运行指标) */
    .section-metrics {
      background: #111722;
      color: var(--text-light);
      padding: 72px 0;
      border-top: 1px solid var(--border-dark);
      border-bottom: 1px solid var(--border-dark);
    }
    .metrics-bar-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      text-align: center;
    }
    .metric-box strong {
      display: block;
      font-size: 44px;
      font-weight: 800;
      color: var(--primary);
      font-family: "DIN Alternate", Inter, monospace;
      letter-spacing: -0.03em;
      line-height: 1.1;
      margin-bottom: 8px;
    }
    .metric-box h4 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 4px;
      color: #FFFFFF;
    }
    .metric-box p {
      font-size: 13px;
      color: var(--text-light-muted);
    }

    /* Section 10: Testimonials (制作人与资深运营评价 */
    .section-testimonials {
      background: #FAFCFF;
    }
    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .t-card {
      background: #FFFFFF;
      padding: 32px;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      position: relative;
    }
    .t-quote {
      font-size: 15px;
      color: var(--text-main);
      margin-bottom: 24px;
      line-height: 1.7;
    }
    .t-user {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .t-user-info h5 {
      font-size: 14px;
      font-weight: 700;
    }
    .t-user-info span {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* Section 11: News (行业资讯) */
    .section-news {
      background: #FFFFFF;
    }
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .news-card {
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: var(--transition-smooth);
    }
    .news-card:hover {
      box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    .news-img {
      height: 180px;
      background: #E2E8F0;
    }
    .news-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .news-body {
      padding: 20px;
    }
    .news-date {
      font-size: 12px;
      color: var(--primary);
      font-weight: 600;
      margin-bottom: 8px;
    }
    .news-title {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .news-desc {
      font-size: 13px;
      color: var(--text-muted);
    }

    /* Section 12: FAQ */
    .section-faq {
      background: #F8FAFC;
    }
    .faq-container {
      max-width: 800px;
      margin: 0 auto;
    }
    .faq-item {
      background: #FFFFFF;
      border: 1px solid var(--border);
      margin-bottom: 12px;
      border-radius: var(--radius-md);
    }
    .faq-item summary {
      padding: 20px;
      font-weight: 600;
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .faq-item summary::after {
      content: "+";
      font-size: 20px;
      color: var(--primary);
    }
    .faq-item[open] summary::after {
      content: "−";
    }
    .faq-content {
      padding: 0 20px 20px;
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* Section 13: CTA */
    .section-cta {
      background: #0B0F17;
      color: #FFFFFF;
      padding: 100px 0;
      text-align: center;
    }
    .cta-form {
      max-width: 600px;
      margin: 40px auto 0;
      display: grid;
      gap: 16px;
    }
    .cta-input {
      background: #151D2A;
      border: 1px solid rgba(255,255,255,0.1);
      padding: 14px 20px;
      color: #FFFFFF;
      border-radius: var(--radius-md);
    }
    .cta-btn {
      background: var(--primary);
      color: #0B0F17;
      padding: 16px;
      border: none;
      border-radius: var(--radius-md);
      font-weight: 700;
      cursor: pointer;
    }

    /* Footer */
    .site-footer {
      background: #06090E;
      color: #94A3B8;
      padding: 80px 0 40px;
      border-top: 1px solid var(--border-dark);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 40px;
      margin-bottom: 60px;
    }
    .footer-title {
      color: #FFFFFF;
      font-weight: 700;
      margin-bottom: 20px;
    }
    .footer-links {
      list-style: none;
    }
    .footer-links li {
      margin-bottom: 12px;
    }
    .footer-links a {
      font-size: 14px;
      color: #94A3B8;
    }
    .footer-links a:hover {
      color: var(--primary);
    }
    .footer-bottom {
      text-align: center;
      padding-top: 40px;
      border-top: 1px solid var(--border-dark);
      font-size: 12px;
    }
