/* roulang page: index */
:root {
      --primary: #5856D6;
      --primary-hover: #4845c4;
      --primary-glow: rgba(88, 86, 214, 0.45);
      --accent: #00F5A0;
      --accent-glow: rgba(0, 245, 160, 0.35);
      --accent-cyan: #00E5FF;
      --bg-dark: #0D0E12;
      --bg-card: #16181F;
      --bg-card-alt: #1D202A;
      --border-color: rgba(255, 255, 255, 0.08);
      --border-highlight: rgba(0, 245, 160, 0.3);
      --text-main: #FFFFFF;
      --text-muted: #A0A5B5;
      --text-dim: #656A7B;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --radius-full: 9999px;
      --container-max: 1240px;
      --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
    }

    body {
      background-color: var(--bg-dark);
      color: var(--text-muted);
      font-family: var(--font-stack);
      line-height: 1.65;
      font-size: 15px;
      overflow-x: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: all 0.25s ease;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    h1, h2, h3, h4 {
      color: var(--text-main);
      font-weight: 700;
      line-height: 1.25;
    }

    .container {
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Topbar */
    .top-bar {
      background: #08090C;
      border-bottom: 1px solid var(--border-color);
      font-size: 13px;
      padding: 8px 0;
      color: var(--text-dim);
    }
    .top-bar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .status-dot {
      display: inline-block;
      width: 7px;
      height: 7px;
      background: var(--accent);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--accent);
      margin-right: 6px;
    }

    /* Header Nav */
    header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(13, 14, 18, 0.85);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border-color);
    }
    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 20px;
      font-weight: 800;
      color: var(--text-main);
      letter-spacing: -0.5px;
    }
    .logo-badge {
      background: linear-gradient(135deg, var(--primary), var(--accent));
      width: 32px;
      height: 32px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #000;
      font-weight: 900;
      font-size: 16px;
    }
    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
    }
    .nav-links a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-muted);
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--accent);
    }
    .nav-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 24px;
      min-height: 44px;
      border-radius: var(--radius-sm);
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      border: 1px solid transparent;
      transition: all 0.25s ease;
      text-align: center;
    }
    .btn-primary {
      background: var(--accent);
      color: #08090C;
      box-shadow: 0 0 20px var(--accent-glow);
    }
    .btn-primary:hover {
      background: #1affb0;
      transform: translateY(-2px);
      box-shadow: 0 4px 25px rgba(0, 245, 160, 0.5);
    }
    .btn-outline {
      background: transparent;
      border-color: rgba(255, 255, 255, 0.15);
      color: var(--text-main);
    }
    .btn-outline:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(0, 245, 160, 0.05);
      transform: translateY(-2px);
    }

    /* Section Global */
    section {
      padding: 96px 0;
      position: relative;
    }
    .section-alt {
      background-color: #12131A;
    }
    .section-header {
      margin-bottom: 56px;
    }
    .section-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      color: var(--accent);
      background: rgba(0, 245, 160, 0.1);
      padding: 4px 12px;
      border-radius: var(--radius-full);
      margin-bottom: 16px;
      border: 1px solid rgba(0, 245, 160, 0.2);
    }
    .section-title {
      font-size: 36px;
      margin-bottom: 16px;
      letter-spacing: -0.5px;
    }
    .section-desc {
      font-size: 16px;
      color: var(--text-muted);
      max-width: 680px;
    }

    /* Cards */
    .card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 32px;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
      overflow: hidden;
    }
    .card:hover {
      border-color: var(--border-highlight);
      transform: translateY(-4px);
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    }

    /* 1. Hero: Magazine Split */
    #hero {
      padding: 80px 0 100px;
      background: radial-gradient(ellipse 60% 50% at 50% -20%, rgba(88, 86, 214, 0.25), transparent 70%), var(--bg-dark);
      border-bottom: 1px solid var(--border-color);
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 48px;
      align-items: center;
    }
    .hero-h1 {
      font-size: 46px;
      line-height: 1.18;
      letter-spacing: -1px;
      margin: 20px 0 24px;
      background: linear-gradient(180deg, #FFFFFF 0%, #D2D5E2 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-intro {
      font-size: 17px;
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 36px;
    }
    .hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .hero-card {
      background: linear-gradient(145deg, #1A1D27, #13141C);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: 0 24px 64px rgba(0,0,0,0.6);
      position: relative;
    }
    .hero-card-img-wrap {
      position: relative;
      height: 280px;
      overflow: hidden;
    }
    .hero-card-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: saturate(1.1) contrast(1.05);
    }
    .hero-card-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, #16181F 5%, transparent 60%);
    }
    .hero-card-content {
      padding: 24px;
    }
    .hero-card-tag {
      font-size: 11px;
      color: var(--accent-cyan);
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 8px;
    }
    .hero-card-title {
      font-size: 18px;
      margin-bottom: 8px;
    }

    /* 2. Security Principle (安全主张) */
    #security {
      border-bottom: 1px solid var(--border-color);
    }
    .sec-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .sec-icon {
      width: 48px;
      height: 48px;
      border-radius: var(--radius-md);
      background: rgba(88, 86, 214, 0.15);
      border: 1px solid rgba(88, 86, 214, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
      font-size: 20px;
      margin-bottom: 20px;
    }

    /* 3. Checklists (检查项) */
    #checklist {
      border-bottom: 1px solid var(--border-color);
    }
    .check-list-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }
    .check-item {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      padding: 24px;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
    }
    .check-bullet {
      flex-shrink: 0;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: rgba(0, 245, 160, 0.15);
      color: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: bold;
      margin-top: 2px;
    }
    .check-item h4 {
      font-size: 16px;
      margin-bottom: 6px;
    }
    .check-item p {
      font-size: 14px;
      color: var(--text-muted);
    }

    /* 4. Badges (合规徽章) */
    #compliance {
      padding: 64px 0;
      border-bottom: 1px solid var(--border-color);
      background: #090A0E;
    }
    .badge-bar {
      display: flex;
      justify-content: space-around;
      align-items: center;
      flex-wrap: wrap;
      gap: 32px;
    }
    .badge-box {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 12px 24px;
      border-radius: var(--radius-full);
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.07);
    }
    .badge-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--accent);
    }
    .badge-text strong {
      display: block;
      color: var(--text-main);
      font-size: 14px;
    }
    .badge-text span {
      font-size: 12px;
      color: var(--text-dim);
    }

    /* 5. Boundary (边界说明) */
    #boundary {
      border-bottom: 1px solid var(--border-color);
    }
    .split-boundary {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }
    .boundary-card {
      border-radius: var(--radius-lg);
      padding: 36px;
    }
    .boundary-allowed {
      background: rgba(0, 245, 160, 0.03);
      border: 1px solid rgba(0, 245, 160, 0.2);
    }
    .boundary-forbidden {
      background: rgba(239, 68, 68, 0.03);
      border: 1px solid rgba(239, 68, 68, 0.2);
    }
    .boundary-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 24px;
    }
    .b-tag {
      font-size: 12px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 4px;
    }
    .b-tag-green { background: rgba(0, 245, 160, 0.2); color: var(--accent); }
    .b-tag-red { background: rgba(239, 68, 68, 0.2); color: #EF4444; }
    .boundary-card ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .boundary-card li {
      font-size: 14px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    /* 6. Technical Base (#intro) */
    #intro {
      border-bottom: 1px solid var(--border-color);
    }
    .intro-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 56px;
      align-items: center;
    }
    .tech-specs-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-top: 32px;
    }
    .spec-item {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 20px;
    }
    .spec-val {
      font-size: 24px;
      font-weight: 800;
      color: var(--accent);
      margin-bottom: 4px;
    }
    .spec-label {
      font-size: 13px;
      color: var(--text-dim);
    }

    /* 7. Features Grid 3x2 (#features) */
    #features {
      border-bottom: 1px solid var(--border-color);
    }
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .feature-card h3 {
      font-size: 18px;
      margin-bottom: 12px;
    }
    .feature-card p {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* 8. Products Matrix (#products) */
    #products {
      border-bottom: 1px solid var(--border-color);
    }
    .products-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .prod-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 32px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .prod-badge {
      align-self: flex-start;
      font-size: 11px;
      background: rgba(88, 86, 214, 0.2);
      border: 1px solid rgba(88, 86, 214, 0.4);
      color: #A29BFE;
      padding: 4px 10px;
      border-radius: var(--radius-full);
      margin-bottom: 16px;
      font-weight: 600;
    }
    .prod-features {
      list-style: none;
      margin: 24px 0 32px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .prod-features li {
      font-size: 14px;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .prod-features li::before {
      content: "✔";
      color: var(--accent);
      font-size: 12px;
    }

    /* 9. Philosophy 深色极客理念 */
    #philosophy {
      background: radial-gradient(circle at center, #1B1834 0%, #08090C 100%);
      border-bottom: 1px solid var(--border-color);
      text-align: center;
    }
    .philo-lead {
      font-size: 38px;
      font-weight: 800;
      color: #FFFFFF;
      max-width: 860px;
      margin: 0 auto 24px;
      line-height: 1.3;
    }
    .philo-sub {
      font-size: 17px;
      color: var(--text-muted);
      max-width: 680px;
      margin: 0 auto 48px;
    }
    .philo-nodes {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      text-align: left;
    }
    .philo-node {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: var(--radius-md);
      padding: 24px;
    }
    .philo-node h4 {
      font-size: 17px;
      color: var(--accent);
      margin-bottom: 8px;
    }

    /* 10. Scenarios (#scenarios) */
    #scenarios {
      border-bottom: 1px solid var(--border-color);
    }
    .scenarios-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .scenario-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }
    .sc-img-wrap {
      height: 200px;
      overflow: hidden;
      background: #111;
    }
    .sc-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .scenario-card:hover .sc-img-wrap img {
      transform: scale(1.05);
    }
    .sc-body {
      padding: 24px;
    }
    .sc-body h3 {
      font-size: 18px;
      margin-bottom: 10px;
    }
    .sc-body p {
      font-size: 14px;
      color: var(--text-muted);
    }

    /* 11. Metrics (#metrics) */
    #metrics {
      padding: 64px 0;
      background: #090A0E;
      border-bottom: 1px solid var(--border-color);
    }
    .metrics-bar {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }
    .metric-value {
      font-size: 42px;
      font-weight: 900;
      color: var(--accent);
      font-variant-numeric: tabular-nums;
      margin-bottom: 6px;
    }
    .metric-title {
      font-size: 14px;
      color: var(--text-muted);
    }

    /* 12. News (#news) */
    #news {
      border-bottom: 1px solid var(--border-color);
    }
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .news-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .news-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
      font-size: 12px;
      color: var(--text-dim);
    }
    .news-tag {
      color: var(--accent-cyan);
      background: rgba(0, 229, 255, 0.1);
      padding: 2px 8px;
      border-radius: 4px;
    }
    .news-card h3 {
      font-size: 17px;
      line-height: 1.4;
      margin-bottom: 12px;
    }
    .news-card p {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* 13. FAQ (#faq) */
    #faq {
      border-bottom: 1px solid var(--border-color);
    }
    .faq-list {
      max-width: 860px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .faq-item {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow: hidden;
    }
    .faq-question {
      padding: 20px 24px;
      font-size: 16px;
      font-weight: 600;
      color: var(--text-main);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
    }
    .faq-toggle {
      font-size: 18px;
      color: var(--accent);
      transition: transform 0.3s ease;
    }
    .faq-item.active .faq-toggle {
      transform: rotate(45deg);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease;
      background: rgba(0, 0, 0, 0.15);
    }
    .faq-answer p {
      padding: 0 24px 20px;
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* 14. CTA Bottom (#cta-bottom) */
    #cta-bottom {
      padding: 100px 0;
      background: radial-gradient(circle at bottom, rgba(88, 86, 214, 0.2), transparent 70%), var(--bg-dark);
    }
    .cta-box {
      background: linear-gradient(135deg, rgba(88, 86, 214, 0.15), rgba(0, 245, 160, 0.05));
      border: 1px solid rgba(88, 86, 214, 0.4);
      border-radius: var(--radius-lg);
      padding: 64px 48px;
      text-align: center;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    }
    .cta-title {
      font-size: 38px;
      margin-bottom: 16px;
    }
    .cta-desc {
      font-size: 16px;
      max-width: 640px;margin: 0 auto 36px;
      color: var(--text-muted);
    }
    .cta-actions {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-bottom: 48px;
    }
    .cta-guarantee-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 36px;
    }
    .guarantee-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }
    .guarantee-icon {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(0, 245, 160, 0.1);
      color: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: bold;
    }
    .guarantee-item span {
      font-size: 13px;
      color: var(--text-muted);
    }

    /* Footer */
    footer {
      background: #07080B;
      border-top: 1px solid var(--border-color);
      padding: 72px 0 24px;
      font-size: 14px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 48px;
      margin-bottom: 48px;
    }
    .footer-brand p {
      margin-top: 16px;
      font-size: 14px;
      color: var(--text-dim);
      line-height: 1.7;
      max-width: 320px;
    }
    .footer-col h4 {
      font-size: 15px;
      margin-bottom: 20px;
      color: var(--text-main);
    }
    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .footer-links a {
      color: var(--text-dim);
      font-size: 13px;
    }
    .footer-links a:hover {
      color: var(--accent);
    }
    .footer-contact-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
      color: var(--text-dim);
      font-size: 13px;
    }
    .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;
      color: var(--text-dim);
      flex-wrap: wrap;
      gap: 12px;
    }

    /* Mobile Floating Bar */
    .floating-bar {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: rgba(13, 14, 18, 0.95);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-top: 1px solid rgba(0, 245, 160, 0.2);
      padding: 10px 16px;
      z-index: 999;
      box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
    }
    .floating-bar-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    .floating-bar .btn {
      min-height: 44px;
      font-size: 14px;
      padding: 8px 12px;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr; gap: 40px; }
      .intro-grid { grid-template-columns: 1fr; gap: 40px; }
      .features-grid { grid-template-columns: repeat(2, 1fr); }
      .products-grid { grid-template-columns: repeat(2, 1fr); }
      .scenarios-grid { grid-template-columns: repeat(2, 1fr); }
      .sec-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
      .cta-guarantee-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    }

    @media (max-width: 768px) {
      section { padding: 64px 0; }
      .hero-h1 { font-size: 32px; }
      .section-title { font-size: 28px; }
      .nav-links { display: none; }
      .features-grid { grid-template-columns: 1fr; }
      .products-grid { grid-template-columns: 1fr; }
      .scenarios-grid { grid-template-columns: 1fr; }
      .news-grid { grid-template-columns: 1fr; }
      .sec-grid { grid-template-columns: 1fr; }
      .check-list-grid { grid-template-columns: 1fr; }
      .split-boundary { grid-template-columns: 1fr; }
      .philo-nodes { grid-template-columns: 1fr; }
      .metrics-bar { grid-template-columns: repeat(2, 1fr); gap: 32px; }
      .floating-bar { display: block; }
      body { padding-bottom: 64px; }
      .footer-grid { grid-template-columns: 1fr; }
      .cta-box { padding: 40px 20px; }
      .cta-title { font-size: 26px; }
      .cta-actions { flex-direction: column; }
    }
