/* roulang page: index */
:root {
      --primary-dark: #0B0F19;
      --primary-teal: #0F766E;
      --teal-light: #14B8A6;
      --teal-glow: rgba(20, 184, 166, 0.15);
      --accent-orange: #F97316;
      --accent-green: #10B981;
      --surface-light: #F8FAFC;
      --surface-card: #FFFFFF;
      --surface-slate: #EEF2F6;
      --text-main: #0F172A;
      --text-body: #334155;
      --text-muted: #64748B;
      --text-light: #F1F5F9;
      --border-color: #E2E8F0;
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 16px;
      --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
      --shadow-md: 0 8px 16px -4px rgba(15, 23, 42, 0.08);
      --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1);
      --transition-smooth: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      font-size: 15px;
      line-height: 1.75;
      color: var(--text-body);
      background-color: var(--surface-light);
      -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; }

    /* 顶部公告条 */
    .promo-topbar {
      background-color: #080D1A;
      font-size: 13px;
      color: #94A3B8;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .promo-badge {
      background: rgba(249, 115, 22, 0.15);
      color: #FB923C;
      border: 1px solid rgba(249, 115, 22, 0.35);
      font-size: 11px;
      padding: 2px 8px;
      border-radius: 4px;
      font-weight: 600;
    }

    /* 主导航 */
    .main-navbar {
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(12px);
      box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
      transition: var(--transition-smooth);
    }
    .nav-brand-text {
      font-size: 20px;
      font-weight: 800;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 8px;
      letter-spacing: -0.5px;
    }
    .nav-brand-icon {
      width: 32px;
      height: 32px;
      background: linear-gradient(135deg, var(--primary-teal), #042f2e);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 16px;
    }
    .main-nav-link {
      color: #334155;
      font-weight: 500;
      font-size: 14.5px;
      padding: 8px 14px;
      border-radius: var(--radius-sm);
    }
    .main-nav-link:hover, .main-nav-link.active {
      color: var(--primary-teal);
      background-color: var(--teal-glow);
    }
    .btn-brand-primary {
      background: linear-gradient(135deg, #0F766E, #0D9488);
      color: #ffffff;
      font-weight: 600;
      padding: 10px 22px;
      border-radius: 8px;
      border: none;
      box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
      transition: var(--transition-smooth);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .btn-brand-primary:hover {
      background: linear-gradient(135deg, #115E59, #0F766E);
      color: #ffffff;
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(15, 118, 110, 0.35);
    }
    .btn-brand-outline {
      background: transparent;
      color: var(--primary-teal);
      font-weight: 600;
      padding: 9px 20px;
      border-radius: 8px;
      border: 1.5px solid var(--primary-teal);
      transition: var(--transition-smooth);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .btn-brand-outline:hover {
      background: var(--teal-glow);
      color: #115E59;
      transform: translateY(-1px);
    }

    /* 板块通用规范 */
    .site-section {
      padding: 80px 0;
      position: relative;
    }
    .site-section-dark {
      background-color: var(--primary-dark);
      color: var(--text-light);
    }
    .site-section-slate {
      background-color: var(--surface-slate);
    }
    .site-section-white {
      background-color: #FFFFFF;
    }
    .section-tag {
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--primary-teal);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 10px;
    }
    .site-section-dark .section-tag {
      color: var(--teal-light);
    }
    .section-title {
      font-size: 32px;
      font-weight: 800;
      color: var(--text-main);
      line-height: 1.3;
      margin-bottom: 14px;
      letter-spacing: -0.5px;
    }
    .site-section-dark .section-title {
      color: #FFFFFF;
    }
    .section-desc {
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.8;
      max-width: 760px;
      margin-bottom: 35px;
    }
    .site-section-dark .section-desc {
      color: #94A3B8;
    }

    /* 卡片系统 */
    .defense-card {
      background: #FFFFFF;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 28px;
      box-shadow: var(--shadow-sm);
      transition: var(--transition-smooth);
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .defense-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
      border-color: #CBD5E1;
    }
    .card-icon-box {
      width: 50px;
      height: 50px;
      border-radius: 10px;
      background: var(--teal-glow);
      color: var(--primary-teal);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      margin-bottom: 20px;
      transition: var(--transition-smooth);
    }
    .defense-card:hover .card-icon-box {
      background: var(--primary-teal);
      color: #FFFFFF;
    }

    /* Hero 首屏 - 杂志分栏 */
    .hero-magazine {
      background: linear-gradient(135deg, #090D16 0%, #111827 100%);
      color: #FFFFFF;
      padding: 90px 0 80px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      position: relative;
      overflow: hidden;
    }
    .hero-magazine::after {
      content: "";
      position: absolute;
      top: -100px;
      right: -100px;
      width: 450px;
      height: 450px;
      background: radial-gradient(circle, rgba(15, 118, 110, 0.25) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero-h1 {
      font-size: 46px;
      font-weight: 800;
      line-height: 1.25;
      letter-spacing: -1px;
      margin-bottom: 22px;
    }
    .hero-text {
      font-size: 16.5px;
      color: #94A3B8;
      line-height: 1.85;
      margin-bottom: 30px;
    }
    .hero-featured-card {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: var(--radius-lg);
      padding: 30px;
      backdrop-filter: blur(16px);
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    }

    /* 指标徽章 */
    .live-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 12px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 600;
      background: rgba(16, 185, 129, 0.15);
      color: var(--accent-green);
      border: 1px solid rgba(16, 185, 129, 0.3);
    }
    .live-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background-color: var(--accent-green);
      box-shadow: 0 0 8px var(--accent-green);
    }

    /* 阶梯优惠与套餐 */
    .pricing-card {
      background: #FFFFFF;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 36px 28px;
      position: relative;
      transition: var(--transition-smooth);
      height: 100%;
    }
    .pricing-card.popular {
      border: 2px solid var(--primary-teal);
      box-shadow: 0 15px 35px -5px rgba(15, 118, 110, 0.18);
      transform: translateY(-6px);
    }
    .popular-tag {
      position: absolute;
      top: -14px;
      right: 28px;
      background: var(--accent-orange);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 20px;
    }
    .price-num {
      font-size: 38px;
      font-weight: 800;
      color: var(--text-main);
    }
    .price-period {
      font-size: 14px;
      color: var(--text-muted);
    }

    /* 流程连接线步骤 */
    .step-card {
      position: relative;
      background: #FFFFFF;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 26px 22px;
      text-align: center;
      transition: var(--transition-smooth);
    }
    .step-card:hover {
      border-color: var(--primary-teal);
      transform: translateY(-4px);
    }
    .step-badge {
      width: 38px;
      height: 38px;
      line-height: 38px;
      border-radius: 50%;
      background: var(--primary-teal);
      color: #fff;
      font-weight: 700;
      margin: 0 auto 16px;
      box-shadow: 0 4px 10px rgba(15, 118, 110, 0.3);
    }

    /* 攻防演练控制台 */
    .console-box {
      background: #050811;
      border: 1px solid #1E293B;
      border-radius: 12px;
      font-family: Consolas, Monaco, "Courier New", Courier, monospace;
      padding: 20px;
      color: #38BDF8;
      box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8);
    }
    .console-header {
      display: flex;
      gap: 6px;
      margin-bottom: 15px;
      border-bottom: 1px solid #1E293B;
      padding-bottom: 10px;
    }
    .console-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background-color: #475569;
    }

    /* FAQ 手风琴改造 */
    .custom-accordion .accordion-item {
      border: 1px solid var(--border-color);
      margin-bottom: 14px;
      border-radius: var(--radius-md) !important;
      overflow: hidden;
      background: #FFFFFF;
    }
    .custom-accordion .accordion-button {
      font-weight: 700;
      color: var(--text-main);
      font-size: 16px;
      padding: 20px 24px;
      background: #FFFFFF;
      border: none;
      box-shadow: none;
    }
    .custom-accordion .accordion-button:not(.collapsed) {
      background-color: #F8FAFC;
      color: var(--primary-teal);
      border-left: 4px solid var(--primary-teal);
    }
    .custom-accordion .accordion-body {
      padding: 16px 24px 24px;
      color: var(--text-body);
      line-height: 1.8;
      background: #F8FAFC;
    }

    /* 表单与交互 */
    .form-control, .form-select {
      padding: 12px 16px;
      border-radius: 8px;
      border: 1px solid var(--border-color);
      font-size: 14.5px;
    }
    .form-control:focus, .form-select:focus {
      border-color: var(--primary-teal);
      box-shadow: 0 0 0 3px var(--teal-glow);
    }

    /* 页脚 */
    .site-footer {
      background-color: #060911;
      color: #94A3B8;
      padding: 70px 0 30px;
      border-top: 1px solid #1E293B;
      font-size: 14px;
    }
    .footer-title {
      font-size: 16px;
      font-weight: 700;
      color: #FFFFFF;
      margin-bottom: 20px;
    }
    .footer-link {
      color: #94A3B8;
      margin-bottom: 10px;
      display: inline-block;
    }
    .footer-link:hover {
      color: #FFFFFF;
      transform: translateX(3px);
    }
    .copyright-bar {
      border-top: 1px solid #1E293B;
      padding-top: 25px;
      margin-top: 50px;
      font-size: 13px;
    }

    /* 响应式微调 */
    @media (max-width: 991px) {
      .hero-h1 { font-size: 34px; }
      .section-title { font-size: 26px; }
      .site-section { padding: 60px 0; }
    }
    @media (max-width: 576px) {
      .hero-h1 { font-size: 28px; }
      .btn-brand-primary, .btn-brand-outline { width: 100%; justify-content: center; }
    }
