/* roulang page: index */
:root {
      --primary: #D90429;
      --primary-hover: #EF233C;
      --primary-dark: #8D0801;
      --secondary: #2B2D42;
      --accent: #FFB703;
      --dark-bg: #12161A;
      --dark-card: #1A1F24;
      --light-bg: #F8F9FA;
      --white: #FFFFFF;
      --text-main: #212529;
      --text-muted: #6C757D;
      --border-color: rgba(0, 0, 0, 0.08);
      --border-dark: rgba(255, 255, 255, 0.1);
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
      --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
      --shadow-lg: 0 16px 32px rgba(0,0,0,0.12);
      --radius-sm: 4px;
      --radius-md: 8px;
      --radius-lg: 12px;
      --container-max: 1280px;
      --transition: 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: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
      color: var(--text-main);
      background-color: var(--white);
      line-height: 1.65;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    a { text-decoration: none; color: inherit; transition: var(--transition); }
    ul, ol { list-style: none; }
    img { max-width: 100%; height: auto; display: block; object-fit: cover; }
    button, input, select, textarea { font-family: inherit; font-size: 1rem; }

    .container {
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    .section {
      padding: 88px 0;
      position: relative;
    }
    .section-light { background-color: var(--light-bg); }
    .section-dark { background-color: var(--dark-bg); color: var(--white); }
    .section-white { background-color: var(--white); }

    .section-header {
      margin-bottom: 56px;
      text-align: center;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 12px;
      border-radius: 999px;
      font-size: 0.825rem;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      margin-bottom: 12px;
      background: rgba(217, 4, 41, 0.1);
      color: var(--primary);
    }
    .badge-dark {
      background: rgba(255, 183, 3, 0.15);
      color: var(--accent);
    }
    .section-title {
      font-size: 2.25rem;
      font-weight: 800;
      line-height: 1.25;
      margin-bottom: 16px;
      color: inherit;
    }
    .section-desc {
      font-size: 1.05rem;
      color: var(--text-muted);
      line-height: 1.7;
    }
    .section-dark .section-desc { color: #A0AEC0; }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px 28px;
      font-size: 1rem;
      font-weight: 700;
      border-radius: var(--radius-sm);
      border: 1px solid transparent;
      cursor: pointer;
      transition: var(--transition);
      white-space: nowrap;
    }
    .btn-primary {
      background-color: var(--primary);
      color: var(--white);
    }
    .btn-primary:hover {
      background-color: var(--primary-hover);
      transform: translateY(-2px);
      box-shadow: 0 8px 16px rgba(217, 4, 41, 0.25);
    }
    .btn-secondary {
      background-color: var(--secondary);
      color: var(--white);
    }
    .btn-secondary:hover {
      background-color: #1a1c2a;
      transform: translateY(-2px);
    }
    .btn-outline {
      border-color: rgba(255,255,255,0.4);
      color: var(--white);
      background: transparent;
    }
    .btn-outline:hover {
      border-color: var(--white);
      background: rgba(255,255,255,0.1);
    }
    .btn-outline-dark {
      border-color: var(--secondary);
      color: var(--secondary);
      background: transparent;
    }
    .btn-outline-dark:hover {
      background: var(--secondary);
      color: var(--white);
    }

    /* Topbar */
    .topbar {
      background-color: #12161A;
      color: #A0AEC0;
      font-size: 0.85rem;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      padding: 8px 0;
    }
    .topbar-flex {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .topbar-info { display: flex; gap: 20px; align-items: center; }
    .topbar-info span { display: inline-flex; align-items: center; gap: 6px; }

    /* Header & Nav */
    .header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
    }
    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 1.4rem;
      font-weight: 800;
      color: var(--secondary);
      letter-spacing: -0.5px;
    }
    .logo-icon {
      width: 40px;
      height: 40px;
      background: var(--primary);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--white);
      font-weight: 900;
      font-size: 1.1rem;
    }
    .nav-menu {
      display: flex;
      align-items: center;
      gap: 32px;
    }
    .nav-link {
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--secondary);
      position: relative;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--primary);
    }
    .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: -24px;
      left: 0;
      width: 100%;
      height: 3px;
      background-color: var(--primary);
    }
    .nav-actions { display: flex; align-items: center; gap: 16px; }
    .mobile-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: var(--secondary);
    }

    /* Hero */
    .hero-section {
      position: relative;
      background: linear-gradient(135deg, #12161A 0%, #1E252D 100%);
      color: var(--white);
      padding: 100px 0 80px;
      overflow: hidden;
      background-image: linear-gradient(rgba(18, 22, 26, 0.85), rgba(18, 22, 26, 0.85)), url('/assets/images/backpic/back-1.jpg');
      background-size: cover;
      background-position: center;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 48px;
      align-items: center;
    }
    .hero-content h1 {
      font-size: 2.85rem;
      font-weight: 900;
      line-height: 1.2;
      margin-bottom: 20px;
      color: var(--white);
    }
    .hero-content h1 span { color: var(--primary); }
    .hero-desc {
      font-size: 1.15rem;
      color: #E2E8F0;
      margin-bottom: 32px;
      line-height: 1.8;
      max-width: 620px;
    }
    .hero-cta-box {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-dark);
      padding: 24px;
      border-radius: var(--radius-md);
      margin-bottom: 32px;
      backdrop-filter: blur(8px);
    }
    .hero-group-deal {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 16px;
      padding-bottom: 16px;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .deal-badge {
      background: var(--accent);
      color: #12161A;
      font-weight: 800;
      font-size: 0.85rem;
      padding: 4px 10px;
      border-radius: var(--radius-sm);
    }
    .deal-status { font-size: 0.95rem; color: #CBD5E0; }
    .deal-status strong { color: var(--white); }
    .hero-btns {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .hero-stage-card {
      background: var(--dark-card);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-lg);
    }
    .hero-stage-img {
      position: relative;
      height: 340px;
    }
    .hero-stage-img img { width: 100%; height: 100%; }
    .hero-stage-specs {
      padding: 24px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      background: rgba(0,0,0,0.3);
      border-top: 1px solid var(--border-dark);
    }
    .hero-spec-item { text-align: center; }
    .hero-spec-val { font-size: 1.35rem; font-weight: 800; color: var(--accent); }
    .hero-spec-lbl { font-size: 0.8rem; color: #A0AEC0; margin-top: 4px; }

    /* Sell Points (3 columns) */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
    }
    .feature-card {
      background: var(--white);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 36px 28px;
      transition: var(--transition);
      position: relative;
    }
    .feature-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-md);
      border-color: rgba(217, 4, 41, 0.3);
    }
    .feature-icon-box {
      width: 56px;
      height: 56px;
      background: rgba(217, 4, 41, 0.08);
      color: var(--primary);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem;
      font-weight: 800;
      margin-bottom: 24px;
    }
    .feature-card h3 {
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--secondary);
    }
    .feature-card p {
      color: var(--text-muted);
      font-size: 0.95rem;
      line-height: 1.7;
    }

    /* Portal Matrix (入口矩阵) */
    .matrix-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .matrix-card {
      background: var(--white);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: var(--transition);
    }
    .matrix-card:hover {
      border-color: var(--primary);
      box-shadow: var(--shadow-sm);
      transform: translateY(-4px);
    }
    .matrix-tag {
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--primary);
      background: rgba(217, 4, 41, 0.08);
      padding: 2px 8px;
      border-radius: 4px;
      display: inline-block;
      margin-bottom: 12px;
      width: fit-content;
    }
    .matrix-card h4 {
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--secondary);
    }
    .matrix-card p {
      font-size: 0.875rem;
      color: var(--text-muted);
      margin-bottom: 16px;
      line-height: 1.6;
    }
    .matrix-link {
      font-size: 0.875rem;
      font-weight: 700;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 4px;
    }

    /* Products / Release (最新发布) */
    .products-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
    }
    .product-card {
      background: var(--white);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: var(--transition);
    }
    .product-card:hover {
      box-shadow: var(--shadow-lg);
      transform: translateY(-6px);
    }
    .product-img {
      height: 240px;
      position: relative;
    }
    .product-img img { width: 100%; height: 100%; }
    .product-tag {
      position: absolute;
      top: 16px;
      left: 16px;
      background: var(--secondary);
      color: var(--white);
      font-size: 0.8rem;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: var(--radius-sm);
    }
    .product-body {
      padding: 28px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .product-title {
      font-size: 1.35rem;
      font-weight: 800;
      margin-bottom: 10px;
      color: var(--secondary);
    }
    .product-desc {
      font-size: 0.925rem;
      color: var(--text-muted);
      margin-bottom: 20px;
      line-height: 1.65;
    }
    .product-specs-list {
      background: var(--light-bg);
      border-radius: var(--radius-sm);
      padding: 16px;
      margin-bottom: 24px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      font-size: 0.85rem;
    }
    .spec-row span { color: var(--text-muted); display: block; }
    .spec-row strong { color: var(--secondary); font-weight: 700; }
    .product-footer { margin-top: auto; }

    /* Special Topics (热门专题 / 场景演练) */
    .topics-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 32px;
    }
    .topic-card {
      background: var(--dark-card);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius-lg);
      overflow: hidden;
      display: grid;
      grid-template-columns: 1fr 1.1fr;
    }
    .topic-img { height: 100%; min-height: 280px; }
    .topic-img img { width: 100%; height: 100%; }
    .topic-body {
      padding: 32px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .topic-title {
      font-size: 1.35rem;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--white);
    }
    .topic-desc {
      font-size: 0.925rem;
      color: #A0AEC0;
      line-height: 1.7;
      margin-bottom: 20px;
    }
    .topic-bullets {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 24px;
      font-size: 0.875rem;
      color: #E2E8F0;
    }
    .topic-bullets li { display: flex; align-items: center; gap: 8px; }
    .bullet-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

    /* News & Standards (资讯与行业标准列表) */
    .news-wrapper {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 36px;
      align-items: stretch;
    }
    .news-featured {
      background: var(--white);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: var(--transition);
    }
    .news-featured:hover { box-shadow: var(--shadow-md); }
    .news-featured-img { height: 260px; }
    .news-featured-body { padding: 32px; flex: 1; }
    .news-date { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
    .news-featured-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; color: var(--secondary); }
    .news-featured-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
    
    .news-list {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .news-item {
      background: var(--white);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 20px 24px;
      transition: var(--transition);
    }
    .news-item:hover {
      border-color: var(--primary);
      transform: translateX(4px);
    }
    .news-item-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--secondary); }
    .news-item-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

    /* Stats Data Bar (数据指标) */
    .stats-bar {
      background: #12161A;
      border-top: 1px solid var(--border-dark);
      border-bottom: 1px solid var(--border-dark);
      padding: 56px 0;
      color: var(--white);
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      text-align: center;
    }
    .stat-number {
      font-size: 3rem;
      font-weight: 900;
      color: var(--accent);
      line-height: 1.1;
      margin-bottom: 8px;
    }
    .stat-label {
      font-size: 1rem;
      font-weight: 600;
      color: #E2E8F0;
      margin-bottom: 4px;
    }
    .stat-sub { font-size: 0.825rem; color: #A0AEC0; }

    /* Testimonials / Reviews (口碑与实战反馈) */
    .reviews-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
    }
    .review-card {
      background: var(--white);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 32px 28px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
    }
    .review-quote {
      font-size: 0.95rem;
      color: var(--text-main);
      line-height: 1.75;
      margin-bottom: 24px;
      font-style: normal;
    }
    .review-stars { color: #FFB703; font-size: 1.1rem; margin-bottom: 12px; }
    .review-author { display: flex; align-items: center; gap: 12px; }
    .author-avatar {
      width: 44px;
      height: 44px;
      background: var(--secondary);
      color: var(--white);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
    }
    .author-info h5 { font-size: 0.95rem; font-weight: 700; color: var(--secondary); }
    .author-info p { font-size: 0.8rem; color: var(--text-muted); }

    /* Guarantee Bar (保障承诺条) */
    .guarantee-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .guarantee-card {
      background: var(--white);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px 20px;
      text-align: center;
    }
    .guarantee-icon {
      font-size: 2rem;
      margin-bottom: 12px;
      color: var(--primary);
    }
    .guarantee-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; color: var(--secondary); }
    .guarantee-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

    /* Contact & Form CTA (联系入口 / 表单获客) */
    .cta-box {
      background: linear-gradient(135deg, #2B2D42 0%, #12161A 100%);
      border-radius: var(--radius-lg);
      padding: 64px 48px;
      color: var(--white);
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 48px;
      align-items: center;
      border: 1px solid var(--border-dark);
      box-shadow: var(--shadow-lg);
    }
    .cta-info h3 { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; line-height: 1.3; }
    .cta-info p { font-size: 1.05rem; color: #CBD5E0; line-height: 1.7; margin-bottom: 28px; }
    .cta-contact-meta { display: flex; flex-direction: column; gap: 12px; font-size: 0.95rem; }
    .cta-contact-meta span { display: flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; }
    
    .cta-form {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-dark);
      padding: 32px;
      border-radius: var(--radius-md);
      backdrop-filter: blur(10px);
    }
    .form-group { margin-bottom: 16px; }
    .form-label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; color: #E2E8F0; }
    .form-control {
      width: 100%;
      padding: 12px 16px;
      background: rgba(0,0,0,0.4);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: var(--radius-sm);
      color: var(--white);
      outline: none;
      transition: var(--transition);
    }
    .form-control:focus {
      border-color: var(--primary);
      background: rgba(0,0,0,0.6);
    }

    /* Fixed Bottom Sticky Bar */
    .sticky-bar {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: rgba(18, 22, 26, 0.95);
      border-top: 1px solid var(--border-dark);
      padding: 12px 24px;
      z-index: 999;
      backdrop-filter: blur(8px);
      box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
    }
    .sticky-inner {
      max-width: var(--container-max);
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }
    .sticky-text {
      color: var(--white);
      font-size: 0.95rem;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .sticky-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    /* Footer */
    .footer {
      background-color: #0A0D0F;
      color: #8C9BA5;
      padding: 72px 0 32px;
      border-top: 1px solid rgba(255,255,255,0.06);
      font-size: 0.9rem;
      padding-bottom: 90px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
      gap: 48px;
      margin-bottom: 48px;
    }
    .footer-brand {
      color: var(--white);
      font-size: 1.3rem;
      font-weight: 800;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .footer-desc {
      line-height: 1.7;
      margin-bottom: 20px;
    }
    .footer-title {
      font-size: 1rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 20px;
      letter-spacing: 0.5px;
    }
    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer-links a:hover {
      color: var(--white);
      padding-left: 4px;
    }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.06);
      padding-top: 32px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 0.825rem;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr; }
      .features-grid { grid-template-columns: repeat(2, 1fr); }
      .matrix-grid { grid-template-columns: repeat(2, 1fr); }
      .products-grid { grid-template-columns: repeat(2, 1fr); }
      .topics-grid { grid-template-columns: 1fr; }
      .news-wrapper { grid-template-columns: 1fr; }
      .cta-box { grid-template-columns: 1fr; padding: 40px 24px; }
      .footer-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .section { padding: 56px 0; }
      .topbar { display: none; }
      .nav-menu { display: none; }
      .mobile-toggle { display: block; }
      .hero-content h1 { font-size: 2rem; }
      .features-grid, .products-grid, .matrix-grid, .stats-grid, .reviews-grid, .guarantee-grid {
        grid-template-columns: 1fr;
      }
      .topic-card { grid-template-columns: 1fr; }
      .sticky-text { display: none; }
      .sticky-actions { width: 100%; justify-content: space-between; }
      .sticky-actions .btn { flex: 1; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; text-align: center; }
    }
