/* roulang page: index */
:root {
      --primary: #00B552;
      --primary-hover: #009643;
      --accent: #FFB800;
      --bg-light: #F4F7F5;
      --bg-white: #FFFFFF;
      --bg-dark: #0D1612;
      --text-main: #1F2923;
      --text-muted: #5C6E64;
      --border-color: #E2E8E4;
      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-pill: 999px;
      --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
      --shadow-hover: 0 10px 28px rgba(0, 181, 82, 0.12);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      color: var(--text-main);
      background-color: var(--bg-light);
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; transition: all 0.25s ease; }
    a:hover { color: var(--primary); }
    img { max-width: 100%; height: auto; display: block; }

    /* Header & Timeline Nav */
    .top-bar-sub {
      background: #09100C;
      color: #9BB0A3;
      font-size: 13px;
      padding: 8px 0;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .top-bar-sub .chips-wrap {
      display: flex;
      align-items: center;
      gap: 10px;
      overflow-x: auto;
      white-space: nowrap;
    }
    .status-chip {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 2px 10px;
      border-radius: var(--radius-pill);
      font-size: 12px;
      font-weight: 500;
      text-decoration: none;
    }
    .chip-pre { background: rgba(255, 184, 0, 0.15); color: var(--accent); border: 1px solid rgba(255, 184, 0, 0.3); }
    .chip-live { background: rgba(0, 181, 82, 0.2); color: #2EE57C; border: 1px solid rgba(0, 181, 82, 0.4); }
    .chip-replay { background: rgba(255, 255, 255, 0.1); color: #D1DFD7; }
    .pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: #2EE57C; animation: pulse 1.5s infinite; }
    @keyframes pulse { 0% { opacity: 0.4; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.2); } 100% { opacity: 0.4; transform: scale(0.9); } }

    .site-header {
      background: var(--bg-white);
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: var(--shadow-sm);
      border-bottom: 1px solid var(--border-color);
    }
    .main-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }
    .nav-brand {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 22px;
      font-weight: 800;
      color: #0D1612;
      letter-spacing: -0.5px;
    }
    .nav-brand .brand-badge {
      background: var(--primary);
      color: #fff;
      font-size: 12px;
      padding: 2px 7px;
      border-radius: var(--radius-sm);
    }
    .nav-links {
      display: flex;
      align-items: center;
      list-style: none;
      gap: 24px;
      margin: 0;
    }
    .nav-links a {
      font-size: 15px;
      font-weight: 600;
      color: #33443B;
      padding: 6px 0;
      position: relative;
    }
    .nav-links a:hover, .nav-links a.active {
      color: var(--primary);
    }
    .nav-links a.active::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 3px;
      background: var(--primary);
      border-radius: 2px;
    }
    .btn-nav-cta {
      background: var(--primary);
      color: #fff !important;
      padding: 10px 22px;
      border-radius: var(--radius-pill);
      font-size: 14px;
      font-weight: 700;
      box-shadow: 0 4px 12px rgba(0, 181, 82, 0.3);
    }
    .btn-nav-cta:hover {
      background: var(--primary-hover);
      transform: translateY(-1px);
    }

    /* Section Global */
    section { padding: 80px 0; position: relative; }
    .section-header { margin-bottom: 48px; }
    .section-header.text-center { text-align: center; }
    .section-tag {
      display: inline-block;
      font-size: 13px;
      font-weight: 700;
      color: var(--primary);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 8px;
    }
    .section-title {
      font-size: 34px;
      font-weight: 800;
      color: var(--text-main);
      line-height: 1.3;
      margin-bottom: 14px;
    }
    .section-desc {
      font-size: 16px;
      color: var(--text-muted);
      max-width: 680px;
      margin: 0 auto;
      line-height: 1.7;
    }

    /* Hero Section */
    #hero {
      background: linear-gradient(135deg, rgba(13, 22, 18, 0.95), rgba(13, 22, 18, 0.85)), url('/assets/images/0b50d7e77c4e0732.jpg') center/cover no-repeat;
      color: #fff;
      padding: 100px 0 90px;
    }
    .hero-content h1 {
      font-size: 46px;
      font-weight: 900;
      line-height: 1.25;
      margin-bottom: 20px;
      color: #ffffff;
    }
    .hero-content h1 span { color: var(--primary); }
    .hero-lead {
      font-size: 18px;
      color: #C3D4CA;
      line-height: 1.8;
      margin-bottom: 36px;
      max-width: 620px;
    }
    .hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
    .btn-primary-hero {
      background: var(--primary);
      color: #fff;
      font-size: 16px;
      font-weight: 700;
      padding: 14px 34px;
      border-radius: var(--radius-pill);
      box-shadow: 0 6px 20px rgba(0, 181, 82, 0.4);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn-primary-hero:hover { background: var(--primary-hover); color: #fff; transform: translateY(-2px); }
    .btn-outline-hero {
      border: 2px solid rgba(255,255,255,0.4);
      color: #fff;
      font-size: 16px;
      font-weight: 700;
      padding: 12px 28px;
      border-radius: var(--radius-pill);
    }
    .btn-outline-hero:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }
    .hero-code-block {
      background: rgba(0, 0, 0, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: var(--radius-md);
      padding: 24px;
      box-shadow: 0 16px 36px rgba(0,0,0,0.4);
    }
    .code-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      padding-bottom: 12px;
      margin-bottom: 16px;
      font-size: 13px;
      color: var(--accent);
    }
    .hero-code-block pre {
      margin: 0;
      font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      font-size: 13px;
      color: #A3E7BF;
      line-height: 1.6;
      white-space: pre-wrap;
    }

    /* Dashboard Metrics */
    #dashboard { background: #fff; border-bottom: 1px solid var(--border-color); }
    .stat-card {
      padding: 24px 20px;
      background: var(--bg-light);
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      text-align: center;
      transition: transform 0.25s ease;
    }
    .stat-card:hover { transform: translateY(-4px); }
    .stat-num {
      font-size: 40px;
      font-weight: 900;
      color: var(--primary);
      line-height: 1.1;
      margin-bottom: 6px;
    }
    .stat-title { font-size: 15px; font-weight: 700; color: #1F2923; margin-bottom: 4px; }
    .stat-desc { font-size: 13px; color: var(--text-muted); }

    /* Product Section */
    #about-product { background: var(--bg-light); }
    .tech-pill {
      display: inline-block;
      background: #E0F5E9;
      color: #0E8040;
      font-size: 12px;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: var(--radius-pill);
      margin-bottom: 12px;
    }
    .feature-point { display: flex; gap: 14px; margin-bottom: 20px; }
    .feature-point-icon {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: rgba(0, 181, 82, 0.15);
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      flex-shrink: 0;
    }

    /* Features Grid */
    #features { background: #fff; }
    .card-grid-item {
      background: var(--bg-light);
      padding: 30px 24px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      height: 100%;
      transition: all 0.25s ease;
    }
    .card-grid-item:hover {
      background: #fff;
      border-color: var(--primary);
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
    }
    .item-icon {
      font-size: 26px;
      margin-bottom: 16px;
      display: inline-block;
    }
    .card-grid-item h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
    .card-grid-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }

    /* Products Big Cards */
    #products { background: #F8FAF9; }
    .product-box {
      background: #fff;
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .product-img-box { position: relative; height: 180px; overflow: hidden; }
    .product-img-box img { width: 100%; height: 100%; object-fit: cover; }
    .product-badge {
      position: absolute;
      top: 14px;
      left: 14px;
      background: rgba(13, 22, 18, 0.85);
      color: #fff;
      font-size: 12px;
      padding: 3px 10px;
      border-radius: var(--radius-pill);
    }
    .product-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
    .product-body h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
    .product-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; flex-grow: 1; }
    .product-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 14px;
      border-top: 1px solid var(--border-color);
      font-size: 13px;
      color: #6E8277;
    }

    /* Comparison Section */
    #comparison { background: #fff; }
    .table-compare {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-color);
    }
    .table-compare th, .table-compare td {
      padding: 18px 24px;
      text-align: left;
      font-size: 15px;
    }
    .table-compare th {
      background: #0D1612;
      color: #fff;
      font-weight: 700;
    }
    .table-compare tr:nth-child(even) { background: #F9FBFA; }
    .table-compare tr td:last-child {
      color: var(--primary);
      font-weight: 700;
      background: #EAF8F0;
    }

    /* Dark Philosophy */
    #philosophy {
      background: var(--bg-dark);
      color: #fff;
      background-image: radial-gradient(circle at 10% 20%, rgba(0, 181, 82, 0.15) 0%, transparent 40%);
    }
    #philosophy .section-title { color: #fff; }
    #philosophy .section-desc { color: #9AB3A5; }
    .ethic-card {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 30px;
      border-radius: var(--radius-md);
      height: 100%;
    }
    .ethic-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: #fff; }
    .ethic-card p { font-size: 14px; color: #A6BFB2; line-height: 1.7; margin: 0; }

    /* Milestones */
    #milestones { background: #fff; }
    .timeline-wrap {
      position: relative;
      max-width: 900px;
      margin: 0 auto;
      padding: 20px 0;
    }
    .timeline-wrap::before {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      width: 2px;
      background: var(--border-color);
      transform: translateX(-50%);
    }
    .timeline-item {
      position: relative;
      margin-bottom: 40px;
      width: 50%;
      padding-right: 40px;
    }
    .timeline-item:nth-child(even) {
      margin-left: 50%;
      padding-right: 0;
      padding-left: 40px;
    }
    .timeline-dot {
      position: absolute;
      top: 0;
      right: -8px;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: var(--primary);
      border: 3px solid #fff;
      box-shadow: 0 0 0 2px var(--primary);
    }
    .timeline-item:nth-child(even) .timeline-dot {
      right: auto;
      left: -8px;
    }
    .timeline-box {
      background: var(--bg-light);
      padding: 22px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
    }
    .timeline-year {
      font-size: 13px;
      font-weight: 800;
      color: var(--primary);
      margin-bottom: 6px;
    }
    .timeline-box h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
    .timeline-box p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 0; }

    /* Fan Stories */
    #stories { background: #F7FAF8; }
    .story-card {
      background: #fff;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      padding: 30px;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .story-header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
    .story-avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: #25332C;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
    }
    .story-info h4 { font-size: 16px; font-weight: 700; margin: 0; }
    .story-info span { font-size: 13px; color: var(--text-muted); }
    .story-card blockquote {
      font-size: 14px;
      color: #3C4E44;
      line-height: 1.7;
      margin: 0;
      font-style: normal;
      flex-grow: 1;
    }

    /* News */
    #news { background: #fff; }
    .news-card {
      background: #fff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px;
      height: 100%;
      transition: border-color 0.2s ease;
    }
    .news-card:hover { border-color: var(--primary); }
    .news-date { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; font-weight: 600; }
    .news-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; line-height: 1.4; }
    .news-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }

    /* Testimonials */
    #testimonials { background: var(--bg-light); }
    .review-card {
      background: #fff;
      padding: 26px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      height: 100%;
    }
    .stars { color: var(--accent); margin-bottom: 12px; font-size: 14px; }
    .review-text { font-size: 14px; color: #2C3C33; line-height: 1.7; margin-bottom: 16px; }
    .reviewer { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
    .reviewer strong { color: var(--text-main); }
    .reviewer-team { color: var(--primary); font-weight: 600; }

    /* Accordion FAQ */
    #faq { background: #fff; }
    .accordion-item {
      border: 1px solid var(--border-color);
      margin-bottom: 12px;
      border-radius: var(--radius-md);
      overflow: hidden;
    }
    .accordion-title {
      background: #F9FBF9;
      padding: 18px 24px;
      font-size: 16px;
      font-weight: 700;
      color: #1F2923;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
    }
    .accordion-title:hover { color: var(--primary); }
    .accordion-content {
      padding: 20px 24px;
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
      background: #fff;
      border-top: 1px solid var(--border-color);
    }

    /* Download CTA Form */
    #download-cta {
      background: linear-gradient(135deg, #0D1612 0%, #15241D 100%);
      color: #fff;
      padding: 90px 0;
    }
    .cta-card-box {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: var(--radius-md);
      padding: 44px;
    }
    .cta-card-box h2 { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 16px; }
    .cta-card-box p { font-size: 16px; color: #A4BCB0; line-height: 1.7; margin-bottom: 30px; }
    .download-form { display: flex; gap: 12px; max-width: 540px; margin-bottom: 24px; }
    .download-form input {
      height: 48px;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: var(--radius-sm);
      color: #fff;
      padding: 0 16px;
      font-size: 15px;
      margin: 0;
    }
    .download-form input::placeholder { color: #829A8E; }
    .download-form button {
      background: var(--primary);
      color: #fff;
      font-weight: 700;
      border: none;
      border-radius: var(--radius-sm);
      padding: 0 24px;
      font-size: 15px;
      cursor: pointer;
      white-space: nowrap;
      margin: 0;
    }
    .download-form button:hover { background: var(--primary-hover); }
    .app-badges { display: flex; gap: 16px; align-items: center; }
    .app-badge-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #fff;
      padding: 10px 18px;
      border-radius: var(--radius-sm);
      font-size: 13px;
    }
    .app-badge-btn:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }

    /* Footer */
    .site-footer {
      background: #080D0B;
      color: #7E9488;
      padding: 70px 0 30px;
      font-size: 14px;
      border-top: 1px solid rgba(255,255,255,0.08);
    }
    .footer-col h4 {
      color: #fff;
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 20px;
    }
    .footer-links { list-style: none; margin: 0; }
    .footer-links li { margin-bottom: 10px; }
    .footer-links a { color: #7E9488; }
    .footer-links a:hover { color: var(--primary); }
    .footer-bottom {
      margin-top: 50px;
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      font-size: 13px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .nav-links { display: none; }
      .section-title { font-size: 28px; }
      .hero-content h1 { font-size: 36px; }
    }
    @media (max-width: 768px) {
      section { padding: 50px 0; }
      .timeline-wrap::before { left: 20px; }
      .timeline-item { width: 100%; padding-left: 45px; padding-right: 0; }
      .timeline-item:nth-child(even) { margin-left: 0; padding-left: 45px; }
      .timeline-dot { left: 12px !important; }
      .download-form { flex-direction: column; }
      .cta-card-box { padding: 24px; }
      .footer-bottom { flex-direction: column; text-align: center; }
    }
