/* roulang page: index */
:root {
      --primary-dark: #0A4D40;
      --primary-teal: #0D6073;
      --accent-gold: #C5A880;
      --accent-gold-dark: #A9875C;
      --bg-slate: #0D1929;
      --bg-light: #F7F9FC;
      --surface-white: #FFFFFF;
      --text-main: #1E293B;
      --text-muted: #475569;
      --border-soft: #E2E8F0;
      --shadow-sm: 0 2px 8px rgba(10, 77, 64, 0.04);
      --shadow-md: 0 10px 30px -4px rgba(10, 77, 64, 0.08);
      --shadow-lg: 0 20px 40px -8px rgba(13, 25, 41, 0.12);
      --font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    }

    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: var(--font-family);
      color: var(--text-main);
      background-color: var(--bg-light);
      line-height: 1.65;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: all 0.25s ease;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, input, select, textarea {
      font-family: inherit;
      font-size: 1rem;
    }

    .container {
      width: 100%;
      max-width: 1240px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 20px;
      padding-right: 20px;
    }

    .top-bar {
      background-color: #08121E;
      color: #94A3B8;
      font-size: 0.825rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .top-bar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 0;
    }
    .top-bar-tags span {
      margin-right: 18px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .top-bar-tags i {
      color: var(--accent-gold);
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(10px);
      box-shadow: var(--shadow-sm);
      border-bottom: 1px solid var(--border-soft);
    }
    .header-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 700;
      font-size: 1.35rem;
      color: var(--primary-dark);
      letter-spacing: -0.02em;
    }
    .brand-logo .logo-mark {
      width: 38px;
      height: 38px;
      background: linear-gradient(135deg, var(--primary-dark), var(--primary-teal));
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent-gold);
      box-shadow: 0 4px 10px rgba(10, 77, 64, 0.25);
    }
    .nav-links {
      display: flex;
      gap: 28px;
      list-style: none;
    }
    .nav-links a {
      font-weight: 500;
      font-size: 0.95rem;
      color: var(--text-muted);
      position: relative;
      padding: 6px 0;
    }
    .nav-links a:hover, .nav-links a.active {
      color: var(--primary-dark);
    }
    .nav-links a::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background-color: var(--accent-gold);
      transition: width 0.25s ease;
    }
    .nav-links a:hover::after, .nav-links a.active::after {
      width: 100%;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-weight: 600;
      border-radius: 8px;
      padding: 12px 24px;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      border: 1px solid transparent;
      white-space: nowrap;
    }
    .btn-gold {
      background: linear-gradient(135deg, #D4AF37, var(--accent-gold));
      color: #0A2218;
      box-shadow: 0 4px 14px rgba(197, 168, 128, 0.3);
    }
    .btn-gold:hover {
      background: linear-gradient(135deg, #E5C358, #D4AF37);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(197, 168, 128, 0.45);
    }
    .btn-outline-light {
      background: rgba(255, 255, 255, 0.08);
      color: #FFFFFF;
      border-color: rgba(255, 255, 255, 0.3);
    }
    .btn-outline-light:hover {
      background: rgba(255, 255, 255, 0.16);
      border-color: #FFFFFF;
      transform: translateY(-2px);
    }
    .mobile-menu-btn {
      display: none;
      background: transparent;
      border: none;
      font-size: 1.5rem;
      color: var(--primary-dark);
      cursor: pointer;
    }

    .section-wrap {
      padding: 85px 0;
      position: relative;
    }
    .section-wrap.bg-white {
      background-color: var(--surface-white);
    }
    .section-wrap.bg-slate {
      background-color: var(--bg-slate);
      color: #F8FAFC;
    }
    .section-head {
      margin-bottom: 48px;
    }
    .section-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 12px;
      border-radius: 9999px;
      font-size: 0.8rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 12px;
      background-color: rgba(10, 77, 64, 0.08);
      color: var(--primary-dark);
      border: 1px solid rgba(10, 77, 64, 0.15);
    }
    .bg-slate .section-badge {
      background-color: rgba(197, 168, 128, 0.15);
      color: var(--accent-gold);
      border-color: rgba(197, 168, 128, 0.3);
    }
    .section-title {
      font-size: 2.1rem;
      font-weight: 700;
      color: var(--text-main);
      line-height: 1.3;
      margin-bottom: 16px;
      letter-spacing: -0.01em;
    }
    .bg-slate .section-title {
      color: #FFFFFF;
    }
    .section-desc {
      font-size: 1.05rem;
      color: var(--text-muted);
      line-height: 1.7;
      max-width: 820px;
    }
    .bg-slate .section-desc {
      color: #94A3B8;
    }

    .hero-angled {
      position: relative;
      background: var(--bg-slate);
      color: #FFFFFF;
      padding: 100px 0 140px;
      overflow: hidden;
      clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
    }
    .hero-bg-media {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.18;
      mix-blend-mode: luminosity;
    }
    .hero-angled-overlay {
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 80% 20%, rgba(13, 96, 115, 0.55), transparent 60%),
                  linear-gradient(135deg, rgba(10, 77, 64, 0.92) 0%, rgba(13, 25, 41, 0.98) 100%);
    }
    .hero-container {
      position: relative;
      z-index: 2;
    }
    .hero-slant-badge {
      display: inline-block;
      padding: 6px 16px;
      border-radius: 4px;
      background: rgba(197, 168, 128, 0.18);
      border-left: 3px solid var(--accent-gold);
      color: var(--accent-gold);
      font-size: 0.875rem;
      font-weight: 600;
      margin-bottom: 24px;
    }
    .hero-main-title {
      font-size: 3rem;
      line-height: 1.22;
      font-weight: 800;
      max-width: 900px;
      margin-bottom: 24px;
      letter-spacing: -0.02em;
    }
    .hero-main-title span {
      background: linear-gradient(90deg, #FFFFFF, var(--accent-gold));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-lead-text {
      font-size: 1.15rem;
      line-height: 1.8;
      color: #CBD5E1;
      max-width: 820px;
      margin-bottom: 40px;
    }
    .hero-action-bar {
      display: flex;
      gap: 18px;
      align-items: center;
      flex-wrap: wrap;
    }

    .newsfeed-grid {
      display: grid;
      grid-template-columns: 2.1fr 1fr;
      gap: 36px;
    }
    .feed-card {
      background: var(--surface-white);
      border: 1px solid var(--border-soft);
      border-radius: 12px;
      padding: 24px;
      margin-bottom: 20px;
      transition: all 0.3s ease;
      display: flex;
      gap: 20px;
    }
    .feed-card:hover {
      box-shadow: var(--shadow-md);
      border-color: var(--accent-gold);
      transform: translateY(-3px);
    }
    .feed-thumb {
      width: 180px;
      height: 120px;
      flex-shrink: 0;
      border-radius: 8px;
      overflow: hidden;
    }
    .feed-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .feed-card:hover .feed-thumb img {
      transform: scale(1.06);
    }
    .feed-content h3 {
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 8px;
      line-height: 1.4;
    }
    .feed-content p {
      font-size: 0.925rem;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 12px;
    }
    .feed-meta {
      font-size: 0.8rem;
      color: #94A3B8;
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .hot-rank-panel {
      background: var(--surface-white);
      border: 1px solid var(--border-soft);
      border-radius: 12px;
      padding: 26px;
      height: fit-content;
    }
    .rank-list {
      list-style: none;
      margin-top: 18px;
    }
    .rank-item {
      padding: 14px 0;
      border-bottom: 1px dashed var(--border-soft);
      display: flex;
      gap: 12px;
      align-items: flex-start;
    }
    .rank-item:last-child {
      border-bottom: none;
    }
    .rank-num {
      width: 24px;
      height: 24px;
      border-radius: 4px;
      background: #F1F5F9;
      color: #64748B;
      font-size: 0.8rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .rank-num.top-1 { background: #FEF3C7; color: #D97706; }
    .rank-num.top-2 { background: #E0E7FF; color: #4F46E5; }
    .rank-num.top-3 { background: #DCFCE7; color: #16A34A; }
    .rank-info h4 {
      font-size: 0.925rem;
      font-weight: 600;
      color: var(--text-main);
      line-height: 1.4;
      margin-bottom: 4px;
    }
    .rank-info p {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .topic-pill-track {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      padding-bottom: 8px;
      scrollbar-width: thin;
    }
    .topic-pill {
      padding: 10px 20px;
      border-radius: 30px;
      background: var(--surface-white);
      border: 1px solid var(--border-soft);
      color: var(--text-main);
      font-size: 0.9rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      transition: all 0.25s ease;
    }
    .topic-pill:hover {
      background: var(--primary-dark);
      color: #FFFFFF;
      border-color: var(--primary-dark);
      transform: translateY(-2px);
    }
    .topic-pill i {
      color: var(--accent-gold);
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .grid-2 {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 36px;
    }
    .grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .matrix-card {
      background: var(--surface-white);
      border: 1px solid var(--border-soft);
      border-radius: 12px;
      padding: 30px;
      transition: all 0.3s ease;
      position: relative;
    }
    .matrix-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 24px rgba(10, 77, 64, 0.08);
      border-color: rgba(10, 77, 64, 0.3);
    }
    .matrix-icon {
      width: 50px;
      height: 50px;
      border-radius: 10px;
      background: rgba(10, 77, 64, 0.08);
      color: var(--primary-dark);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      margin-bottom: 20px;
    }
    .matrix-card h3 {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--text-main);
    }
    .matrix-card p {
      font-size: 0.925rem;
      color: var(--text-muted);
      line-height: 1.65;
    }

    .product-tier-card {
      background: var(--surface-white);
      border: 1px solid var(--border-soft);
      border-radius: 14px;
      padding: 36px 30px;
      transition: all 0.3s ease;
      position: relative;
    }
    .product-tier-card.featured {
      border: 2px solid var(--accent-gold);
      transform: scale(1.03);
      box-shadow: var(--shadow-lg);
      z-index: 2;
    }
    .product-tier-tag {
      position: absolute;
      top: -12px;
      right: 24px;
      background: linear-gradient(135deg, #D4AF37, var(--accent-gold));
      color: #0A2218;
      font-size: 0.75rem;
      font-weight: 700;
      padding: 4px 14px;
      border-radius: 20px;
    }
    .tier-badge {
      color: var(--primary-dark);
      font-weight: 700;
      font-size: 0.85rem;
      text-transform: uppercase;
      margin-bottom: 10px;
    }
    .tier-title {
      font-size: 1.4rem;
      font-weight: 800;
      color: var(--text-main);
      margin-bottom: 14px;
    }
    .tier-list {
      list-style: none;
      margin: 22px 0;
    }
    .tier-list li {
      padding: 8px 0;
      font-size: 0.925rem;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .tier-list li i {
      color: #10B981;
      font-size: 0.9rem;
    }

    .diff-table-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
    }
    .diff-col {
      border-radius: 12px;
      padding: 36px;
    }
    .diff-col.legacy {
      background: #FFF5F5;
      border: 1px solid #FED7D7;
    }
    .diff-col.modern {
      background: #F0FDF4;
      border: 2px solid #86EFAC;
    }
    .diff-col-head {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 24px;
      font-size: 1.3rem;
      font-weight: 700;
    }
    .diff-col.legacy .diff-col-head { color: #9B1C1C; }
    .diff-col.modern .diff-col-head { color: #166534; }
    .diff-item {
      margin-bottom: 18px;
      display: flex;
      gap: 12px;
      font-size: 0.95rem;
      line-height: 1.6;
    }
    .diff-col.legacy .diff-item { color: #7F1D1D; }
    .diff-col.modern .diff-item { color: #14532D; }

    .showcase-stat-box {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 10px;
      padding: 24px;
      transition: all 0.3s ease;
    }
    .showcase-stat-box:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: var(--accent-gold);
    }
    .showcase-stat-box h4 {
      color: var(--accent-gold);
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .showcase-stat-box p {
      font-size: 0.9rem;
      color: #CBD5E1;
      line-height: 1.6;
    }

    .metric-counter-band {
      background: linear-gradient(135deg, #0A4D40 0%, #07352C 100%);
      border-radius: 14px;
      padding: 40px 30px;
      color: #FFFFFF;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      box-shadow: var(--shadow-lg);
    }
    .metric-item {
      text-align: center;
      position: relative;
    }
    .metric-item:not(:last-child)::after {
      content: "";
      position: absolute;
      right: 0;
      top: 15%;
      height: 70%;
      width: 1px;
      background: rgba(255, 255, 255, 0.18);
    }
    .metric-value {
      font-size: 2.7rem;
      font-weight: 800;
      color: var(--accent-gold);
      line-height: 1.1;
      margin-bottom: 6px;
      letter-spacing: -0.02em;
    }
    .metric-label {
      font-size: 0.9rem;
      color: #E2E8F0;
      font-weight: 500;
    }

    .quote-card {
      background: var(--surface-white);
      border: 1px solid var(--border-soft);
      border-radius: 12px;
      padding: 30px;
      position: relative;
      transition: all 0.3s ease;
    }
    .quote-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-3px);
    }
    .quote-card .fa-quote-left {
      color: #E2E8F0;
      font-size: 2rem;
      position: absolute;
      top: 24px;
      right: 24px;
    }
    .quote-stars {
      color: #F59E0B;
      font-size: 0.85rem;
      margin-bottom: 14px;
    }
    .quote-text {
      font-size: 0.95rem;
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 20px;
      position: relative;
      z-index: 2;
    }
    .quote-author {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .quote-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #E2E8F0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: var(--primary-dark);
    }
    .quote-author h4 {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text-main);
    }
    .quote-author span {
      font-size: 0.8rem;
      color: #64748B;
    }

    .partner-logo-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 20px;
      align-items: center;
    }
    .partner-pill {
      background: var(--surface-white);
      border: 1px solid var(--border-soft);
      border-radius: 8px;
      padding: 16px 12px;
      text-align: center;
      font-size: 0.875rem;
      font-weight: 600;
      color: #64748B;
      transition: all 0.25s ease;
    }
    .partner-pill:hover {
      border-color: var(--primary-dark);
      color: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: var(--shadow-sm);
    }

    .accordion-list {
      max-width: 860px;
      margin: 0 auto;
    }
    .accordion-item {
      background: var(--surface-white);
      border: 1px solid var(--border-soft);
      border-radius: 10px;
      margin-bottom: 14px;
      overflow: hidden;
      transition: border-color 0.25s ease;
    }
    .accordion-header {
      width: 100%;
      text-align: left;
      padding: 20px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: transparent;
      border: none;
      cursor: pointer;
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--text-main);
    }
    .accordion-header i {
      transition: transform 0.3s ease;
      color: var(--primary-dark);
    }
    .accordion-header.active i {
      transform: rotate(180deg);
    }
    .accordion-body {
      padding: 0 24px 20px;
      font-size: 0.95rem;
      color: var(--text-muted);
      line-height: 1.7;
      display: none;
      border-top: 1px solid #F1F5F9;
      padding-top: 16px;
    }

    .form-wrapper {
      background: #FFFFFF;
      border-radius: 16px;
      border: 1px solid var(--border-soft);
      box-shadow: var(--shadow-lg);
      padding: 44px;
      max-width: 820px;
      margin: 0 auto;
      position: relative;
    }
    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
    .form-group.full {
      grid-column: span 2;
    }
    .form-label {
      display: block;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 6px;
    }
    .form-input, .form-select, .form-textarea {
      width: 100%;
      padding: 12px 14px;
      border: 1px solid var(--border-soft);
      border-radius: 8px;
      background-color: #F8FAFC;
      color: var(--text-main);
      transition: all 0.2s ease;
    }
    .form-input:focus, .form-select:focus, .form-textarea:focus {
      outline: none;
      border-color: var(--primary-dark);
      background-color: #FFFFFF;
      box-shadow: 0 0 0 3px rgba(10, 77, 64, 0.12);
    }

    .site-footer {
      background: #08111D;
      color: #94A3B8;
      padding: 70px 0 30px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 0.925rem;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1.3fr 1.2fr;
      gap: 40px;
      margin-bottom: 50px;
    }
    .footer-col h4 {
      color: #FFFFFF;
      font-size: 1.05rem;
      font-weight: 700;
      margin-bottom: 20px;
      position: relative;
    }
    .footer-links {
      list-style: none;
    }
    .footer-links li {
      margin-bottom: 10px;
    }
    .footer-links a:hover {
      color: var(--accent-gold);
    }
    .footer-badge-box {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      padding: 12px;
      margin-bottom: 12px;
      font-size: 0.85rem;
      color: #CBD5E1;
    }
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      font-size: 0.825rem;
      color: #64748B;
    }

    @media (max-width: 1024px) {
      .grid-3 { grid-template-columns: repeat(2, 1fr); }
      .grid-4 { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: repeat(2, 1fr); }
      .partner-logo-grid { grid-template-columns: repeat(3, 1fr); }
      .hero-main-title { font-size: 2.5rem; }
    }
    @media (max-width: 768px) {
      .top-bar { display: none; }
      .nav-links { display: none; }
      .mobile-menu-btn { display: block; }
      .hero-main-title { font-size: 2rem; }
      .newsfeed-grid { grid-template-columns: 1fr; }
      .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
      .diff-table-container { grid-template-columns: 1fr; }
      .metric-counter-band { grid-template-columns: repeat(2, 1fr); gap: 20px; }
      .metric-item:not(:last-child)::after { display: none; }
      .form-grid { grid-template-columns: 1fr; }
      .form-group.full { grid-column: span 1; }
      .footer-grid { grid-template-columns: 1fr; }
      .feed-card { flex-direction: column; }
      .feed-thumb { width: 100%; height: 160px; }
      .partner-logo-grid { grid-template-columns: repeat(2, 1fr); }
    }
